DeskTop.js 441 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. ];
  350. U.MD.D.I.szscStudentDeskIcon = [
  351. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  352. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. ];
  356. U.MD.D.I.szscTeacherDeskIcon = [
  357. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  358. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  359. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  360. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  361. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  362. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  363. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  364. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  365. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  366. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  367. ];
  368. U.MD.D.I.szscOrganizerDeskIcon = [
  369. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  378. ];
  379. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  380. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  381. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  382. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  384. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  385. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  386. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  387. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  388. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  389. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  390. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  391. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  392. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  393. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  394. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  395. ];
  396. U.MD.D.I.wankeAdminDeskIcon = [
  397. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  398. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  399. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  400. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  401. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  402. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  403. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  404. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  405. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  406. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  407. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  410. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. ];
  413. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  424. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  425. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  426. ];
  427. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  428. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. ];
  441. //明德教师桌面图标的全局变量
  442. U.MD.D.I.MingdeTeacherDeskIcon = [
  443. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  453. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  454. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  455. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  456. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  457. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  458. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  459. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  460. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  461. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  462. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  463. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  464. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  465. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  466. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  467. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  468. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  469. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  470. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  471. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  472. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  473. ];
  474. //97c4ee8b-d010-4042-986d-e9d3c217264f
  475. //教师桌面图标的全局变量
  476. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  477. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  478. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  479. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  480. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  481. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  482. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  483. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  484. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  487. ];
  488. //福田
  489. U.MD.D.I.futianTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  493. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  494. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  495. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  496. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  497. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  499. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  500. ];
  501. //福田
  502. U.MD.D.I.futianAdminDeskIcon = [
  503. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  504. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  505. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  506. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  507. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  508. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  509. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  510. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  511. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. ];
  513. //lotech
  514. U.MD.D.I.lotechTeacherDeskIcon = [
  515. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  516. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  517. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  518. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  519. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  520. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. ];
  524. //龙华中心小学教师桌面图标的全局变量
  525. U.MD.D.I.longhuateacherDeskIcon = [
  526. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. ];
  539. //教科院实小教师桌面图标的全局变量
  540. U.MD.D.I.siesteacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  544. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  548. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  549. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  550. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  551. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  552. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  553. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  554. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  555. ];
  556. //教科院实小教师桌面图标的全局变量
  557. U.MD.D.I.siesStudentDeskIcon = [
  558. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. ];
  562. //福田
  563. U.MD.D.I.gdjgTeacherDeskIcon = [
  564. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  565. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  566. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  567. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  568. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  569. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  570. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  571. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. ];
  575. //gdjg
  576. U.MD.D.I.gdjgAdminDeskIcon = [
  577. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  578. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  579. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  580. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  581. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  582. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  583. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  584. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //hk
  588. U.MD.D.I.hkteacherDeskIcon = [
  589. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  592. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  593. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  594. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  595. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  596. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  601. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  602. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  603. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  604. ];
  605. //hk
  606. U.MD.D.I.hkStudentDeskIcon = [
  607. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  608. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  610. ];
  611. //香海正覺蓮社佛教正覺中學
  612. U.MD.D.I.hkZJLSteacherDeskIcon = [
  613. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  614. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  615. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  616. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  617. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  618. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  619. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  622. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  623. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  624. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  625. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  626. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. ];
  628. //香海正覺蓮社佛教正覺中學
  629. U.MD.D.I.hkZJLSStudentDeskIcon = [
  630. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. ];
  634. //云海
  635. U.MD.D.I.yunhaiTeacherDeskIcon = [
  636. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  637. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  639. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  640. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  641. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  642. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  643. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  644. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  645. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  646. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  647. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  648. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  649. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. ];
  652. //福田
  653. U.MD.D.I.heyuanTeacherDeskIcon = [
  654. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  655. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  659. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  660. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  661. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  662. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  663. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  664. ];
  665. //福田
  666. U.MD.D.I.heyuanAdminDeskIcon = [
  667. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  670. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  671. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  672. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  673. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  674. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  675. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  676. ];
  677. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  678. U.MD.D.I.szherTeacherDeskIcon = [
  679. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  680. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. ];
  689. //dsei
  690. U.MD.D.I.dseiTeacherDeskIcon = [
  691. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  692. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  693. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  694. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  698. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  699. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  700. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  701. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  702. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  703. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  704. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  705. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  706. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  707. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  708. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  709. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  710. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  711. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  712. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  713. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  714. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  715. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  716. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  717. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  718. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  719. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  720. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  721. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  722. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  723. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  724. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  725. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  726. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  727. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  728. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  730. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  731. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  732. ];
  733. //dsei
  734. U.MD.D.I.dseiAdminDeskIcon = [
  735. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  736. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  737. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  738. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  739. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  740. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  741. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  742. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  743. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  744. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  745. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  746. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  747. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  748. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  749. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  750. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  751. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  752. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  753. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  754. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  755. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  756. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  757. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  758. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  759. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  760. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  761. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  762. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  763. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  764. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  765. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  766. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  767. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  768. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  769. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  770. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  771. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  772. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  773. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  774. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  775. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  776. ];
  777. //dsei
  778. U.MD.D.I.dseiStudentDeskIcon = [
  779. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  780. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  781. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  782. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  783. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  784. ];
  785. //未来教育基地
  786. U.MD.D.I.szjkyTeacherDeskIcon = [
  787. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  795. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  796. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  797. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  798. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  800. ];
  801. //未来教育基地
  802. U.MD.D.I.szjkyAdminDeskIcon = [
  803. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  804. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  805. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  806. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  807. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  808. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  809. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  810. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  811. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  812. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  813. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  814. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  817. ];
  818. //未来教育基地
  819. U.MD.D.I.szjkyStudentDeskIcon = [
  820. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  821. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  822. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  823. ];
  824. //成华教育局
  825. U.MD.D.I.chjyjTeacherDeskIcon = [
  826. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  827. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  828. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  829. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  830. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  831. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  832. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  833. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  834. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  835. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  836. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  837. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  838. ];
  839. //成华教育局chjyj
  840. U.MD.D.I.chjyjAdminDeskIcon = [
  841. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  842. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  843. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  844. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  845. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  846. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  847. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  848. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  849. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  850. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  851. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  852. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  853. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  854. ];
  855. //成华教育局chjyj
  856. U.MD.D.I.chjyjStudentDeskIcon = [
  857. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  858. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  859. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  860. ];
  861. //#region 桌面初始化a
  862. /**
  863. * 初始化桌面的起始函数
  864. *
  865. */
  866. U.MD.D.I.init = function() {
  867. if ($("#U_MD_D_K")[0]) {
  868. //初始化桌面图标
  869. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  870. // var clickUrl = ':12588/requestIp.php';
  871. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  872. // U.MD.D.I.Ip = data;
  873. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  874. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  875. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  876. // })
  877. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  878. // })
  879. }
  880. }
  881. /**
  882. * 模式切换
  883. *
  884. */
  885. U.MD.D.I.ModeCheck = function(type) {
  886. if (US.Config.type == type) {
  887. return
  888. }
  889. US.Config.type = type
  890. $('.U_PBL_Check .active')[0].className = ''
  891. if (type == 1) {
  892. $('.U_PBL_Check div')[0].className = 'active'
  893. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  894. } else {
  895. $('.U_PBL_Check div')[1].className = 'active'
  896. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  897. }
  898. //初始化桌面图标
  899. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  900. if (type == 2) {
  901. U.MD.D.I.openApplication("project")
  902. }
  903. }
  904. /**
  905. * 隐藏任务栏
  906. *
  907. * @param {element} 桌面元素
  908. */
  909. U.MD.D.I.hiddenTaskbar = function(el) {
  910. //任务栏位置变小
  911. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  912. //桌面的位置变大
  913. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  914. }
  915. /**
  916. * 隐藏任务栏
  917. *
  918. * @param {element} 桌面元素
  919. */
  920. U.MD.D.I.hiddenTaskbarout = function(el) {
  921. //任务栏位置变小
  922. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  923. //任务栏位置变化
  924. U.selectEl(el).css({ "bottom": "-60px" });
  925. //桌面的位置变大
  926. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  927. }
  928. }
  929. /**
  930. * 初始化打印桌面图标
  931. *
  932. * @param {element} 桌面元素
  933. */
  934. U.MD.D.I.initDesktopIcons = function(el, type) {
  935. var i, //用于循环
  936. _content, //桌面图标元素
  937. _iconcontent, //桌面图标元素
  938. _frag = $$("frag"), //定义一个碎片元素
  939. _type = US.userInfo.type,
  940. _org = US.userInfo.org,
  941. _oid = US.userInfo.organizeid,
  942. _role = US.userInfo.role,
  943. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  944. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  945. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  946. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  947. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  948. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  949. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  950. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  951. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  952. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  953. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  954. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  955. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  956. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  957. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  958. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  959. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  960. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  961. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  962. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  963. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  964. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  965. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  966. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  967. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  968. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  969. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  970. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  971. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  972. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  973. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  974. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  975. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  976. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  977. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  978. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  979. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  980. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  981. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  982. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  983. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  984. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  985. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  986. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  987. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  988. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  989. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  990. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  991. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  992. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  993. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  994. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  995. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5'];
  996. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5','2fa75e51-189a-11ee-91d8-005056b86db5'];
  997. //清楚桌面图标
  998. el.innerHTML = "";
  999. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1000. _teacherDesktopIconInfo.push(
  1001. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1002. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1003. )
  1004. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1005. }
  1006. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1007. _teacherDesktopIconInfo.push(
  1008. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1009. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1010. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1013. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1014. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1016. )
  1017. }
  1018. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1019. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1020. if (el.Name == '项目管理') {
  1021. el.Name = 'PBL项目'
  1022. }
  1023. return el
  1024. })
  1025. }
  1026. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1027. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1028. return el.Name != '魔盒识字' && el.Name != '24点'
  1029. })
  1030. }
  1031. 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) {
  1032. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1033. }
  1034. //循环创建桌面图标
  1035. if (type == 1) {
  1036. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1037. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1038. _content = $$("div", {
  1039. className: "U_MD_D_KO",
  1040. "onmousedown": U.UF.C.closure(function(obj) {
  1041. //防止拖动图标即打开了桌面应用
  1042. U.MD.D.click(this, obj);
  1043. }, [_studentDesktopIconInfo[i]]),
  1044. "onclick": U.UF.C.closure(function(obj) {
  1045. //防止拖动图标即打开了桌面应用
  1046. U.MD.D.click(this, obj);
  1047. }, [_studentDesktopIconInfo[i]])
  1048. }, _frag); //
  1049. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1050. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1051. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1052. }
  1053. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1054. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1055. _content = $$("div", {
  1056. className: "U_MD_D_KO",
  1057. "onmousedown": U.UF.C.closure(function(obj) {
  1058. //防止拖动图标即打开了桌面应用
  1059. U.MD.D.click(this, obj);
  1060. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1061. "onclick": U.UF.C.closure(function(obj) {
  1062. //防止拖动图标即打开了桌面应用
  1063. U.MD.D.click(this, obj);
  1064. }, [_hkZJLSStudentDeskIconInfo[i]])
  1065. }, _frag); //
  1066. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1067. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1068. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1069. } //
  1070. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1071. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1072. _content = $$("div", {
  1073. className: "U_MD_D_KO",
  1074. "onmousedown": U.UF.C.closure(function(obj) {
  1075. //防止拖动图标即打开了桌面应用
  1076. U.MD.D.click(this, obj);
  1077. }, [_chjyjStudentDeskIconInfo[i]]),
  1078. "onclick": U.UF.C.closure(function(obj) {
  1079. //防止拖动图标即打开了桌面应用
  1080. U.MD.D.click(this, obj);
  1081. }, [_chjyjStudentDeskIconInfo[i]])
  1082. }, _frag); //
  1083. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1084. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1085. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1086. }
  1087. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1088. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1089. _content = $$("div", {
  1090. className: "U_MD_D_KO",
  1091. "onmousedown": U.UF.C.closure(function(obj) {
  1092. //防止拖动图标即打开了桌面应用
  1093. U.MD.D.click(this, obj);
  1094. }, [_szjkyStudentDeskIconInfo[i]]),
  1095. "onclick": U.UF.C.closure(function(obj) {
  1096. //防止拖动图标即打开了桌面应用
  1097. U.MD.D.click(this, obj);
  1098. }, [_szjkyStudentDeskIconInfo[i]])
  1099. }, _frag); //
  1100. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1101. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1102. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1103. }
  1104. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1105. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1106. _content = $$("div", {
  1107. className: "U_MD_D_KO",
  1108. "onmousedown": U.UF.C.closure(function(obj) {
  1109. //防止拖动图标即打开了桌面应用
  1110. U.MD.D.click(this, obj);
  1111. }, [_dseiStudentDeskIconInfo[i]]),
  1112. "onclick": U.UF.C.closure(function(obj) {
  1113. //防止拖动图标即打开了桌面应用
  1114. U.MD.D.click(this, obj);
  1115. }, [_dseiStudentDeskIconInfo[i]])
  1116. }, _frag); //
  1117. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1118. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1119. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1120. }
  1121. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1122. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1123. _content = $$("div", {
  1124. className: "U_MD_D_KO",
  1125. "onmousedown": U.UF.C.closure(function(obj) {
  1126. //防止拖动图标即打开了桌面应用
  1127. U.MD.D.click(this, obj);
  1128. }, [_siesStudentDeskIconInfo[i]]),
  1129. "onclick": U.UF.C.closure(function(obj) {
  1130. //防止拖动图标即打开了桌面应用
  1131. U.MD.D.click(this, obj);
  1132. }, [_siesStudentDeskIconInfo[i]])
  1133. }, _frag); //
  1134. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1135. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1136. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1137. }
  1138. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1139. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1140. _content = $$("div", {
  1141. className: "U_MD_D_KO",
  1142. "onmousedown": U.UF.C.closure(function(obj) {
  1143. //防止拖动图标即打开了桌面应用
  1144. U.MD.D.click(this, obj);
  1145. }, [_hkStudentDeskIconInfo[i]]),
  1146. "onclick": U.UF.C.closure(function(obj) {
  1147. //防止拖动图标即打开了桌面应用
  1148. U.MD.D.click(this, obj);
  1149. }, [_hkStudentDeskIconInfo[i]])
  1150. }, _frag); //
  1151. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1152. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1153. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1154. }
  1155. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1156. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1157. _content = $$("div", {
  1158. className: "U_MD_D_KO",
  1159. "onmousedown": U.UF.C.closure(function(obj) {
  1160. //防止拖动图标即打开了桌面应用
  1161. U.MD.D.click(this, obj);
  1162. }, [_studentDesktopIconInfo[i]]),
  1163. "onclick": U.UF.C.closure(function(obj) {
  1164. //防止拖动图标即打开了桌面应用
  1165. U.MD.D.click(this, obj);
  1166. }, [_studentDesktopIconInfo[i]])
  1167. }, _frag); //
  1168. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1169. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1170. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1171. }
  1172. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1173. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1174. _content = $$("div", {
  1175. className: "U_MD_D_KO",
  1176. "onmousedown": U.UF.C.closure(function(obj) {
  1177. //防止拖动图标即打开了桌面应用
  1178. U.MD.D.click(this, obj);
  1179. }, [_tcStudentDeskIconInfo[i]]),
  1180. "onclick": U.UF.C.closure(function(obj) {
  1181. //防止拖动图标即打开了桌面应用
  1182. U.MD.D.click(this, obj);
  1183. }, [_tcStudentDeskIconInfo[i]])
  1184. }, _frag); //
  1185. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1186. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1187. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1188. }
  1189. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1190. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1191. _content = $$("div", {
  1192. className: "U_MD_D_KO",
  1193. "onmousedown": U.UF.C.closure(function(obj) {
  1194. //防止拖动图标即打开了桌面应用
  1195. U.MD.D.click(this, obj);
  1196. }, [_szscStudentDeskIconInfo[i]]),
  1197. "onclick": U.UF.C.closure(function(obj) {
  1198. //防止拖动图标即打开了桌面应用
  1199. U.MD.D.click(this, obj);
  1200. }, [_szscStudentDeskIconInfo[i]])
  1201. }, _frag); //
  1202. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1203. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1204. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1205. }
  1206. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1207. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1208. _content = $$("div", {
  1209. className: "U_MD_D_KO",
  1210. "onmousedown": U.UF.C.closure(function(obj) {
  1211. //防止拖动图标即打开了桌面应用
  1212. U.MD.D.click(this, obj);
  1213. }, [_studentDesktopIconInfo3[i]]),
  1214. "onclick": U.UF.C.closure(function(obj) {
  1215. //防止拖动图标即打开了桌面应用
  1216. U.MD.D.click(this, obj);
  1217. }, [_studentDesktopIconInfo3[i]])
  1218. }, _frag); //
  1219. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1220. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1221. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1222. }
  1223. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1224. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1225. _content = $$("div", {
  1226. className: "U_MD_D_KO",
  1227. "onmousedown": U.UF.C.closure(function(obj) {
  1228. //防止拖动图标即打开了桌面应用
  1229. U.MD.D.click(this, obj);
  1230. }, [_studentDesktopIconInfo2[i]]),
  1231. "onclick": U.UF.C.closure(function(obj) {
  1232. //防止拖动图标即打开了桌面应用
  1233. U.MD.D.click(this, obj);
  1234. }, [_studentDesktopIconInfo2[i]])
  1235. }, _frag); //
  1236. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1237. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1238. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1239. }
  1240. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1241. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1242. _content = $$("div", {
  1243. className: "U_MD_D_KO",
  1244. "onmousedown": U.UF.C.closure(function(obj) {
  1245. //防止拖动图标即打开了桌面应用
  1246. U.MD.D.click(this, obj);
  1247. }, [_wanketeacherDesktopIconInfo[i]]),
  1248. "onclick": U.UF.C.closure(function(obj) {
  1249. //防止拖动图标即打开了桌面应用
  1250. U.MD.D.click(this, obj);
  1251. }, [_wanketeacherDesktopIconInfo[i]])
  1252. }, _frag); //
  1253. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1254. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1255. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1256. }
  1257. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1258. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1259. _content = $$("div", {
  1260. className: "U_MD_D_KO",
  1261. "onmousedown": U.UF.C.closure(function(obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_wankeAdminDesktopIconInfo[i]]),
  1265. "onclick": U.UF.C.closure(function(obj) {
  1266. //防止拖动图标即打开了桌面应用
  1267. U.MD.D.click(this, obj);
  1268. }, [_wankeAdminDesktopIconInfo[i]])
  1269. }, _frag); //
  1270. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1271. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1272. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1273. }
  1274. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1275. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1276. _content = $$("div", {
  1277. className: "U_MD_D_KO",
  1278. "onmousedown": U.UF.C.closure(function(obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_teacherDesktopIconInfo2[i]]),
  1282. "onclick": U.UF.C.closure(function(obj) {
  1283. //防止拖动图标即打开了桌面应用
  1284. U.MD.D.click(this, obj);
  1285. }, [_teacherDesktopIconInfo2[i]])
  1286. }, _frag); //
  1287. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1288. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1289. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1290. }
  1291. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1292. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1293. _content = $$("div", {
  1294. className: "U_MD_D_KO",
  1295. "onmousedown": U.UF.C.closure(function(obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_lotechTeacherDeskIconInfo[i]]),
  1299. "onclick": U.UF.C.closure(function(obj) {
  1300. //防止拖动图标即打开了桌面应用
  1301. U.MD.D.click(this, obj);
  1302. }, [_lotechTeacherDeskIconInfo[i]])
  1303. }, _frag); //
  1304. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1305. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1306. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1307. }//
  1308. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1309. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1310. _content = $$("div", {
  1311. className: "U_MD_D_KO",
  1312. "onmousedown": U.UF.C.closure(function(obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_siesTeacherDeskIconInfo[i]]),
  1316. "onclick": U.UF.C.closure(function(obj) {
  1317. //防止拖动图标即打开了桌面应用
  1318. U.MD.D.click(this, obj);
  1319. }, [_siesTeacherDeskIconInfo[i]])
  1320. }, _frag); //
  1321. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1322. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1323. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1324. }
  1325. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1326. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1327. _content = $$("div", {
  1328. className: "U_MD_D_KO",
  1329. "onmousedown": U.UF.C.closure(function(obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_longhuaTeacherDeskIconInfo[i]]),
  1333. "onclick": U.UF.C.closure(function(obj) {
  1334. //防止拖动图标即打开了桌面应用
  1335. U.MD.D.click(this, obj);
  1336. }, [_longhuaTeacherDeskIconInfo[i]])
  1337. }, _frag); //
  1338. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1339. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1340. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1341. }
  1342. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1343. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1344. _content = $$("div", {
  1345. className: "U_MD_D_KO",
  1346. "onmousedown": U.UF.C.closure(function(obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1350. "onclick": U.UF.C.closure(function(obj) {
  1351. //防止拖动图标即打开了桌面应用
  1352. U.MD.D.click(this, obj);
  1353. }, [_yunhaiTeacherDeskIconInfo[i]])
  1354. }, _frag); //
  1355. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1356. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1357. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1358. } //_hkStudentDeskIconInfo
  1359. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1360. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1361. _content = $$("div", {
  1362. className: "U_MD_D_KO",
  1363. "onmousedown": U.UF.C.closure(function(obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1367. "onclick": U.UF.C.closure(function(obj) {
  1368. //防止拖动图标即打开了桌面应用
  1369. U.MD.D.click(this, obj);
  1370. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1371. }, _frag); //
  1372. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1373. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1374. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1375. }
  1376. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1377. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1378. _content = $$("div", {
  1379. className: "U_MD_D_KO",
  1380. "onmousedown": U.UF.C.closure(function(obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_hkTeacherDeskIconInfo[i]]),
  1384. "onclick": U.UF.C.closure(function(obj) {
  1385. //防止拖动图标即打开了桌面应用
  1386. U.MD.D.click(this, obj);
  1387. }, [_hkTeacherDeskIconInfo[i]])
  1388. }, _frag); //
  1389. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1390. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1391. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1392. }
  1393. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1394. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1395. _content = $$("div", {
  1396. className: "U_MD_D_KO",
  1397. "onmousedown": U.UF.C.closure(function(obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_gdjgAdminDeskIconInfo[i]]),
  1401. "onclick": U.UF.C.closure(function(obj) {
  1402. //防止拖动图标即打开了桌面应用
  1403. U.MD.D.click(this, obj);
  1404. }, [_gdjgAdminDeskIconInfo[i]])
  1405. }, _frag); //
  1406. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1407. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1408. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1409. }
  1410. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1411. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1412. _content = $$("div", {
  1413. className: "U_MD_D_KO",
  1414. "onmousedown": U.UF.C.closure(function(obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_gdjgTeacherDeskIconInfo[i]]),
  1418. "onclick": U.UF.C.closure(function(obj) {
  1419. //防止拖动图标即打开了桌面应用
  1420. U.MD.D.click(this, obj);
  1421. }, [_gdjgTeacherDeskIconInfo[i]])
  1422. }, _frag); //
  1423. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1424. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1425. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1426. }
  1427. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1428. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1429. _content = $$("div", {
  1430. className: "U_MD_D_KO",
  1431. "onmousedown": U.UF.C.closure(function(obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_szherTeacherDeskIconInfo[i]]),
  1435. "onclick": U.UF.C.closure(function(obj) {
  1436. //防止拖动图标即打开了桌面应用
  1437. U.MD.D.click(this, obj);
  1438. }, [_szherTeacherDeskIconInfo[i]])
  1439. }, _frag); //
  1440. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1441. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1442. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1443. }
  1444. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1445. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1446. _content = $$("div", {
  1447. className: "U_MD_D_KO",
  1448. "onmousedown": U.UF.C.closure(function(obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_heyuannAdminDeskIconInfo[i]]),
  1452. "onclick": U.UF.C.closure(function(obj) {
  1453. //防止拖动图标即打开了桌面应用
  1454. U.MD.D.click(this, obj);
  1455. }, [_heyuannAdminDeskIconInfo[i]])
  1456. }, _frag); //
  1457. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1458. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1459. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1460. }
  1461. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1462. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1463. _content = $$("div", {
  1464. className: "U_MD_D_KO",
  1465. "onmousedown": U.UF.C.closure(function(obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_heyuanTeacherDeskIconInfo[i]]),
  1469. "onclick": U.UF.C.closure(function(obj) {
  1470. //防止拖动图标即打开了桌面应用
  1471. U.MD.D.click(this, obj);
  1472. }, [_heyuanTeacherDeskIconInfo[i]])
  1473. }, _frag); //
  1474. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1475. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1476. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1477. } //
  1478. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1479. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1480. _content = $$("div", {
  1481. className: "U_MD_D_KO",
  1482. "onmousedown": U.UF.C.closure(function(obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_dseiAdminDeskIconInfo[i]]),
  1486. "onclick": U.UF.C.closure(function(obj) {
  1487. //防止拖动图标即打开了桌面应用
  1488. U.MD.D.click(this, obj);
  1489. }, [_dseiAdminDeskIconInfo[i]])
  1490. }, _frag); //
  1491. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1492. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1493. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1494. }
  1495. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1496. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1497. _content = $$("div", {
  1498. className: "U_MD_D_KO",
  1499. "onmousedown": U.UF.C.closure(function(obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_dseiTeacherDeskIconInfo[i]]),
  1503. "onclick": U.UF.C.closure(function(obj) {
  1504. //防止拖动图标即打开了桌面应用
  1505. U.MD.D.click(this, obj);
  1506. }, [_dseiTeacherDeskIconInfo[i]])
  1507. }, _frag); //
  1508. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1509. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1510. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1511. } //
  1512. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1513. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1514. _content = $$("div", {
  1515. className: "U_MD_D_KO",
  1516. "onmousedown": U.UF.C.closure(function(obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_chjyjAdminDeskIconInfo[i]]),
  1520. "onclick": U.UF.C.closure(function(obj) {
  1521. //防止拖动图标即打开了桌面应用
  1522. U.MD.D.click(this, obj);
  1523. }, [_chjyjAdminDeskIconInfo[i]])
  1524. }, _frag); //
  1525. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1526. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1527. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1528. }//
  1529. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1530. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1531. _content = $$("div", {
  1532. className: "U_MD_D_KO",
  1533. "onmousedown": U.UF.C.closure(function(obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_chjyjTeacherDeskIconInfo[i]]),
  1537. "onclick": U.UF.C.closure(function(obj) {
  1538. //防止拖动图标即打开了桌面应用
  1539. U.MD.D.click(this, obj);
  1540. }, [_chjyjTeacherDeskIconInfo[i]])
  1541. }, _frag); //
  1542. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1543. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1544. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1545. }
  1546. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1547. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1548. _content = $$("div", {
  1549. className: "U_MD_D_KO",
  1550. "onmousedown": U.UF.C.closure(function(obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_szjkyAdminDeskIconInfo[i]]),
  1554. "onclick": U.UF.C.closure(function(obj) {
  1555. //防止拖动图标即打开了桌面应用
  1556. U.MD.D.click(this, obj);
  1557. }, [_szjkyAdminDeskIconInfo[i]])
  1558. }, _frag); //
  1559. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1560. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1561. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1562. }//
  1563. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1564. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1565. _content = $$("div", {
  1566. className: "U_MD_D_KO",
  1567. "onmousedown": U.UF.C.closure(function(obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_szjkyTeacherDeskIconInfo[i]]),
  1571. "onclick": U.UF.C.closure(function(obj) {
  1572. //防止拖动图标即打开了桌面应用
  1573. U.MD.D.click(this, obj);
  1574. }, [_szjkyTeacherDeskIconInfo[i]])
  1575. }, _frag); //
  1576. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1577. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1578. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1579. }
  1580. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1581. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1582. _content = $$("div", {
  1583. className: "U_MD_D_KO",
  1584. "onmousedown": U.UF.C.closure(function(obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_futianAdminDeskIconInfo[i]]),
  1588. "onclick": U.UF.C.closure(function(obj) {
  1589. //防止拖动图标即打开了桌面应用
  1590. U.MD.D.click(this, obj);
  1591. }, [_futianAdminDeskIconInfo[i]])
  1592. }, _frag); //
  1593. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1594. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1595. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1596. }
  1597. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1598. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1599. _content = $$("div", {
  1600. className: "U_MD_D_KO",
  1601. "onmousedown": U.UF.C.closure(function(obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_futianTeacherDeskIconInfo[i]]),
  1605. "onclick": U.UF.C.closure(function(obj) {
  1606. //防止拖动图标即打开了桌面应用
  1607. U.MD.D.click(this, obj);
  1608. }, [_futianTeacherDeskIconInfo[i]])
  1609. }, _frag); //
  1610. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1611. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1612. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1613. }
  1614. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1615. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1616. _content = $$("div", {
  1617. className: "U_MD_D_KO",
  1618. "onmousedown": U.UF.C.closure(function(obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_MingdeTeacherDeskIcon[i]]),
  1622. "onclick": U.UF.C.closure(function(obj) {
  1623. //防止拖动图标即打开了桌面应用
  1624. U.MD.D.click(this, obj);
  1625. }, [_MingdeTeacherDeskIcon[i]])
  1626. }, _frag); //
  1627. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1628. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1629. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1630. }
  1631. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1632. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1633. _content = $$("div", {
  1634. className: "U_MD_D_KO",
  1635. "onmousedown": U.UF.C.closure(function(obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_lhsAdminDesktopIconInfo[i]]),
  1639. "onclick": U.UF.C.closure(function(obj) {
  1640. //防止拖动图标即打开了桌面应用
  1641. U.MD.D.click(this, obj);
  1642. }, [_lhsAdminDesktopIconInfo[i]])
  1643. }, _frag); //
  1644. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1645. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1646. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1647. }
  1648. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1649. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1650. _content = $$("div", {
  1651. className: "U_MD_D_KO",
  1652. "onmousedown": U.UF.C.closure(function(obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_lhsteacherDesktopIconInfo[i]]),
  1656. "onclick": U.UF.C.closure(function(obj) {
  1657. //防止拖动图标即打开了桌面应用
  1658. U.MD.D.click(this, obj);
  1659. }, [_lhsteacherDesktopIconInfo[i]])
  1660. }, _frag); //
  1661. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1662. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1663. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1664. }
  1665. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1666. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1667. _content = $$("div", {
  1668. className: "U_MD_D_KO",
  1669. "onmousedown": U.UF.C.closure(function(obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1673. "onclick": U.UF.C.closure(function(obj) {
  1674. //防止拖动图标即打开了桌面应用
  1675. U.MD.D.click(this, obj);
  1676. }, [_zhoujiateacherDesktopIconInfo[i]])
  1677. }, _frag); //
  1678. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1679. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1680. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1681. }
  1682. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1683. for (i = 0; i < _hanDeskIcon.length; i++) {
  1684. _content = $$("div", {
  1685. className: "U_MD_D_KO",
  1686. "onmousedown": U.UF.C.closure(function(obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_hanDeskIcon[i]]),
  1690. "onclick": U.UF.C.closure(function(obj) {
  1691. //防止拖动图标即打开了桌面应用
  1692. U.MD.D.click(this, obj);
  1693. }, [_hanDeskIcon[i]])
  1694. }, _frag); //
  1695. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1696. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1697. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1698. }
  1699. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1700. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1701. _content = $$("div", {
  1702. className: "U_MD_D_KO",
  1703. "onmousedown": U.UF.C.closure(function(obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_orgStemDeskIcon[i]]),
  1707. "onclick": U.UF.C.closure(function(obj) {
  1708. //防止拖动图标即打开了桌面应用
  1709. U.MD.D.click(this, obj);
  1710. }, [_orgStemDeskIcon[i]])
  1711. }, _frag); //
  1712. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1713. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1714. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1715. }
  1716. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1717. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1718. _content = $$("div", {
  1719. className: "U_MD_D_KO",
  1720. "onmousedown": U.UF.C.closure(function(obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_szulsDeskIcon[i]]),
  1724. "onclick": U.UF.C.closure(function(obj) {
  1725. //防止拖动图标即打开了桌面应用
  1726. U.MD.D.click(this, obj);
  1727. }, [_szulsDeskIcon[i]])
  1728. }, _frag); //
  1729. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1730. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1731. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1732. }
  1733. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1734. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1735. _content = $$("div", {
  1736. className: "U_MD_D_KO",
  1737. "onmousedown": U.UF.C.closure(function(obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_orgDesktopIconInfo[i]]),
  1741. "onclick": U.UF.C.closure(function(obj) {
  1742. //防止拖动图标即打开了桌面应用
  1743. U.MD.D.click(this, obj);
  1744. }, [_orgDesktopIconInfo[i]])
  1745. }, _frag); //
  1746. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1747. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1748. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1749. }
  1750. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1751. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1752. _content = $$("div", {
  1753. className: "U_MD_D_KO",
  1754. "onmousedown": U.UF.C.closure(function(obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_schoolDesktopIconInfo[i]]),
  1758. "onclick": U.UF.C.closure(function(obj) {
  1759. //防止拖动图标即打开了桌面应用
  1760. U.MD.D.click(this, obj);
  1761. }, [_schoolDesktopIconInfo[i]])
  1762. }, _frag); //
  1763. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1764. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1765. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1766. }
  1767. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1768. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1769. _content = $$("div", {
  1770. className: "U_MD_D_KO",
  1771. "onmousedown": U.UF.C.closure(function(obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_GMteacherDesktopIconInfo[i]]),
  1775. "onclick": U.UF.C.closure(function(obj) {
  1776. //防止拖动图标即打开了桌面应用
  1777. U.MD.D.click(this, obj);
  1778. }, [_GMteacherDesktopIconInfo[i]])
  1779. }, _frag); //
  1780. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1781. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1782. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1783. }
  1784. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1785. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1786. _content = $$("div", {
  1787. className: "U_MD_D_KO",
  1788. "onmousedown": U.UF.C.closure(function(obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_SONGteacherDesktopIconInfo[i]]),
  1792. "onclick": U.UF.C.closure(function(obj) {
  1793. //防止拖动图标即打开了桌面应用
  1794. U.MD.D.click(this, obj);
  1795. }, [_SONGteacherDesktopIconInfo[i]])
  1796. }, _frag); //
  1797. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1798. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1799. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1800. }
  1801. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1802. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1803. _content = $$("div", {
  1804. className: "U_MD_D_KO",
  1805. "onmousedown": U.UF.C.closure(function(obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_GMstudentDesktopIconInfo[i]]),
  1809. "onclick": U.UF.C.closure(function(obj) {
  1810. //防止拖动图标即打开了桌面应用
  1811. U.MD.D.click(this, obj);
  1812. }, [_GMstudentDesktopIconInfo[i]])
  1813. }, _frag); //
  1814. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1815. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1816. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1817. }
  1818. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1819. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1820. _content = $$("div", {
  1821. className: "U_MD_D_KO",
  1822. "onmousedown": U.UF.C.closure(function(obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_tcTeacherDeskIconInfo[i]]),
  1826. "onclick": U.UF.C.closure(function(obj) {
  1827. //防止拖动图标即打开了桌面应用
  1828. U.MD.D.click(this, obj);
  1829. }, [_tcTeacherDeskIconInfo[i]])
  1830. }, _frag); //
  1831. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1832. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1833. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1834. }
  1835. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1836. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1837. _content = $$("div", {
  1838. className: "U_MD_D_KO",
  1839. "onmousedown": U.UF.C.closure(function(obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_tcOrganizerDeskIconInfo[i]]),
  1843. "onclick": U.UF.C.closure(function(obj) {
  1844. //防止拖动图标即打开了桌面应用
  1845. U.MD.D.click(this, obj);
  1846. }, [_tcOrganizerDeskIconInfo[i]])
  1847. }, _frag); //
  1848. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1849. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1850. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1851. }
  1852. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1853. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1854. _content = $$("div", {
  1855. className: "U_MD_D_KO",
  1856. "onmousedown": U.UF.C.closure(function(obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_szscTeacherDeskIconInfo[i]]),
  1860. "onclick": U.UF.C.closure(function(obj) {
  1861. //防止拖动图标即打开了桌面应用
  1862. U.MD.D.click(this, obj);
  1863. }, [_szscTeacherDeskIconInfo[i]])
  1864. }, _frag); //
  1865. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1866. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1867. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1868. }
  1869. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1870. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1871. _content = $$("div", {
  1872. className: "U_MD_D_KO",
  1873. "onmousedown": U.UF.C.closure(function(obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_szscOrganizerDeskIconInfo[i]]),
  1877. "onclick": U.UF.C.closure(function(obj) {
  1878. //防止拖动图标即打开了桌面应用
  1879. U.MD.D.click(this, obj);
  1880. }, [_szscOrganizerDeskIconInfo[i]])
  1881. }, _frag); //
  1882. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1883. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1884. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1885. }
  1886. } else {
  1887. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1888. _content = $$("div", {
  1889. className: "U_MD_D_KO",
  1890. "onmousedown": U.UF.C.closure(function(obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_teacherDesktopIconInfo[i]]),
  1894. "onclick": U.UF.C.closure(function(obj) {
  1895. //防止拖动图标即打开了桌面应用
  1896. U.MD.D.click(this, obj);
  1897. }, [_teacherDesktopIconInfo[i]])
  1898. }, _frag); //
  1899. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1900. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1901. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1902. }
  1903. }
  1904. } else {
  1905. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1906. _content = $$("div", {
  1907. className: "U_MD_D_KO",
  1908. style: { 'width': '124px', 'height': '145px' },
  1909. "onmousedown": U.UF.C.closure(function(obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_easyDesktopIconInfo[i]]),
  1913. "onclick": U.UF.C.closure(function(obj) {
  1914. //防止拖动图标即打开了桌面应用
  1915. U.MD.D.click(this, obj);
  1916. }, [_easyDesktopIconInfo[i]])
  1917. }, _frag); //
  1918. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1919. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1920. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1921. }
  1922. }
  1923. if (type == 1) {
  1924. //加载好后给图标定位
  1925. U.MD.D.iconPostion($(_frag).Child());
  1926. } else {
  1927. //加载好后给图标定位
  1928. U.MD.D.iconPostion2($(_frag).Child());
  1929. }
  1930. //把图标加载到页面
  1931. el.appendChild(_frag);
  1932. }
  1933. /**
  1934. * 显示任务栏
  1935. *
  1936. * @param {element} 桌面元素
  1937. */
  1938. U.MD.D.I.displayTaskbar = function(el) {
  1939. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1940. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1941. //任务栏位置变化
  1942. U.selectEl(el).css({ "bottom": "0px" });
  1943. //桌面位置变话
  1944. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1945. }
  1946. }
  1947. //#region 桌面图标拖动逻辑
  1948. /**
  1949. * 桌面排列图标
  1950. *
  1951. * @param {element} 桌面元素
  1952. * @param {object} 上下相距的距离
  1953. * @param {object} 左右相距的距离
  1954. * @return {object} 命名空间
  1955. */
  1956. U.MD.D.iconPostion = function(childs, top, left) {
  1957. var i; //用于循环处理
  1958. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1959. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1960. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1961. for (i = 0; i < childs.length; i++) {
  1962. //如果竖排top超过了范围处理
  1963. if (top + 95 > US.height - 10) {
  1964. //left超过了页面范围处理,则向上重叠打印处理
  1965. if ((left + 180) > US.width) {
  1966. top -= 110;
  1967. left -= 90;
  1968. }
  1969. //没有超过范围,那么left+90添加到下一个竖排打印
  1970. else {
  1971. left += 90;
  1972. top = 15;
  1973. };
  1974. }
  1975. //给图标的位置赋值
  1976. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1977. if (i < childs.length - 1) {
  1978. //页面图标每次向下加95
  1979. top += 95;
  1980. }
  1981. }
  1982. //返回最后调用的图标的位置
  1983. return [top, left];
  1984. }
  1985. /**
  1986. * 桌面排列图标
  1987. *
  1988. * @param {element} 桌面元素
  1989. * @param {object} 上下相距的距离
  1990. * @param {object} 左右相距的距离
  1991. * @return {object} 命名空间
  1992. */
  1993. U.MD.D.iconPostion2 = function(childs, top, left) {
  1994. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1995. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1996. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1997. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1998. for (i = 0; i < childs.length; i++) {
  1999. //如果竖排top超过了范围处理
  2000. if (left + 150 > US.width - 10) {
  2001. //left超过了页面范围处理,则向上重叠打印处理
  2002. if ((top + 180) > US.Height) {
  2003. top -= 150;
  2004. left -= 150;
  2005. }
  2006. //没有超过范围,那么left+90添加到下一个竖排打印
  2007. else {
  2008. top += 150;
  2009. left = ol;
  2010. };
  2011. }
  2012. //给图标的位置赋值
  2013. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2014. if (i < childs.length - 1) {
  2015. //页面图标每次向下加95
  2016. left += 150;
  2017. }
  2018. }
  2019. //返回最后调用的图标的位置
  2020. return [top, left];
  2021. }
  2022. /**
  2023. * 桌面点击事件逻辑
  2024. *
  2025. * @param {element} 桌面元素
  2026. * @param {object} 上下相距的距离
  2027. * @param {object} 左右相距的距离
  2028. * @return {object} 命名空间
  2029. */
  2030. U.MD.D.click = function(el, obj) {
  2031. var _buttonnumber = event.button; //点击的按钮的事件值
  2032. var _userinfo = US.userInfo;
  2033. U.UF.EV.stopBubble(); //阻止向上冒泡
  2034. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2035. if (_buttonnumber < 2) {
  2036. //如果是click事件的处理
  2037. if (event.type == "click") {
  2038. //如果元素在mousemove事件中没有移动则出发click事件
  2039. if (!U.MD.D.I.IsDrag) {
  2040. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2041. U.alert("请先登录您的账号!");
  2042. setTimeout(() => {
  2043. U.MD.U.L.login();
  2044. }, 2000);
  2045. } else {
  2046. //打开应用处理
  2047. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2048. }
  2049. }
  2050. }
  2051. //如果是mouse事件的处理
  2052. else {
  2053. if (US.Config.type == '1') {
  2054. //拖动处理,添加拖动和拖动结束事件
  2055. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2056. }
  2057. }
  2058. U.MD.D.I.IsDrag = false;
  2059. }
  2060. }
  2061. /**
  2062. * 拖动的处理
  2063. *
  2064. */
  2065. U.MD.D.iconMove = function() {
  2066. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2067. U.MD.D.I.IsDrag = true;
  2068. }
  2069. /**
  2070. * 拖动结束后,这里是定位处理,以网状的形式定位
  2071. *
  2072. * @param {element} 拖动的元素
  2073. * @return {object} 命名空间
  2074. */
  2075. U.MD.D.iconUp = function(el) {
  2076. var _top = 15,
  2077. _left = 20,
  2078. _margin,
  2079. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2080. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2081. if (_positioninfo["OT"] > 15) {
  2082. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2083. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2084. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2085. }
  2086. if (_positioninfo["OL"] > 20) {
  2087. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2088. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2089. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2090. }
  2091. //while循环判断么一个重叠的元素
  2092. do {
  2093. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2094. _top = _positioninfo[0] + 95; //得到定位后的top
  2095. _left = _positioninfo[1]; //得到定位后的left
  2096. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2097. }
  2098. /**
  2099. * 判断拖动后图标是否重叠
  2100. *
  2101. * @param {element} 拖动的元素
  2102. * @param {element} 桌面所有的元素
  2103. * @param {array} 拖动元素的位置
  2104. ----------[0] 上 top
  2105. ----------[1] 左 left
  2106. * @return {object} 命名空间
  2107. */
  2108. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2109. //循环所有的图标
  2110. for (var i = 0; i < childs.length; i++) {
  2111. //判断有没有和该图标诶子重叠的元素
  2112. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2113. return childs[i]; //如果有返回
  2114. }
  2115. }
  2116. }
  2117. //#endregion
  2118. //#endregion
  2119. //#region 桌面应用
  2120. /**
  2121. * 打开应用
  2122. *
  2123. * @param {string} 类型
  2124. -----------------Disk 网盘系统
  2125. -----------------PDisk 学习系统网盘
  2126. -----------------Poto 图片
  2127. -----------------Video 视频
  2128. -----------------Music 音乐
  2129. -----------------Word word
  2130. -----------------Excel excel
  2131. -----------------Txt 记事本
  2132. -----------------PB 学习系统
  2133. -----------------Blog 朋友圈系统
  2134. -----------------FTP ftp系统
  2135. -----------------Group 好友群
  2136. -----------------SY 首页系统
  2137. -----------------Set 个人设置
  2138. -----------------XSet 系统设置
  2139. -----------------App 我们所有的app
  2140. -----------------BC c.1473.cn 平台
  2141. -----------------CWeb d.1473.cn 变成平台
  2142. -----------------其他的外联系统 我们统一用iframe打开
  2143. * @param {array} 类型
  2144. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2145. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2146. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2147. 如果第一个参数为其他,则无第二个参数
  2148. * @returns {array}
  2149. */
  2150. window.addEventListener('message', function(e) { // 监听 message 事件
  2151. // alert(e.data.type);
  2152. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2153. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2154. //3是展示全部阶段 2学生 1老师 4专家
  2155. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2156. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2157. //3是展示全部阶段 2学生 1老师 4专家
  2158. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2159. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2160. //3是展示全部阶段 2学生 1老师 4专家
  2161. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2162. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2163. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2164. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2165. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2166. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2167. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2168. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2169. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2170. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2171. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2172. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2173. //3是展示全部阶段 2学生 1老师 4专家
  2174. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2175. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2176. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2177. U.MD.D.I.selectUser();
  2178. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2179. var _formel = document.getElementById("study");
  2180. U.UF.F.windowZooming(_formel);
  2181. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2182. var _formel = document.getElementById("studyDetail");
  2183. U.UF.F.windowZooming(_formel);
  2184. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2185. var _formel = document.getElementById("studyDetail");
  2186. U.UF.F.windowZooming(_formel);
  2187. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2188. var _formel = document.getElementById("studentStudy");
  2189. U.UF.F.windowZooming(_formel);
  2190. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2191. // var _formel = document.getElementById("study");
  2192. //如果最大化了,那么就把他缩小
  2193. // if (_formel.ismaximize) {
  2194. // return;
  2195. // }
  2196. // U.UF.F.windowZooming(_formel);
  2197. // U.UF.F.topWindow(_formel);
  2198. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2199. // var _formel = document.getElementById("studyDetail");
  2200. //如果最大化了,那么就把他缩小
  2201. // if (_formel.ismaximize) {
  2202. // return;
  2203. // }
  2204. // U.UF.F.windowZooming(_formel);
  2205. // U.UF.F.topWindow(_formel);
  2206. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2207. // var _formel = document.getElementById("studentStudy");
  2208. // if (_formel.ismaximize) {
  2209. // return;
  2210. // }
  2211. // U.UF.F.windowZooming(_formel);
  2212. // U.UF.F.topWindow(_formel);
  2213. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2214. var _formel = document.getElementById("study");
  2215. // if (_formel.ismaximize) {
  2216. // return;
  2217. // }
  2218. // U.UF.F.windowZooming(_formel);
  2219. U.UF.F.topWindow(_formel);
  2220. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2221. var _formel = document.getElementById("studentIndex");
  2222. U.UF.F.windowZooming(_formel);
  2223. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2224. var _formel = document.getElementById("studyDetailS");
  2225. U.UF.F.windowZooming(_formel);
  2226. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2227. var _formel = document.getElementById("studioIndex");
  2228. U.UF.F.windowZooming(_formel);
  2229. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2230. var _formel = document.getElementById("studyDetailStudio");
  2231. U.UF.F.windowZooming(_formel);
  2232. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2233. var _formel = document.getElementById("studyDetailStudio");
  2234. U.UF.F.windowZooming(_formel);
  2235. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2236. var _formel = document.getElementById("studyDetailNT");
  2237. U.UF.F.windowZooming(_formel);
  2238. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2239. var _formel = document.getElementById("studyDetailS");
  2240. U.UF.F.windowZooming(_formel);
  2241. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2242. var _formel = document.getElementById("studyDetailS");
  2243. U.UF.F.topWindow(_formel);
  2244. } else if (e.data.tools && e.data.tools == "1") {
  2245. // U.MD.D.I.openApplication("whiteboard")
  2246. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2247. } else if (e.data.tools && e.data.tools == "2") {
  2248. U.MD.D.I.openApplication("note")
  2249. } else if (e.data.tools && e.data.tools == "3") {
  2250. // U.MD.D.I.openApplication("mind")
  2251. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2252. } else if (e.data.tools && e.data.tools == "4") {
  2253. U.MD.D.I.openApplication("investigation")
  2254. } else if (e.data.tools && e.data.tools == "6") {
  2255. // U.MD.D.I.openApplication("doc")
  2256. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2257. } else if (e.data.tools && e.data.tools == "7") {
  2258. // U.MD.D.I.openApplication("mindNetwork")
  2259. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2260. } else if (e.data.tools && e.data.tools == "8") {
  2261. U.MD.D.I.openApplication("library")
  2262. } else if (e.data.tools && e.data.tools == "17") {
  2263. U.MD.D.I.openApplication("stuLibrary")
  2264. } else if (e.data.tools && e.data.tools == "18") {
  2265. U.MD.D.I.openApplication("train")
  2266. } else if (e.data.tools && e.data.tools == "21") {
  2267. U.MD.D.I.openApplication("program")
  2268. } else if (e.data.tools && e.data.tools == "22") {
  2269. U.MD.D.I.openApplication("AIprogram2")
  2270. } else if (e.data.tools && e.data.tools == "23") {
  2271. U.MD.D.I.openApplication("Pythonprogram")
  2272. } else if (e.data.tools && e.data.tools == "24") {
  2273. U.MD.D.I.openApplication("AIprogram")
  2274. } else if (e.data.tools && e.data.tools == "25") {
  2275. U.MD.D.I.openApplication("sys")
  2276. } else if (e.data.tools && e.data.tools == "26") {
  2277. // U.MD.D.I.openApplication("courseDesign")
  2278. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2279. } else if (e.data.tools && e.data.tools == "31") {
  2280. U.MD.D.I.openApplication("netWorkPanel")
  2281. } else if (e.data.tools && e.data.tools == "32") {
  2282. U.MD.D.I.openApplication("codeEdit")
  2283. } else if (e.data.tools && e.data.tools == "57") {
  2284. U.MD.D.I.openApplication("CocoPi")
  2285. } else if (e.data.tools && e.data.tools == "63") {
  2286. U.MD.D.I.openApplication("Wood")
  2287. } else if (e.data.tools && e.data.tools == "58") {
  2288. U.MD.D.I.openApplication("car")
  2289. } else if (e.data.tools && e.data.tools == "59") {
  2290. U.MD.D.I.openApplication("lineSearch")
  2291. } else if (e.data.tools && e.data.tools == "60") {
  2292. U.MD.D.I.openApplication("deepLearning")
  2293. } else if (e.data.tools && e.data.tools == "61") {
  2294. U.MD.D.I.openApplication("allHistory")
  2295. } else if (e.data.tools && e.data.tools == "28") {
  2296. U.MD.D.I.openApplication("translation")
  2297. } else if (e.data.tools && e.data.tools == "37") {
  2298. U.MD.D.I.openApplication("mohe")
  2299. } else if (e.data.tools && e.data.tools == "38") {
  2300. U.MD.D.I.openApplication("24game")
  2301. } else if (e.data.tools && e.data.tools == "39") {
  2302. U.MD.D.I.openApplication("GeoGebra")
  2303. } else if (e.data.tools && e.data.tools == "43") {
  2304. U.MD.D.I.openApplication("studentEvaluate")
  2305. } else if (e.data.tools && e.data.tools == "44") {
  2306. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2307. } else if (e.data.tools && e.data.tools == "46") {
  2308. U.MD.D.I.openApplication("project")
  2309. } else if (e.data.tools && e.data.tools == "1s") {
  2310. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2311. } else if (e.data.tools && e.data.tools == "3s") {
  2312. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2313. } else if (e.data.tools && e.data.tools == "6s") {
  2314. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2315. } else if (e.data.tools && e.data.tools == "1studio") {
  2316. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2317. } else if (e.data.tools && e.data.tools == "3studio") {
  2318. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2319. } else if (e.data.tools && e.data.tools == "6studio") {
  2320. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2321. } else if (e.data.tools && e.data.tools == "3y") {
  2322. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2323. } else if (e.data.tools && e.data.tools == "1y") {
  2324. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2325. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2326. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2327. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2328. U.MD.D.I.openApplication("AIAnalyse")
  2329. } else if (e.data.tools && e.data.tools == "1teacher") {
  2330. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2331. } else if (e.data.tools && e.data.tools == "3teacher") {
  2332. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2333. } else if (e.data.tools && e.data.tools == "7teacher") {
  2334. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2335. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2336. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2337. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2338. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2339. } else if (e.data.tools && e.data.tools == "1E") {
  2340. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2341. } else if (e.data.tools && e.data.tools == "3E") {
  2342. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2343. } else if (e.data.tools && e.data.tools == "57y") {
  2344. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2345. } else if (e.data.tools && e.data.tools == "57u") {
  2346. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2347. } else if (e.data.tools && e.data.tools == "57teacher") {
  2348. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2349. } else if (e.data.tools && e.data.tools == "64") {
  2350. U.MD.D.I.openApplication("AIChat")
  2351. } else if (e.data.tools && e.data.tools == "66") {
  2352. U.MD.D.I.openApplication("formulaEdi")
  2353. } else if (e.data.tools && e.data.tools == "67") {
  2354. U.MD.D.I.openApplication("molStr")
  2355. } else if (e.data.tools && e.data.tools == "68") {
  2356. U.MD.D.I.openApplication("timeAxis")
  2357. }
  2358. });
  2359. U.MD.D.I.selectUser = function() {
  2360. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2361. if (res.value[0].length > 0) {
  2362. US.userInfo = res.value[0][0];
  2363. $(".userName")[0].innerHTML = US.userInfo.username;
  2364. }
  2365. }, [], { "type": "GET", "withCredentials": true });
  2366. }
  2367. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2368. var _userinfo = US.userInfo, //登录用户信息
  2369. _userid = US.userInfo.userid, //登录用户id
  2370. _oid = _userinfo.organizeid,
  2371. _type = US.userInfo.type,
  2372. _org = US.userInfo.org,
  2373. _role = US.userInfo.role,
  2374. _classId = US.userInfo.classid;
  2375. if (_type == 4) {
  2376. tType = 4
  2377. }
  2378. switch (str) {
  2379. case "studyDetailNT": //无终端模式
  2380. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2381. setTimeout(() => {
  2382. U.MD.U.L.login();
  2383. }, 2000);
  2384. } else {
  2385. _formdiv = new U.UF.UI.form(
  2386. "课程详情",
  2387. $$("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 }), {
  2388. "id": "studyDetailNT",
  2389. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2390. "onresize": function() {}
  2391. }, {
  2392. closecallback: function() {}
  2393. }, { "style": { "height": "36px" } }).form; //创建窗体
  2394. _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); } }
  2395. break;
  2396. }
  2397. case "studyDetail":
  2398. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2399. setTimeout(() => {
  2400. U.MD.U.L.login();
  2401. }, 2000);
  2402. } else {
  2403. _formdiv = new U.UF.UI.form(
  2404. "课程详情",
  2405. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2406. "id": "studyDetail",
  2407. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2408. "onresize": function() {}
  2409. }, {
  2410. closecallback: function() {}
  2411. }, { "style": { "height": "36px" } }).form; //创建窗体
  2412. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2413. break;
  2414. }
  2415. case "studyDetailS":
  2416. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2417. setTimeout(() => {
  2418. U.MD.U.L.login();
  2419. }, 2000);
  2420. } else {
  2421. _formdiv = new U.UF.UI.form(
  2422. "项目详情",
  2423. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2424. "id": "studyDetailS",
  2425. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2426. "onresize": function() {}
  2427. }, {
  2428. closecallback: function() {}
  2429. }, { "style": { "height": "36px" } }).form; //创建窗体
  2430. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2431. break;
  2432. }
  2433. case "studyDetailStudio":
  2434. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2435. setTimeout(() => {
  2436. U.MD.U.L.login();
  2437. }, 2000);
  2438. } else {
  2439. _formdiv = new U.UF.UI.form(
  2440. "工作详情",
  2441. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2442. "id": "studyDetailStudio",
  2443. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2444. "onresize": function() {}
  2445. }, {
  2446. closecallback: function() {}
  2447. }, { "style": { "height": "36px" } }).form; //创建窗体
  2448. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2449. break;
  2450. }
  2451. case "studyDetailS5":
  2452. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2453. setTimeout(() => {
  2454. U.MD.U.L.login();
  2455. }, 2000);
  2456. } else {
  2457. _formdiv = new U.UF.UI.form(
  2458. "项目详情",
  2459. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2460. "id": "studyDetailS",
  2461. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2462. "onresize": function() {}
  2463. }, {
  2464. closecallback: function() {}
  2465. }, { "style": { "height": "36px" } }).form; //创建窗体
  2466. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2467. break;
  2468. }
  2469. case "studyDetailGM":
  2470. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2471. setTimeout(() => {
  2472. U.MD.U.L.login();
  2473. }, 2000);
  2474. } else {
  2475. _formdiv = new U.UF.UI.form(
  2476. "课程详情",
  2477. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2478. "id": "studyDetail",
  2479. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2480. "onresize": function() {}
  2481. }, {
  2482. closecallback: function() {}
  2483. }, { "style": { "height": "36px" } }).form; //创建窗体
  2484. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2485. break;
  2486. }
  2487. case "hanUrl":
  2488. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2489. setTimeout(() => {
  2490. U.MD.U.L.login();
  2491. }, 2000);
  2492. } else {
  2493. _formdiv = new U.UF.UI.form(
  2494. "汉字宫",
  2495. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  2496. "id": "hanUrl",
  2497. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2498. "onresize": function() {}
  2499. }, {
  2500. closecallback: function() {}
  2501. }, { "style": { "height": "36px" } }).form; //创建窗体
  2502. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2503. break;
  2504. }
  2505. }
  2506. }
  2507. U.MD.D.I.openApplication = function(str, obj, info) {
  2508. obj = obj || {};
  2509. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2510. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2511. _userinfo = US.userInfo, //登录用户信息
  2512. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2513. _oid = obj.organizeid || _userinfo.organizeid,
  2514. _type = US.userInfo.type,
  2515. _org = US.userInfo.org,
  2516. _role = US.userInfo.role,
  2517. _classId = US.userInfo.classid,
  2518. _TscreenType = 1
  2519. _screenType = 2,
  2520. _SscreenType = 3;
  2521. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2522. return;
  2523. }
  2524. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2525. switch (str) {
  2526. case "studnetProject": //好友打开
  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-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2530. "id": "studnetProject",
  2531. "style": { "width": "70%", "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/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2537. break;
  2538. case "studentEvaluate": //好友打开
  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-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2542. "id": "studentEvaluate",
  2543. "style": { "width": "70%", "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/evaluation.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 "program":
  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": "https://x.cocorobo.cn" }), {
  2566. "id": "program",
  2567. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2568. "onresize": function() {}
  2569. }, {
  2570. closecallback: function() {}
  2571. }, { "style": { "height": "36px" } }).form; //创建窗体
  2572. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.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" }), { //"/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 "studentStudy":
  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=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  2666. "id": "studentStudy",
  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 "train": //好友打开
  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": "https://xunlian.cocorobo.cn/" }), {
  2678. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2685. break;
  2686. case "mindNetwork": //好友打开
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2697. break;
  2698. case "studentClassRoom": //好友打开
  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-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2702. "id": "studentClassRoom",
  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 == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2715. switch (str) {
  2716. case "studnetProject": //好友打开
  2717. _formdiv = new U.UF.UI.form(
  2718. "我的项目",
  2719. $$("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 }), {
  2720. "id": "studnetProject",
  2721. "style": { "width": "70%", "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 "studentEvaluate": //好友打开
  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-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2732. "id": "studentEvaluate",
  2733. "style": { "width": "70%", "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 "my":
  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/#/data?userid=" + _userid + "&org=" + _org }), {
  2744. "id": "my",
  2745. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2751. break;
  2752. case "program":
  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": "https://x.cocorobo.cn" }), {
  2756. "id": "program",
  2757. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2758. "onresize": function() {}
  2759. }, {
  2760. closecallback: function() {}
  2761. }, { "style": { "height": "36px" } }).form; //创建窗体
  2762. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2763. break;
  2764. case "library":
  2765. _formdiv = new U.UF.UI.form(
  2766. "素材库",
  2767. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2768. "id": "library",
  2769. "style": { "width": "90%", "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/library.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 "note":
  2801. _formdiv = new U.UF.UI.form(
  2802. "便签分类",
  2803. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2804. "id": "note",
  2805. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2811. break;
  2812. // case "score":
  2813. // _formdiv = new U.UF.UI.form(
  2814. // "量规评分",
  2815. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2816. // "id": "score",
  2817. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2818. // "onresize": function() {}
  2819. // }, {
  2820. // closecallback: function() {}
  2821. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2822. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2823. // break;
  2824. case "mind":
  2825. _formdiv = new U.UF.UI.form(
  2826. "思维导图",
  2827. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2828. "id": "mind",
  2829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2830. "onresize": function() {}
  2831. }, {
  2832. closecallback: function() {}
  2833. }, { "style": { "height": "36px" } }).form; //创建窗体
  2834. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2835. break;
  2836. case "doc":
  2837. // U.MD.D.I.isRoom();
  2838. _formdiv = new U.UF.UI.form(
  2839. "协同文档",
  2840. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2841. "id": "doc",
  2842. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2843. "onresize": function() {}
  2844. }, {
  2845. closecallback: function() {}
  2846. }, { "style": { "height": "36px" } }).form; //创建窗体
  2847. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2848. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2849. })
  2850. _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); } }
  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 "studentStudy":
  2865. _formdiv = new U.UF.UI.form(
  2866. "课程中心",
  2867. $$("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
  2868. "id": "studentStudy",
  2869. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2875. break;
  2876. case "mindNetwork": //好友打开
  2877. _formdiv = new U.UF.UI.form(
  2878. "思维网格",
  2879. $$("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 }), {
  2880. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2887. break;
  2888. case "studentClassRoom": //好友打开
  2889. _formdiv = new U.UF.UI.form(
  2890. "实时课堂",
  2891. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2892. "id": "studentClassRoom",
  2893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2894. "onresize": function() {}
  2895. }, {
  2896. closecallback: function() {}
  2897. }, { "style": { "height": "36px" } }).form; //创建窗体
  2898. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2899. setTimeout(() => {
  2900. U.UF.F.windowZooming(_formdiv)
  2901. }, 0);
  2902. break;
  2903. }
  2904. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2905. //选择应用处理
  2906. switch (str) {
  2907. case "project": //好友打开
  2908. _formdiv = new U.UF.UI.form(
  2909. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2910. $$("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 }), {
  2911. "id": "project",
  2912. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2913. "onresize": function() {}
  2914. }, {
  2915. closecallback: function() {}
  2916. }, { "style": { "height": "36px" } }).form; //创建窗体
  2917. _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); } }
  2918. break;
  2919. case "student":
  2920. _formdiv = new U.UF.UI.form(
  2921. "学生管理",
  2922. $$("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 }), {
  2923. "id": "student",
  2924. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2925. "onresize": function() {}
  2926. }, {
  2927. closecallback: function() {}
  2928. }, { "style": { "height": "36px" } }).form; //创建窗体
  2929. _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); } }
  2930. break;
  2931. case "evaluate":
  2932. _formdiv = new U.UF.UI.form(
  2933. "学生评价",
  2934. $$("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 }), {
  2935. "id": "evaluate",
  2936. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2937. "onresize": function() {}
  2938. }, {
  2939. closecallback: function() {}
  2940. }, { "style": { "height": "36px" } }).form; //创建窗体
  2941. _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); } }
  2942. break;
  2943. case "sys":
  2944. _formdiv = new U.UF.UI.form(
  2945. "目标管理",
  2946. $$("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 }), {
  2947. "id": "sys",
  2948. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2949. "onresize": function() {}
  2950. }, {
  2951. closecallback: function() {}
  2952. }, { "style": { "height": "36px" } }).form; //创建窗体
  2953. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2954. break;
  2955. case "courseDesign":
  2956. _formdiv = new U.UF.UI.form(
  2957. "项目设计",
  2958. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2959. "id": "courseDesign",
  2960. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2961. "onresize": function() {}
  2962. }, {
  2963. closecallback: function() {}
  2964. }, { "style": { "height": "36px" } }).form; //创建窗体
  2965. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2966. break;
  2967. case "program":
  2968. _formdiv = new U.UF.UI.form(
  2969. "编程平台",
  2970. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2971. "id": "program",
  2972. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2973. "onresize": function() {}
  2974. }, {
  2975. closecallback: function() {}
  2976. }, { "style": { "height": "36px" } }).form; //创建窗体
  2977. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2978. break;
  2979. case "class":
  2980. _formdiv = new U.UF.UI.form(
  2981. "班级管理",
  2982. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2983. "id": "class",
  2984. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2985. "onresize": function() {}
  2986. }, {
  2987. closecallback: function() {}
  2988. }, { "style": { "height": "36px" } }).form; //创建窗体
  2989. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2990. break;
  2991. case "Grade":
  2992. _formdiv = new U.UF.UI.form(
  2993. "年级管理",
  2994. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2995. "id": "Grade",
  2996. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2997. "onresize": function() {}
  2998. }, {
  2999. closecallback: function() {}
  3000. }, { "style": { "height": "36px" } }).form; //创建窗体
  3001. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3002. break;
  3003. case "teacherOffice":
  3004. _formdiv = new U.UF.UI.form(
  3005. "教研室",
  3006. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3007. "id": "teacherOffice",
  3008. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3009. "onresize": function() {}
  3010. }, {
  3011. closecallback: function() {}
  3012. }, { "style": { "height": "36px" } }).form; //创建窗体
  3013. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3014. break;
  3015. case "my":
  3016. _formdiv = new U.UF.UI.form(
  3017. "我的资料",
  3018. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3019. "id": "my",
  3020. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3021. "onresize": function() {}
  3022. }, {
  3023. closecallback: function() {}
  3024. }, { "style": { "height": "36px" } }).form; //创建窗体
  3025. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3026. break;
  3027. case "notice":
  3028. _formdiv = new U.UF.UI.form(
  3029. "通知公告",
  3030. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3031. "id": "notice",
  3032. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3033. "onresize": function() {}
  3034. }, {
  3035. closecallback: function() {}
  3036. }, { "style": { "height": "36px" } }).form; //创建窗体
  3037. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3038. break;
  3039. case "library":
  3040. _formdiv = new U.UF.UI.form(
  3041. "素材库",
  3042. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3043. "id": "library",
  3044. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3045. "onresize": function() {}
  3046. }, {
  3047. closecallback: function() {}
  3048. }, { "style": { "height": "36px" } }).form; //创建窗体
  3049. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3050. break;
  3051. case "whiteboard":
  3052. _formdiv = new U.UF.UI.form(
  3053. "电子白板",
  3054. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3055. "id": "whiteboard",
  3056. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3057. "onresize": function() {}
  3058. }, {
  3059. closecallback: function() {}
  3060. }, { "style": { "height": "36px" } }).form; //创建窗体
  3061. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3062. break;
  3063. case "investigation":
  3064. _formdiv = new U.UF.UI.form(
  3065. "问卷调查",
  3066. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3067. "id": "investigation",
  3068. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3069. "onresize": function() {}
  3070. }, {
  3071. closecallback: function() {}
  3072. }, { "style": { "height": "36px" } }).form; //创建窗体
  3073. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3074. break;
  3075. case "note":
  3076. _formdiv = new U.UF.UI.form(
  3077. "便签分类",
  3078. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3079. "id": "note",
  3080. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3081. "onresize": function() {}
  3082. }, {
  3083. closecallback: function() {}
  3084. }, { "style": { "height": "36px" } }).form; //创建窗体
  3085. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3086. break;
  3087. // case "score":
  3088. // _formdiv = new U.UF.UI.form(
  3089. // "量规评分",
  3090. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3091. // "id": "score",
  3092. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3093. // "onresize": function() {}
  3094. // }, {
  3095. // closecallback: function() {}
  3096. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3097. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3098. // break;
  3099. case "mind":
  3100. _formdiv = new U.UF.UI.form(
  3101. "思维导图",
  3102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3103. "id": "mind",
  3104. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3105. "onresize": function() {}
  3106. }, {
  3107. closecallback: function() {}
  3108. }, { "style": { "height": "36px" } }).form; //创建窗体
  3109. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3110. break;
  3111. case "doc":
  3112. // U.MD.D.I.isRoom();
  3113. _formdiv = new U.UF.UI.form(
  3114. "协同文档",
  3115. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3116. "id": "doc",
  3117. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3118. "onresize": function() {}
  3119. }, {
  3120. closecallback: function() {}
  3121. }, { "style": { "height": "36px" } }).form; //创建窗体
  3122. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3123. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3124. })
  3125. _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); } }
  3126. break;
  3127. case "study":
  3128. _formdiv = new U.UF.UI.form(
  3129. "课程中心",
  3130. $$("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
  3131. "id": "study",
  3132. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3133. "onresize": function() {}
  3134. }, {
  3135. closecallback: function() {}
  3136. }, { "style": { "height": "36px" } }).form; //创建窗体
  3137. _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); } }
  3138. break;
  3139. case "mindNetwork": //好友打开
  3140. _formdiv = new U.UF.UI.form(
  3141. "思维网格",
  3142. $$("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 }), {
  3143. "id": "mindNetwork",
  3144. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3145. "onresize": function() {}
  3146. }, {
  3147. closecallback: function() {}
  3148. }, { "style": { "height": "36px" } }).form; //创建窗体
  3149. _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); } }
  3150. break;
  3151. case "train": //好友打开
  3152. _formdiv = new U.UF.UI.form(
  3153. "训练平台",
  3154. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3155. "id": "mindNetwork",
  3156. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3157. "onresize": function() {}
  3158. }, {
  3159. closecallback: function() {}
  3160. }, { "style": { "height": "36px" } }).form; //创建窗体
  3161. _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); } }
  3162. break;
  3163. case "teacherClassRoom": //好友打开
  3164. _formdiv = new U.UF.UI.form(
  3165. "实时课堂",
  3166. $$("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 }), {
  3167. "id": "teacherClassRoom",
  3168. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3169. "onresize": function() {}
  3170. }, {
  3171. closecallback: function() {}
  3172. }, { "style": { "height": "36px" } }).form; //创建窗体
  3173. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3174. setTimeout(() => {
  3175. U.UF.F.windowZooming(_formdiv)
  3176. }, 0);
  3177. break;
  3178. }
  3179. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3180. switch (str) {
  3181. case "project": //好友打开
  3182. _formdiv = new U.UF.UI.form(
  3183. "课程管理",
  3184. $$("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 }), {
  3185. "id": "project",
  3186. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3187. "onresize": function() {}
  3188. }, {
  3189. closecallback: function() {}
  3190. }, { "style": { "height": "36px" } }).form; //创建窗体
  3191. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3192. break;
  3193. case "evaluate":
  3194. _formdiv = new U.UF.UI.form(
  3195. "学生评价",
  3196. $$("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 }), {
  3197. "id": "evaluate",
  3198. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3199. "onresize": function() {}
  3200. }, {
  3201. closecallback: function() {}
  3202. }, { "style": { "height": "36px" } }).form; //创建窗体
  3203. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3204. break;
  3205. case "notice":
  3206. _formdiv = new U.UF.UI.form(
  3207. "通知公告",
  3208. $$("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 }), {
  3209. "id": "notice",
  3210. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3211. "onresize": function() {}
  3212. }, {
  3213. closecallback: function() {}
  3214. }, { "style": { "height": "36px" } }).form; //创建窗体
  3215. _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); } }
  3216. break;
  3217. case "stuLibrary":
  3218. _formdiv = new U.UF.UI.form(
  3219. "学习资料",
  3220. $$("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 }), {
  3221. "id": "stuLibrary",
  3222. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3223. "onresize": function() {}
  3224. }, {
  3225. closecallback: function() {}
  3226. }, { "style": { "height": "36px" } }).form; //创建窗体
  3227. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3228. break;
  3229. case "program":
  3230. _formdiv = new U.UF.UI.form(
  3231. "编程平台",
  3232. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3233. "id": "program",
  3234. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3235. "onresize": function() {}
  3236. }, {
  3237. closecallback: function() {}
  3238. }, { "style": { "height": "36px" } }).form; //创建窗体
  3239. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3240. break;
  3241. case "whiteboard":
  3242. _formdiv = new U.UF.UI.form(
  3243. "电子白板",
  3244. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3245. "id": "whiteboard",
  3246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3247. "onresize": function() {}
  3248. }, {
  3249. closecallback: function() {}
  3250. }, { "style": { "height": "36px" } }).form; //创建窗体
  3251. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3252. break;
  3253. case "investigation":
  3254. _formdiv = new U.UF.UI.form(
  3255. "问卷调查",
  3256. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3257. "id": "investigation",
  3258. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function() {}
  3260. }, {
  3261. closecallback: function() {}
  3262. }, { "style": { "height": "36px" } }).form; //创建窗体
  3263. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3264. break;
  3265. case "mind":
  3266. _formdiv = new U.UF.UI.form(
  3267. "思维导图",
  3268. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3269. "id": "mind",
  3270. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3271. "onresize": function() {}
  3272. }, {
  3273. closecallback: function() {}
  3274. }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3276. break;
  3277. case "doc":
  3278. // U.MD.D.I.isRoom();
  3279. _formdiv = new U.UF.UI.form(
  3280. "协同文档",
  3281. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3282. "id": "doc",
  3283. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3284. "onresize": function() {}
  3285. }, {
  3286. closecallback: function() {}
  3287. }, { "style": { "height": "36px" } }).form; //创建窗体
  3288. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3289. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3290. })
  3291. _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); } }
  3292. break;
  3293. case "study":
  3294. _formdiv = new U.UF.UI.form(
  3295. "课程中心",
  3296. $$("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
  3297. "id": "study",
  3298. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3299. "onresize": function() {}
  3300. }, {
  3301. closecallback: function() {}
  3302. }, { "style": { "height": "36px" } }).form; //创建窗体
  3303. _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); } }
  3304. break;
  3305. case "mindNetwork": //好友打开
  3306. _formdiv = new U.UF.UI.form(
  3307. "思维网格",
  3308. $$("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 }), {
  3309. "id": "mindNetwork",
  3310. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3311. "onresize": function() {}
  3312. }, {
  3313. closecallback: function() {}
  3314. }, { "style": { "height": "36px" } }).form; //创建窗体
  3315. _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); } }
  3316. break;
  3317. case "train": //好友打开
  3318. _formdiv = new U.UF.UI.form(
  3319. "训练平台",
  3320. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3321. "id": "train",
  3322. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3323. "onresize": function() {}
  3324. }, {
  3325. closecallback: function() {}
  3326. }, { "style": { "height": "36px" } }).form; //创建窗体
  3327. _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); } }
  3328. break;
  3329. case "sys":
  3330. _formdiv = new U.UF.UI.form(
  3331. "目标管理",
  3332. $$("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 }), {
  3333. "id": "sys",
  3334. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3335. "onresize": function() {}
  3336. }, {
  3337. closecallback: function() {}
  3338. }, { "style": { "height": "36px" } }).form; //创建窗体
  3339. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3340. break;
  3341. case "courseDesign":
  3342. _formdiv = new U.UF.UI.form(
  3343. "项目设计",
  3344. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3345. "id": "courseDesign",
  3346. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3347. "onresize": function() {}
  3348. }, {
  3349. closecallback: function() {}
  3350. }, { "style": { "height": "36px" } }).form; //创建窗体
  3351. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3352. break;
  3353. }
  3354. } else if (!_type) {
  3355. switch (str) {
  3356. case "my":
  3357. _formdiv = new U.UF.UI.form(
  3358. "我的资料",
  3359. $$("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 }), {
  3360. "id": "my",
  3361. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3362. "onresize": function() {}
  3363. }, {
  3364. closecallback: function() {}
  3365. }, { "style": { "height": "36px" } }).form; //创建窗体
  3366. _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); } }
  3367. break;
  3368. }
  3369. }
  3370. switch (str) {
  3371. // AIprogram2 AI体验 aihub.cocorobo.cn
  3372. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3373. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3374. case "formulaEdi": //公式编辑
  3375. _formdiv = new U.UF.UI.form(
  3376. "公式编辑",
  3377. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3378. "id": "formulaEdi",
  3379. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function() {}
  3381. }, {
  3382. closecallback: function() {}
  3383. }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3385. break;
  3386. case "molStr": //分子结构
  3387. _formdiv = new U.UF.UI.form(
  3388. "分子结构",
  3389. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3390. "id": "molStr",
  3391. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3392. "onresize": function() {}
  3393. }, {
  3394. closecallback: function() {}
  3395. }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3397. break;
  3398. case "timeAxis": //时间轴
  3399. _formdiv = new U.UF.UI.form(
  3400. "时间轴",
  3401. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3402. "id": "timeAxis",
  3403. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3404. "onresize": function() {}
  3405. }, {
  3406. closecallback: function() {}
  3407. }, { "style": { "height": "36px" } }).form; //创建窗体
  3408. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3409. break;
  3410. case "AIprogram2": //AI体验
  3411. _formdiv = new U.UF.UI.form(
  3412. "AI体验",
  3413. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3414. "id": "AIprogram2",
  3415. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function() {}
  3417. }, {
  3418. closecallback: function() {}
  3419. }, { "style": { "height": "36px" } }).form; //创建窗体
  3420. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3421. break;
  3422. case "Pythonprogram": //python编程
  3423. _formdiv = new U.UF.UI.form(
  3424. "Python编程",
  3425. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3426. "id": "Pythonprogram",
  3427. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3428. "onresize": function() {}
  3429. }, {
  3430. closecallback: function() {}
  3431. }, { "style": { "height": "36px" } }).form; //创建窗体
  3432. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3433. break;
  3434. case "AIprogram": //ai编程
  3435. _formdiv = new U.UF.UI.form(
  3436. "AI编程平台",
  3437. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3438. "id": "AIprogram",
  3439. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3440. "onresize": function() {}
  3441. }, {
  3442. closecallback: function() {}
  3443. }, { "style": { "height": "36px" } }).form; //创建窗体
  3444. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3445. break;
  3446. case "CocoPi": //CocoPi
  3447. _formdiv = new U.UF.UI.form(
  3448. "CocoPi",
  3449. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.cn" }), {
  3450. "id": "CocoPi",
  3451. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function() {}
  3453. }, {
  3454. closecallback: function() {}
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3457. break;
  3458. case "Wood": //Wood
  3459. _formdiv = new U.UF.UI.form(
  3460. "海龟编程",
  3461. $$("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/" }), {
  3462. "id": "Wood",
  3463. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3464. "onresize": function() {}
  3465. }, {
  3466. closecallback: function() {}
  3467. }, { "style": { "height": "36px" } }).form; //创建窗体
  3468. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3469. break;
  3470. case "car": //模拟驾驶
  3471. _formdiv = new U.UF.UI.form(
  3472. "模拟驾驶",
  3473. $$("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/" }), {
  3474. "id": "car",
  3475. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3476. "onresize": function() {}
  3477. }, {
  3478. closecallback: function() {}
  3479. }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3481. break;
  3482. case "lineSearch": //路径搜索
  3483. _formdiv = new U.UF.UI.form(
  3484. "路径搜索",
  3485. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
  3486. "id": "lineSearch",
  3487. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3488. "onresize": function() {}
  3489. }, {
  3490. closecallback: function() {}
  3491. }, { "style": { "height": "36px" } }).form; //创建窗体
  3492. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3493. break;
  3494. case "deepLearning": //深度学习
  3495. _formdiv = new U.UF.UI.form(
  3496. "深度学习",
  3497. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  3498. "id": "deepLearning",
  3499. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3500. "onresize": function() {}
  3501. }, {
  3502. closecallback: function() {}
  3503. }, { "style": { "height": "36px" } }).form; //创建窗体
  3504. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3505. break;
  3506. case "allHistory": //深度学习
  3507. _formdiv = new U.UF.UI.form(
  3508. "全历史",
  3509. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
  3510. "id": "allHistory",
  3511. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3512. "onresize": function() {}
  3513. }, {
  3514. closecallback: function() {}
  3515. }, { "style": { "height": "36px" } }).form; //创建窗体
  3516. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3517. break;
  3518. case "chatPDF": //ai编程
  3519. _formdiv = new U.UF.UI.form(
  3520. "chatPDF",
  3521. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3522. "id": "chatPDF",
  3523. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3524. "onresize": function() {}
  3525. }, {
  3526. closecallback: function() {}
  3527. }, { "style": { "height": "36px" } }).form; //创建窗体
  3528. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3529. break;
  3530. case "resources": //国家教育
  3531. _formdiv = new U.UF.UI.form(
  3532. "国家教育",
  3533. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3534. "id": "resources",
  3535. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function() {}
  3537. }, {
  3538. closecallback: function() {}
  3539. }, { "style": { "height": "36px" } }).form; //创建窗体
  3540. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3541. break;
  3542. case "codeEdit": //源码编辑
  3543. _formdiv = new U.UF.UI.form(
  3544. "源码编辑",
  3545. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3546. "id": "codeEdit",
  3547. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3548. "onresize": function() {}
  3549. }, {
  3550. closecallback: function() {}
  3551. }, { "style": { "height": "36px" } }).form; //创建窗体
  3552. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3553. break; //
  3554. case "MindMap": //MindMap
  3555. _formdiv = new U.UF.UI.form(
  3556. "MindMap",
  3557. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3558. "id": "MindMap",
  3559. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3560. "onresize": function() {}
  3561. }, {
  3562. closecallback: function() {}
  3563. }, { "style": { "height": "36px" } }).form; //创建窗体
  3564. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3565. break;
  3566. case "netWorkPanel": //netWorkPanel
  3567. _formdiv = new U.UF.UI.form(
  3568. "netWorkPanel",
  3569. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3570. "id": "netWorkPanel",
  3571. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3572. "onresize": function() {}
  3573. }, {
  3574. closecallback: function() {}
  3575. }, { "style": { "height": "36px" } }).form; //创建窗体
  3576. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3577. break;
  3578. case "GeoGebra": //GeoGebra
  3579. _formdiv = new U.UF.UI.form(
  3580. "GeoGebra",
  3581. $$("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" }), {
  3582. "id": "GeoGebra",
  3583. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3584. "onresize": function() {}
  3585. }, {
  3586. closecallback: function() {}
  3587. }, { "style": { "height": "36px" } }).form; //创建窗体
  3588. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3589. break;
  3590. case "translation": //翻译
  3591. _formdiv = new U.UF.UI.form(
  3592. "翻译",
  3593. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3594. "id": "translation",
  3595. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3596. "onresize": function() {}
  3597. }, {
  3598. closecallback: function() {}
  3599. }, { "style": { "height": "36px" } }).form; //创建窗体
  3600. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3601. break;
  3602. case "mohe": //魔盒
  3603. _formdiv = new U.UF.UI.form(
  3604. "魔盒识字",
  3605. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3606. "id": "mohe",
  3607. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3608. "onresize": function() {}
  3609. }, {
  3610. closecallback: function() {}
  3611. }, { "style": { "height": "36px" } }).form; //创建窗体
  3612. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3613. break;
  3614. case "24game": //24点
  3615. _formdiv = new U.UF.UI.form(
  3616. "24点",
  3617. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3618. "id": "24game",
  3619. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3620. "onresize": function() {}
  3621. }, {
  3622. closecallback: function() {}
  3623. }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3625. break;
  3626. case "case":
  3627. _formdiv = new U.UF.UI.form(
  3628. "课程进展",
  3629. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3630. "id": "case",
  3631. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3632. "onresize": function() {}
  3633. }, {
  3634. closecallback: function() {}
  3635. }, { "style": { "height": "36px" } }).form; //创建窗体
  3636. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3637. break;
  3638. case "snf":
  3639. _formdiv = new U.UF.UI.form(
  3640. "赛诺梵",
  3641. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  3642. "id": "snf",
  3643. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3644. "onresize": function() {}
  3645. }, {
  3646. closecallback: function() {}
  3647. }, { "style": { "height": "36px" } }).form; //创建窗体
  3648. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3649. break;
  3650. case "hanFamily":
  3651. _formdiv = new U.UF.UI.form(
  3652. "汉字家族",
  3653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3654. "id": "hanFamily",
  3655. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3656. "onresize": function() {}
  3657. }, {
  3658. closecallback: function() {}
  3659. }, { "style": { "height": "36px" } }).form; //创建窗体
  3660. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3661. break;
  3662. case "hanClassics":
  3663. _formdiv = new U.UF.UI.form(
  3664. "国学经典",
  3665. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3666. "id": "hanClassics",
  3667. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3668. "onresize": function() {}
  3669. }, {
  3670. closecallback: function() {}
  3671. }, { "style": { "height": "36px" } }).form; //创建窗体
  3672. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3673. break;
  3674. case "hanTraining":
  3675. _formdiv = new U.UF.UI.form(
  3676. "笔画训练",
  3677. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3678. "id": "hanTraining",
  3679. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3680. "onresize": function() {}
  3681. }, {
  3682. closecallback: function() {}
  3683. }, { "style": { "height": "36px" } }).form; //创建窗体
  3684. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3685. break;
  3686. case "hanClass":
  3687. _formdiv = new U.UF.UI.form(
  3688. "书法课堂",
  3689. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3690. "id": "hanClass",
  3691. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3692. "onresize": function() {}
  3693. }, {
  3694. closecallback: function() {}
  3695. }, { "style": { "height": "36px" } }).form; //创建窗体
  3696. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3697. break;
  3698. case "han":
  3699. _formdiv = new U.UF.UI.form(
  3700. "汉字宫",
  3701. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3702. "id": "han",
  3703. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3704. "onresize": function() {}
  3705. }, {
  3706. closecallback: function() {}
  3707. }, { "style": { "height": "36px" } }).form; //创建窗体
  3708. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3709. break;
  3710. case "projectGM": //课程管理
  3711. _formdiv = new U.UF.UI.form(
  3712. "课程管理",
  3713. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3714. "id": "projectGM",
  3715. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3716. "onresize": function() {}
  3717. }, {
  3718. closecallback: function() {}
  3719. }, { "style": { "height": "36px" } }).form; //创建窗体
  3720. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3721. break;
  3722. case "studyGM": //课程中心
  3723. _formdiv = new U.UF.UI.form(
  3724. "课程中心",
  3725. $$("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
  3726. "id": "study",
  3727. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3728. "onresize": function() {}
  3729. }, {
  3730. closecallback: function() {}
  3731. }, { "style": { "height": "36px" } }).form; //创建窗体
  3732. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3733. break;
  3734. // studentGM
  3735. case "studentGM": //学生管理
  3736. _formdiv = new U.UF.UI.form(
  3737. "学生管理",
  3738. $$("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 }), {
  3739. "id": "studentGM",
  3740. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3741. "onresize": function() {}
  3742. }, {
  3743. closecallback: function() {}
  3744. }, { "style": { "height": "36px" } }).form; //创建窗体
  3745. _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); } }
  3746. break;
  3747. case "evaluateGM": //学生评价
  3748. _formdiv = new U.UF.UI.form(
  3749. "学生评价",
  3750. $$("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 }), {
  3751. "id": "evaluateGM",
  3752. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3753. "onresize": function() {}
  3754. }, {
  3755. closecallback: function() {}
  3756. }, { "style": { "height": "36px" } }).form; //创建窗体
  3757. _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); } }
  3758. break;
  3759. // classGM
  3760. case "classGM": //班级管理
  3761. _formdiv = new U.UF.UI.form(
  3762. "班级管理",
  3763. $$("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 }), {
  3764. "id": "classGM",
  3765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3766. "onresize": function() {}
  3767. }, {
  3768. closecallback: function() {}
  3769. }, { "style": { "height": "36px" } }).form; //创建窗体
  3770. _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); } }
  3771. break;
  3772. // dataGM
  3773. case "dataGM":
  3774. _formdiv = new U.UF.UI.form(
  3775. "我的资料",
  3776. $$("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 }), {
  3777. "id": "dataGM",
  3778. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3779. "onresize": function() {}
  3780. }, {
  3781. closecallback: function() {}
  3782. }, { "style": { "height": "36px" } }).form; //创建窗体
  3783. _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); } }
  3784. break;
  3785. // caseGM
  3786. case "caseGM": //课程进展
  3787. _formdiv = new U.UF.UI.form(
  3788. "课程进展",
  3789. $$("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 }), {
  3790. "id": "caseGM",
  3791. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3792. "onresize": function() {}
  3793. }, {
  3794. closecallback: function() {}
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _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); } }
  3797. break;
  3798. // meterialGM
  3799. case "meterialGM": //素材库
  3800. _formdiv = new U.UF.UI.form(
  3801. "素材库",
  3802. $$("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 }), {
  3803. "id": "meterialGM",
  3804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function() {}
  3806. }, {
  3807. closecallback: function() {}
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _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); } }
  3810. break;
  3811. // evaluateSGM
  3812. case "evaluateSGM": //我的评价
  3813. _formdiv = new U.UF.UI.form(
  3814. "我的评价",
  3815. $$("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 }), {
  3816. "id": "evaluateSGM",
  3817. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3818. "onresize": function() {}
  3819. }, {
  3820. closecallback: function() {}
  3821. }, { "style": { "height": "36px" } }).form; //创建窗体
  3822. _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); } }
  3823. break;
  3824. case "jupyter": //jupyter
  3825. _formdiv = new U.UF.UI.form(
  3826. "jupyter",
  3827. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3828. "id": "jupyter",
  3829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3830. "onresize": function() {}
  3831. }, {
  3832. closecallback: function() {}
  3833. }, { "style": { "height": "36px" } }).form; //创建窗体
  3834. _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); } }
  3835. break;
  3836. case "number": //数字实验室
  3837. _formdiv = new U.UF.UI.form(
  3838. "数字实验室",
  3839. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3840. "id": "number",
  3841. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3842. "onresize": function() {}
  3843. }, {
  3844. closecallback: function() {}
  3845. }, { "style": { "height": "36px" } }).form; //创建窗体
  3846. _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); } }
  3847. break;
  3848. case "studentCourse": //项目管理 学生
  3849. _formdiv = new U.UF.UI.form(
  3850. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3851. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3852. "id": "studentCourse",
  3853. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3854. "onresize": function() {}
  3855. }, {
  3856. closecallback: function() {}
  3857. }, { "style": { "height": "36px" } }).form; //创建窗体
  3858. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3859. break;
  3860. case "studentCourseS": //项目管理 老师
  3861. _formdiv = new U.UF.UI.form(
  3862. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3863. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3864. "id": "studentCourseS",
  3865. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3866. "onresize": function() {}
  3867. }, {
  3868. closecallback: function() {}
  3869. }, { "style": { "height": "36px" } }).form; //创建窗体
  3870. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3871. break;
  3872. case "studentIndex": //项目中心
  3873. _formdiv = new U.UF.UI.form(
  3874. "项目中心",
  3875. $$("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 }), {
  3876. "id": "studentIndex",
  3877. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3878. "onresize": function() {}
  3879. }, {
  3880. closecallback: function() {}
  3881. }, { "style": { "height": "36px" } }).form; //创建窗体
  3882. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3883. break;
  3884. case "CaseDesignS":
  3885. _formdiv = new U.UF.UI.form(
  3886. "项目进展",
  3887. $$("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 }), {
  3888. "id": "case",
  3889. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3890. "onresize": function() {}
  3891. }, {
  3892. closecallback: function() {}
  3893. }, { "style": { "height": "36px" } }).form; //创建窗体
  3894. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3895. break;
  3896. case "tcStudent": //腾讯学生管理
  3897. _formdiv = new U.UF.UI.form(
  3898. "学生管理",
  3899. $$("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 }), {
  3900. "id": "tcStudent",
  3901. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3902. "onresize": function() {}
  3903. }, {
  3904. closecallback: function() {}
  3905. }, { "style": { "height": "36px" } }).form; //创建窗体
  3906. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3907. break;
  3908. case "tcSchool": //腾讯学校管理
  3909. _formdiv = new U.UF.UI.form(
  3910. "学校管理",
  3911. $$("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 }), {
  3912. "id": "tcSchool",
  3913. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3914. "onresize": function() {}
  3915. }, {
  3916. closecallback: function() {}
  3917. }, { "style": { "height": "36px" } }).form; //创建窗体
  3918. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3919. break;
  3920. case "tcTeacher": //腾讯学校管理
  3921. _formdiv = new U.UF.UI.form(
  3922. "教师管理",
  3923. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3924. "id": "tcTeacher",
  3925. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3926. "onresize": function() {}
  3927. }, {
  3928. closecallback: function() {}
  3929. }, { "style": { "height": "36px" } }).form; //创建窗体
  3930. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3931. break;
  3932. case "tcData": //腾讯我的资料
  3933. _formdiv = new U.UF.UI.form(
  3934. "我的资料",
  3935. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3936. "id": "tcData",
  3937. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3938. "onresize": function() {}
  3939. }, {
  3940. closecallback: function() {}
  3941. }, { "style": { "height": "36px" } }).form; //创建窗体
  3942. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3943. break;
  3944. case "tcNotice": //腾讯消息通知
  3945. _formdiv = new U.UF.UI.form(
  3946. "消息通知",
  3947. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3948. "id": "tcNotice",
  3949. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3950. "onresize": function() {}
  3951. }, {
  3952. closecallback: function() {}
  3953. }, { "style": { "height": "36px" } }).form; //创建窗体
  3954. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3955. break;
  3956. case "myReport": //好友打开
  3957. _formdiv = new U.UF.UI.form(
  3958. "我的评价",
  3959. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  3960. "id": "myReport",
  3961. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3962. "onresize": function() {}
  3963. }, {
  3964. closecallback: function() {}
  3965. }, { "style": { "height": "36px" } }).form; //创建窗体
  3966. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3967. break;
  3968. case "learnAna": //好友打开
  3969. _formdiv = new U.UF.UI.form(
  3970. "学习分析",
  3971. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3972. "id": "learnAna",
  3973. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3974. "onresize": function() {}
  3975. }, {
  3976. closecallback: function() {}
  3977. }, { "style": { "height": "36px" } }).form; //创建窗体
  3978. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3979. break;
  3980. case "AIChat": //AI共创
  3981. _formdiv = new U.UF.UI.form(
  3982. "AI共创",
  3983. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3984. "id": "AIChat",
  3985. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3986. "onresize": function() {}
  3987. }, {
  3988. istop: true,
  3989. closecallback: function() { $("#aichat_icon").remove(); },
  3990. narrowcallback: function() {
  3991. if (!$("#aichat_icon")[0]) {
  3992. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3993. }
  3994. },
  3995. }, { "style": { "height": "36px" } }).form; //创建窗体
  3996. _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); } }
  3997. break;
  3998. case "ainew": //AI共创
  3999. _formdiv = new U.UF.UI.form(
  4000. "AI协同",
  4001. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4002. "id": "ainew",
  4003. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4004. "onresize": function() {}
  4005. }, {
  4006. closecallback: function() {}
  4007. }, { "style": { "height": "36px" } }).form; //创建窗体
  4008. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4009. break;
  4010. case "futureClass": //AI共创
  4011. _formdiv = new U.UF.UI.form(
  4012. "知识建构",
  4013. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4014. "id": "futureClass",
  4015. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4016. "onresize": function() {}
  4017. }, {
  4018. closecallback: function() {}
  4019. }, { "style": { "height": "36px" } }).form; //创建窗体
  4020. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "知识建构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4021. break;
  4022. case "dataBoard": //数据看板
  4023. _formdiv = new U.UF.UI.form(
  4024. "数据看板",
  4025. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4026. "id": "dataBoard",
  4027. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4028. "onresize": function() {}
  4029. }, {
  4030. closecallback: function() {}
  4031. }, { "style": { "height": "36px" } }).form; //创建窗体
  4032. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4033. break;
  4034. case "AIAnalyse": //AI共创
  4035. _formdiv = new U.UF.UI.form(
  4036. "AI分析",
  4037. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4038. "id": "AIAnalyse",
  4039. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4040. "onresize": function() {}
  4041. }, {
  4042. closecallback: function() {}
  4043. }, { "style": { "height": "36px" } }).form; //创建窗体
  4044. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4045. break;
  4046. case "studioCourse": //AI共创
  4047. _formdiv = new U.UF.UI.form(
  4048. "工作管理",
  4049. $$("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 }), {
  4050. "id": "studioCourse",
  4051. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4052. "onresize": function() {}
  4053. }, {
  4054. closecallback: function() {}
  4055. }, { "style": { "height": "36px" } }).form; //创建窗体
  4056. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4057. break;
  4058. case "studioIndex": //AI共创
  4059. _formdiv = new U.UF.UI.form(
  4060. "工作中心",
  4061. $$("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 }), {
  4062. "id": "studioIndex",
  4063. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4064. "onresize": function() {}
  4065. }, {
  4066. closecallback: function() {}
  4067. }, { "style": { "height": "36px" } }).form; //创建窗体
  4068. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4069. break;
  4070. case "source":
  4071. _formdiv = new U.UF.UI.form(
  4072. "教学资源",
  4073. $$("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 }), {
  4074. "id": "source",
  4075. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4076. "onresize": function() {}
  4077. }, {
  4078. closecallback: function() {}
  4079. }, { "style": { "height": "36px" } }).form; //创建窗体
  4080. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4081. break;
  4082. }
  4083. //U.MD.D.I.openClick(str);
  4084. //如果有任务栏信息
  4085. if (_taskbar) {
  4086. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4087. }
  4088. }
  4089. // U.MD.D.I.openClick = function(str){
  4090. // var click = '';
  4091. // switch(str){
  4092. // case 'friend':
  4093. // click = '我的好友';
  4094. // break;
  4095. // case 'domain':
  4096. // click = '域名管理';
  4097. // break;
  4098. // case 'disk':
  4099. // click = '我的云盘';
  4100. // break;
  4101. // case 'word':
  4102. // click = 'Word';
  4103. // break;
  4104. // case 'excel':
  4105. // click = 'Execl';
  4106. // break;
  4107. // case 'txt':
  4108. // click = '文本文件';
  4109. // break;
  4110. // case 'lookupFriend':
  4111. // click = '查找好友';
  4112. // break;
  4113. // case 'ftp':
  4114. // click = 'FTP';
  4115. // break;
  4116. // case 'group':
  4117. // click = '群组';
  4118. // break;
  4119. // case 'set':
  4120. // click = '我的设置';
  4121. // break;
  4122. // case 'systemSet':
  4123. // click = '系统设置';
  4124. // break;
  4125. // case 'boomYun':
  4126. // click = '互联办公';
  4127. // break;
  4128. // case 'xz':
  4129. // click = '云端下载';
  4130. // break;
  4131. // case 'client':
  4132. // click = '有思浏览器';
  4133. // break;
  4134. // case 'backEndProgramming':
  4135. // click = '在线后台编程';
  4136. // break;
  4137. // case 'frontEndProgramming':
  4138. // click = '在线前端编程';
  4139. // break;
  4140. // default: break;
  4141. // }
  4142. // if(U.MD.D.I.Ip && click){
  4143. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4144. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4145. // })
  4146. // }
  4147. // }
  4148. /**
  4149. *函数作用:ajax简易函数,使用post格式
  4150. *@param url {data} 后台地址
  4151. *@param data {data} 参数json
  4152. *@param fn {data} 回调函数
  4153. *
  4154. */
  4155. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4156. // var xhr = new XMLHttpRequest();
  4157. // xhr.open("GET",url,true);
  4158. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4159. // xhr.onreadystatechange = function(){
  4160. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4161. // fn.call(this,xhr.responseText);
  4162. // }
  4163. // };
  4164. // xhr.send();
  4165. // }
  4166. /*判断是否是内网IP*/
  4167. // U.MD.D.I.isInnerIPFn = function(str){
  4168. // var curPageUrl = str;
  4169. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4170. // curPageUrl =curPageUrl.replace(reg1,'');
  4171. // // console.log('curPageUrl-1 '+curPageUrl);
  4172. // var reg2 = /\:+/g;//替换冒号为一点
  4173. // curPageUrl =curPageUrl.replace(reg2,'.');
  4174. // // console.log('curPageUrl-2 '+curPageUrl);
  4175. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4176. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4177. // if(curPageUrl[2] != '16'){
  4178. // return ipAddress;
  4179. // }else{
  4180. // return false;
  4181. // }
  4182. // }
  4183. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4184. // //compatibility for firefox and chrome
  4185. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4186. // var pc = new myPeerConnection({
  4187. // iceServers: []
  4188. // }),
  4189. // noop = function() {},
  4190. // localIPs = {},
  4191. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4192. // key;
  4193. // function iterateIP(ip) {
  4194. // if (!localIPs[ip]) onNewIP(ip);
  4195. // localIPs[ip] = true;
  4196. // }
  4197. // //create a bogus data channel
  4198. // pc.createDataChannel("");
  4199. // // create offer and set local description
  4200. // pc.createOffer().then(function(sdp) {
  4201. // sdp.sdp.split('\n').forEach(function(line) {
  4202. // if (line.indexOf('candidate') < 0) return;
  4203. // line.match(ipRegex).forEach(iterateIP);
  4204. // });
  4205. // pc.setLocalDescription(sdp, noop, noop);
  4206. // }).catch(function(reason) {
  4207. // // An error occurred, so handle the failure to connect
  4208. // });
  4209. // //sten for candidate events
  4210. // pc.onicecandidate = function(ice) {
  4211. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4212. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4213. // };
  4214. // }
  4215. // U.MD.D.I.getUserIpBool = function(callback){
  4216. // U.MD.D.I.getUserIP(function(ip){
  4217. // alert("Got IP! :" + ip);
  4218. // });
  4219. //}
  4220. //#endregion
  4221. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4222. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4223. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4224. _userinfo = US.userInfo, //登录用户信息
  4225. _userid = US.userInfo.userid //登录用户id
  4226. let _iframe;
  4227. let _cid = cid,
  4228. _stage = stage,
  4229. _task = task,
  4230. _tool = tool;
  4231. var _jie = $$("div", {
  4232. "style": {
  4233. "position": "absolute",
  4234. "bottom": "50px",
  4235. "right": "50px",
  4236. "zIndex": "9999",
  4237. "backgroundColor": "#2268bc",
  4238. "color": "#fff",
  4239. "padding": "12px 20px",
  4240. "cursor": "pointer",
  4241. "borderRadius": "4px",
  4242. },
  4243. "innerHTML": "提交作业"
  4244. })
  4245. let aTool = ''
  4246. let _loading = document.createElement('div')
  4247. _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;"
  4248. // _loading.id = "";
  4249. let _lchild = document.createElement('div')
  4250. let _limg = document.createElement('img')
  4251. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4252. _limg.style = "width: 26px;margin-right: 10px;"
  4253. _lchild.appendChild(_limg)
  4254. let _lspan = document.createElement('span')
  4255. _lspan.innerHTML = "上传中..."
  4256. _lchild.appendChild(_lspan)
  4257. _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%);"
  4258. _loading.appendChild(_lchild)
  4259. var _box = $$('div', {
  4260. "style": {
  4261. "position": "relative",
  4262. "width": "100%",
  4263. "height": "100%",
  4264. },
  4265. })
  4266. _box.appendChild(_loading)
  4267. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4268. switch (str) {
  4269. case "whiteboard":
  4270. aTool = 1;
  4271. _iframe = $$("iframe", {
  4272. "frameborder": "no",
  4273. "border": "0",
  4274. "scrolling ": "no",
  4275. "style": {
  4276. "cssText": "border:0;width:100%;height:100%"
  4277. },
  4278. "src": "https://iwb.cocorobo.cn/"
  4279. })
  4280. _box.appendChild(_iframe);
  4281. _box.appendChild(_jie);
  4282. _formdiv = new U.UF.UI.form(
  4283. "电子白板",
  4284. _box, {
  4285. "id": "whiteboard" + cid + stage + task + tool,
  4286. "style": {
  4287. "width": "90%",
  4288. "height": "90%",
  4289. "overflow": 'hidden'
  4290. },
  4291. "onresize": function() {}
  4292. }, {
  4293. closecallback: function() {}
  4294. }, {
  4295. "style": {
  4296. "height": "36px"
  4297. }
  4298. }).form; //创建窗体
  4299. _taskbar = {
  4300. "id": str + _formdiv.id,
  4301. "style": {
  4302. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4303. },
  4304. "name": "电子白板",
  4305. "forms": _formdiv,
  4306. "click": function() {
  4307. U.MD.D.I.openApplication(str, obj, info);
  4308. }
  4309. }
  4310. break;
  4311. case "mind":
  4312. aTool = 3;
  4313. _iframe = $$("iframe", {
  4314. "frameborder": "no",
  4315. "border": "0",
  4316. "scrolling ": "no",
  4317. "style": {
  4318. "cssText": "border:0;width:100%;height:100%"
  4319. },
  4320. "src": "/kityminder-editor/dist/index.html"
  4321. })
  4322. _box.appendChild(_iframe);
  4323. _box.appendChild(_jie);
  4324. _formdiv = new U.UF.UI.form(
  4325. "思维导图",
  4326. _box, { //"/jsmind/example/demo.html"
  4327. "id": "mind" + cid + stage + task + tool,
  4328. "style": {
  4329. "width": "90%",
  4330. "height": "90%",
  4331. "overflow": 'hidden'
  4332. },
  4333. "onresize": function() {}
  4334. }, {
  4335. closecallback: function() {}
  4336. }, {
  4337. "style": {
  4338. "height": "36px"
  4339. }
  4340. }).form; //创建窗体
  4341. _taskbar = {
  4342. "id": str + _formdiv.id,
  4343. "style": {
  4344. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4345. },
  4346. "name": "思维导图",
  4347. "forms": _formdiv,
  4348. "click": function() {
  4349. U.MD.D.I.openApplication(str, obj, info);
  4350. }
  4351. }
  4352. break;
  4353. case "MindMap":
  4354. aTool = 3;
  4355. _iframe = $$("iframe", {
  4356. "frameborder": "no",
  4357. "border": "0",
  4358. "scrolling ": "no",
  4359. "style": {
  4360. "cssText": "border:0;width:100%;height:100%"
  4361. },
  4362. "src": "//cloud.cocorobo.cn/mind/"
  4363. })
  4364. _box.appendChild(_iframe);
  4365. _box.appendChild(_jie);
  4366. _formdiv = new U.UF.UI.form(
  4367. "思维导图",
  4368. _box, { //"/jsmind/example/demo.html"
  4369. "id": "mind" + cid + stage + task + tool,
  4370. "style": {
  4371. "width": "90%",
  4372. "height": "90%",
  4373. "overflow": 'hidden'
  4374. },
  4375. "onresize": function() {}
  4376. }, {
  4377. closecallback: function() {}
  4378. }, {
  4379. "style": {
  4380. "height": "36px"
  4381. }
  4382. }).form; //创建窗体
  4383. _taskbar = {
  4384. "id": str + _formdiv.id,
  4385. "style": {
  4386. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4387. },
  4388. "name": "思维导图",
  4389. "forms": _formdiv,
  4390. "click": function() {
  4391. U.MD.D.I.openApplication(str, obj, info);
  4392. }
  4393. }
  4394. break;
  4395. case "doc":
  4396. aTool = 6;
  4397. _iframe = $$("iframe", {
  4398. "frameborder": "no",
  4399. "border": "0",
  4400. "scrolling ": "no",
  4401. "style": {
  4402. "cssText": "border:0;width:100%;height:100%"
  4403. },
  4404. "src": "/Office/Word/WordEditArea.htm"
  4405. })
  4406. _box.appendChild(_iframe);
  4407. _box.appendChild(_jie);
  4408. _formdiv = new U.UF.UI.form(
  4409. "协同文档",
  4410. _box, {
  4411. "id": "doc" + cid + stage + task + tool,
  4412. "style": {
  4413. "width": "90%",
  4414. "height": "90%",
  4415. "overflow": 'hidden'
  4416. },
  4417. "onresize": function() {}
  4418. }, {
  4419. closecallback: function() {}
  4420. }, {
  4421. "style": {
  4422. "height": "36px"
  4423. }
  4424. }).form; //创建窗体
  4425. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4426. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4427. })
  4428. _taskbar = {
  4429. "id": str + _formdiv.id,
  4430. "style": {
  4431. "backgroundImage": "url(/img/icon/doc.png)"
  4432. },
  4433. "name": "协同文档",
  4434. "forms": _formdiv,
  4435. "click": function() {
  4436. U.MD.D.I.openApplication(str, obj, info);
  4437. }
  4438. }
  4439. break;
  4440. case "mindNetwork": //好友打开
  4441. aTool = 7;
  4442. _iframe = $$("iframe", {
  4443. "webkitallowfullscreen": "",
  4444. "mozallowfullscreen": "",
  4445. "allowfullscreen": "",
  4446. "frameborder": "no",
  4447. "border": "0",
  4448. "scrolling ": "no",
  4449. "style": {
  4450. "cssText": "border:0; width:100%; height:100%;"
  4451. },
  4452. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4453. })
  4454. _box.appendChild(_iframe);
  4455. _box.appendChild(_jie);
  4456. _formdiv = new U.UF.UI.form(
  4457. "思维网格",
  4458. _box, {
  4459. "id": "mindNetwork" + cid + stage + task + tool,
  4460. "style": {
  4461. "width": "90%",
  4462. "height": "90%",
  4463. "overflow": 'hidden'
  4464. },
  4465. "onresize": function() {}
  4466. }, {
  4467. closecallback: function() {}
  4468. }, {
  4469. "style": {
  4470. "height": "36px"
  4471. }
  4472. }).form; //创建窗体
  4473. _taskbar = {
  4474. "id": str + _formdiv.id,
  4475. "style": {
  4476. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4477. },
  4478. "name": "思维网格",
  4479. "forms": _formdiv,
  4480. "click": function() {
  4481. U.MD.D.I.openApplication(str, obj, info);
  4482. }
  4483. }
  4484. break;
  4485. case "courseDesign":
  4486. _iframe = $$("iframe", {
  4487. "webkitallowfullscreen": "",
  4488. "mozallowfullscreen": "",
  4489. "allowfullscreen": "",
  4490. "frameborder": "no",
  4491. "border": "0",
  4492. "scrolling ": "no",
  4493. "style": {
  4494. "cssText": "border:0; width:100%; height:100%;"
  4495. },
  4496. "src": "/course-design-vue"
  4497. })
  4498. _box.appendChild(_iframe);
  4499. _box.appendChild(_jie);
  4500. _formdiv = new U.UF.UI.form(
  4501. "项目设计",
  4502. _box, {
  4503. "id": "courseDesign" + cid + stage + task + tool,
  4504. "style": {
  4505. "width": "90%",
  4506. "height": "90%",
  4507. "overflow": 'hidden'
  4508. },
  4509. "onresize": function() {}
  4510. }, {
  4511. closecallback: function() {}
  4512. }, {
  4513. "style": {
  4514. "height": "36px"
  4515. }
  4516. }).form; //创建窗体
  4517. _taskbar = {
  4518. "id": str + _formdiv.id,
  4519. "style": {
  4520. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4521. },
  4522. "name": "项目设计",
  4523. "forms": _formdiv,
  4524. "click": function() {
  4525. U.MD.D.I.openApplication(str, obj, info);
  4526. }
  4527. }
  4528. break;
  4529. }
  4530. const script1 = document.createElement("script");
  4531. script1.type = "text/javascript";
  4532. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4533. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4534. const script2 = document.createElement("script");
  4535. script2.type = "text/javascript";
  4536. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4537. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4538. const script3 = document.createElement("script");
  4539. script3.type = "text/javascript";
  4540. script3.charset = "UTF-8";
  4541. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4542. const script4 = document.createElement("script");
  4543. script4.type = "text/javascript";
  4544. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4545. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4546. if (_iframe) {
  4547. if (str == 'doc') {
  4548. _iframe = _formdiv.querySelector('iframe')
  4549. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4550. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4551. _iframe.contentWindow.document.body.appendChild(script1);
  4552. _iframe.contentWindow.document.body.appendChild(script2);
  4553. // _iframe.contentWindow.document.body.appendChild(script3);
  4554. _iframe.contentWindow.document.body.appendChild(script4);
  4555. })
  4556. if (onloadListener) {
  4557. _iframe.contentDocument.location.reload()
  4558. } else {
  4559. _iframe.contentDocument.location.reload()
  4560. }
  4561. } else if (str == 'courseDesign') {
  4562. U.UF.DL.iframeLoad(_iframe, function() {
  4563. // _iframe.contentWindow.U.MD.O.W.load();
  4564. // _iframe.contentWindow.document.body.appendChild(script1);
  4565. _iframe.contentWindow.document.body.appendChild(script2);
  4566. _iframe.contentWindow.document.body.appendChild(script4);
  4567. })
  4568. } else if (str == 'mind') {
  4569. _iframe = _formdiv.querySelector('iframe')
  4570. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4571. //
  4572. _iframe.contentWindow.document.body.appendChild(script1);
  4573. _iframe.contentWindow.document.body.appendChild(script2);
  4574. _iframe.contentWindow.document.body.appendChild(script4);
  4575. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4576. })
  4577. if (onloadListener) {
  4578. _iframe.contentDocument.location.reload()
  4579. } else {
  4580. _iframe.contentDocument.location.reload()
  4581. }
  4582. } else if (str == 'whiteboard') {
  4583. _iframe = _formdiv.querySelector('iframe')
  4584. let onloadListener = _iframe.onload = () => {
  4585. _iframe.contentWindow.document.body.appendChild(script1);
  4586. _iframe.contentWindow.document.body.appendChild(script2);
  4587. _iframe.contentWindow.document.body.appendChild(script4);
  4588. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4589. };
  4590. if (onloadListener) {
  4591. _iframe.contentDocument.location.reload()
  4592. } else {
  4593. _iframe.contentDocument.location.reload()
  4594. }
  4595. } else {
  4596. _iframe.onload = () => {
  4597. _iframe.contentWindow.document.body.appendChild(script1);
  4598. _iframe.contentWindow.document.body.appendChild(script2);
  4599. // _iframe.contentWindow.document.body.appendChild(script3);
  4600. _iframe.contentWindow.document.body.appendChild(script4);
  4601. };
  4602. }
  4603. _jie.onclick = async() => {
  4604. let text = ''
  4605. if (aTool == 1) {
  4606. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4607. } else if (aTool == 6) {
  4608. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4609. } else if (aTool == 3) {
  4610. text = await U.MD.D.I.getEditorContent(_iframe);
  4611. }
  4612. _loading.style.display = 'flex'
  4613. console.log(_loading);
  4614. var _ajs = _iframe.contentWindow.document.createElement("script");
  4615. _ajs.type = "text/javascript";
  4616. _ajs.innerHTML =
  4617. // 'console.log(' + _loading + ');\n' +
  4618. 'var _js = document.createElement("script");\n' +
  4619. '_js.type="text/javascript";\n' +
  4620. '_js.charset="UTF-8";\n' +
  4621. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4622. "_js.onload = function(){\n" +
  4623. ' var a = document.getElementsByTagName("img")\n' +
  4624. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4625. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4626. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4627. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4628. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4629. "beforeUpload_shishi(file," +
  4630. "'" +
  4631. _userid +
  4632. "'" +
  4633. ", " +
  4634. "'" +
  4635. _cid +
  4636. "'" +
  4637. ", " +
  4638. "'" +
  4639. _stage +
  4640. "'" +
  4641. ", " +
  4642. "'" +
  4643. _task +
  4644. "'" +
  4645. ", " +
  4646. "'" +
  4647. _tool +
  4648. "'" +
  4649. ", " +
  4650. "'" +
  4651. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4652. "'" +
  4653. ", " +
  4654. "'" +
  4655. aTool +
  4656. "'" +
  4657. ", " +
  4658. "`" +
  4659. text +
  4660. "`" +
  4661. ")\n" +
  4662. " });\n" +
  4663. "}\n" +
  4664. "document.head.appendChild(_js);\n";
  4665. _iframe.contentWindow.document.head.appendChild(_ajs);
  4666. }
  4667. }
  4668. //U.MD.D.I.openClick(str);
  4669. //如果有任务栏信息
  4670. // if (_taskbar) {
  4671. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4672. // }
  4673. }
  4674. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4675. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4676. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4677. _userinfo = US.userInfo, //登录用户信息
  4678. _userid = US.userInfo.userid //登录用户id
  4679. let _iframe;
  4680. let _cid = cid,
  4681. _stage = stage,
  4682. _task = task,
  4683. _tool = tool;
  4684. var _jie = $$("div", {
  4685. "style": {
  4686. "position": "absolute",
  4687. "bottom": "50px",
  4688. "right": "50px",
  4689. "zIndex": "9999",
  4690. "backgroundColor": "#2268bc",
  4691. "color": "#fff",
  4692. "padding": "12px 20px",
  4693. "cursor": "pointer",
  4694. "borderRadius": "4px",
  4695. },
  4696. "innerHTML": "提交作业"
  4697. })
  4698. let aTool = ''
  4699. let _loading = document.createElement('div')
  4700. _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;"
  4701. // _loading.id = "";
  4702. let _lchild = document.createElement('div')
  4703. let _limg = document.createElement('img')
  4704. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4705. _limg.style = "width: 26px;margin-right: 10px;"
  4706. _lchild.appendChild(_limg)
  4707. let _lspan = document.createElement('span')
  4708. _lspan.innerHTML = "上传中..."
  4709. _lchild.appendChild(_lspan)
  4710. _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%);"
  4711. _loading.appendChild(_lchild)
  4712. var _box = $$('div', {
  4713. "style": {
  4714. "position": "relative",
  4715. "width": "100%",
  4716. "height": "100%",
  4717. },
  4718. })
  4719. _box.appendChild(_loading)
  4720. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4721. switch (str) {
  4722. case "whiteboard":
  4723. aTool = 1;
  4724. _iframe = $$("iframe", {
  4725. "frameborder": "no",
  4726. "border": "0",
  4727. "scrolling ": "no",
  4728. "style": {
  4729. "cssText": "border:0;width:100%;height:100%"
  4730. },
  4731. "src": "https://iwb.cocorobo.cn/"
  4732. })
  4733. _box.appendChild(_iframe);
  4734. _box.appendChild(_jie);
  4735. _formdiv = new U.UF.UI.form(
  4736. "电子白板",
  4737. _box, {
  4738. "id": "whiteboard" + cid + stage + task + tool,
  4739. "style": {
  4740. "width": "90%",
  4741. "height": "90%",
  4742. "overflow": 'hidden'
  4743. },
  4744. "onresize": function() {}
  4745. }, {
  4746. closecallback: function() {}
  4747. }, {
  4748. "style": {
  4749. "height": "36px"
  4750. }
  4751. }).form; //创建窗体
  4752. _taskbar = {
  4753. "id": str + _formdiv.id,
  4754. "style": {
  4755. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4756. },
  4757. "name": "电子白板",
  4758. "forms": _formdiv,
  4759. "click": function() {
  4760. U.MD.D.I.openApplication(str, obj, info);
  4761. }
  4762. }
  4763. break;
  4764. case "mind":
  4765. aTool = 3;
  4766. _iframe = $$("iframe", {
  4767. "frameborder": "no",
  4768. "border": "0",
  4769. "scrolling ": "no",
  4770. "style": {
  4771. "cssText": "border:0;width:100%;height:100%"
  4772. },
  4773. "src": "/kityminder-editor/dist/index.html"
  4774. })
  4775. _box.appendChild(_iframe);
  4776. _box.appendChild(_jie);
  4777. _formdiv = new U.UF.UI.form(
  4778. "思维导图",
  4779. _box, { //"/jsmind/example/demo.html"
  4780. "id": "mind" + cid + stage + task + tool,
  4781. "style": {
  4782. "width": "90%",
  4783. "height": "90%",
  4784. "overflow": 'hidden'
  4785. },
  4786. "onresize": function() {}
  4787. }, {
  4788. closecallback: function() {}
  4789. }, {
  4790. "style": {
  4791. "height": "36px"
  4792. }
  4793. }).form; //创建窗体
  4794. _taskbar = {
  4795. "id": str + _formdiv.id,
  4796. "style": {
  4797. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4798. },
  4799. "name": "思维导图",
  4800. "forms": _formdiv,
  4801. "click": function() {
  4802. U.MD.D.I.openApplication(str, obj, info);
  4803. }
  4804. }
  4805. break;
  4806. case "MindMap":
  4807. aTool = 3;
  4808. _iframe = $$("iframe", {
  4809. "frameborder": "no",
  4810. "border": "0",
  4811. "scrolling ": "no",
  4812. "style": {
  4813. "cssText": "border:0;width:100%;height:100%"
  4814. },
  4815. "src": "//cloud.cocorobo.cn/mind/"
  4816. })
  4817. _box.appendChild(_iframe);
  4818. _box.appendChild(_jie);
  4819. _formdiv = new U.UF.UI.form(
  4820. "思维导图",
  4821. _box, { //"/jsmind/example/demo.html"
  4822. "id": "mind" + cid + stage + task + tool,
  4823. "style": {
  4824. "width": "90%",
  4825. "height": "90%",
  4826. "overflow": 'hidden'
  4827. },
  4828. "onresize": function() {}
  4829. }, {
  4830. closecallback: function() {}
  4831. }, {
  4832. "style": {
  4833. "height": "36px"
  4834. }
  4835. }).form; //创建窗体
  4836. _taskbar = {
  4837. "id": str + _formdiv.id,
  4838. "style": {
  4839. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4840. },
  4841. "name": "思维导图",
  4842. "forms": _formdiv,
  4843. "click": function() {
  4844. U.MD.D.I.openApplication(str, obj, info);
  4845. }
  4846. }
  4847. break;
  4848. case "doc":
  4849. aTool = 6;
  4850. _iframe = $$("iframe", {
  4851. "frameborder": "no",
  4852. "border": "0",
  4853. "scrolling ": "no",
  4854. "style": {
  4855. "cssText": "border:0;width:100%;height:100%"
  4856. },
  4857. "src": "/Office/Word/WordEditArea.htm"
  4858. })
  4859. _box.appendChild(_iframe);
  4860. _box.appendChild(_jie);
  4861. _formdiv = new U.UF.UI.form(
  4862. "协同文档",
  4863. _box, {
  4864. "id": "doc" + cid + stage + task + tool,
  4865. "style": {
  4866. "width": "90%",
  4867. "height": "90%",
  4868. "overflow": 'hidden'
  4869. },
  4870. "onresize": function() {}
  4871. }, {
  4872. closecallback: function() {}
  4873. }, {
  4874. "style": {
  4875. "height": "36px"
  4876. }
  4877. }).form; //创建窗体
  4878. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4879. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4880. })
  4881. _taskbar = {
  4882. "id": str + _formdiv.id,
  4883. "style": {
  4884. "backgroundImage": "url(/img/icon/doc.png)"
  4885. },
  4886. "name": "协同文档",
  4887. "forms": _formdiv,
  4888. "click": function() {
  4889. U.MD.D.I.openApplication(str, obj, info);
  4890. }
  4891. }
  4892. break;
  4893. case "mindNetwork": //好友打开
  4894. aTool = 7;
  4895. _iframe = $$("iframe", {
  4896. "webkitallowfullscreen": "",
  4897. "mozallowfullscreen": "",
  4898. "allowfullscreen": "",
  4899. "frameborder": "no",
  4900. "border": "0",
  4901. "scrolling ": "no",
  4902. "style": {
  4903. "cssText": "border:0; width:100%; height:100%;"
  4904. },
  4905. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4906. })
  4907. _box.appendChild(_iframe);
  4908. _box.appendChild(_jie);
  4909. _formdiv = new U.UF.UI.form(
  4910. "思维网格",
  4911. _box, {
  4912. "id": "mindNetwork" + cid + stage + task + tool,
  4913. "style": {
  4914. "width": "90%",
  4915. "height": "90%",
  4916. "overflow": 'hidden'
  4917. },
  4918. "onresize": function() {}
  4919. }, {
  4920. closecallback: function() {}
  4921. }, {
  4922. "style": {
  4923. "height": "36px"
  4924. }
  4925. }).form; //创建窗体
  4926. _taskbar = {
  4927. "id": str + _formdiv.id,
  4928. "style": {
  4929. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4930. },
  4931. "name": "思维网格",
  4932. "forms": _formdiv,
  4933. "click": function() {
  4934. U.MD.D.I.openApplication(str, obj, info);
  4935. }
  4936. }
  4937. break;
  4938. case "courseDesign":
  4939. _iframe = $$("iframe", {
  4940. "webkitallowfullscreen": "",
  4941. "mozallowfullscreen": "",
  4942. "allowfullscreen": "",
  4943. "frameborder": "no",
  4944. "border": "0",
  4945. "scrolling ": "no",
  4946. "style": {
  4947. "cssText": "border:0; width:100%; height:100%;"
  4948. },
  4949. "src": "/course-design-vue"
  4950. })
  4951. _box.appendChild(_iframe);
  4952. _box.appendChild(_jie);
  4953. _formdiv = new U.UF.UI.form(
  4954. "项目设计",
  4955. _box, {
  4956. "id": "courseDesign" + cid + stage + task + tool,
  4957. "style": {
  4958. "width": "90%",
  4959. "height": "90%",
  4960. "overflow": 'hidden'
  4961. },
  4962. "onresize": function() {}
  4963. }, {
  4964. closecallback: function() {}
  4965. }, {
  4966. "style": {
  4967. "height": "36px"
  4968. }
  4969. }).form; //创建窗体
  4970. _taskbar = {
  4971. "id": str + _formdiv.id,
  4972. "style": {
  4973. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4974. },
  4975. "name": "项目设计",
  4976. "forms": _formdiv,
  4977. "click": function() {
  4978. U.MD.D.I.openApplication(str, obj, info);
  4979. }
  4980. }
  4981. break;
  4982. }
  4983. const script1 = document.createElement("script");
  4984. script1.type = "text/javascript";
  4985. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4986. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4987. const script2 = document.createElement("script");
  4988. script2.type = "text/javascript";
  4989. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4990. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4991. const script3 = document.createElement("script");
  4992. script3.type = "text/javascript";
  4993. script3.charset = "UTF-8";
  4994. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4995. const script4 = document.createElement("script");
  4996. script4.type = "text/javascript";
  4997. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4998. script4.src = window.origin + "/js/Common/jietu2E.js";
  4999. if (_iframe) {
  5000. if (str == 'doc') {
  5001. _iframe = _formdiv.querySelector('iframe')
  5002. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5003. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5004. _iframe.contentWindow.document.body.appendChild(script1);
  5005. _iframe.contentWindow.document.body.appendChild(script2);
  5006. // _iframe.contentWindow.document.body.appendChild(script3);
  5007. _iframe.contentWindow.document.body.appendChild(script4);
  5008. })
  5009. if (onloadListener) {
  5010. _iframe.contentDocument.location.reload()
  5011. } else {
  5012. _iframe.contentDocument.location.reload()
  5013. }
  5014. } else if (str == 'courseDesign') {
  5015. U.UF.DL.iframeLoad(_iframe, function() {
  5016. // _iframe.contentWindow.U.MD.O.W.load();
  5017. // _iframe.contentWindow.document.body.appendChild(script1);
  5018. _iframe.contentWindow.document.body.appendChild(script2);
  5019. _iframe.contentWindow.document.body.appendChild(script4);
  5020. })
  5021. } else if (str == 'mind') {
  5022. _iframe = _formdiv.querySelector('iframe')
  5023. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5024. //
  5025. _iframe.contentWindow.document.body.appendChild(script1);
  5026. _iframe.contentWindow.document.body.appendChild(script2);
  5027. _iframe.contentWindow.document.body.appendChild(script4);
  5028. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5029. })
  5030. if (onloadListener) {
  5031. _iframe.contentDocument.location.reload()
  5032. } else {
  5033. _iframe.contentDocument.location.reload()
  5034. }
  5035. } else if (str == 'whiteboard') {
  5036. _iframe = _formdiv.querySelector('iframe')
  5037. let onloadListener = _iframe.onload = () => {
  5038. _iframe.contentWindow.document.body.appendChild(script1);
  5039. _iframe.contentWindow.document.body.appendChild(script2);
  5040. _iframe.contentWindow.document.body.appendChild(script4);
  5041. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5042. };
  5043. if (onloadListener) {
  5044. _iframe.contentDocument.location.reload()
  5045. } else {
  5046. _iframe.contentDocument.location.reload()
  5047. }
  5048. } else {
  5049. _iframe.onload = () => {
  5050. _iframe.contentWindow.document.body.appendChild(script1);
  5051. _iframe.contentWindow.document.body.appendChild(script2);
  5052. // _iframe.contentWindow.document.body.appendChild(script3);
  5053. _iframe.contentWindow.document.body.appendChild(script4);
  5054. };
  5055. }
  5056. _jie.onclick = async() => {
  5057. let text = ''
  5058. if (aTool == 1) {
  5059. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5060. } else if (aTool == 6) {
  5061. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5062. } else if (aTool == 3) {
  5063. text = await U.MD.D.I.getEditorContent(_iframe);
  5064. }
  5065. _loading.style.display = 'flex'
  5066. console.log(_loading);
  5067. var _ajs = _iframe.contentWindow.document.createElement("script");
  5068. _ajs.type = "text/javascript";
  5069. _ajs.innerHTML =
  5070. // 'console.log(' + _loading + ');\n' +
  5071. 'var _js = document.createElement("script");\n' +
  5072. '_js.type="text/javascript";\n' +
  5073. '_js.charset="UTF-8";\n' +
  5074. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5075. "_js.onload = function(){\n" +
  5076. ' var a = document.getElementsByTagName("img")\n' +
  5077. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5078. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5079. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5080. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5081. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5082. "beforeUpload_shishi(file," +
  5083. "'" +
  5084. _userid +
  5085. "'" +
  5086. ", " +
  5087. "'" +
  5088. _cid +
  5089. "'" +
  5090. ", " +
  5091. "'" +
  5092. _stage +
  5093. "'" +
  5094. ", " +
  5095. "'" +
  5096. _task +
  5097. "'" +
  5098. ", " +
  5099. "'" +
  5100. _tool +
  5101. "'" +
  5102. ", " +
  5103. "'" +
  5104. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5105. "'" +
  5106. ", " +
  5107. "'" +
  5108. aTool +
  5109. "'" +
  5110. ", " +
  5111. "`" +
  5112. text +
  5113. "`" +
  5114. ")\n" +
  5115. " });\n" +
  5116. "}\n" +
  5117. "document.head.appendChild(_js);\n";
  5118. _iframe.contentWindow.document.head.appendChild(_ajs);
  5119. }
  5120. }
  5121. //U.MD.D.I.openClick(str);
  5122. //如果有任务栏信息
  5123. // if (_taskbar) {
  5124. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5125. // }
  5126. }
  5127. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5128. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5129. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5130. _userid = student.userid, //登录用户id
  5131. _username = student.student //用户名字
  5132. let _iframe;
  5133. let _cid = cid,
  5134. _stage = stage,
  5135. _task = task,
  5136. _tool = tool;
  5137. var _jie = $$("div", {
  5138. "style": {
  5139. "position": "absolute",
  5140. "bottom": "50px",
  5141. "right": "50px",
  5142. "zIndex": "9999",
  5143. "backgroundColor": "#2268bc",
  5144. "color": "#fff",
  5145. "padding": "12px 20px",
  5146. "cursor": "pointer",
  5147. "borderRadius": "4px",
  5148. },
  5149. "innerHTML": "提交作业"
  5150. })
  5151. let aTool = ''
  5152. let _loading = document.createElement('div')
  5153. _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;"
  5154. // _loading.id = "";
  5155. let _lchild = document.createElement('div')
  5156. let _limg = document.createElement('img')
  5157. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5158. _limg.style = "width: 26px;margin-right: 10px;"
  5159. _lchild.appendChild(_limg)
  5160. let _lspan = document.createElement('span')
  5161. _lspan.innerHTML = "上传中..."
  5162. _lchild.appendChild(_lspan)
  5163. _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%);"
  5164. _loading.appendChild(_lchild)
  5165. var _box = $$('div', {
  5166. "style": {
  5167. "position": "relative",
  5168. "width": "100%",
  5169. "height": "100%",
  5170. },
  5171. })
  5172. _box.appendChild(_loading)
  5173. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5174. switch (str) {
  5175. case "whiteboard":
  5176. aTool = 1;
  5177. _iframe = $$("iframe", {
  5178. "frameborder": "no",
  5179. "border": "0",
  5180. "scrolling ": "no",
  5181. "style": {
  5182. "cssText": "border:0;width:100%;height:100%"
  5183. },
  5184. "src": "https://iwb.cocorobo.cn/"
  5185. })
  5186. _box.appendChild(_iframe);
  5187. _box.appendChild(_jie);
  5188. _formdiv = new U.UF.UI.form(
  5189. "电子白板-" + _username,
  5190. _box, {
  5191. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5192. "style": {
  5193. "width": "90%",
  5194. "height": "90%",
  5195. "overflow": 'hidden'
  5196. },
  5197. "onresize": function() {}
  5198. }, {
  5199. closecallback: function() {}
  5200. }, {
  5201. "style": {
  5202. "height": "36px"
  5203. }
  5204. }).form; //创建窗体
  5205. _taskbar = {
  5206. "id": str + _formdiv.id,
  5207. "style": {
  5208. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5209. },
  5210. "name": "电子白板",
  5211. "forms": _formdiv,
  5212. "click": function() {
  5213. U.MD.D.I.openApplication(str, obj, info);
  5214. }
  5215. }
  5216. break;
  5217. case "mind":
  5218. aTool = 3;
  5219. _iframe = $$("iframe", {
  5220. "frameborder": "no",
  5221. "border": "0",
  5222. "scrolling ": "no",
  5223. "style": {
  5224. "cssText": "border:0;width:100%;height:100%"
  5225. },
  5226. "src": "/kityminder-editor/dist/index.html"
  5227. })
  5228. _box.appendChild(_iframe);
  5229. _box.appendChild(_jie);
  5230. _formdiv = new U.UF.UI.form(
  5231. "思维导图-" + _username,
  5232. _box, { //"/jsmind/example/demo.html"
  5233. "id": "mind" + cid + stage + task + tool + _userid,
  5234. "style": {
  5235. "width": "90%",
  5236. "height": "90%",
  5237. "overflow": 'hidden'
  5238. },
  5239. "onresize": function() {}
  5240. }, {
  5241. closecallback: function() {}
  5242. }, {
  5243. "style": {
  5244. "height": "36px"
  5245. }
  5246. }).form; //创建窗体
  5247. _taskbar = {
  5248. "id": str + _formdiv.id,
  5249. "style": {
  5250. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5251. },
  5252. "name": "思维导图",
  5253. "forms": _formdiv,
  5254. "click": function() {
  5255. U.MD.D.I.openApplication(str, obj, info);
  5256. }
  5257. }
  5258. break;
  5259. case "MindMap":
  5260. aTool = 3;
  5261. _iframe = $$("iframe", {
  5262. "frameborder": "no",
  5263. "border": "0",
  5264. "scrolling ": "no",
  5265. "style": {
  5266. "cssText": "border:0;width:100%;height:100%"
  5267. },
  5268. "src": "//cloud.cocorobo.cn/mind/"
  5269. })
  5270. _box.appendChild(_iframe);
  5271. _box.appendChild(_jie);
  5272. _formdiv = new U.UF.UI.form(
  5273. "思维导图-" + _username,
  5274. _box, { //"/jsmind/example/demo.html"
  5275. "id": "mind" + cid + stage + task + tool + _userid,
  5276. "style": {
  5277. "width": "90%",
  5278. "height": "90%",
  5279. "overflow": 'hidden'
  5280. },
  5281. "onresize": function() {}
  5282. }, {
  5283. closecallback: function() {}
  5284. }, {
  5285. "style": {
  5286. "height": "36px"
  5287. }
  5288. }).form; //创建窗体
  5289. _taskbar = {
  5290. "id": str + _formdiv.id,
  5291. "style": {
  5292. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5293. },
  5294. "name": "思维导图",
  5295. "forms": _formdiv,
  5296. "click": function() {
  5297. U.MD.D.I.openApplication(str, obj, info);
  5298. }
  5299. }
  5300. break;
  5301. case "doc":
  5302. aTool = 6;
  5303. _iframe = $$("iframe", {
  5304. "frameborder": "no",
  5305. "border": "0",
  5306. "scrolling ": "no",
  5307. "style": {
  5308. "cssText": "border:0;width:100%;height:100%"
  5309. },
  5310. "src": "/Office/Word/WordEditArea.htm"
  5311. })
  5312. _box.appendChild(_iframe);
  5313. _box.appendChild(_jie);
  5314. _formdiv = new U.UF.UI.form(
  5315. "协同文档-" + _username,
  5316. _box, {
  5317. "id": "doc" + cid + stage + task + tool + _userid,
  5318. "style": {
  5319. "width": "90%",
  5320. "height": "90%",
  5321. "overflow": 'hidden'
  5322. },
  5323. "onresize": function() {}
  5324. }, {
  5325. closecallback: function() {}
  5326. }, {
  5327. "style": {
  5328. "height": "36px"
  5329. }
  5330. }).form; //创建窗体
  5331. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5332. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5333. })
  5334. _taskbar = {
  5335. "id": str + _formdiv.id,
  5336. "style": {
  5337. "backgroundImage": "url(/img/icon/doc.png)"
  5338. },
  5339. "name": "协同文档",
  5340. "forms": _formdiv,
  5341. "click": function() {
  5342. U.MD.D.I.openApplication(str, obj, info);
  5343. }
  5344. }
  5345. break;
  5346. case "mindNetwork": //好友打开
  5347. aTool = 7;
  5348. _iframe = $$("iframe", {
  5349. "webkitallowfullscreen": "",
  5350. "mozallowfullscreen": "",
  5351. "allowfullscreen": "",
  5352. "frameborder": "no",
  5353. "border": "0",
  5354. "scrolling ": "no",
  5355. "style": {
  5356. "cssText": "border:0; width:100%; height:100%;"
  5357. },
  5358. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5359. })
  5360. _box.appendChild(_iframe);
  5361. _box.appendChild(_jie);
  5362. _formdiv = new U.UF.UI.form(
  5363. "思维网格-" + _username,
  5364. _box, {
  5365. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5366. "style": {
  5367. "width": "90%",
  5368. "height": "90%",
  5369. "overflow": 'hidden'
  5370. },
  5371. "onresize": function() {}
  5372. }, {
  5373. closecallback: function() {}
  5374. }, {
  5375. "style": {
  5376. "height": "36px"
  5377. }
  5378. }).form; //创建窗体
  5379. _taskbar = {
  5380. "id": str + _formdiv.id,
  5381. "style": {
  5382. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5383. },
  5384. "name": "思维网格",
  5385. "forms": _formdiv,
  5386. "click": function() {
  5387. U.MD.D.I.openApplication(str, obj, info);
  5388. }
  5389. }
  5390. break;
  5391. case "courseDesign":
  5392. _iframe = $$("iframe", {
  5393. "webkitallowfullscreen": "",
  5394. "mozallowfullscreen": "",
  5395. "allowfullscreen": "",
  5396. "frameborder": "no",
  5397. "border": "0",
  5398. "scrolling ": "no",
  5399. "style": {
  5400. "cssText": "border:0; width:100%; height:100%;"
  5401. },
  5402. "src": "/course-design-vue"
  5403. })
  5404. _box.appendChild(_iframe);
  5405. _box.appendChild(_jie);
  5406. _formdiv = new U.UF.UI.form(
  5407. "项目设计-" + _username,
  5408. _box, {
  5409. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5410. "style": {
  5411. "width": "90%",
  5412. "height": "90%",
  5413. "overflow": 'hidden'
  5414. },
  5415. "onresize": function() {}
  5416. }, {
  5417. closecallback: function() {}
  5418. }, {
  5419. "style": {
  5420. "height": "36px"
  5421. }
  5422. }).form; //创建窗体
  5423. _taskbar = {
  5424. "id": str + _formdiv.id,
  5425. "style": {
  5426. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5427. },
  5428. "name": "项目设计",
  5429. "forms": _formdiv,
  5430. "click": function() {
  5431. U.MD.D.I.openApplication(str, obj, info);
  5432. }
  5433. }
  5434. break;
  5435. }
  5436. const script1 = document.createElement("script");
  5437. script1.type = "text/javascript";
  5438. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5439. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5440. const script2 = document.createElement("script");
  5441. script2.type = "text/javascript";
  5442. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5443. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5444. const script3 = document.createElement("script");
  5445. script3.type = "text/javascript";
  5446. script3.charset = "UTF-8";
  5447. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5448. const script4 = document.createElement("script");
  5449. script4.type = "text/javascript";
  5450. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5451. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5452. if (_iframe) {
  5453. if (str == 'doc') {
  5454. _iframe = _formdiv.querySelector('iframe')
  5455. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5456. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5457. _iframe.contentWindow.document.body.appendChild(script1);
  5458. _iframe.contentWindow.document.body.appendChild(script2);
  5459. // _iframe.contentWindow.document.body.appendChild(script3);
  5460. _iframe.contentWindow.document.body.appendChild(script4);
  5461. })
  5462. if (onloadListener) {
  5463. _iframe.contentDocument.location.reload()
  5464. } else {
  5465. _iframe.contentDocument.location.reload()
  5466. }
  5467. } else if (str == 'courseDesign') {
  5468. U.UF.DL.iframeLoad(_iframe, function() {
  5469. // _iframe.contentWindow.U.MD.O.W.load();
  5470. // _iframe.contentWindow.document.body.appendChild(script1);
  5471. _iframe.contentWindow.document.body.appendChild(script2);
  5472. _iframe.contentWindow.document.body.appendChild(script4);
  5473. })
  5474. } else if (str == 'mind') {
  5475. _iframe = _formdiv.querySelector('iframe')
  5476. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5477. //
  5478. _iframe.contentWindow.document.body.appendChild(script1);
  5479. _iframe.contentWindow.document.body.appendChild(script2);
  5480. _iframe.contentWindow.document.body.appendChild(script4);
  5481. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5482. })
  5483. if (onloadListener) {
  5484. _iframe.contentDocument.location.reload()
  5485. } else {
  5486. _iframe.contentDocument.location.reload()
  5487. }
  5488. } else if (str == 'whiteboard') {
  5489. _iframe = _formdiv.querySelector('iframe')
  5490. let onloadListener = _iframe.onload = () => {
  5491. _iframe.contentWindow.document.body.appendChild(script1);
  5492. _iframe.contentWindow.document.body.appendChild(script2);
  5493. _iframe.contentWindow.document.body.appendChild(script4);
  5494. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5495. };
  5496. if (onloadListener) {
  5497. _iframe.contentDocument.location.reload()
  5498. } else {
  5499. _iframe.contentDocument.location.reload()
  5500. }
  5501. } else {
  5502. _iframe.onload = () => {
  5503. _iframe.contentWindow.document.body.appendChild(script1);
  5504. _iframe.contentWindow.document.body.appendChild(script2);
  5505. // _iframe.contentWindow.document.body.appendChild(script3);
  5506. _iframe.contentWindow.document.body.appendChild(script4);
  5507. };
  5508. }
  5509. _jie.onclick = async() => {
  5510. let text = ''
  5511. if (aTool == 1) {
  5512. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5513. } else if (aTool == 6) {
  5514. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5515. } else if (aTool == 3) {
  5516. text = await U.MD.D.I.getEditorContent(_iframe);
  5517. }
  5518. _loading.style.display = 'flex'
  5519. console.log(_loading);
  5520. var _ajs = _iframe.contentWindow.document.createElement("script");
  5521. _ajs.type = "text/javascript";
  5522. _ajs.innerHTML =
  5523. // 'console.log(' + _loading + ');\n' +
  5524. 'var _js = document.createElement("script");\n' +
  5525. '_js.type="text/javascript";\n' +
  5526. '_js.charset="UTF-8";\n' +
  5527. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5528. "_js.onload = function(){\n" +
  5529. ' var a = document.getElementsByTagName("img")\n' +
  5530. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5531. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5532. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5533. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5534. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5535. "beforeUpload_shishi(file," +
  5536. "'" +
  5537. _userid +
  5538. "'" +
  5539. ", " +
  5540. "'" +
  5541. _cid +
  5542. "'" +
  5543. ", " +
  5544. "'" +
  5545. _stage +
  5546. "'" +
  5547. ", " +
  5548. "'" +
  5549. _task +
  5550. "'" +
  5551. ", " +
  5552. "'" +
  5553. _tool +
  5554. "'" +
  5555. ", " +
  5556. "'" +
  5557. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5558. "'" +
  5559. ", " +
  5560. "'" +
  5561. aTool +
  5562. "'" +
  5563. ", " +
  5564. "`" +
  5565. text +
  5566. "`" +
  5567. ")\n" +
  5568. " });\n" +
  5569. "}\n" +
  5570. "document.head.appendChild(_js);\n";
  5571. _iframe.contentWindow.document.head.appendChild(_ajs);
  5572. }
  5573. }
  5574. }
  5575. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5576. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5577. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5578. _userid = student.userid, //登录用户id
  5579. _username = student.student //用户名字
  5580. let _iframe;
  5581. let _cid = cid,
  5582. _stage = stage,
  5583. _task = task,
  5584. _tool = tool;
  5585. var _jie = $$("div", {
  5586. "style": {
  5587. "position": "absolute",
  5588. "bottom": "50px",
  5589. "right": "50px",
  5590. "zIndex": "9999",
  5591. "backgroundColor": "#2268bc",
  5592. "color": "#fff",
  5593. "padding": "12px 20px",
  5594. "cursor": "pointer",
  5595. "borderRadius": "4px",
  5596. },
  5597. "innerHTML": "提交作业"
  5598. })
  5599. let aTool = ''
  5600. let _loading = document.createElement('div')
  5601. _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;"
  5602. // _loading.id = "";
  5603. let _lchild = document.createElement('div')
  5604. let _limg = document.createElement('img')
  5605. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5606. _limg.style = "width: 26px;margin-right: 10px;"
  5607. _lchild.appendChild(_limg)
  5608. let _lspan = document.createElement('span')
  5609. _lspan.innerHTML = "上传中..."
  5610. _lchild.appendChild(_lspan)
  5611. _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%);"
  5612. _loading.appendChild(_lchild)
  5613. var _box = $$('div', {
  5614. "style": {
  5615. "position": "relative",
  5616. "width": "100%",
  5617. "height": "100%",
  5618. },
  5619. })
  5620. _box.appendChild(_loading)
  5621. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5622. switch (str) {
  5623. case "whiteboard":
  5624. aTool = 1;
  5625. _iframe = $$("iframe", {
  5626. "frameborder": "no",
  5627. "border": "0",
  5628. "scrolling ": "no",
  5629. "style": {
  5630. "cssText": "border:0;width:100%;height:100%"
  5631. },
  5632. "src": "https://iwb.cocorobo.cn/"
  5633. })
  5634. _box.appendChild(_iframe);
  5635. _box.appendChild(_jie);
  5636. _formdiv = new U.UF.UI.form(
  5637. "电子白板-" + _username,
  5638. _box, {
  5639. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5640. "style": {
  5641. "width": "90%",
  5642. "height": "90%",
  5643. "overflow": 'hidden'
  5644. },
  5645. "onresize": function() {}
  5646. }, {
  5647. closecallback: function() {}
  5648. }, {
  5649. "style": {
  5650. "height": "36px"
  5651. }
  5652. }).form; //创建窗体
  5653. _taskbar = {
  5654. "id": str + _formdiv.id,
  5655. "style": {
  5656. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5657. },
  5658. "name": "电子白板",
  5659. "forms": _formdiv,
  5660. "click": function() {
  5661. U.MD.D.I.openApplication(str, obj, info);
  5662. }
  5663. }
  5664. break;
  5665. case "mind":
  5666. aTool = 3;
  5667. _iframe = $$("iframe", {
  5668. "frameborder": "no",
  5669. "border": "0",
  5670. "scrolling ": "no",
  5671. "style": {
  5672. "cssText": "border:0;width:100%;height:100%"
  5673. },
  5674. "src": "/kityminder-editor/dist/index.html"
  5675. })
  5676. _box.appendChild(_iframe);
  5677. _box.appendChild(_jie);
  5678. _formdiv = new U.UF.UI.form(
  5679. "思维导图-" + _username,
  5680. _box, { //"/jsmind/example/demo.html"
  5681. "id": "mind" + cid + stage + task + tool + _userid,
  5682. "style": {
  5683. "width": "90%",
  5684. "height": "90%",
  5685. "overflow": 'hidden'
  5686. },
  5687. "onresize": function() {}
  5688. }, {
  5689. closecallback: function() {}
  5690. }, {
  5691. "style": {
  5692. "height": "36px"
  5693. }
  5694. }).form; //创建窗体
  5695. _taskbar = {
  5696. "id": str + _formdiv.id,
  5697. "style": {
  5698. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5699. },
  5700. "name": "思维导图",
  5701. "forms": _formdiv,
  5702. "click": function() {
  5703. U.MD.D.I.openApplication(str, obj, info);
  5704. }
  5705. }
  5706. break;
  5707. case "MindMap":
  5708. aTool = 3;
  5709. _iframe = $$("iframe", {
  5710. "frameborder": "no",
  5711. "border": "0",
  5712. "scrolling ": "no",
  5713. "style": {
  5714. "cssText": "border:0;width:100%;height:100%"
  5715. },
  5716. "src": "//cloud.cocorobo.cn/mind/"
  5717. })
  5718. _box.appendChild(_iframe);
  5719. _box.appendChild(_jie);
  5720. _formdiv = new U.UF.UI.form(
  5721. "思维导图-" + _username,
  5722. _box, { //"/jsmind/example/demo.html"
  5723. "id": "mind" + cid + stage + task + tool + _userid,
  5724. "style": {
  5725. "width": "90%",
  5726. "height": "90%",
  5727. "overflow": 'hidden'
  5728. },
  5729. "onresize": function() {}
  5730. }, {
  5731. closecallback: function() {}
  5732. }, {
  5733. "style": {
  5734. "height": "36px"
  5735. }
  5736. }).form; //创建窗体
  5737. _taskbar = {
  5738. "id": str + _formdiv.id,
  5739. "style": {
  5740. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5741. },
  5742. "name": "思维导图",
  5743. "forms": _formdiv,
  5744. "click": function() {
  5745. U.MD.D.I.openApplication(str, obj, info);
  5746. }
  5747. }
  5748. break;
  5749. case "doc":
  5750. aTool = 6;
  5751. _iframe = $$("iframe", {
  5752. "frameborder": "no",
  5753. "border": "0",
  5754. "scrolling ": "no",
  5755. "style": {
  5756. "cssText": "border:0;width:100%;height:100%"
  5757. },
  5758. "src": "/Office/Word/WordEditArea.htm"
  5759. })
  5760. _box.appendChild(_iframe);
  5761. _box.appendChild(_jie);
  5762. _formdiv = new U.UF.UI.form(
  5763. "协同文档-" + _username,
  5764. _box, {
  5765. "id": "doc" + cid + stage + task + tool + _userid,
  5766. "style": {
  5767. "width": "90%",
  5768. "height": "90%",
  5769. "overflow": 'hidden'
  5770. },
  5771. "onresize": function() {}
  5772. }, {
  5773. closecallback: function() {}
  5774. }, {
  5775. "style": {
  5776. "height": "36px"
  5777. }
  5778. }).form; //创建窗体
  5779. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5780. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5781. })
  5782. _taskbar = {
  5783. "id": str + _formdiv.id,
  5784. "style": {
  5785. "backgroundImage": "url(/img/icon/doc.png)"
  5786. },
  5787. "name": "协同文档",
  5788. "forms": _formdiv,
  5789. "click": function() {
  5790. U.MD.D.I.openApplication(str, obj, info);
  5791. }
  5792. }
  5793. break;
  5794. case "mindNetwork": //好友打开
  5795. aTool = 7;
  5796. _iframe = $$("iframe", {
  5797. "webkitallowfullscreen": "",
  5798. "mozallowfullscreen": "",
  5799. "allowfullscreen": "",
  5800. "frameborder": "no",
  5801. "border": "0",
  5802. "scrolling ": "no",
  5803. "style": {
  5804. "cssText": "border:0; width:100%; height:100%;"
  5805. },
  5806. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5807. })
  5808. _box.appendChild(_iframe);
  5809. _box.appendChild(_jie);
  5810. _formdiv = new U.UF.UI.form(
  5811. "思维网格-" + _username,
  5812. _box, {
  5813. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5814. "style": {
  5815. "width": "90%",
  5816. "height": "90%",
  5817. "overflow": 'hidden'
  5818. },
  5819. "onresize": function() {}
  5820. }, {
  5821. closecallback: function() {}
  5822. }, {
  5823. "style": {
  5824. "height": "36px"
  5825. }
  5826. }).form; //创建窗体
  5827. _taskbar = {
  5828. "id": str + _formdiv.id,
  5829. "style": {
  5830. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5831. },
  5832. "name": "思维网格",
  5833. "forms": _formdiv,
  5834. "click": function() {
  5835. U.MD.D.I.openApplication(str, obj, info);
  5836. }
  5837. }
  5838. break;
  5839. case "courseDesign":
  5840. _iframe = $$("iframe", {
  5841. "webkitallowfullscreen": "",
  5842. "mozallowfullscreen": "",
  5843. "allowfullscreen": "",
  5844. "frameborder": "no",
  5845. "border": "0",
  5846. "scrolling ": "no",
  5847. "style": {
  5848. "cssText": "border:0; width:100%; height:100%;"
  5849. },
  5850. "src": "/course-design-vue"
  5851. })
  5852. _box.appendChild(_iframe);
  5853. _box.appendChild(_jie);
  5854. _formdiv = new U.UF.UI.form(
  5855. "项目设计-" + _username,
  5856. _box, {
  5857. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5858. "style": {
  5859. "width": "90%",
  5860. "height": "90%",
  5861. "overflow": 'hidden'
  5862. },
  5863. "onresize": function() {}
  5864. }, {
  5865. closecallback: function() {}
  5866. }, {
  5867. "style": {
  5868. "height": "36px"
  5869. }
  5870. }).form; //创建窗体
  5871. _taskbar = {
  5872. "id": str + _formdiv.id,
  5873. "style": {
  5874. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5875. },
  5876. "name": "项目设计",
  5877. "forms": _formdiv,
  5878. "click": function() {
  5879. U.MD.D.I.openApplication(str, obj, info);
  5880. }
  5881. }
  5882. break;
  5883. }
  5884. const script1 = document.createElement("script");
  5885. script1.type = "text/javascript";
  5886. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5887. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5888. const script2 = document.createElement("script");
  5889. script2.type = "text/javascript";
  5890. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5891. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5892. const script3 = document.createElement("script");
  5893. script3.type = "text/javascript";
  5894. script3.charset = "UTF-8";
  5895. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5896. const script4 = document.createElement("script");
  5897. script4.type = "text/javascript";
  5898. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5899. script4.src = window.origin + "/js/Common/jietu2E.js";
  5900. if (_iframe) {
  5901. if (str == 'doc') {
  5902. _iframe = _formdiv.querySelector('iframe')
  5903. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5904. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5905. _iframe.contentWindow.document.body.appendChild(script1);
  5906. _iframe.contentWindow.document.body.appendChild(script2);
  5907. // _iframe.contentWindow.document.body.appendChild(script3);
  5908. _iframe.contentWindow.document.body.appendChild(script4);
  5909. })
  5910. if (onloadListener) {
  5911. _iframe.contentDocument.location.reload()
  5912. } else {
  5913. _iframe.contentDocument.location.reload()
  5914. }
  5915. } else if (str == 'courseDesign') {
  5916. U.UF.DL.iframeLoad(_iframe, function() {
  5917. // _iframe.contentWindow.U.MD.O.W.load();
  5918. // _iframe.contentWindow.document.body.appendChild(script1);
  5919. _iframe.contentWindow.document.body.appendChild(script2);
  5920. _iframe.contentWindow.document.body.appendChild(script4);
  5921. })
  5922. } else if (str == 'mind') {
  5923. _iframe = _formdiv.querySelector('iframe')
  5924. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5925. //
  5926. _iframe.contentWindow.document.body.appendChild(script1);
  5927. _iframe.contentWindow.document.body.appendChild(script2);
  5928. _iframe.contentWindow.document.body.appendChild(script4);
  5929. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5930. })
  5931. if (onloadListener) {
  5932. _iframe.contentDocument.location.reload()
  5933. } else {
  5934. _iframe.contentDocument.location.reload()
  5935. }
  5936. } else if (str == 'whiteboard') {
  5937. _iframe = _formdiv.querySelector('iframe')
  5938. let onloadListener = _iframe.onload = () => {
  5939. _iframe.contentWindow.document.body.appendChild(script1);
  5940. _iframe.contentWindow.document.body.appendChild(script2);
  5941. _iframe.contentWindow.document.body.appendChild(script4);
  5942. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5943. };
  5944. if (onloadListener) {
  5945. _iframe.contentDocument.location.reload()
  5946. } else {
  5947. _iframe.contentDocument.location.reload()
  5948. }
  5949. } else {
  5950. _iframe.onload = () => {
  5951. _iframe.contentWindow.document.body.appendChild(script1);
  5952. _iframe.contentWindow.document.body.appendChild(script2);
  5953. // _iframe.contentWindow.document.body.appendChild(script3);
  5954. _iframe.contentWindow.document.body.appendChild(script4);
  5955. };
  5956. }
  5957. _jie.onclick = async() => {
  5958. let text = ''
  5959. if (aTool == 1) {
  5960. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5961. } else if (aTool == 6) {
  5962. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5963. } else if (aTool == 3) {
  5964. text = await U.MD.D.I.getEditorContent(_iframe);
  5965. }
  5966. _loading.style.display = 'flex'
  5967. console.log(_loading);
  5968. var _ajs = _iframe.contentWindow.document.createElement("script");
  5969. _ajs.type = "text/javascript";
  5970. _ajs.innerHTML =
  5971. // 'console.log(' + _loading + ');\n' +
  5972. 'var _js = document.createElement("script");\n' +
  5973. '_js.type="text/javascript";\n' +
  5974. '_js.charset="UTF-8";\n' +
  5975. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5976. "_js.onload = function(){\n" +
  5977. ' var a = document.getElementsByTagName("img")\n' +
  5978. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5979. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5980. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5981. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5982. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5983. "beforeUpload_shishi(file," +
  5984. "'" +
  5985. _userid +
  5986. "'" +
  5987. ", " +
  5988. "'" +
  5989. _cid +
  5990. "'" +
  5991. ", " +
  5992. "'" +
  5993. _stage +
  5994. "'" +
  5995. ", " +
  5996. "'" +
  5997. _task +
  5998. "'" +
  5999. ", " +
  6000. "'" +
  6001. _tool +
  6002. "'" +
  6003. ", " +
  6004. "'" +
  6005. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6006. "'" +
  6007. ", " +
  6008. "'" +
  6009. aTool +
  6010. "'" +
  6011. ", " +
  6012. "`" +
  6013. text +
  6014. "`" +
  6015. ")\n" +
  6016. " });\n" +
  6017. "}\n" +
  6018. "document.head.appendChild(_js);\n";
  6019. _iframe.contentWindow.document.head.appendChild(_ajs);
  6020. }
  6021. }
  6022. }
  6023. U.MD.D.I.getEditorContent = function(iframe) {
  6024. return new Promise((resolve, reject) => {
  6025. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6026. console.log(content);
  6027. resolve(content)
  6028. });
  6029. });
  6030. }
  6031. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6032. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6033. // if (res.value[0].length > 0) {
  6034. // // resolve(res.value[0][0].text);
  6035. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6036. // $(fileInput).val('');
  6037. // });
  6038. // }
  6039. // }, [], { "type": "GET", "withCredentials": true });
  6040. var xmlhttp;
  6041. var Mac, Sn, DeviceId
  6042. if (window.XMLHttpRequest) {
  6043. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6044. xmlhttp = new XMLHttpRequest();
  6045. } else {
  6046. // IE6, IE5 浏览器执行代码
  6047. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6048. }
  6049. xmlhttp.onreadystatechange = function() {
  6050. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6051. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6052. // resolve(res.value[0][0].text);
  6053. if (type == '2') {
  6054. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6055. } else if (type == '3') {
  6056. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6057. }
  6058. } else {
  6059. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6060. }
  6061. }
  6062. }
  6063. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6064. xmlhttp.send();
  6065. }
  6066. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6067. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6068. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6069. _userinfo = US.userInfo, //登录用户信息
  6070. _userid = US.userInfo.userid //登录用户id
  6071. let _iframe;
  6072. let _cid = cid,
  6073. _stage = stage,
  6074. _task = task,
  6075. _tool = tool;
  6076. var _jie = $$("div", {
  6077. "style": {
  6078. "position": "absolute",
  6079. "bottom": "50px",
  6080. "right": "50px",
  6081. "zIndex": "9999",
  6082. "backgroundColor": "#2268bc",
  6083. "color": "#fff",
  6084. "padding": "12px 20px",
  6085. "cursor": "pointer",
  6086. "borderRadius": "4px",
  6087. },
  6088. "innerHTML": "确认并提交"
  6089. })
  6090. let aTool = ''
  6091. let _loading = document.createElement('div')
  6092. _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;"
  6093. // _loading.id = "";
  6094. let _lchild = document.createElement('div')
  6095. let _limg = document.createElement('img')
  6096. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6097. _limg.style = "width: 26px;margin-right: 10px;"
  6098. _lchild.appendChild(_limg)
  6099. let _lspan = document.createElement('span')
  6100. _lspan.innerHTML = "上传中..."
  6101. _lchild.appendChild(_lspan)
  6102. _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%);"
  6103. _loading.appendChild(_lchild)
  6104. var _box = $$('div', {
  6105. "style": {
  6106. "position": "relative",
  6107. "width": "100%",
  6108. "height": "100%",
  6109. },
  6110. })
  6111. _box.appendChild(_loading)
  6112. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6113. switch (str) {
  6114. case "whiteboard":
  6115. aTool = 1;
  6116. _iframe = $$("iframe", {
  6117. "frameborder": "no",
  6118. "border": "0",
  6119. "scrolling ": "no",
  6120. "style": {
  6121. "cssText": "border:0;width:100%;height:100%"
  6122. },
  6123. "src": "https://iwb.cocorobo.cn/"
  6124. })
  6125. _box.appendChild(_iframe);
  6126. _box.appendChild(_jie);
  6127. _formdiv = new U.UF.UI.form(
  6128. "电子白板",
  6129. _box, {
  6130. "id": "whiteboards" + cid + stage + task + tool,
  6131. "style": {
  6132. "width": "90%",
  6133. "height": "90%",
  6134. "overflow": 'hidden'
  6135. },
  6136. "onresize": function() {}
  6137. }, {
  6138. closecallback: function() {}
  6139. }, {
  6140. "style": {
  6141. "height": "36px"
  6142. }
  6143. }).form; //创建窗体
  6144. _taskbar = {
  6145. "id": str + _formdiv.id,
  6146. "style": {
  6147. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6148. },
  6149. "name": "电子白板",
  6150. "forms": _formdiv,
  6151. "click": function() {
  6152. U.MD.D.I.openApplication(str, obj, info);
  6153. }
  6154. }
  6155. break;
  6156. case "mind":
  6157. aTool = 3;
  6158. _iframe = $$("iframe", {
  6159. "frameborder": "no",
  6160. "border": "0",
  6161. "scrolling ": "no",
  6162. "style": {
  6163. "cssText": "border:0;width:100%;height:100%"
  6164. },
  6165. "src": "/kityminder-editor/dist/index.html"
  6166. });
  6167. _box.appendChild(_iframe);
  6168. _box.appendChild(_jie);
  6169. _formdiv = new U.UF.UI.form(
  6170. "思维导图",
  6171. _box, { //"/jsmind/example/demo.html"
  6172. "id": "minds" + cid + stage + task + tool,
  6173. "style": {
  6174. "width": "90%",
  6175. "height": "90%",
  6176. "overflow": 'hidden'
  6177. },
  6178. "onresize": function() {}
  6179. }, {
  6180. closecallback: function() {}
  6181. }, {
  6182. "style": {
  6183. "height": "36px"
  6184. }
  6185. }).form; //创建窗体
  6186. _taskbar = {
  6187. "id": str + _formdiv.id,
  6188. "style": {
  6189. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6190. },
  6191. "name": "思维导图",
  6192. "forms": _formdiv,
  6193. "click": function() {
  6194. U.MD.D.I.openApplication(str, obj, info);
  6195. }
  6196. }
  6197. break;
  6198. case "doc":
  6199. aTool = 6;
  6200. _iframe = $$("iframe", {
  6201. "frameborder": "no",
  6202. "border": "0",
  6203. "scrolling ": "no",
  6204. "style": {
  6205. "cssText": "border:0;width:100%;height:100%"
  6206. },
  6207. "src": "/Office/Word/WordEditArea.htm"
  6208. })
  6209. _box.appendChild(_iframe);
  6210. _box.appendChild(_jie);
  6211. _formdiv = new U.UF.UI.form(
  6212. "协同文档",
  6213. _box, {
  6214. "id": "docs" + cid + stage + task + tool,
  6215. "style": {
  6216. "width": "90%",
  6217. "height": "90%",
  6218. "overflow": 'hidden'
  6219. },
  6220. "onresize": function() {}
  6221. }, {
  6222. closecallback: function() {}
  6223. }, {
  6224. "style": {
  6225. "height": "36px"
  6226. }
  6227. }).form; //创建窗体
  6228. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6229. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6230. })
  6231. _taskbar = {
  6232. "id": str + _formdiv.id,
  6233. "style": {
  6234. "backgroundImage": "url(/img/icon/doc.png)"
  6235. },
  6236. "name": "协同文档",
  6237. "forms": _formdiv,
  6238. "click": function() {
  6239. U.MD.D.I.openApplication(str, obj, info);
  6240. }
  6241. }
  6242. break;
  6243. }
  6244. const script1 = document.createElement("script");
  6245. script1.type = "text/javascript";
  6246. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6247. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6248. const script2 = document.createElement("script");
  6249. script2.type = "text/javascript";
  6250. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6251. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6252. const script3 = document.createElement("script");
  6253. script3.type = "text/javascript";
  6254. script3.charset = "UTF-8";
  6255. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6256. const script4 = document.createElement("script");
  6257. script4.type = "text/javascript";
  6258. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6259. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6260. if (_iframe) {
  6261. if (str == 'doc') {
  6262. _iframe = _formdiv.querySelector('iframe')
  6263. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6264. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6265. _iframe.contentWindow.document.body.appendChild(script1);
  6266. _iframe.contentWindow.document.body.appendChild(script2);
  6267. // _iframe.contentWindow.document.body.appendChild(script3);
  6268. _iframe.contentWindow.document.body.appendChild(script4);
  6269. })
  6270. if (onloadListener) {
  6271. _iframe.contentDocument.location.reload()
  6272. } else {
  6273. _iframe.contentDocument.location.reload()
  6274. }
  6275. } else if (str == 'mind') {
  6276. _iframe = _formdiv.querySelector('iframe')
  6277. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6278. _iframe.contentWindow.document.body.appendChild(script1);
  6279. _iframe.contentWindow.document.body.appendChild(script2);
  6280. _iframe.contentWindow.document.body.appendChild(script4);
  6281. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6282. })
  6283. if (onloadListener) {
  6284. _iframe.contentDocument.location.reload()
  6285. } else {
  6286. _iframe.contentDocument.location.reload()
  6287. }
  6288. } else {
  6289. _iframe.onload = () => {
  6290. _iframe.contentWindow.document.body.appendChild(script1);
  6291. _iframe.contentWindow.document.body.appendChild(script2);
  6292. // _iframe.contentWindow.document.body.appendChild(script3);
  6293. _iframe.contentWindow.document.body.appendChild(script4);
  6294. };
  6295. }
  6296. _jie.onclick = async() => {
  6297. let text = ''
  6298. if (aTool == 6) {
  6299. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6300. } else if (aTool == 3) {
  6301. text = await U.MD.D.I.getEditorContent(_iframe);
  6302. }
  6303. _loading.style.display = 'flex'
  6304. console.log(_loading);
  6305. var _ajs = _iframe.contentWindow.document.createElement("script");
  6306. _ajs.type = "text/javascript";
  6307. _ajs.innerHTML =
  6308. // 'console.log(' + _loading + ');\n' +
  6309. 'var _js = document.createElement("script");\n' +
  6310. '_js.type="text/javascript";\n' +
  6311. '_js.charset="UTF-8";\n' +
  6312. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6313. "_js.onload = function(){\n" +
  6314. ' var a = document.getElementsByTagName("img")\n' +
  6315. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6316. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6317. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6318. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6319. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6320. "beforeUpload_shishi(file," +
  6321. "'" +
  6322. _userid +
  6323. "'" +
  6324. ", " +
  6325. "'" +
  6326. _cid +
  6327. "'" +
  6328. ", " +
  6329. "'" +
  6330. _stage +
  6331. "'" +
  6332. ", " +
  6333. "'" +
  6334. _task +
  6335. "'" +
  6336. ", " +
  6337. "'" +
  6338. _tool +
  6339. "'" +
  6340. ", " +
  6341. "'" +
  6342. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6343. "'" +
  6344. ", " +
  6345. "'" +
  6346. aTool +
  6347. "'" +
  6348. ", " +
  6349. "`" +
  6350. text +
  6351. "`" +
  6352. ")\n" +
  6353. " });\n" +
  6354. "}\n" +
  6355. "document.head.appendChild(_js);\n";
  6356. _iframe.contentWindow.document.head.appendChild(_ajs);
  6357. }
  6358. }
  6359. //U.MD.D.I.openClick(str);
  6360. //如果有任务栏信息
  6361. // if (_taskbar) {
  6362. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6363. // }
  6364. }
  6365. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6366. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6367. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6368. _userinfo = US.userInfo, //登录用户信息
  6369. _userid = US.userInfo.userid //登录用户id
  6370. let _iframe;
  6371. let _cid = cid,
  6372. _stage = stage,
  6373. _task = task,
  6374. _tool = tool;
  6375. var _jie = $$("div", {
  6376. "style": {
  6377. "position": "absolute",
  6378. "bottom": "50px",
  6379. "right": "50px",
  6380. "zIndex": "9999",
  6381. "backgroundColor": "#2268bc",
  6382. "color": "#fff",
  6383. "padding": "12px 20px",
  6384. "cursor": "pointer",
  6385. "borderRadius": "4px",
  6386. },
  6387. "innerHTML": "确认并提交"
  6388. })
  6389. let aTool = ''
  6390. let _loading = document.createElement('div')
  6391. _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;"
  6392. // _loading.id = "";
  6393. let _lchild = document.createElement('div')
  6394. let _limg = document.createElement('img')
  6395. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6396. _limg.style = "width: 26px;margin-right: 10px;"
  6397. _lchild.appendChild(_limg)
  6398. let _lspan = document.createElement('span')
  6399. _lspan.innerHTML = "上传中..."
  6400. _lchild.appendChild(_lspan)
  6401. _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%);"
  6402. _loading.appendChild(_lchild)
  6403. var _box = $$('div', {
  6404. "style": {
  6405. "position": "relative",
  6406. "width": "100%",
  6407. "height": "100%",
  6408. },
  6409. })
  6410. _box.appendChild(_loading)
  6411. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6412. switch (str) {
  6413. case "whiteboard":
  6414. aTool = 1;
  6415. _iframe = $$("iframe", {
  6416. "frameborder": "no",
  6417. "border": "0",
  6418. "scrolling ": "no",
  6419. "style": {
  6420. "cssText": "border:0;width:100%;height:100%"
  6421. },
  6422. "src": "https://iwb.cocorobo.cn/"
  6423. })
  6424. _box.appendChild(_iframe);
  6425. _box.appendChild(_jie);
  6426. _formdiv = new U.UF.UI.form(
  6427. "电子白板",
  6428. _box, {
  6429. "id": "whiteboards" + cid + stage + task + tool,
  6430. "style": {
  6431. "width": "90%",
  6432. "height": "90%",
  6433. "overflow": 'hidden'
  6434. },
  6435. "onresize": function() {}
  6436. }, {
  6437. closecallback: function() {}
  6438. }, {
  6439. "style": {
  6440. "height": "36px"
  6441. }
  6442. }).form; //创建窗体
  6443. _taskbar = {
  6444. "id": str + _formdiv.id,
  6445. "style": {
  6446. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6447. },
  6448. "name": "电子白板",
  6449. "forms": _formdiv,
  6450. "click": function() {
  6451. U.MD.D.I.openApplication(str, obj, info);
  6452. }
  6453. }
  6454. break;
  6455. case "mind":
  6456. aTool = 3;
  6457. _iframe = $$("iframe", {
  6458. "frameborder": "no",
  6459. "border": "0",
  6460. "scrolling ": "no",
  6461. "style": {
  6462. "cssText": "border:0;width:100%;height:100%"
  6463. },
  6464. "src": "/kityminder-editor/dist/index.html"
  6465. });
  6466. _box.appendChild(_iframe);
  6467. _box.appendChild(_jie);
  6468. _formdiv = new U.UF.UI.form(
  6469. "思维导图",
  6470. _box, { //"/jsmind/example/demo.html"
  6471. "id": "minds" + cid + stage + task + tool,
  6472. "style": {
  6473. "width": "90%",
  6474. "height": "90%",
  6475. "overflow": 'hidden'
  6476. },
  6477. "onresize": function() {}
  6478. }, {
  6479. closecallback: function() {}
  6480. }, {
  6481. "style": {
  6482. "height": "36px"
  6483. }
  6484. }).form; //创建窗体
  6485. _taskbar = {
  6486. "id": str + _formdiv.id,
  6487. "style": {
  6488. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6489. },
  6490. "name": "思维导图",
  6491. "forms": _formdiv,
  6492. "click": function() {
  6493. U.MD.D.I.openApplication(str, obj, info);
  6494. }
  6495. }
  6496. break;
  6497. case "doc":
  6498. aTool = 6;
  6499. _iframe = $$("iframe", {
  6500. "frameborder": "no",
  6501. "border": "0",
  6502. "scrolling ": "no",
  6503. "style": {
  6504. "cssText": "border:0;width:100%;height:100%"
  6505. },
  6506. "src": "/Office/Word/WordEditArea.htm"
  6507. })
  6508. _box.appendChild(_iframe);
  6509. _box.appendChild(_jie);
  6510. _formdiv = new U.UF.UI.form(
  6511. "协同文档",
  6512. _box, {
  6513. "id": "docs" + cid + stage + task + tool,
  6514. "style": {
  6515. "width": "90%",
  6516. "height": "90%",
  6517. "overflow": 'hidden'
  6518. },
  6519. "onresize": function() {}
  6520. }, {
  6521. closecallback: function() {}
  6522. }, {
  6523. "style": {
  6524. "height": "36px"
  6525. }
  6526. }).form; //创建窗体
  6527. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6528. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6529. })
  6530. _taskbar = {
  6531. "id": str + _formdiv.id,
  6532. "style": {
  6533. "backgroundImage": "url(/img/icon/doc.png)"
  6534. },
  6535. "name": "协同文档",
  6536. "forms": _formdiv,
  6537. "click": function() {
  6538. U.MD.D.I.openApplication(str, obj, info);
  6539. }
  6540. }
  6541. break;
  6542. }
  6543. const script1 = document.createElement("script");
  6544. script1.type = "text/javascript";
  6545. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6546. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6547. const script2 = document.createElement("script");
  6548. script2.type = "text/javascript";
  6549. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6550. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6551. const script3 = document.createElement("script");
  6552. script3.type = "text/javascript";
  6553. script3.charset = "UTF-8";
  6554. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6555. const script4 = document.createElement("script");
  6556. script4.type = "text/javascript";
  6557. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6558. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6559. if (_iframe) {
  6560. if (str == 'doc') {
  6561. _iframe = _formdiv.querySelector('iframe')
  6562. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6563. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6564. _iframe.contentWindow.document.body.appendChild(script1);
  6565. _iframe.contentWindow.document.body.appendChild(script2);
  6566. // _iframe.contentWindow.document.body.appendChild(script3);
  6567. _iframe.contentWindow.document.body.appendChild(script4);
  6568. })
  6569. if (onloadListener) {
  6570. _iframe.contentDocument.location.reload()
  6571. } else {
  6572. _iframe.contentDocument.location.reload()
  6573. }
  6574. } else if (str == 'mind') {
  6575. _iframe = _formdiv.querySelector('iframe')
  6576. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6577. _iframe.contentWindow.document.body.appendChild(script1);
  6578. _iframe.contentWindow.document.body.appendChild(script2);
  6579. _iframe.contentWindow.document.body.appendChild(script4);
  6580. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6581. })
  6582. if (onloadListener) {
  6583. _iframe.contentDocument.location.reload()
  6584. } else {
  6585. _iframe.contentDocument.location.reload()
  6586. }
  6587. } else {
  6588. _iframe.onload = () => {
  6589. _iframe.contentWindow.document.body.appendChild(script1);
  6590. _iframe.contentWindow.document.body.appendChild(script2);
  6591. // _iframe.contentWindow.document.body.appendChild(script3);
  6592. _iframe.contentWindow.document.body.appendChild(script4);
  6593. };
  6594. }
  6595. _jie.onclick = async() => {
  6596. let text = ''
  6597. if (aTool == 6) {
  6598. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6599. } else if (aTool == 3) {
  6600. text = await U.MD.D.I.getEditorContent(_iframe);
  6601. }
  6602. _loading.style.display = 'flex'
  6603. console.log(_loading);
  6604. var _ajs = _iframe.contentWindow.document.createElement("script");
  6605. _ajs.type = "text/javascript";
  6606. _ajs.innerHTML =
  6607. // 'console.log(' + _loading + ');\n' +
  6608. 'var _js = document.createElement("script");\n' +
  6609. '_js.type="text/javascript";\n' +
  6610. '_js.charset="UTF-8";\n' +
  6611. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6612. "_js.onload = function(){\n" +
  6613. ' var a = document.getElementsByTagName("img")\n' +
  6614. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6615. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6616. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6617. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6618. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6619. "beforeUpload_shishi(file," +
  6620. "'" +
  6621. _userid +
  6622. "'" +
  6623. ", " +
  6624. "'" +
  6625. _cid +
  6626. "'" +
  6627. ", " +
  6628. "'" +
  6629. _stage +
  6630. "'" +
  6631. ", " +
  6632. "'" +
  6633. _task +
  6634. "'" +
  6635. ", " +
  6636. "'" +
  6637. _tool +
  6638. "'" +
  6639. ", " +
  6640. "'" +
  6641. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6642. "'" +
  6643. ", " +
  6644. "'" +
  6645. aTool +
  6646. "'" +
  6647. ", " +
  6648. "`" +
  6649. text +
  6650. "`" +
  6651. ")\n" +
  6652. " });\n" +
  6653. "}\n" +
  6654. "document.head.appendChild(_js);\n";
  6655. _iframe.contentWindow.document.head.appendChild(_ajs);
  6656. }
  6657. }
  6658. //U.MD.D.I.openClick(str);
  6659. //如果有任务栏信息
  6660. // if (_taskbar) {
  6661. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6662. // }
  6663. }
  6664. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6665. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6666. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6667. _userinfo = US.userInfo, //登录用户信息
  6668. _userid = US.userInfo.userid //登录用户id
  6669. let _iframe;
  6670. let _cid = cid,
  6671. _stage = stage,
  6672. _task = task,
  6673. _tool = tool;
  6674. var _jie = $$("div", {
  6675. "style": {
  6676. "position": "absolute",
  6677. "bottom": "50px",
  6678. "right": "50px",
  6679. "zIndex": "9999",
  6680. "backgroundColor": "#2268bc",
  6681. "color": "#fff",
  6682. "padding": "12px 20px",
  6683. "cursor": "pointer",
  6684. "borderRadius": "4px",
  6685. },
  6686. "innerHTML": "上传模板"
  6687. })
  6688. let aTool = ''
  6689. let _loading = document.createElement('div')
  6690. _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;"
  6691. // _loading.id = "";
  6692. let _lchild = document.createElement('div')
  6693. let _limg = document.createElement('img')
  6694. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6695. _limg.style = "width: 26px;margin-right: 10px;"
  6696. _lchild.appendChild(_limg)
  6697. let _lspan = document.createElement('span')
  6698. _lspan.innerHTML = "上传中..."
  6699. _lchild.appendChild(_lspan)
  6700. _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%);"
  6701. _loading.appendChild(_lchild)
  6702. var _box = $$('div', {
  6703. "style": {
  6704. "position": "relative",
  6705. "width": "100%",
  6706. "height": "100%",
  6707. },
  6708. })
  6709. _box.appendChild(_loading)
  6710. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6711. switch (str) {
  6712. case "whiteboard":
  6713. aTool = 1;
  6714. _iframe = $$("iframe", {
  6715. "frameborder": "no",
  6716. "border": "0",
  6717. "scrolling ": "no",
  6718. "style": {
  6719. "cssText": "border:0;width:100%;height:100%"
  6720. },
  6721. "src": "https://iwb.cocorobo.cn/"
  6722. })
  6723. _box.appendChild(_iframe);
  6724. _box.appendChild(_jie);
  6725. _formdiv = new U.UF.UI.form(
  6726. "电子白板",
  6727. _box, {
  6728. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6729. "style": {
  6730. "width": "90%",
  6731. "height": "90%",
  6732. "overflow": 'hidden'
  6733. },
  6734. "onresize": function() {}
  6735. }, {
  6736. closecallback: function() {}
  6737. }, {
  6738. "style": {
  6739. "height": "36px"
  6740. }
  6741. }).form; //创建窗体
  6742. _taskbar = {
  6743. "id": str + _formdiv.id,
  6744. "style": {
  6745. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6746. },
  6747. "name": "电子白板",
  6748. "forms": _formdiv,
  6749. "click": function() {
  6750. U.MD.D.I.openApplication(str, obj, info);
  6751. }
  6752. }
  6753. break;
  6754. case "mind":
  6755. aTool = 3;
  6756. _iframe = $$("iframe", {
  6757. "frameborder": "no",
  6758. "border": "0",
  6759. "scrolling ": "no",
  6760. "style": {
  6761. "cssText": "border:0;width:100%;height:100%"
  6762. },
  6763. "src": "/kityminder-editor/dist/index.html"
  6764. });
  6765. _box.appendChild(_iframe);
  6766. _box.appendChild(_jie);
  6767. _formdiv = new U.UF.UI.form(
  6768. "思维导图",
  6769. _box, { //"/jsmind/example/demo.html"
  6770. "id": "minds_Yu" + cid + stage + task + tool,
  6771. "style": {
  6772. "width": "90%",
  6773. "height": "90%",
  6774. "overflow": 'hidden'
  6775. },
  6776. "onresize": function() {}
  6777. }, {
  6778. closecallback: function() {}
  6779. }, {
  6780. "style": {
  6781. "height": "36px"
  6782. }
  6783. }).form; //创建窗体
  6784. _taskbar = {
  6785. "id": str + _formdiv.id,
  6786. "style": {
  6787. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6788. },
  6789. "name": "思维导图",
  6790. "forms": _formdiv,
  6791. "click": function() {
  6792. U.MD.D.I.openApplication(str, obj, info);
  6793. }
  6794. }
  6795. break;
  6796. case "doc":
  6797. aTool = 6;
  6798. _iframe = $$("iframe", {
  6799. "frameborder": "no",
  6800. "border": "0",
  6801. "scrolling ": "no",
  6802. "style": {
  6803. "cssText": "border:0;width:100%;height:100%"
  6804. },
  6805. "src": "/Office/Word/WordEditArea.htm"
  6806. })
  6807. _box.appendChild(_iframe);
  6808. _box.appendChild(_jie);
  6809. _formdiv = new U.UF.UI.form(
  6810. "协同文档",
  6811. _box, {
  6812. "id": "docs_Yu" + cid + stage + task + tool,
  6813. "style": {
  6814. "width": "90%",
  6815. "height": "90%",
  6816. "overflow": 'hidden'
  6817. },
  6818. "onresize": function() {}
  6819. }, {
  6820. closecallback: function() {}
  6821. }, {
  6822. "style": {
  6823. "height": "36px"
  6824. }
  6825. }).form; //创建窗体
  6826. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6827. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6828. })
  6829. _taskbar = {
  6830. "id": str + _formdiv.id,
  6831. "style": {
  6832. "backgroundImage": "url(/img/icon/doc.png)"
  6833. },
  6834. "name": "协同文档",
  6835. "forms": _formdiv,
  6836. "click": function() {
  6837. U.MD.D.I.openApplication(str, obj, info);
  6838. }
  6839. }
  6840. break;
  6841. case "CocoPi":
  6842. aTool = 57;
  6843. _iframe = $$("iframe", {
  6844. "allowpaymentrequest": "allowpaymentrequest",
  6845. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6846. "webkitallowfullscreen": "",
  6847. "mozallowfullscreen": "",
  6848. "frameborder": "no",
  6849. "border": "0",
  6850. "scrolling ": "no",
  6851. "style": {
  6852. "cssText": "border:0;width:100%;height:100%"
  6853. },
  6854. "src": "https://pi.cocorobo.cn/"
  6855. })
  6856. _box.appendChild(_iframe);
  6857. _box.appendChild(_jie);
  6858. _formdiv = new U.UF.UI.form(
  6859. "CocoPi",
  6860. _box, {
  6861. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6862. "style": {
  6863. "width": "90%",
  6864. "height": "90%",
  6865. "overflow": 'hidden'
  6866. },
  6867. "onresize": function() {}
  6868. }, {
  6869. closecallback: function() {}
  6870. }, {
  6871. "style": {
  6872. "height": "36px"
  6873. }
  6874. }).form; //创建窗体
  6875. _taskbar = {
  6876. "id": str + _formdiv.id,
  6877. "style": {
  6878. "backgroundImage": "url(/img/icon/cocopi.png)"
  6879. },
  6880. "name": "CocoPi",
  6881. "forms": _formdiv,
  6882. "click": function() {
  6883. U.MD.D.I.openApplication(str, obj, info);
  6884. }
  6885. }
  6886. break;
  6887. }
  6888. if (_iframe) {
  6889. if (str == 'doc') {
  6890. _iframe = _formdiv.querySelector('iframe')
  6891. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6892. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6893. })
  6894. if (onloadListener) {
  6895. _iframe.contentDocument.location.reload()
  6896. } else {
  6897. _iframe.contentDocument.location.reload()
  6898. }
  6899. } else if (str == 'mind') {
  6900. _iframe = _formdiv.querySelector('iframe')
  6901. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6902. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6903. })
  6904. if (onloadListener) {
  6905. _iframe.contentDocument.location.reload()
  6906. } else {
  6907. _iframe.contentDocument.location.reload()
  6908. }
  6909. } else if (str == 'whiteboard') {
  6910. _iframe = _formdiv.querySelector('iframe')
  6911. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6912. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6913. })
  6914. if (onloadListener) {
  6915. _iframe.contentDocument.location.reload()
  6916. } else {
  6917. _iframe.contentDocument.location.reload()
  6918. }
  6919. } else if (str == 'CocoPi') {
  6920. _iframe = _formdiv.querySelector('iframe')
  6921. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6922. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6923. })
  6924. if (onloadListener) {
  6925. _iframe.contentDocument.location.reload()
  6926. } else {
  6927. _iframe.contentDocument.location.reload()
  6928. }
  6929. } else {
  6930. _iframe.onload = () => {};
  6931. }
  6932. _jie.onclick = async() => {
  6933. let text = ''
  6934. let type = '2'
  6935. if (aTool == 1) {
  6936. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6937. type = '3'
  6938. } else if (aTool == 6) {
  6939. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6940. type = '1'
  6941. } else if (aTool == 3) {
  6942. text = await U.MD.D.I.getEditorContent(_iframe);
  6943. type = '2'
  6944. } else if (aTool == 57) {
  6945. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6946. type = '4'
  6947. }
  6948. _loading.style.display = 'flex'
  6949. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6950. }
  6951. }
  6952. //U.MD.D.I.openClick(str);
  6953. //如果有任务栏信息
  6954. // if (_taskbar) {
  6955. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6956. // }
  6957. }
  6958. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6959. var xmlhttp;
  6960. var Mac, Sn, DeviceId
  6961. if (window.XMLHttpRequest) {
  6962. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6963. xmlhttp = new XMLHttpRequest();
  6964. } else {
  6965. // IE6, IE5 浏览器执行代码
  6966. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6967. }
  6968. xmlhttp.onreadystatechange = function() {
  6969. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6970. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6971. // resolve(res.value[0][0].text);
  6972. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6973. }
  6974. }
  6975. }
  6976. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6977. xmlhttp.send();
  6978. }
  6979. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  6980. var xmlhttp;
  6981. var Mac, Sn, DeviceId
  6982. if (window.XMLHttpRequest) {
  6983. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6984. xmlhttp = new XMLHttpRequest();
  6985. } else {
  6986. // IE6, IE5 浏览器执行代码
  6987. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6988. }
  6989. xmlhttp.onreadystatechange = function() {
  6990. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6991. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6992. // resolve(res.value[0][0].text);
  6993. if (type == '2') {
  6994. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6995. } else if (type == '3') {
  6996. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6997. } else if (type == '4') {
  6998. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6999. }
  7000. } else {
  7001. if (type == '2') {
  7002. iframe.contentWindow.editor.minder.importData('json', '')
  7003. } else if (type == '3') {
  7004. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7005. } else if (type == '4') {
  7006. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7007. }
  7008. }
  7009. }
  7010. }
  7011. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7012. xmlhttp.send();
  7013. }
  7014. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7015. var xmlhttp;
  7016. var Mac, Sn, DeviceId
  7017. if (window.XMLHttpRequest) {
  7018. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7019. xmlhttp = new XMLHttpRequest();
  7020. } else {
  7021. // IE6, IE5 浏览器执行代码
  7022. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7023. }
  7024. xmlhttp.onreadystatechange = function() {
  7025. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7026. if (xmlhttp.response) {
  7027. // resolve(res.value[0][0].text);
  7028. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7029. // $(fileInput).val('');
  7030. // });
  7031. span.innerHTML = '上传成功'
  7032. setTimeout(() => {
  7033. loading.style.display = 'none'
  7034. }, 1000);
  7035. }
  7036. }
  7037. }
  7038. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7039. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7040. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7041. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7042. // 设置请求头,表示请求体的编码格式
  7043. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7044. // 设置请求体,使用url-encoded格式的数据
  7045. }
  7046. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7047. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7048. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7049. _userinfo = US.userInfo, //登录用户信息
  7050. _userid = US.userInfo.userid //登录用户id
  7051. let _iframe;
  7052. let _cid = cid,
  7053. _stage = stage,
  7054. _task = task,
  7055. _tool = tool;
  7056. var _jie = $$("div", {
  7057. "style": {
  7058. "position": "absolute",
  7059. "bottom": "50px",
  7060. "right": "50px",
  7061. "zIndex": "9999",
  7062. "backgroundColor": "#2268bc",
  7063. "color": "#fff",
  7064. "padding": "12px 20px",
  7065. "cursor": "pointer",
  7066. "borderRadius": "4px",
  7067. },
  7068. "innerHTML": "提交作业"
  7069. })
  7070. let aTool = ''
  7071. let _loading = document.createElement('div')
  7072. _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;"
  7073. // _loading.id = "";
  7074. let _lchild = document.createElement('div')
  7075. let _limg = document.createElement('img')
  7076. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7077. _limg.style = "width: 26px;margin-right: 10px;"
  7078. _lchild.appendChild(_limg)
  7079. let _lspan = document.createElement('span')
  7080. _lspan.innerHTML = "上传中..."
  7081. _lchild.appendChild(_lspan)
  7082. _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%);"
  7083. _loading.appendChild(_lchild)
  7084. var _box = $$('div', {
  7085. "style": {
  7086. "position": "relative",
  7087. "width": "100%",
  7088. "height": "100%",
  7089. },
  7090. })
  7091. _box.appendChild(_loading)
  7092. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7093. switch (str) {
  7094. case "CocoPi":
  7095. aTool = 57;
  7096. _iframe = $$("iframe", {
  7097. "allowpaymentrequest": "allowpaymentrequest",
  7098. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7099. "webkitallowfullscreen": "",
  7100. "mozallowfullscreen": "",
  7101. "frameborder": "no",
  7102. "border": "0",
  7103. "scrolling ": "no",
  7104. "style": {
  7105. "cssText": "border:0;width:100%;height:100%"
  7106. },
  7107. "src": "https://pi.cocorobo.cn/"
  7108. })
  7109. _box.appendChild(_iframe);
  7110. _box.appendChild(_jie);
  7111. _formdiv = new U.UF.UI.form(
  7112. "CocoPi",
  7113. _box, {
  7114. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7115. "style": {
  7116. "width": "90%",
  7117. "height": "90%",
  7118. "overflow": 'hidden'
  7119. },
  7120. "onresize": function() {}
  7121. }, {
  7122. closecallback: function() {}
  7123. }, {
  7124. "style": {
  7125. "height": "36px"
  7126. }
  7127. }).form; //创建窗体
  7128. _taskbar = {
  7129. "id": str + _formdiv.id,
  7130. "style": {
  7131. "backgroundImage": "url(/img/icon/cocopi.png)"
  7132. },
  7133. "name": "CocoPi",
  7134. "forms": _formdiv,
  7135. "click": function() {
  7136. U.MD.D.I.openApplication(str, obj, info);
  7137. }
  7138. }
  7139. break;
  7140. }
  7141. if (_iframe) {
  7142. if (str == 'CocoPi') {
  7143. _iframe = _formdiv.querySelector('iframe')
  7144. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7145. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7146. })
  7147. if (onloadListener) {
  7148. _iframe.contentDocument.location.reload()
  7149. } else {
  7150. _iframe.contentDocument.location.reload()
  7151. }
  7152. }
  7153. _jie.onclick = async() => {
  7154. let text = ''
  7155. if (aTool == 57) {
  7156. text = _iframe.contentWindow.getLoadXmlStr()
  7157. }
  7158. _loading.style.display = 'flex'
  7159. console.log(_loading);
  7160. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7161. _loading.style.display = 'none'
  7162. let _div = document.createElement('div')
  7163. _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;"
  7164. let _inner = document.createElement('div')
  7165. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7166. _inner.innerHTML = "上传成功"
  7167. _div.appendChild(_inner)
  7168. _iframe.contentWindow.window.document.body.appendChild(_div)
  7169. _div.onclick = () => {
  7170. _iframe.contentWindow.window.document.body.removeChild(_div)
  7171. }
  7172. setTimeout(() => {
  7173. _iframe.contentWindow.window.document.body.removeChild(_div)
  7174. }, 1000);
  7175. }, [], { "type": "POST", "withCredentials": true });
  7176. }
  7177. }
  7178. }
  7179. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7180. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7181. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7182. _userid = student.userid, //登录用户id
  7183. _username = student.student //用户名字
  7184. let _iframe;
  7185. let _cid = cid,
  7186. _stage = stage,
  7187. _task = task,
  7188. _tool = tool;
  7189. var _jie = $$("div", {
  7190. "style": {
  7191. "position": "absolute",
  7192. "bottom": "50px",
  7193. "right": "50px",
  7194. "zIndex": "9999",
  7195. "backgroundColor": "#2268bc",
  7196. "color": "#fff",
  7197. "padding": "12px 20px",
  7198. "cursor": "pointer",
  7199. "borderRadius": "4px",
  7200. },
  7201. "innerHTML": "提交作业"
  7202. })
  7203. let aTool = ''
  7204. let _loading = document.createElement('div')
  7205. _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;"
  7206. // _loading.id = "";
  7207. let _lchild = document.createElement('div')
  7208. let _limg = document.createElement('img')
  7209. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7210. _limg.style = "width: 26px;margin-right: 10px;"
  7211. _lchild.appendChild(_limg)
  7212. let _lspan = document.createElement('span')
  7213. _lspan.innerHTML = "上传中..."
  7214. _lchild.appendChild(_lspan)
  7215. _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%);"
  7216. _loading.appendChild(_lchild)
  7217. var _box = $$('div', {
  7218. "style": {
  7219. "position": "relative",
  7220. "width": "100%",
  7221. "height": "100%",
  7222. },
  7223. })
  7224. _box.appendChild(_loading)
  7225. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7226. switch (str) {
  7227. case "CocoPi":
  7228. aTool = 57;
  7229. _iframe = $$("iframe", {
  7230. "allowpaymentrequest": "allowpaymentrequest",
  7231. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7232. "webkitallowfullscreen": "",
  7233. "mozallowfullscreen": "",
  7234. "frameborder": "no",
  7235. "border": "0",
  7236. "scrolling ": "no",
  7237. "style": {
  7238. "cssText": "border:0;width:100%;height:100%"
  7239. },
  7240. "src": "https://pi.cocorobo.cn/"
  7241. })
  7242. _box.appendChild(_iframe);
  7243. _box.appendChild(_jie);
  7244. _formdiv = new U.UF.UI.form(
  7245. "CocoPi-" + _username,
  7246. _box, {
  7247. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7248. "style": {
  7249. "width": "90%",
  7250. "height": "90%",
  7251. "overflow": 'hidden'
  7252. },
  7253. "onresize": function() {}
  7254. }, {
  7255. closecallback: function() {}
  7256. }, {
  7257. "style": {
  7258. "height": "36px"
  7259. }
  7260. }).form; //创建窗体
  7261. _taskbar = {
  7262. "id": str + _formdiv.id,
  7263. "style": {
  7264. "backgroundImage": "url(/img/icon/cocopi.png)"
  7265. },
  7266. "name": "CocoPi",
  7267. "forms": _formdiv,
  7268. "click": function() {
  7269. U.MD.D.I.openApplication(str, obj, info);
  7270. }
  7271. }
  7272. break;
  7273. }
  7274. if (_iframe) {
  7275. if (str == 'CocoPi') {
  7276. _iframe = _formdiv.querySelector('iframe')
  7277. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7278. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7279. })
  7280. if (onloadListener) {
  7281. _iframe.contentDocument.location.reload()
  7282. } else {
  7283. _iframe.contentDocument.location.reload()
  7284. }
  7285. }
  7286. _jie.onclick = async() => {
  7287. let text = ''
  7288. if (aTool == 57) {
  7289. text = _iframe.contentWindow.getLoadXmlStr()
  7290. }
  7291. _loading.style.display = 'flex'
  7292. console.log(_loading);
  7293. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7294. _loading.style.display = 'none'
  7295. let _div = document.createElement('div')
  7296. _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;"
  7297. let _inner = document.createElement('div')
  7298. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7299. _inner.innerHTML = "上传成功"
  7300. _div.appendChild(_inner)
  7301. _iframe.contentWindow.window.document.body.appendChild(_div)
  7302. _div.onclick = () => {
  7303. _iframe.contentWindow.window.document.body.removeChild(_div)
  7304. }
  7305. setTimeout(() => {
  7306. _iframe.contentWindow.window.document.body.removeChild(_div)
  7307. }, 1000);
  7308. }, [], { "type": "POST", "withCredentials": true });
  7309. }
  7310. }
  7311. }
  7312. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7313. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7314. if (res.value[0].length > 0) {
  7315. if (atool == 57) {
  7316. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7317. }
  7318. } else {
  7319. if (atool == 57) {
  7320. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7321. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7322. }
  7323. }
  7324. }, [], { "type": "POST", "withCredentials": true });
  7325. }