DeskTop.js 440 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581
  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": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  195. ];
  196. U.MD.D.I.szulsDeskIcon = [
  197. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  198. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  207. ];
  208. U.MD.D.I.hanDeskIcon = [
  209. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  210. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  211. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  212. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  213. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  214. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  215. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  216. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  217. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  218. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  219. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  220. ];
  221. U.MD.D.I.GMteacherDeskIcon = [
  222. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  223. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  224. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  225. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  226. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  227. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  228. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  229. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  230. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  231. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  232. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  233. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  234. ];
  235. U.MD.D.I.GMstudentDeskIcon = [
  236. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  237. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  238. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  239. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  240. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  241. ];
  242. //北师大
  243. U.MD.D.I.BSDNSteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  245. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  246. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  251. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  252. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  253. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  254. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  255. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  256. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  257. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  258. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  259. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  260. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  261. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  262. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  263. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  264. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  265. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  266. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  267. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  268. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  269. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  270. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  271. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  272. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  273. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  274. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  275. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  276. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  277. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  278. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  279. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  280. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  281. ];
  282. //松山湖
  283. U.MD.D.I.SONGteacherDeskIcon = [
  284. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  285. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  286. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  287. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  288. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  289. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  290. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  291. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  292. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  293. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  294. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  295. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  296. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  297. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  298. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  299. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  300. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  301. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  302. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  303. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  304. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  305. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  306. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  307. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  308. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  309. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  310. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  311. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  312. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  313. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  314. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  315. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  316. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  317. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  318. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  319. ];
  320. U.MD.D.I.tcStudentDeskIcon = [
  321. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  322. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  323. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  324. ];
  325. U.MD.D.I.tcTeacherDeskIcon = [
  326. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  327. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  328. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  329. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  330. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  331. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  332. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  333. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  334. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  335. ];
  336. U.MD.D.I.tcOrganizerDeskIcon = [
  337. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  338. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  339. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  341. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  342. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  343. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  344. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  345. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  346. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  347. ];
  348. U.MD.D.I.szscStudentDeskIcon = [
  349. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. ];
  354. U.MD.D.I.szscTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  359. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. ];
  366. U.MD.D.I.szscOrganizerDeskIcon = [
  367. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  370. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  371. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  372. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  373. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  374. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  375. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  376. ];
  377. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  378. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  379. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  380. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  381. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  382. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  385. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  386. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  387. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  388. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  389. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  390. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  391. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  392. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  393. ];
  394. U.MD.D.I.wankeAdminDeskIcon = [
  395. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  396. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  397. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  399. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  400. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  401. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  402. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  403. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  404. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  405. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  406. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  407. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  408. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  409. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  410. ];
  411. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  412. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  413. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  414. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  415. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  416. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  417. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  418. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  419. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  420. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  421. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  422. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  423. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  424. ];
  425. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  426. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  427. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  428. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  429. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  430. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  431. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  432. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  433. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  434. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  435. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  436. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  437. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  438. ];
  439. //明德教师桌面图标的全局变量
  440. U.MD.D.I.MingdeTeacherDeskIcon = [
  441. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  442. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  443. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  444. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  445. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  446. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  447. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  448. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  449. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  450. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  451. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  452. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  453. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  454. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  455. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  456. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  457. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  458. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  459. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  460. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  461. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  462. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  463. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  464. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  465. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  466. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  467. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  468. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  471. ];
  472. //97c4ee8b-d010-4042-986d-e9d3c217264f
  473. //教师桌面图标的全局变量
  474. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  475. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  482. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  485. ];
  486. //福田
  487. U.MD.D.I.futianTeacherDeskIcon = [
  488. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  489. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  497. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  498. ];
  499. //福田
  500. U.MD.D.I.futianAdminDeskIcon = [
  501. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  502. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  503. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  504. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  505. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  506. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  507. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  508. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  509. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  510. ];
  511. //lotech
  512. U.MD.D.I.lotechTeacherDeskIcon = [
  513. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  514. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  515. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  516. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  517. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  518. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //龙华中心小学教师桌面图标的全局变量
  523. U.MD.D.I.longhuateacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  531. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  532. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  533. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  534. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. ];
  537. //教科院实小教师桌面图标的全局变量
  538. U.MD.D.I.siesteacherDeskIcon = [
  539. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  540. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  541. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  542. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  546. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  547. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  548. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  549. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  552. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  553. ];
  554. //教科院实小教师桌面图标的全局变量
  555. U.MD.D.I.siesStudentDeskIcon = [
  556. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  558. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  559. ];
  560. //福田
  561. U.MD.D.I.gdjgTeacherDeskIcon = [
  562. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  563. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  564. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  565. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  566. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  567. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  570. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  571. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  572. ];
  573. //gdjg
  574. U.MD.D.I.gdjgAdminDeskIcon = [
  575. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  576. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  582. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. ];
  585. //hk
  586. U.MD.D.I.hkteacherDeskIcon = [
  587. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  588. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  589. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  590. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  591. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  594. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  595. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  596. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  597. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  598. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  599. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  600. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  601. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  602. ];
  603. //hk
  604. U.MD.D.I.hkStudentDeskIcon = [
  605. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  606. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  607. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  608. ];
  609. //香海正覺蓮社佛教正覺中學
  610. U.MD.D.I.hkZJLSteacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. ];
  626. //香海正覺蓮社佛教正覺中學
  627. U.MD.D.I.hkZJLSStudentDeskIcon = [
  628. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. ];
  632. //云海
  633. U.MD.D.I.yunhaiTeacherDeskIcon = [
  634. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  635. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  637. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  641. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  642. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  643. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  644. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  645. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  646. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  647. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  648. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  649. ];
  650. //福田
  651. U.MD.D.I.heyuanTeacherDeskIcon = [
  652. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  653. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  654. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  655. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  656. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  657. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  658. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  659. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  660. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  661. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. ];
  663. //福田
  664. U.MD.D.I.heyuanAdminDeskIcon = [
  665. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  666. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  667. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  668. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  669. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  670. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  671. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  672. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  673. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  674. ];
  675. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  676. U.MD.D.I.szherTeacherDeskIcon = [
  677. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  680. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  681. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  682. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  683. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  684. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  686. ];
  687. //dsei
  688. U.MD.D.I.dseiTeacherDeskIcon = [
  689. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  690. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  691. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  692. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  693. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  694. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  695. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  696. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  697. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  698. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  699. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  700. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  701. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  702. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  703. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  704. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  705. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  706. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  707. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  708. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  709. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  710. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  711. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  712. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  713. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  714. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  715. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  716. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  717. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  718. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  719. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  720. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  721. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  722. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  723. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  724. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  725. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  726. ];
  727. //dsei
  728. U.MD.D.I.dseiAdminDeskIcon = [
  729. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  730. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  732. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  733. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  734. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  735. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  736. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  737. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  738. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  739. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  740. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  741. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  742. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  743. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  744. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  745. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  746. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  747. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  748. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  749. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  750. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  751. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  752. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  753. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  754. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  755. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  756. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  757. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  758. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  759. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  760. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  761. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  762. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  763. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  764. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  765. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  766. ];
  767. //dsei
  768. U.MD.D.I.dseiStudentDeskIcon = [
  769. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  770. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  771. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  772. ];
  773. //未来教育基地
  774. U.MD.D.I.szjkyTeacherDeskIcon = [
  775. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  776. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  777. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  778. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  779. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  780. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  781. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  782. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  783. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  784. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  785. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  786. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  788. ];
  789. //未来教育基地
  790. U.MD.D.I.szjkyAdminDeskIcon = [
  791. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  792. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  793. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  794. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  795. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  796. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  797. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  798. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  799. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  800. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  801. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  802. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  803. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  804. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  805. ];
  806. //未来教育基地
  807. U.MD.D.I.szjkyStudentDeskIcon = [
  808. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  809. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  810. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  811. ];
  812. //成华教育局
  813. U.MD.D.I.chjyjTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. ];
  827. //成华教育局chjyj
  828. U.MD.D.I.chjyjAdminDeskIcon = [
  829. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  832. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  833. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  834. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  835. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  836. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  837. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  838. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  839. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  840. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  841. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  842. ];
  843. //成华教育局chjyj
  844. U.MD.D.I.chjyjStudentDeskIcon = [
  845. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  846. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  847. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  848. ];
  849. //#region 桌面初始化a
  850. /**
  851. * 初始化桌面的起始函数
  852. *
  853. */
  854. U.MD.D.I.init = function() {
  855. if ($("#U_MD_D_K")[0]) {
  856. //初始化桌面图标
  857. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  858. // var clickUrl = ':12588/requestIp.php';
  859. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  860. // U.MD.D.I.Ip = data;
  861. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  862. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  863. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  864. // })
  865. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  866. // })
  867. }
  868. }
  869. /**
  870. * 模式切换
  871. *
  872. */
  873. U.MD.D.I.ModeCheck = function(type) {
  874. if (US.Config.type == type) {
  875. return
  876. }
  877. US.Config.type = type
  878. $('.U_PBL_Check .active')[0].className = ''
  879. if (type == 1) {
  880. $('.U_PBL_Check div')[0].className = 'active'
  881. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  882. } else {
  883. $('.U_PBL_Check div')[1].className = 'active'
  884. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  885. }
  886. //初始化桌面图标
  887. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  888. if (type == 2) {
  889. U.MD.D.I.openApplication("project")
  890. }
  891. }
  892. /**
  893. * 隐藏任务栏
  894. *
  895. * @param {element} 桌面元素
  896. */
  897. U.MD.D.I.hiddenTaskbar = function(el) {
  898. //任务栏位置变小
  899. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  900. //桌面的位置变大
  901. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  902. }
  903. /**
  904. * 隐藏任务栏
  905. *
  906. * @param {element} 桌面元素
  907. */
  908. U.MD.D.I.hiddenTaskbarout = function(el) {
  909. //任务栏位置变小
  910. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  911. //任务栏位置变化
  912. U.selectEl(el).css({ "bottom": "-60px" });
  913. //桌面的位置变大
  914. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  915. }
  916. }
  917. /**
  918. * 初始化打印桌面图标
  919. *
  920. * @param {element} 桌面元素
  921. */
  922. U.MD.D.I.initDesktopIcons = function(el, type) {
  923. var i, //用于循环
  924. _content, //桌面图标元素
  925. _iconcontent, //桌面图标元素
  926. _frag = $$("frag"), //定义一个碎片元素
  927. _type = US.userInfo.type,
  928. _org = US.userInfo.org,
  929. _oid = US.userInfo.organizeid,
  930. _role = US.userInfo.role,
  931. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  932. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  933. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  934. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  935. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  936. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  937. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  938. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  939. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  940. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  941. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  942. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  943. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  944. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  945. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  946. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  947. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  948. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  949. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  950. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  951. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  952. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  953. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  954. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  955. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  956. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  957. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  958. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  959. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  960. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  961. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  962. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  963. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  964. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  965. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  966. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  967. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  968. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  969. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  970. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  971. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  972. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  973. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  974. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  975. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  976. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  977. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  978. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  979. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  980. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  981. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  982. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  983. 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'];
  984. 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'];
  985. //清楚桌面图标
  986. el.innerHTML = "";
  987. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  988. _teacherDesktopIconInfo.push(
  989. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  990. { "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)" } },
  991. )
  992. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  993. }
  994. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  995. _teacherDesktopIconInfo.push(
  996. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  997. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  998. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  999. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1000. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1001. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1002. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1003. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1004. )
  1005. }
  1006. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1007. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1008. if (el.Name == '项目管理') {
  1009. el.Name = 'PBL项目'
  1010. }
  1011. return el
  1012. })
  1013. }
  1014. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1015. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1016. return el.Name != '魔盒识字' && el.Name != '24点'
  1017. })
  1018. }
  1019. 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) {
  1020. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1021. }
  1022. //循环创建桌面图标
  1023. if (type == 1) {
  1024. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1025. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1026. _content = $$("div", {
  1027. className: "U_MD_D_KO",
  1028. "onmousedown": U.UF.C.closure(function(obj) {
  1029. //防止拖动图标即打开了桌面应用
  1030. U.MD.D.click(this, obj);
  1031. }, [_studentDesktopIconInfo[i]]),
  1032. "onclick": U.UF.C.closure(function(obj) {
  1033. //防止拖动图标即打开了桌面应用
  1034. U.MD.D.click(this, obj);
  1035. }, [_studentDesktopIconInfo[i]])
  1036. }, _frag); //
  1037. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1038. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1039. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1040. }
  1041. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1042. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1043. _content = $$("div", {
  1044. className: "U_MD_D_KO",
  1045. "onmousedown": U.UF.C.closure(function(obj) {
  1046. //防止拖动图标即打开了桌面应用
  1047. U.MD.D.click(this, obj);
  1048. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1049. "onclick": U.UF.C.closure(function(obj) {
  1050. //防止拖动图标即打开了桌面应用
  1051. U.MD.D.click(this, obj);
  1052. }, [_hkZJLSStudentDeskIconInfo[i]])
  1053. }, _frag); //
  1054. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1055. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1056. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1057. } //
  1058. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1059. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1060. _content = $$("div", {
  1061. className: "U_MD_D_KO",
  1062. "onmousedown": U.UF.C.closure(function(obj) {
  1063. //防止拖动图标即打开了桌面应用
  1064. U.MD.D.click(this, obj);
  1065. }, [_chjyjStudentDeskIconInfo[i]]),
  1066. "onclick": U.UF.C.closure(function(obj) {
  1067. //防止拖动图标即打开了桌面应用
  1068. U.MD.D.click(this, obj);
  1069. }, [_chjyjStudentDeskIconInfo[i]])
  1070. }, _frag); //
  1071. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1072. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1073. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1074. }
  1075. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1076. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1077. _content = $$("div", {
  1078. className: "U_MD_D_KO",
  1079. "onmousedown": U.UF.C.closure(function(obj) {
  1080. //防止拖动图标即打开了桌面应用
  1081. U.MD.D.click(this, obj);
  1082. }, [_szjkyStudentDeskIconInfo[i]]),
  1083. "onclick": U.UF.C.closure(function(obj) {
  1084. //防止拖动图标即打开了桌面应用
  1085. U.MD.D.click(this, obj);
  1086. }, [_szjkyStudentDeskIconInfo[i]])
  1087. }, _frag); //
  1088. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1089. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1090. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1091. }
  1092. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1093. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1094. _content = $$("div", {
  1095. className: "U_MD_D_KO",
  1096. "onmousedown": U.UF.C.closure(function(obj) {
  1097. //防止拖动图标即打开了桌面应用
  1098. U.MD.D.click(this, obj);
  1099. }, [_dseiStudentDeskIconInfo[i]]),
  1100. "onclick": U.UF.C.closure(function(obj) {
  1101. //防止拖动图标即打开了桌面应用
  1102. U.MD.D.click(this, obj);
  1103. }, [_dseiStudentDeskIconInfo[i]])
  1104. }, _frag); //
  1105. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1106. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1107. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1108. }
  1109. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1110. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1111. _content = $$("div", {
  1112. className: "U_MD_D_KO",
  1113. "onmousedown": U.UF.C.closure(function(obj) {
  1114. //防止拖动图标即打开了桌面应用
  1115. U.MD.D.click(this, obj);
  1116. }, [_siesStudentDeskIconInfo[i]]),
  1117. "onclick": U.UF.C.closure(function(obj) {
  1118. //防止拖动图标即打开了桌面应用
  1119. U.MD.D.click(this, obj);
  1120. }, [_siesStudentDeskIconInfo[i]])
  1121. }, _frag); //
  1122. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1123. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1124. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1125. }
  1126. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1127. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1128. _content = $$("div", {
  1129. className: "U_MD_D_KO",
  1130. "onmousedown": U.UF.C.closure(function(obj) {
  1131. //防止拖动图标即打开了桌面应用
  1132. U.MD.D.click(this, obj);
  1133. }, [_hkStudentDeskIconInfo[i]]),
  1134. "onclick": U.UF.C.closure(function(obj) {
  1135. //防止拖动图标即打开了桌面应用
  1136. U.MD.D.click(this, obj);
  1137. }, [_hkStudentDeskIconInfo[i]])
  1138. }, _frag); //
  1139. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1140. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1141. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1142. }
  1143. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1144. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1145. _content = $$("div", {
  1146. className: "U_MD_D_KO",
  1147. "onmousedown": U.UF.C.closure(function(obj) {
  1148. //防止拖动图标即打开了桌面应用
  1149. U.MD.D.click(this, obj);
  1150. }, [_studentDesktopIconInfo[i]]),
  1151. "onclick": U.UF.C.closure(function(obj) {
  1152. //防止拖动图标即打开了桌面应用
  1153. U.MD.D.click(this, obj);
  1154. }, [_studentDesktopIconInfo[i]])
  1155. }, _frag); //
  1156. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1157. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1158. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1159. }
  1160. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1161. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1162. _content = $$("div", {
  1163. className: "U_MD_D_KO",
  1164. "onmousedown": U.UF.C.closure(function(obj) {
  1165. //防止拖动图标即打开了桌面应用
  1166. U.MD.D.click(this, obj);
  1167. }, [_tcStudentDeskIconInfo[i]]),
  1168. "onclick": U.UF.C.closure(function(obj) {
  1169. //防止拖动图标即打开了桌面应用
  1170. U.MD.D.click(this, obj);
  1171. }, [_tcStudentDeskIconInfo[i]])
  1172. }, _frag); //
  1173. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1174. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1175. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1176. }
  1177. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1178. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1179. _content = $$("div", {
  1180. className: "U_MD_D_KO",
  1181. "onmousedown": U.UF.C.closure(function(obj) {
  1182. //防止拖动图标即打开了桌面应用
  1183. U.MD.D.click(this, obj);
  1184. }, [_szscStudentDeskIconInfo[i]]),
  1185. "onclick": U.UF.C.closure(function(obj) {
  1186. //防止拖动图标即打开了桌面应用
  1187. U.MD.D.click(this, obj);
  1188. }, [_szscStudentDeskIconInfo[i]])
  1189. }, _frag); //
  1190. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1191. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1192. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1193. }
  1194. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1195. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1196. _content = $$("div", {
  1197. className: "U_MD_D_KO",
  1198. "onmousedown": U.UF.C.closure(function(obj) {
  1199. //防止拖动图标即打开了桌面应用
  1200. U.MD.D.click(this, obj);
  1201. }, [_studentDesktopIconInfo3[i]]),
  1202. "onclick": U.UF.C.closure(function(obj) {
  1203. //防止拖动图标即打开了桌面应用
  1204. U.MD.D.click(this, obj);
  1205. }, [_studentDesktopIconInfo3[i]])
  1206. }, _frag); //
  1207. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1208. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1209. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1210. }
  1211. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1212. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1213. _content = $$("div", {
  1214. className: "U_MD_D_KO",
  1215. "onmousedown": U.UF.C.closure(function(obj) {
  1216. //防止拖动图标即打开了桌面应用
  1217. U.MD.D.click(this, obj);
  1218. }, [_studentDesktopIconInfo2[i]]),
  1219. "onclick": U.UF.C.closure(function(obj) {
  1220. //防止拖动图标即打开了桌面应用
  1221. U.MD.D.click(this, obj);
  1222. }, [_studentDesktopIconInfo2[i]])
  1223. }, _frag); //
  1224. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1225. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1226. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1227. }
  1228. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1229. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1230. _content = $$("div", {
  1231. className: "U_MD_D_KO",
  1232. "onmousedown": U.UF.C.closure(function(obj) {
  1233. //防止拖动图标即打开了桌面应用
  1234. U.MD.D.click(this, obj);
  1235. }, [_wanketeacherDesktopIconInfo[i]]),
  1236. "onclick": U.UF.C.closure(function(obj) {
  1237. //防止拖动图标即打开了桌面应用
  1238. U.MD.D.click(this, obj);
  1239. }, [_wanketeacherDesktopIconInfo[i]])
  1240. }, _frag); //
  1241. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1242. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1243. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1244. }
  1245. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1246. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1247. _content = $$("div", {
  1248. className: "U_MD_D_KO",
  1249. "onmousedown": U.UF.C.closure(function(obj) {
  1250. //防止拖动图标即打开了桌面应用
  1251. U.MD.D.click(this, obj);
  1252. }, [_wankeAdminDesktopIconInfo[i]]),
  1253. "onclick": U.UF.C.closure(function(obj) {
  1254. //防止拖动图标即打开了桌面应用
  1255. U.MD.D.click(this, obj);
  1256. }, [_wankeAdminDesktopIconInfo[i]])
  1257. }, _frag); //
  1258. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1259. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1260. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1261. }
  1262. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1263. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1264. _content = $$("div", {
  1265. className: "U_MD_D_KO",
  1266. "onmousedown": U.UF.C.closure(function(obj) {
  1267. //防止拖动图标即打开了桌面应用
  1268. U.MD.D.click(this, obj);
  1269. }, [_teacherDesktopIconInfo2[i]]),
  1270. "onclick": U.UF.C.closure(function(obj) {
  1271. //防止拖动图标即打开了桌面应用
  1272. U.MD.D.click(this, obj);
  1273. }, [_teacherDesktopIconInfo2[i]])
  1274. }, _frag); //
  1275. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1276. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1277. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1278. }
  1279. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1280. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1281. _content = $$("div", {
  1282. className: "U_MD_D_KO",
  1283. "onmousedown": U.UF.C.closure(function(obj) {
  1284. //防止拖动图标即打开了桌面应用
  1285. U.MD.D.click(this, obj);
  1286. }, [_lotechTeacherDeskIconInfo[i]]),
  1287. "onclick": U.UF.C.closure(function(obj) {
  1288. //防止拖动图标即打开了桌面应用
  1289. U.MD.D.click(this, obj);
  1290. }, [_lotechTeacherDeskIconInfo[i]])
  1291. }, _frag); //
  1292. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1293. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1294. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1295. }
  1296. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1297. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1298. _content = $$("div", {
  1299. className: "U_MD_D_KO",
  1300. "onmousedown": U.UF.C.closure(function(obj) {
  1301. //防止拖动图标即打开了桌面应用
  1302. U.MD.D.click(this, obj);
  1303. }, [_siesTeacherDeskIconInfo[i]]),
  1304. "onclick": U.UF.C.closure(function(obj) {
  1305. //防止拖动图标即打开了桌面应用
  1306. U.MD.D.click(this, obj);
  1307. }, [_siesTeacherDeskIconInfo[i]])
  1308. }, _frag); //
  1309. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1310. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1311. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1312. }
  1313. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1314. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1315. _content = $$("div", {
  1316. className: "U_MD_D_KO",
  1317. "onmousedown": U.UF.C.closure(function(obj) {
  1318. //防止拖动图标即打开了桌面应用
  1319. U.MD.D.click(this, obj);
  1320. }, [_longhuaTeacherDeskIconInfo[i]]),
  1321. "onclick": U.UF.C.closure(function(obj) {
  1322. //防止拖动图标即打开了桌面应用
  1323. U.MD.D.click(this, obj);
  1324. }, [_longhuaTeacherDeskIconInfo[i]])
  1325. }, _frag); //
  1326. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1327. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1328. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1329. }
  1330. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1331. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1332. _content = $$("div", {
  1333. className: "U_MD_D_KO",
  1334. "onmousedown": U.UF.C.closure(function(obj) {
  1335. //防止拖动图标即打开了桌面应用
  1336. U.MD.D.click(this, obj);
  1337. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1338. "onclick": U.UF.C.closure(function(obj) {
  1339. //防止拖动图标即打开了桌面应用
  1340. U.MD.D.click(this, obj);
  1341. }, [_yunhaiTeacherDeskIconInfo[i]])
  1342. }, _frag); //
  1343. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1344. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1345. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1346. } //_hkStudentDeskIconInfo
  1347. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1348. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1349. _content = $$("div", {
  1350. className: "U_MD_D_KO",
  1351. "onmousedown": U.UF.C.closure(function(obj) {
  1352. //防止拖动图标即打开了桌面应用
  1353. U.MD.D.click(this, obj);
  1354. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1355. "onclick": U.UF.C.closure(function(obj) {
  1356. //防止拖动图标即打开了桌面应用
  1357. U.MD.D.click(this, obj);
  1358. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1359. }, _frag); //
  1360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1363. }
  1364. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1365. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1366. _content = $$("div", {
  1367. className: "U_MD_D_KO",
  1368. "onmousedown": U.UF.C.closure(function(obj) {
  1369. //防止拖动图标即打开了桌面应用
  1370. U.MD.D.click(this, obj);
  1371. }, [_hkTeacherDeskIconInfo[i]]),
  1372. "onclick": U.UF.C.closure(function(obj) {
  1373. //防止拖动图标即打开了桌面应用
  1374. U.MD.D.click(this, obj);
  1375. }, [_hkTeacherDeskIconInfo[i]])
  1376. }, _frag); //
  1377. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1378. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1379. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1380. }
  1381. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1382. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1383. _content = $$("div", {
  1384. className: "U_MD_D_KO",
  1385. "onmousedown": U.UF.C.closure(function(obj) {
  1386. //防止拖动图标即打开了桌面应用
  1387. U.MD.D.click(this, obj);
  1388. }, [_gdjgAdminDeskIconInfo[i]]),
  1389. "onclick": U.UF.C.closure(function(obj) {
  1390. //防止拖动图标即打开了桌面应用
  1391. U.MD.D.click(this, obj);
  1392. }, [_gdjgAdminDeskIconInfo[i]])
  1393. }, _frag); //
  1394. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1395. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1396. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1397. }
  1398. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1399. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1400. _content = $$("div", {
  1401. className: "U_MD_D_KO",
  1402. "onmousedown": U.UF.C.closure(function(obj) {
  1403. //防止拖动图标即打开了桌面应用
  1404. U.MD.D.click(this, obj);
  1405. }, [_gdjgTeacherDeskIconInfo[i]]),
  1406. "onclick": U.UF.C.closure(function(obj) {
  1407. //防止拖动图标即打开了桌面应用
  1408. U.MD.D.click(this, obj);
  1409. }, [_gdjgTeacherDeskIconInfo[i]])
  1410. }, _frag); //
  1411. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1412. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1413. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1414. }
  1415. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1416. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1417. _content = $$("div", {
  1418. className: "U_MD_D_KO",
  1419. "onmousedown": U.UF.C.closure(function(obj) {
  1420. //防止拖动图标即打开了桌面应用
  1421. U.MD.D.click(this, obj);
  1422. }, [_szherTeacherDeskIconInfo[i]]),
  1423. "onclick": U.UF.C.closure(function(obj) {
  1424. //防止拖动图标即打开了桌面应用
  1425. U.MD.D.click(this, obj);
  1426. }, [_szherTeacherDeskIconInfo[i]])
  1427. }, _frag); //
  1428. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1429. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1430. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1431. }
  1432. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1433. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1434. _content = $$("div", {
  1435. className: "U_MD_D_KO",
  1436. "onmousedown": U.UF.C.closure(function(obj) {
  1437. //防止拖动图标即打开了桌面应用
  1438. U.MD.D.click(this, obj);
  1439. }, [_heyuannAdminDeskIconInfo[i]]),
  1440. "onclick": U.UF.C.closure(function(obj) {
  1441. //防止拖动图标即打开了桌面应用
  1442. U.MD.D.click(this, obj);
  1443. }, [_heyuannAdminDeskIconInfo[i]])
  1444. }, _frag); //
  1445. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1446. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1447. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1448. }
  1449. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1450. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1451. _content = $$("div", {
  1452. className: "U_MD_D_KO",
  1453. "onmousedown": U.UF.C.closure(function(obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_heyuanTeacherDeskIconInfo[i]]),
  1457. "onclick": U.UF.C.closure(function(obj) {
  1458. //防止拖动图标即打开了桌面应用
  1459. U.MD.D.click(this, obj);
  1460. }, [_heyuanTeacherDeskIconInfo[i]])
  1461. }, _frag); //
  1462. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1463. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1464. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1465. } //
  1466. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1467. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1468. _content = $$("div", {
  1469. className: "U_MD_D_KO",
  1470. "onmousedown": U.UF.C.closure(function(obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_dseiAdminDeskIconInfo[i]]),
  1474. "onclick": U.UF.C.closure(function(obj) {
  1475. //防止拖动图标即打开了桌面应用
  1476. U.MD.D.click(this, obj);
  1477. }, [_dseiAdminDeskIconInfo[i]])
  1478. }, _frag); //
  1479. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1480. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1481. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1482. }
  1483. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1484. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1485. _content = $$("div", {
  1486. className: "U_MD_D_KO",
  1487. "onmousedown": U.UF.C.closure(function(obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_dseiTeacherDeskIconInfo[i]]),
  1491. "onclick": U.UF.C.closure(function(obj) {
  1492. //防止拖动图标即打开了桌面应用
  1493. U.MD.D.click(this, obj);
  1494. }, [_dseiTeacherDeskIconInfo[i]])
  1495. }, _frag); //
  1496. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1497. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1498. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1499. } //
  1500. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1501. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1502. _content = $$("div", {
  1503. className: "U_MD_D_KO",
  1504. "onmousedown": U.UF.C.closure(function(obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_chjyjAdminDeskIconInfo[i]]),
  1508. "onclick": U.UF.C.closure(function(obj) {
  1509. //防止拖动图标即打开了桌面应用
  1510. U.MD.D.click(this, obj);
  1511. }, [_chjyjAdminDeskIconInfo[i]])
  1512. }, _frag); //
  1513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1516. }//
  1517. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1518. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1519. _content = $$("div", {
  1520. className: "U_MD_D_KO",
  1521. "onmousedown": U.UF.C.closure(function(obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_chjyjTeacherDeskIconInfo[i]]),
  1525. "onclick": U.UF.C.closure(function(obj) {
  1526. //防止拖动图标即打开了桌面应用
  1527. U.MD.D.click(this, obj);
  1528. }, [_chjyjTeacherDeskIconInfo[i]])
  1529. }, _frag); //
  1530. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1531. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1532. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1533. }
  1534. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1535. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1536. _content = $$("div", {
  1537. className: "U_MD_D_KO",
  1538. "onmousedown": U.UF.C.closure(function(obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_szjkyAdminDeskIconInfo[i]]),
  1542. "onclick": U.UF.C.closure(function(obj) {
  1543. //防止拖动图标即打开了桌面应用
  1544. U.MD.D.click(this, obj);
  1545. }, [_szjkyAdminDeskIconInfo[i]])
  1546. }, _frag); //
  1547. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1548. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1549. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1550. }//
  1551. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1552. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1553. _content = $$("div", {
  1554. className: "U_MD_D_KO",
  1555. "onmousedown": U.UF.C.closure(function(obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_szjkyTeacherDeskIconInfo[i]]),
  1559. "onclick": U.UF.C.closure(function(obj) {
  1560. //防止拖动图标即打开了桌面应用
  1561. U.MD.D.click(this, obj);
  1562. }, [_szjkyTeacherDeskIconInfo[i]])
  1563. }, _frag); //
  1564. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1565. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1566. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1567. }
  1568. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1569. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1570. _content = $$("div", {
  1571. className: "U_MD_D_KO",
  1572. "onmousedown": U.UF.C.closure(function(obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_futianAdminDeskIconInfo[i]]),
  1576. "onclick": U.UF.C.closure(function(obj) {
  1577. //防止拖动图标即打开了桌面应用
  1578. U.MD.D.click(this, obj);
  1579. }, [_futianAdminDeskIconInfo[i]])
  1580. }, _frag); //
  1581. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1582. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1583. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1584. }
  1585. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1586. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1587. _content = $$("div", {
  1588. className: "U_MD_D_KO",
  1589. "onmousedown": U.UF.C.closure(function(obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_futianTeacherDeskIconInfo[i]]),
  1593. "onclick": U.UF.C.closure(function(obj) {
  1594. //防止拖动图标即打开了桌面应用
  1595. U.MD.D.click(this, obj);
  1596. }, [_futianTeacherDeskIconInfo[i]])
  1597. }, _frag); //
  1598. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1599. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1600. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1601. }
  1602. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1603. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1604. _content = $$("div", {
  1605. className: "U_MD_D_KO",
  1606. "onmousedown": U.UF.C.closure(function(obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_MingdeTeacherDeskIcon[i]]),
  1610. "onclick": U.UF.C.closure(function(obj) {
  1611. //防止拖动图标即打开了桌面应用
  1612. U.MD.D.click(this, obj);
  1613. }, [_MingdeTeacherDeskIcon[i]])
  1614. }, _frag); //
  1615. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1616. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1617. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1618. }
  1619. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1620. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1621. _content = $$("div", {
  1622. className: "U_MD_D_KO",
  1623. "onmousedown": U.UF.C.closure(function(obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_lhsAdminDesktopIconInfo[i]]),
  1627. "onclick": U.UF.C.closure(function(obj) {
  1628. //防止拖动图标即打开了桌面应用
  1629. U.MD.D.click(this, obj);
  1630. }, [_lhsAdminDesktopIconInfo[i]])
  1631. }, _frag); //
  1632. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1633. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1634. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1635. }
  1636. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1637. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1638. _content = $$("div", {
  1639. className: "U_MD_D_KO",
  1640. "onmousedown": U.UF.C.closure(function(obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_lhsteacherDesktopIconInfo[i]]),
  1644. "onclick": U.UF.C.closure(function(obj) {
  1645. //防止拖动图标即打开了桌面应用
  1646. U.MD.D.click(this, obj);
  1647. }, [_lhsteacherDesktopIconInfo[i]])
  1648. }, _frag); //
  1649. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1650. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1651. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1652. }
  1653. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1654. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1655. _content = $$("div", {
  1656. className: "U_MD_D_KO",
  1657. "onmousedown": U.UF.C.closure(function(obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1661. "onclick": U.UF.C.closure(function(obj) {
  1662. //防止拖动图标即打开了桌面应用
  1663. U.MD.D.click(this, obj);
  1664. }, [_zhoujiateacherDesktopIconInfo[i]])
  1665. }, _frag); //
  1666. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1667. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1668. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1669. }
  1670. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1671. for (i = 0; i < _hanDeskIcon.length; i++) {
  1672. _content = $$("div", {
  1673. className: "U_MD_D_KO",
  1674. "onmousedown": U.UF.C.closure(function(obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_hanDeskIcon[i]]),
  1678. "onclick": U.UF.C.closure(function(obj) {
  1679. //防止拖动图标即打开了桌面应用
  1680. U.MD.D.click(this, obj);
  1681. }, [_hanDeskIcon[i]])
  1682. }, _frag); //
  1683. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1684. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1685. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1686. }
  1687. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1688. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1689. _content = $$("div", {
  1690. className: "U_MD_D_KO",
  1691. "onmousedown": U.UF.C.closure(function(obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_orgStemDeskIcon[i]]),
  1695. "onclick": U.UF.C.closure(function(obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_orgStemDeskIcon[i]])
  1699. }, _frag); //
  1700. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1701. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1702. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1703. }
  1704. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1705. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1706. _content = $$("div", {
  1707. className: "U_MD_D_KO",
  1708. "onmousedown": U.UF.C.closure(function(obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_szulsDeskIcon[i]]),
  1712. "onclick": U.UF.C.closure(function(obj) {
  1713. //防止拖动图标即打开了桌面应用
  1714. U.MD.D.click(this, obj);
  1715. }, [_szulsDeskIcon[i]])
  1716. }, _frag); //
  1717. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1718. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1719. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1720. }
  1721. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1722. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1723. _content = $$("div", {
  1724. className: "U_MD_D_KO",
  1725. "onmousedown": U.UF.C.closure(function(obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_orgDesktopIconInfo[i]]),
  1729. "onclick": U.UF.C.closure(function(obj) {
  1730. //防止拖动图标即打开了桌面应用
  1731. U.MD.D.click(this, obj);
  1732. }, [_orgDesktopIconInfo[i]])
  1733. }, _frag); //
  1734. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1735. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1736. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1737. }
  1738. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1739. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1740. _content = $$("div", {
  1741. className: "U_MD_D_KO",
  1742. "onmousedown": U.UF.C.closure(function(obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_schoolDesktopIconInfo[i]]),
  1746. "onclick": U.UF.C.closure(function(obj) {
  1747. //防止拖动图标即打开了桌面应用
  1748. U.MD.D.click(this, obj);
  1749. }, [_schoolDesktopIconInfo[i]])
  1750. }, _frag); //
  1751. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1752. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1753. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1754. }
  1755. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1756. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1757. _content = $$("div", {
  1758. className: "U_MD_D_KO",
  1759. "onmousedown": U.UF.C.closure(function(obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_GMteacherDesktopIconInfo[i]]),
  1763. "onclick": U.UF.C.closure(function(obj) {
  1764. //防止拖动图标即打开了桌面应用
  1765. U.MD.D.click(this, obj);
  1766. }, [_GMteacherDesktopIconInfo[i]])
  1767. }, _frag); //
  1768. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1769. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1770. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1771. }
  1772. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1773. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1774. _content = $$("div", {
  1775. className: "U_MD_D_KO",
  1776. "onmousedown": U.UF.C.closure(function(obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_SONGteacherDesktopIconInfo[i]]),
  1780. "onclick": U.UF.C.closure(function(obj) {
  1781. //防止拖动图标即打开了桌面应用
  1782. U.MD.D.click(this, obj);
  1783. }, [_SONGteacherDesktopIconInfo[i]])
  1784. }, _frag); //
  1785. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1786. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1787. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1788. }
  1789. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1790. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1791. _content = $$("div", {
  1792. className: "U_MD_D_KO",
  1793. "onmousedown": U.UF.C.closure(function(obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_GMstudentDesktopIconInfo[i]]),
  1797. "onclick": U.UF.C.closure(function(obj) {
  1798. //防止拖动图标即打开了桌面应用
  1799. U.MD.D.click(this, obj);
  1800. }, [_GMstudentDesktopIconInfo[i]])
  1801. }, _frag); //
  1802. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1803. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1804. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1805. }
  1806. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1807. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1808. _content = $$("div", {
  1809. className: "U_MD_D_KO",
  1810. "onmousedown": U.UF.C.closure(function(obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_tcTeacherDeskIconInfo[i]]),
  1814. "onclick": U.UF.C.closure(function(obj) {
  1815. //防止拖动图标即打开了桌面应用
  1816. U.MD.D.click(this, obj);
  1817. }, [_tcTeacherDeskIconInfo[i]])
  1818. }, _frag); //
  1819. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1820. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1821. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1822. }
  1823. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1824. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1825. _content = $$("div", {
  1826. className: "U_MD_D_KO",
  1827. "onmousedown": U.UF.C.closure(function(obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_tcOrganizerDeskIconInfo[i]]),
  1831. "onclick": U.UF.C.closure(function(obj) {
  1832. //防止拖动图标即打开了桌面应用
  1833. U.MD.D.click(this, obj);
  1834. }, [_tcOrganizerDeskIconInfo[i]])
  1835. }, _frag); //
  1836. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1837. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1838. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1839. }
  1840. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1841. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1842. _content = $$("div", {
  1843. className: "U_MD_D_KO",
  1844. "onmousedown": U.UF.C.closure(function(obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_szscTeacherDeskIconInfo[i]]),
  1848. "onclick": U.UF.C.closure(function(obj) {
  1849. //防止拖动图标即打开了桌面应用
  1850. U.MD.D.click(this, obj);
  1851. }, [_szscTeacherDeskIconInfo[i]])
  1852. }, _frag); //
  1853. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1854. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1855. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1856. }
  1857. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1858. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1859. _content = $$("div", {
  1860. className: "U_MD_D_KO",
  1861. "onmousedown": U.UF.C.closure(function(obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_szscOrganizerDeskIconInfo[i]]),
  1865. "onclick": U.UF.C.closure(function(obj) {
  1866. //防止拖动图标即打开了桌面应用
  1867. U.MD.D.click(this, obj);
  1868. }, [_szscOrganizerDeskIconInfo[i]])
  1869. }, _frag); //
  1870. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1871. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1872. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1873. }
  1874. } else {
  1875. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1876. _content = $$("div", {
  1877. className: "U_MD_D_KO",
  1878. "onmousedown": U.UF.C.closure(function(obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_teacherDesktopIconInfo[i]]),
  1882. "onclick": U.UF.C.closure(function(obj) {
  1883. //防止拖动图标即打开了桌面应用
  1884. U.MD.D.click(this, obj);
  1885. }, [_teacherDesktopIconInfo[i]])
  1886. }, _frag); //
  1887. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1888. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1889. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1890. }
  1891. }
  1892. } else {
  1893. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1894. _content = $$("div", {
  1895. className: "U_MD_D_KO",
  1896. style: { 'width': '124px', 'height': '145px' },
  1897. "onmousedown": U.UF.C.closure(function(obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_easyDesktopIconInfo[i]]),
  1901. "onclick": U.UF.C.closure(function(obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_easyDesktopIconInfo[i]])
  1905. }, _frag); //
  1906. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1907. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1908. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1909. }
  1910. }
  1911. if (type == 1) {
  1912. //加载好后给图标定位
  1913. U.MD.D.iconPostion($(_frag).Child());
  1914. } else {
  1915. //加载好后给图标定位
  1916. U.MD.D.iconPostion2($(_frag).Child());
  1917. }
  1918. //把图标加载到页面
  1919. el.appendChild(_frag);
  1920. }
  1921. /**
  1922. * 显示任务栏
  1923. *
  1924. * @param {element} 桌面元素
  1925. */
  1926. U.MD.D.I.displayTaskbar = function(el) {
  1927. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1928. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1929. //任务栏位置变化
  1930. U.selectEl(el).css({ "bottom": "0px" });
  1931. //桌面位置变话
  1932. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1933. }
  1934. }
  1935. //#region 桌面图标拖动逻辑
  1936. /**
  1937. * 桌面排列图标
  1938. *
  1939. * @param {element} 桌面元素
  1940. * @param {object} 上下相距的距离
  1941. * @param {object} 左右相距的距离
  1942. * @return {object} 命名空间
  1943. */
  1944. U.MD.D.iconPostion = function(childs, top, left) {
  1945. var i; //用于循环处理
  1946. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1947. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1948. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1949. for (i = 0; i < childs.length; i++) {
  1950. //如果竖排top超过了范围处理
  1951. if (top + 95 > US.height - 10) {
  1952. //left超过了页面范围处理,则向上重叠打印处理
  1953. if ((left + 180) > US.width) {
  1954. top -= 110;
  1955. left -= 90;
  1956. }
  1957. //没有超过范围,那么left+90添加到下一个竖排打印
  1958. else {
  1959. left += 90;
  1960. top = 15;
  1961. };
  1962. }
  1963. //给图标的位置赋值
  1964. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1965. if (i < childs.length - 1) {
  1966. //页面图标每次向下加95
  1967. top += 95;
  1968. }
  1969. }
  1970. //返回最后调用的图标的位置
  1971. return [top, left];
  1972. }
  1973. /**
  1974. * 桌面排列图标
  1975. *
  1976. * @param {element} 桌面元素
  1977. * @param {object} 上下相距的距离
  1978. * @param {object} 左右相距的距离
  1979. * @return {object} 命名空间
  1980. */
  1981. U.MD.D.iconPostion2 = function(childs, top, left) {
  1982. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1983. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1984. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1985. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1986. for (i = 0; i < childs.length; i++) {
  1987. //如果竖排top超过了范围处理
  1988. if (left + 150 > US.width - 10) {
  1989. //left超过了页面范围处理,则向上重叠打印处理
  1990. if ((top + 180) > US.Height) {
  1991. top -= 150;
  1992. left -= 150;
  1993. }
  1994. //没有超过范围,那么left+90添加到下一个竖排打印
  1995. else {
  1996. top += 150;
  1997. left = ol;
  1998. };
  1999. }
  2000. //给图标的位置赋值
  2001. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2002. if (i < childs.length - 1) {
  2003. //页面图标每次向下加95
  2004. left += 150;
  2005. }
  2006. }
  2007. //返回最后调用的图标的位置
  2008. return [top, left];
  2009. }
  2010. /**
  2011. * 桌面点击事件逻辑
  2012. *
  2013. * @param {element} 桌面元素
  2014. * @param {object} 上下相距的距离
  2015. * @param {object} 左右相距的距离
  2016. * @return {object} 命名空间
  2017. */
  2018. U.MD.D.click = function(el, obj) {
  2019. var _buttonnumber = event.button; //点击的按钮的事件值
  2020. var _userinfo = US.userInfo;
  2021. U.UF.EV.stopBubble(); //阻止向上冒泡
  2022. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2023. if (_buttonnumber < 2) {
  2024. //如果是click事件的处理
  2025. if (event.type == "click") {
  2026. //如果元素在mousemove事件中没有移动则出发click事件
  2027. if (!U.MD.D.I.IsDrag) {
  2028. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2029. U.alert("请先登录您的账号!");
  2030. setTimeout(() => {
  2031. U.MD.U.L.login();
  2032. }, 2000);
  2033. } else {
  2034. //打开应用处理
  2035. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2036. }
  2037. }
  2038. }
  2039. //如果是mouse事件的处理
  2040. else {
  2041. if (US.Config.type == '1') {
  2042. //拖动处理,添加拖动和拖动结束事件
  2043. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2044. }
  2045. }
  2046. U.MD.D.I.IsDrag = false;
  2047. }
  2048. }
  2049. /**
  2050. * 拖动的处理
  2051. *
  2052. */
  2053. U.MD.D.iconMove = function() {
  2054. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2055. U.MD.D.I.IsDrag = true;
  2056. }
  2057. /**
  2058. * 拖动结束后,这里是定位处理,以网状的形式定位
  2059. *
  2060. * @param {element} 拖动的元素
  2061. * @return {object} 命名空间
  2062. */
  2063. U.MD.D.iconUp = function(el) {
  2064. var _top = 15,
  2065. _left = 20,
  2066. _margin,
  2067. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2068. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2069. if (_positioninfo["OT"] > 15) {
  2070. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2071. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2072. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2073. }
  2074. if (_positioninfo["OL"] > 20) {
  2075. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2076. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2077. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2078. }
  2079. //while循环判断么一个重叠的元素
  2080. do {
  2081. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2082. _top = _positioninfo[0] + 95; //得到定位后的top
  2083. _left = _positioninfo[1]; //得到定位后的left
  2084. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2085. }
  2086. /**
  2087. * 判断拖动后图标是否重叠
  2088. *
  2089. * @param {element} 拖动的元素
  2090. * @param {element} 桌面所有的元素
  2091. * @param {array} 拖动元素的位置
  2092. ----------[0] 上 top
  2093. ----------[1] 左 left
  2094. * @return {object} 命名空间
  2095. */
  2096. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2097. //循环所有的图标
  2098. for (var i = 0; i < childs.length; i++) {
  2099. //判断有没有和该图标诶子重叠的元素
  2100. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2101. return childs[i]; //如果有返回
  2102. }
  2103. }
  2104. }
  2105. //#endregion
  2106. //#endregion
  2107. //#region 桌面应用
  2108. /**
  2109. * 打开应用
  2110. *
  2111. * @param {string} 类型
  2112. -----------------Disk 网盘系统
  2113. -----------------PDisk 学习系统网盘
  2114. -----------------Poto 图片
  2115. -----------------Video 视频
  2116. -----------------Music 音乐
  2117. -----------------Word word
  2118. -----------------Excel excel
  2119. -----------------Txt 记事本
  2120. -----------------PB 学习系统
  2121. -----------------Blog 朋友圈系统
  2122. -----------------FTP ftp系统
  2123. -----------------Group 好友群
  2124. -----------------SY 首页系统
  2125. -----------------Set 个人设置
  2126. -----------------XSet 系统设置
  2127. -----------------App 我们所有的app
  2128. -----------------BC c.1473.cn 平台
  2129. -----------------CWeb d.1473.cn 变成平台
  2130. -----------------其他的外联系统 我们统一用iframe打开
  2131. * @param {array} 类型
  2132. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2133. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2134. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2135. 如果第一个参数为其他,则无第二个参数
  2136. * @returns {array}
  2137. */
  2138. window.addEventListener('message', function(e) { // 监听 message 事件
  2139. // alert(e.data.type);
  2140. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2141. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2142. //3是展示全部阶段 2学生 1老师 4专家
  2143. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2144. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2145. //3是展示全部阶段 2学生 1老师 4专家
  2146. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2147. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2148. //3是展示全部阶段 2学生 1老师 4专家
  2149. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2150. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2151. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2152. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2153. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2154. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2155. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2156. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2157. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2158. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2159. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2160. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2161. //3是展示全部阶段 2学生 1老师 4专家
  2162. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2163. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2164. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2165. U.MD.D.I.selectUser();
  2166. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2167. var _formel = document.getElementById("study");
  2168. U.UF.F.windowZooming(_formel);
  2169. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2170. var _formel = document.getElementById("studyDetail");
  2171. U.UF.F.windowZooming(_formel);
  2172. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2173. var _formel = document.getElementById("studyDetail");
  2174. U.UF.F.windowZooming(_formel);
  2175. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2176. var _formel = document.getElementById("studentStudy");
  2177. U.UF.F.windowZooming(_formel);
  2178. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2179. // var _formel = document.getElementById("study");
  2180. //如果最大化了,那么就把他缩小
  2181. // if (_formel.ismaximize) {
  2182. // return;
  2183. // }
  2184. // U.UF.F.windowZooming(_formel);
  2185. // U.UF.F.topWindow(_formel);
  2186. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2187. // var _formel = document.getElementById("studyDetail");
  2188. //如果最大化了,那么就把他缩小
  2189. // if (_formel.ismaximize) {
  2190. // return;
  2191. // }
  2192. // U.UF.F.windowZooming(_formel);
  2193. // U.UF.F.topWindow(_formel);
  2194. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2195. // var _formel = document.getElementById("studentStudy");
  2196. // if (_formel.ismaximize) {
  2197. // return;
  2198. // }
  2199. // U.UF.F.windowZooming(_formel);
  2200. // U.UF.F.topWindow(_formel);
  2201. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2202. var _formel = document.getElementById("study");
  2203. // if (_formel.ismaximize) {
  2204. // return;
  2205. // }
  2206. // U.UF.F.windowZooming(_formel);
  2207. U.UF.F.topWindow(_formel);
  2208. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2209. var _formel = document.getElementById("studentIndex");
  2210. U.UF.F.windowZooming(_formel);
  2211. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2212. var _formel = document.getElementById("studyDetailS");
  2213. U.UF.F.windowZooming(_formel);
  2214. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2215. var _formel = document.getElementById("studioIndex");
  2216. U.UF.F.windowZooming(_formel);
  2217. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2218. var _formel = document.getElementById("studyDetailStudio");
  2219. U.UF.F.windowZooming(_formel);
  2220. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2221. var _formel = document.getElementById("studyDetailStudio");
  2222. U.UF.F.windowZooming(_formel);
  2223. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2224. var _formel = document.getElementById("studyDetailNT");
  2225. U.UF.F.windowZooming(_formel);
  2226. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2227. var _formel = document.getElementById("studyDetailS");
  2228. U.UF.F.windowZooming(_formel);
  2229. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2230. var _formel = document.getElementById("studyDetailS");
  2231. U.UF.F.topWindow(_formel);
  2232. } else if (e.data.tools && e.data.tools == "1") {
  2233. // U.MD.D.I.openApplication("whiteboard")
  2234. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2235. } else if (e.data.tools && e.data.tools == "2") {
  2236. U.MD.D.I.openApplication("note")
  2237. } else if (e.data.tools && e.data.tools == "3") {
  2238. // U.MD.D.I.openApplication("mind")
  2239. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2240. } else if (e.data.tools && e.data.tools == "4") {
  2241. U.MD.D.I.openApplication("investigation")
  2242. } else if (e.data.tools && e.data.tools == "6") {
  2243. // U.MD.D.I.openApplication("doc")
  2244. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2245. } else if (e.data.tools && e.data.tools == "7") {
  2246. // U.MD.D.I.openApplication("mindNetwork")
  2247. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2248. } else if (e.data.tools && e.data.tools == "8") {
  2249. U.MD.D.I.openApplication("library")
  2250. } else if (e.data.tools && e.data.tools == "17") {
  2251. U.MD.D.I.openApplication("stuLibrary")
  2252. } else if (e.data.tools && e.data.tools == "18") {
  2253. U.MD.D.I.openApplication("train")
  2254. } else if (e.data.tools && e.data.tools == "21") {
  2255. U.MD.D.I.openApplication("program")
  2256. } else if (e.data.tools && e.data.tools == "22") {
  2257. U.MD.D.I.openApplication("AIprogram2")
  2258. } else if (e.data.tools && e.data.tools == "23") {
  2259. U.MD.D.I.openApplication("Pythonprogram")
  2260. } else if (e.data.tools && e.data.tools == "24") {
  2261. U.MD.D.I.openApplication("AIprogram")
  2262. } else if (e.data.tools && e.data.tools == "25") {
  2263. U.MD.D.I.openApplication("sys")
  2264. } else if (e.data.tools && e.data.tools == "26") {
  2265. // U.MD.D.I.openApplication("courseDesign")
  2266. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2267. } else if (e.data.tools && e.data.tools == "31") {
  2268. U.MD.D.I.openApplication("netWorkPanel")
  2269. } else if (e.data.tools && e.data.tools == "32") {
  2270. U.MD.D.I.openApplication("codeEdit")
  2271. } else if (e.data.tools && e.data.tools == "57") {
  2272. U.MD.D.I.openApplication("CocoPi")
  2273. } else if (e.data.tools && e.data.tools == "63") {
  2274. U.MD.D.I.openApplication("Wood")
  2275. } else if (e.data.tools && e.data.tools == "58") {
  2276. U.MD.D.I.openApplication("car")
  2277. } else if (e.data.tools && e.data.tools == "59") {
  2278. U.MD.D.I.openApplication("lineSearch")
  2279. } else if (e.data.tools && e.data.tools == "60") {
  2280. U.MD.D.I.openApplication("deepLearning")
  2281. } else if (e.data.tools && e.data.tools == "61") {
  2282. U.MD.D.I.openApplication("allHistory")
  2283. } else if (e.data.tools && e.data.tools == "28") {
  2284. U.MD.D.I.openApplication("translation")
  2285. } else if (e.data.tools && e.data.tools == "37") {
  2286. U.MD.D.I.openApplication("mohe")
  2287. } else if (e.data.tools && e.data.tools == "38") {
  2288. U.MD.D.I.openApplication("24game")
  2289. } else if (e.data.tools && e.data.tools == "39") {
  2290. U.MD.D.I.openApplication("GeoGebra")
  2291. } else if (e.data.tools && e.data.tools == "43") {
  2292. U.MD.D.I.openApplication("studentEvaluate")
  2293. } else if (e.data.tools && e.data.tools == "44") {
  2294. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2295. } else if (e.data.tools && e.data.tools == "46") {
  2296. U.MD.D.I.openApplication("project")
  2297. } else if (e.data.tools && e.data.tools == "1s") {
  2298. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2299. } else if (e.data.tools && e.data.tools == "3s") {
  2300. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2301. } else if (e.data.tools && e.data.tools == "6s") {
  2302. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2303. } else if (e.data.tools && e.data.tools == "1studio") {
  2304. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2305. } else if (e.data.tools && e.data.tools == "3studio") {
  2306. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2307. } else if (e.data.tools && e.data.tools == "6studio") {
  2308. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2309. } else if (e.data.tools && e.data.tools == "3y") {
  2310. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2311. } else if (e.data.tools && e.data.tools == "1y") {
  2312. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2313. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2314. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2315. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2316. U.MD.D.I.openApplication("AIAnalyse")
  2317. } else if (e.data.tools && e.data.tools == "1teacher") {
  2318. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2319. } else if (e.data.tools && e.data.tools == "3teacher") {
  2320. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2321. } else if (e.data.tools && e.data.tools == "7teacher") {
  2322. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2323. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2324. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2325. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2326. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2327. } else if (e.data.tools && e.data.tools == "1E") {
  2328. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2329. } else if (e.data.tools && e.data.tools == "3E") {
  2330. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2331. } else if (e.data.tools && e.data.tools == "57y") {
  2332. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2333. } else if (e.data.tools && e.data.tools == "57u") {
  2334. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2335. } else if (e.data.tools && e.data.tools == "57teacher") {
  2336. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2337. } else if (e.data.tools && e.data.tools == "64") {
  2338. U.MD.D.I.openApplication("AIChat")
  2339. } else if (e.data.tools && e.data.tools == "66") {
  2340. U.MD.D.I.openApplication("formulaEdi")
  2341. } else if (e.data.tools && e.data.tools == "67") {
  2342. U.MD.D.I.openApplication("molStr")
  2343. } else if (e.data.tools && e.data.tools == "68") {
  2344. U.MD.D.I.openApplication("timeAxis")
  2345. }
  2346. });
  2347. U.MD.D.I.selectUser = function() {
  2348. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2349. if (res.value[0].length > 0) {
  2350. US.userInfo = res.value[0][0];
  2351. $(".userName")[0].innerHTML = US.userInfo.username;
  2352. }
  2353. }, [], { "type": "GET", "withCredentials": true });
  2354. }
  2355. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2356. var _userinfo = US.userInfo, //登录用户信息
  2357. _userid = US.userInfo.userid, //登录用户id
  2358. _oid = _userinfo.organizeid,
  2359. _type = US.userInfo.type,
  2360. _org = US.userInfo.org,
  2361. _role = US.userInfo.role,
  2362. _classId = US.userInfo.classid;
  2363. if (_type == 4) {
  2364. tType = 4
  2365. }
  2366. switch (str) {
  2367. case "studyDetailNT": //无终端模式
  2368. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2369. setTimeout(() => {
  2370. U.MD.U.L.login();
  2371. }, 2000);
  2372. } else {
  2373. _formdiv = new U.UF.UI.form(
  2374. "课程详情",
  2375. $$("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 }), {
  2376. "id": "studyDetailNT",
  2377. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2378. "onresize": function() {}
  2379. }, {
  2380. closecallback: function() {}
  2381. }, { "style": { "height": "36px" } }).form; //创建窗体
  2382. _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); } }
  2383. break;
  2384. }
  2385. case "studyDetail":
  2386. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2387. setTimeout(() => {
  2388. U.MD.U.L.login();
  2389. }, 2000);
  2390. } else {
  2391. _formdiv = new U.UF.UI.form(
  2392. "课程详情",
  2393. $$("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 }), {
  2394. "id": "studyDetail",
  2395. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2396. "onresize": function() {}
  2397. }, {
  2398. closecallback: function() {}
  2399. }, { "style": { "height": "36px" } }).form; //创建窗体
  2400. _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); } }
  2401. break;
  2402. }
  2403. case "studyDetailS":
  2404. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2405. setTimeout(() => {
  2406. U.MD.U.L.login();
  2407. }, 2000);
  2408. } else {
  2409. _formdiv = new U.UF.UI.form(
  2410. "项目详情",
  2411. $$("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 }), {
  2412. "id": "studyDetailS",
  2413. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2414. "onresize": function() {}
  2415. }, {
  2416. closecallback: function() {}
  2417. }, { "style": { "height": "36px" } }).form; //创建窗体
  2418. _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); } }
  2419. break;
  2420. }
  2421. case "studyDetailStudio":
  2422. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2423. setTimeout(() => {
  2424. U.MD.U.L.login();
  2425. }, 2000);
  2426. } else {
  2427. _formdiv = new U.UF.UI.form(
  2428. "工作详情",
  2429. $$("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 }), {
  2430. "id": "studyDetailStudio",
  2431. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2432. "onresize": function() {}
  2433. }, {
  2434. closecallback: function() {}
  2435. }, { "style": { "height": "36px" } }).form; //创建窗体
  2436. _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); } }
  2437. break;
  2438. }
  2439. case "studyDetailS5":
  2440. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2441. setTimeout(() => {
  2442. U.MD.U.L.login();
  2443. }, 2000);
  2444. } else {
  2445. _formdiv = new U.UF.UI.form(
  2446. "项目详情",
  2447. $$("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 }), {
  2448. "id": "studyDetailS",
  2449. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2450. "onresize": function() {}
  2451. }, {
  2452. closecallback: function() {}
  2453. }, { "style": { "height": "36px" } }).form; //创建窗体
  2454. _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); } }
  2455. break;
  2456. }
  2457. case "studyDetailGM":
  2458. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2459. setTimeout(() => {
  2460. U.MD.U.L.login();
  2461. }, 2000);
  2462. } else {
  2463. _formdiv = new U.UF.UI.form(
  2464. "课程详情",
  2465. $$("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 }), {
  2466. "id": "studyDetail",
  2467. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2468. "onresize": function() {}
  2469. }, {
  2470. closecallback: function() {}
  2471. }, { "style": { "height": "36px" } }).form; //创建窗体
  2472. _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); } }
  2473. break;
  2474. }
  2475. case "hanUrl":
  2476. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2477. setTimeout(() => {
  2478. U.MD.U.L.login();
  2479. }, 2000);
  2480. } else {
  2481. _formdiv = new U.UF.UI.form(
  2482. "汉字宫",
  2483. $$("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" }), {
  2484. "id": "hanUrl",
  2485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2486. "onresize": function() {}
  2487. }, {
  2488. closecallback: function() {}
  2489. }, { "style": { "height": "36px" } }).form; //创建窗体
  2490. _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); } }
  2491. break;
  2492. }
  2493. }
  2494. }
  2495. U.MD.D.I.openApplication = function(str, obj, info) {
  2496. obj = obj || {};
  2497. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2498. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2499. _userinfo = US.userInfo, //登录用户信息
  2500. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2501. _oid = obj.organizeid || _userinfo.organizeid,
  2502. _type = US.userInfo.type,
  2503. _org = US.userInfo.org,
  2504. _role = US.userInfo.role,
  2505. _classId = US.userInfo.classid,
  2506. _TscreenType = 1
  2507. _screenType = 2,
  2508. _SscreenType = 3;
  2509. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2510. return;
  2511. }
  2512. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2513. switch (str) {
  2514. case "studnetProject": //好友打开
  2515. _formdiv = new U.UF.UI.form(
  2516. "我的项目",
  2517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2518. "id": "studnetProject",
  2519. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2520. "onresize": function() {}
  2521. }, {
  2522. closecallback: function() {}
  2523. }, { "style": { "height": "36px" } }).form; //创建窗体
  2524. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2525. break;
  2526. case "studentEvaluate": //好友打开
  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/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2530. "id": "studentEvaluate",
  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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2537. break;
  2538. case "my":
  2539. _formdiv = new U.UF.UI.form(
  2540. "我的资料",
  2541. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2542. "id": "my",
  2543. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2549. break;
  2550. case "program":
  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": "https://x.cocorobo.cn" }), {
  2554. "id": "program",
  2555. "style": { "width": "70%", "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 "library":
  2563. _formdiv = new U.UF.UI.form(
  2564. "素材库",
  2565. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2566. "id": "library",
  2567. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2568. "onresize": function() {}
  2569. }, {
  2570. closecallback: function() {}
  2571. }, { "style": { "height": "36px" } }).form; //创建窗体
  2572. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2573. break;
  2574. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  2578. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2585. break;
  2586. case "investigation":
  2587. _formdiv = new U.UF.UI.form(
  2588. "问卷调查",
  2589. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2590. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2597. break;
  2598. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  2602. "id": "note",
  2603. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2609. break;
  2610. // case "score":
  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 + "" }), {
  2614. // "id": "score",
  2615. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2616. // "onresize": function() {}
  2617. // }, {
  2618. // closecallback: function() {}
  2619. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2620. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2621. // break;
  2622. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2626. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2633. break;
  2634. case "doc":
  2635. // U.MD.D.I.isRoom();
  2636. _formdiv = new U.UF.UI.form(
  2637. "协同文档",
  2638. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2639. "id": "doc",
  2640. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2641. "onresize": function() {}
  2642. }, {
  2643. closecallback: function() {}
  2644. }, { "style": { "height": "36px" } }).form; //创建窗体
  2645. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2646. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2647. // })
  2648. _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); } }
  2649. break;
  2650. case "studentStudy":
  2651. _formdiv = new U.UF.UI.form(
  2652. "课程中心",
  2653. $$("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
  2654. "id": "studentStudy",
  2655. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2656. "onresize": function() {}
  2657. }, {
  2658. closecallback: function() {}
  2659. }, { "style": { "height": "36px" } }).form; //创建窗体
  2660. _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); } }
  2661. break;
  2662. case "train": //好友打开
  2663. _formdiv = new U.UF.UI.form(
  2664. "训练平台",
  2665. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2666. "id": "train",
  2667. "style": { "width": "90%", "height": "90%", "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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2673. break;
  2674. case "mindNetwork": //好友打开
  2675. _formdiv = new U.UF.UI.form(
  2676. "思维网格",
  2677. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  2678. "id": "mindNetwork",
  2679. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2680. "onresize": function() {}
  2681. }, {
  2682. closecallback: function() {}
  2683. }, { "style": { "height": "36px" } }).form; //创建窗体
  2684. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2685. break;
  2686. case "studentClassRoom": //好友打开
  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-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2690. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2697. setTimeout(() => {
  2698. U.UF.F.windowZooming(_formdiv)
  2699. }, 0);
  2700. break;
  2701. }
  2702. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2703. switch (str) {
  2704. case "studnetProject": //好友打开
  2705. _formdiv = new U.UF.UI.form(
  2706. "我的项目",
  2707. $$("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 }), {
  2708. "id": "studnetProject",
  2709. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2710. "onresize": function() {}
  2711. }, {
  2712. closecallback: function() {}
  2713. }, { "style": { "height": "36px" } }).form; //创建窗体
  2714. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2715. break;
  2716. case "studentEvaluate": //好友打开
  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/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2720. "id": "studentEvaluate",
  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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2727. break;
  2728. case "my":
  2729. _formdiv = new U.UF.UI.form(
  2730. "我的资料",
  2731. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2732. "id": "my",
  2733. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2739. break;
  2740. case "program":
  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": "https://x.cocorobo.cn" }), {
  2744. "id": "program",
  2745. "style": { "width": "70%", "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 "library":
  2753. _formdiv = new U.UF.UI.form(
  2754. "素材库",
  2755. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2756. "id": "library",
  2757. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2758. "onresize": function() {}
  2759. }, {
  2760. closecallback: function() {}
  2761. }, { "style": { "height": "36px" } }).form; //创建窗体
  2762. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2763. break;
  2764. case "whiteboard":
  2765. _formdiv = new U.UF.UI.form(
  2766. "电子白板",
  2767. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2768. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2775. break;
  2776. case "investigation":
  2777. _formdiv = new U.UF.UI.form(
  2778. "问卷调查",
  2779. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2780. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2787. break;
  2788. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  2792. "id": "note",
  2793. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2799. break;
  2800. // case "score":
  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 + "" }), {
  2804. // "id": "score",
  2805. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2806. // "onresize": function() {}
  2807. // }, {
  2808. // closecallback: function() {}
  2809. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2810. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2811. // break;
  2812. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2816. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2823. break;
  2824. case "doc":
  2825. // U.MD.D.I.isRoom();
  2826. _formdiv = new U.UF.UI.form(
  2827. "协同文档",
  2828. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2829. "id": "doc",
  2830. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2831. "onresize": function() {}
  2832. }, {
  2833. closecallback: function() {}
  2834. }, { "style": { "height": "36px" } }).form; //创建窗体
  2835. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2836. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2837. })
  2838. _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); } }
  2839. break;
  2840. case "train": //好友打开
  2841. _formdiv = new U.UF.UI.form(
  2842. "训练平台",
  2843. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2844. "id": "train",
  2845. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2846. "onresize": function() {}
  2847. }, {
  2848. closecallback: function() {}
  2849. }, { "style": { "height": "36px" } }).form; //创建窗体
  2850. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2851. break;
  2852. case "studentStudy":
  2853. _formdiv = new U.UF.UI.form(
  2854. "课程中心",
  2855. $$("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
  2856. "id": "studentStudy",
  2857. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2863. break;
  2864. case "mindNetwork": //好友打开
  2865. _formdiv = new U.UF.UI.form(
  2866. "思维网格",
  2867. $$("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 }), {
  2868. "id": "mindNetwork",
  2869. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2870. "onresize": function() {}
  2871. }, {
  2872. closecallback: function() {}
  2873. }, { "style": { "height": "36px" } }).form; //创建窗体
  2874. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2875. break;
  2876. case "studentClassRoom": //好友打开
  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-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2880. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2887. setTimeout(() => {
  2888. U.UF.F.windowZooming(_formdiv)
  2889. }, 0);
  2890. break;
  2891. }
  2892. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2893. //选择应用处理
  2894. switch (str) {
  2895. case "project": //好友打开
  2896. _formdiv = new U.UF.UI.form(
  2897. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2898. $$("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 }), {
  2899. "id": "project",
  2900. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2901. "onresize": function() {}
  2902. }, {
  2903. closecallback: function() {}
  2904. }, { "style": { "height": "36px" } }).form; //创建窗体
  2905. _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); } }
  2906. break;
  2907. case "student":
  2908. _formdiv = new U.UF.UI.form(
  2909. "学生管理",
  2910. $$("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 }), {
  2911. "id": "student",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2918. break;
  2919. case "evaluate":
  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/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2923. "id": "evaluate",
  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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2930. break;
  2931. case "sys":
  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/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2935. "id": "sys",
  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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2942. break;
  2943. case "courseDesign":
  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": "/course-design-vue" }), {
  2947. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2954. break;
  2955. case "program":
  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": "https://x.cocorobo.cn" }), {
  2959. "id": "program",
  2960. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2966. break;
  2967. case "class":
  2968. _formdiv = new U.UF.UI.form(
  2969. "班级管理",
  2970. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2971. "id": "class",
  2972. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2973. "onresize": function() {}
  2974. }, {
  2975. closecallback: function() {}
  2976. }, { "style": { "height": "36px" } }).form; //创建窗体
  2977. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2978. break;
  2979. case "Grade":
  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/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2983. "id": "Grade",
  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/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2990. break;
  2991. case "teacherOffice":
  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/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2995. "id": "teacherOffice",
  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/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3002. break;
  3003. case "my":
  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/#/data?userid=" + _userid + "&org=" + _org }), {
  3007. "id": "my",
  3008. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3009. "onresize": function() {}
  3010. }, {
  3011. closecallback: function() {}
  3012. }, { "style": { "height": "36px" } }).form; //创建窗体
  3013. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3014. break;
  3015. case "notice":
  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/#/notice?userid=" + _userid + "&org=" + _org }), {
  3019. "id": "notice",
  3020. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3021. "onresize": function() {}
  3022. }, {
  3023. closecallback: function() {}
  3024. }, { "style": { "height": "36px" } }).form; //创建窗体
  3025. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3026. break;
  3027. case "library":
  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/#/library?userid=" + _userid + "&org=" + _org }), {
  3031. "id": "library",
  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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3038. break;
  3039. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3043. "id": "whiteboard",
  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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3050. break;
  3051. case "investigation":
  3052. _formdiv = new U.UF.UI.form(
  3053. "问卷调查",
  3054. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3055. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3062. break;
  3063. case "note":
  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/#/note?userid=" + _userid + "&org=" + _org }), {
  3067. "id": "note",
  3068. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3074. break;
  3075. // case "score":
  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 + "" }), {
  3079. // "id": "score",
  3080. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3081. // "onresize": function() {}
  3082. // }, {
  3083. // closecallback: function() {}
  3084. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3085. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3086. // break;
  3087. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3091. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3098. break;
  3099. case "doc":
  3100. // U.MD.D.I.isRoom();
  3101. _formdiv = new U.UF.UI.form(
  3102. "协同文档",
  3103. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3104. "id": "doc",
  3105. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3106. "onresize": function() {}
  3107. }, {
  3108. closecallback: function() {}
  3109. }, { "style": { "height": "36px" } }).form; //创建窗体
  3110. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3111. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3112. })
  3113. _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); } }
  3114. break;
  3115. case "study":
  3116. _formdiv = new U.UF.UI.form(
  3117. "课程中心",
  3118. $$("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
  3119. "id": "study",
  3120. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3121. "onresize": function() {}
  3122. }, {
  3123. closecallback: function() {}
  3124. }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. _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); } }
  3126. break;
  3127. case "mindNetwork": //好友打开
  3128. _formdiv = new U.UF.UI.form(
  3129. "思维网格",
  3130. $$("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 }), {
  3131. "id": "mindNetwork",
  3132. "style": { "width": "90%", "height": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3138. break;
  3139. case "train": //好友打开
  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": "https://xunlian.cocorobo.cn/" }), {
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3150. break;
  3151. case "teacherClassRoom": //好友打开
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/classRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3155. "id": "teacherClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3162. setTimeout(() => {
  3163. U.UF.F.windowZooming(_formdiv)
  3164. }, 0);
  3165. break;
  3166. }
  3167. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3168. switch (str) {
  3169. case "project": //好友打开
  3170. _formdiv = new U.UF.UI.form(
  3171. "课程管理",
  3172. $$("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 }), {
  3173. "id": "project",
  3174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3175. "onresize": function() {}
  3176. }, {
  3177. closecallback: function() {}
  3178. }, { "style": { "height": "36px" } }).form; //创建窗体
  3179. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3180. break;
  3181. case "evaluate":
  3182. _formdiv = new U.UF.UI.form(
  3183. "学生评价",
  3184. $$("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 }), {
  3185. "id": "evaluate",
  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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3192. break;
  3193. case "notice":
  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/#/notice?userid=" + _userid + "&org=" + _org }), {
  3197. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3204. break;
  3205. case "stuLibrary":
  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/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3209. "id": "stuLibrary",
  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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3216. break;
  3217. case "program":
  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": "https://x.cocorobo.cn" }), {
  3221. "id": "program",
  3222. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3228. break;
  3229. case "whiteboard":
  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://iwb.cocorobo.cn/" }), {
  3233. "id": "whiteboard",
  3234. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3235. "onresize": function() {}
  3236. }, {
  3237. closecallback: function() {}
  3238. }, { "style": { "height": "36px" } }).form; //创建窗体
  3239. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3240. break;
  3241. case "investigation":
  3242. _formdiv = new U.UF.UI.form(
  3243. "问卷调查",
  3244. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3245. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3252. break;
  3253. case "mind":
  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": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3257. "id": "mind",
  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/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3264. break;
  3265. case "doc":
  3266. // U.MD.D.I.isRoom();
  3267. _formdiv = new U.UF.UI.form(
  3268. "协同文档",
  3269. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3270. "id": "doc",
  3271. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3272. "onresize": function() {}
  3273. }, {
  3274. closecallback: function() {}
  3275. }, { "style": { "height": "36px" } }).form; //创建窗体
  3276. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3277. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3278. })
  3279. _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); } }
  3280. break;
  3281. case "study":
  3282. _formdiv = new U.UF.UI.form(
  3283. "课程中心",
  3284. $$("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
  3285. "id": "study",
  3286. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3287. "onresize": function() {}
  3288. }, {
  3289. closecallback: function() {}
  3290. }, { "style": { "height": "36px" } }).form; //创建窗体
  3291. _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); } }
  3292. break;
  3293. case "mindNetwork": //好友打开
  3294. _formdiv = new U.UF.UI.form(
  3295. "思维网格",
  3296. $$("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 }), {
  3297. "id": "mindNetwork",
  3298. "style": { "width": "90%", "height": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3304. break;
  3305. case "train": //好友打开
  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": "https://xunlian.cocorobo.cn/" }), {
  3309. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3316. break;
  3317. case "sys":
  3318. _formdiv = new U.UF.UI.form(
  3319. "目标管理",
  3320. $$("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 }), {
  3321. "id": "sys",
  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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3328. break;
  3329. case "courseDesign":
  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": "/course-design-vue" }), {
  3333. "id": "courseDesign",
  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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3340. break;
  3341. }
  3342. } else if (!_type) {
  3343. switch (str) {
  3344. case "my":
  3345. _formdiv = new U.UF.UI.form(
  3346. "我的资料",
  3347. $$("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 }), {
  3348. "id": "my",
  3349. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3350. "onresize": function() {}
  3351. }, {
  3352. closecallback: function() {}
  3353. }, { "style": { "height": "36px" } }).form; //创建窗体
  3354. _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); } }
  3355. break;
  3356. }
  3357. }
  3358. switch (str) {
  3359. // AIprogram2 AI体验 aihub.cocorobo.cn
  3360. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3361. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3362. case "formulaEdi": //公式编辑
  3363. _formdiv = new U.UF.UI.form(
  3364. "公式编辑",
  3365. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3366. "id": "formulaEdi",
  3367. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3368. "onresize": function() {}
  3369. }, {
  3370. closecallback: function() {}
  3371. }, { "style": { "height": "36px" } }).form; //创建窗体
  3372. _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); } }
  3373. break;
  3374. case "molStr": //分子结构
  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://molview.org/" }), {
  3378. "id": "molStr",
  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/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3385. break;
  3386. case "timeAxis": //时间轴
  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://time.graphics/editor" }), {
  3390. "id": "timeAxis",
  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/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3397. break;
  3398. case "AIprogram2": //AI体验
  3399. _formdiv = new U.UF.UI.form(
  3400. "AI体验",
  3401. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3402. "id": "AIprogram2",
  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/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3409. break;
  3410. case "Pythonprogram": //python编程
  3411. _formdiv = new U.UF.UI.form(
  3412. "Python编程",
  3413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3414. "id": "Pythonprogram",
  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/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3421. break;
  3422. case "AIprogram": //ai编程
  3423. _formdiv = new U.UF.UI.form(
  3424. "AI编程平台",
  3425. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3426. "id": "AIprogram",
  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/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3433. break;
  3434. case "CocoPi": //CocoPi
  3435. _formdiv = new U.UF.UI.form(
  3436. "CocoPi",
  3437. $$("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" }), {
  3438. "id": "CocoPi",
  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/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3445. break;
  3446. case "Wood": //Wood
  3447. _formdiv = new U.UF.UI.form(
  3448. "海龟编程",
  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://wood.codemao.cn/" }), {
  3450. "id": "Wood",
  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/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3457. break;
  3458. case "car": //模拟驾驶
  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://slowroads.io/" }), {
  3462. "id": "car",
  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/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3469. break;
  3470. case "lineSearch": //路径搜索
  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://qiao.github.io/PathFinding.js/visual/" }), {
  3474. "id": "lineSearch",
  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/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3481. break;
  3482. case "deepLearning": //深度学习
  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://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  3486. "id": "deepLearning",
  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/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3493. break;
  3494. case "allHistory": //深度学习
  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://www.allhistory.com/" }), {
  3498. "id": "allHistory",
  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/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3505. break;
  3506. case "chatPDF": //ai编程
  3507. _formdiv = new U.UF.UI.form(
  3508. "chatPDF",
  3509. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3510. "id": "chatPDF",
  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/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3517. break;
  3518. case "resources": //国家教育
  3519. _formdiv = new U.UF.UI.form(
  3520. "国家教育",
  3521. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3522. "id": "resources",
  3523. "style": { "width": "80%", "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/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3529. break;
  3530. case "codeEdit": //源码编辑
  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://kitten.codemao.cn/" }), {
  3534. "id": "codeEdit",
  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/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3541. break; //
  3542. case "MindMap": //MindMap
  3543. _formdiv = new U.UF.UI.form(
  3544. "MindMap",
  3545. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3546. "id": "MindMap",
  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/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3553. break;
  3554. case "netWorkPanel": //netWorkPanel
  3555. _formdiv = new U.UF.UI.form(
  3556. "netWorkPanel",
  3557. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3558. "id": "netWorkPanel",
  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/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3565. break;
  3566. case "GeoGebra": //GeoGebra
  3567. _formdiv = new U.UF.UI.form(
  3568. "GeoGebra",
  3569. $$("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" }), {
  3570. "id": "GeoGebra",
  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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3577. break;
  3578. case "translation": //翻译
  3579. _formdiv = new U.UF.UI.form(
  3580. "翻译",
  3581. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3582. "id": "translation",
  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/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3589. break;
  3590. case "mohe": //魔盒
  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": "//games.cocorobo.cn/view/index.html#/" }), {
  3594. "id": "mohe",
  3595. "style": { "width": "375px", "height": "667px", "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/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3601. break;
  3602. case "24game": //24点
  3603. _formdiv = new U.UF.UI.form(
  3604. "24点",
  3605. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3606. "id": "24game",
  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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3613. break;
  3614. case "case":
  3615. _formdiv = new U.UF.UI.form(
  3616. "课程进展",
  3617. $$("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 }), {
  3618. "id": "case",
  3619. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3620. "onresize": function() {}
  3621. }, {
  3622. closecallback: function() {}
  3623. }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3625. break;
  3626. case "snf":
  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": "//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" }), {
  3630. "id": "snf",
  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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3637. break;
  3638. case "hanFamily":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3642. "id": "hanFamily",
  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/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3649. break;
  3650. case "hanClassics":
  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#/gxjd" }), {
  3654. "id": "hanClassics",
  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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3661. break;
  3662. case "hanTraining":
  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#/bhxl" }), {
  3666. "id": "hanTraining",
  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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3673. break;
  3674. case "hanClass":
  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#/sfkt" }), {
  3678. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3685. break;
  3686. case "han":
  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#/home" }), {
  3690. "id": "han",
  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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3697. break;
  3698. case "projectGM": //课程管理
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3702. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3709. break;
  3710. case "studyGM": //课程中心
  3711. _formdiv = new U.UF.UI.form(
  3712. "课程中心",
  3713. $$("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
  3714. "id": "study",
  3715. "style": { "width": "100%", "height": "100%", "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/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3721. break;
  3722. // studentGM
  3723. case "studentGM": //学生管理
  3724. _formdiv = new U.UF.UI.form(
  3725. "学生管理",
  3726. $$("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 }), {
  3727. "id": "studentGM",
  3728. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3729. "onresize": function() {}
  3730. }, {
  3731. closecallback: function() {}
  3732. }, { "style": { "height": "36px" } }).form; //创建窗体
  3733. _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); } }
  3734. break;
  3735. case "evaluateGM": //学生评价
  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/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3739. "id": "evaluateGM",
  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/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3746. break;
  3747. // classGM
  3748. case "classGM": //班级管理
  3749. _formdiv = new U.UF.UI.form(
  3750. "班级管理",
  3751. $$("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 }), {
  3752. "id": "classGM",
  3753. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3754. "onresize": function() {}
  3755. }, {
  3756. closecallback: function() {}
  3757. }, { "style": { "height": "36px" } }).form; //创建窗体
  3758. _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); } }
  3759. break;
  3760. // dataGM
  3761. case "dataGM":
  3762. _formdiv = new U.UF.UI.form(
  3763. "我的资料",
  3764. $$("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 }), {
  3765. "id": "dataGM",
  3766. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3767. "onresize": function() {}
  3768. }, {
  3769. closecallback: function() {}
  3770. }, { "style": { "height": "36px" } }).form; //创建窗体
  3771. _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); } }
  3772. break;
  3773. // caseGM
  3774. case "caseGM": //课程进展
  3775. _formdiv = new U.UF.UI.form(
  3776. "课程进展",
  3777. $$("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 }), {
  3778. "id": "caseGM",
  3779. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function() {}
  3781. }, {
  3782. closecallback: function() {}
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _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); } }
  3785. break;
  3786. // meterialGM
  3787. case "meterialGM": //素材库
  3788. _formdiv = new U.UF.UI.form(
  3789. "素材库",
  3790. $$("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 }), {
  3791. "id": "meterialGM",
  3792. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3793. "onresize": function() {}
  3794. }, {
  3795. closecallback: function() {}
  3796. }, { "style": { "height": "36px" } }).form; //创建窗体
  3797. _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); } }
  3798. break;
  3799. // evaluateSGM
  3800. case "evaluateSGM": //我的评价
  3801. _formdiv = new U.UF.UI.form(
  3802. "我的评价",
  3803. $$("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 }), {
  3804. "id": "evaluateSGM",
  3805. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3806. "onresize": function() {}
  3807. }, {
  3808. closecallback: function() {}
  3809. }, { "style": { "height": "36px" } }).form; //创建窗体
  3810. _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); } }
  3811. break;
  3812. case "jupyter": //jupyter
  3813. _formdiv = new U.UF.UI.form(
  3814. "jupyter",
  3815. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3816. "id": "jupyter",
  3817. "style": { "width": "90%", "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/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3823. break;
  3824. case "number": //数字实验室
  3825. _formdiv = new U.UF.UI.form(
  3826. "数字实验室",
  3827. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3828. "id": "number",
  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/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3835. break;
  3836. case "studentCourse": //项目管理 学生
  3837. _formdiv = new U.UF.UI.form(
  3838. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3839. $$("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 }), {
  3840. "id": "studentCourse",
  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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3847. break;
  3848. case "studentCourseS": //项目管理 老师
  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/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3852. "id": "studentCourseS",
  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 "studentIndex": //项目中心
  3861. _formdiv = new U.UF.UI.form(
  3862. "项目中心",
  3863. $$("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 }), {
  3864. "id": "studentIndex",
  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/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3871. break;
  3872. case "CaseDesignS":
  3873. _formdiv = new U.UF.UI.form(
  3874. "项目进展",
  3875. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3876. "id": "case",
  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/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3883. break;
  3884. case "tcStudent": //腾讯学生管理
  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/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3888. "id": "tcStudent",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3895. break;
  3896. case "tcSchool": //腾讯学校管理
  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/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3900. "id": "tcSchool",
  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/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3907. break;
  3908. case "tcTeacher": //腾讯学校管理
  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/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3912. "id": "tcTeacher",
  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/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3919. break;
  3920. case "tcData": //腾讯我的资料
  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/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3924. "id": "tcData",
  3925. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3931. break;
  3932. case "tcNotice": //腾讯消息通知
  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/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3936. "id": "tcNotice",
  3937. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3938. "onresize": function() {}
  3939. }, {
  3940. closecallback: function() {}
  3941. }, { "style": { "height": "36px" } }).form; //创建窗体
  3942. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3943. break;
  3944. case "myReport": //好友打开
  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/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  3948. "id": "myReport",
  3949. "style": { "width": "100%", "height": "100%", "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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3955. break;
  3956. case "learnAna": //好友打开
  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/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3960. "id": "learnAna",
  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/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3967. break;
  3968. case "AIChat": //AI共创
  3969. _formdiv = new U.UF.UI.form(
  3970. "AI共创",
  3971. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3972. "id": "AIChat",
  3973. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3974. "onresize": function() {}
  3975. }, {
  3976. istop: true,
  3977. closecallback: function() { $("#aichat_icon").remove(); },
  3978. narrowcallback: function() {
  3979. if (!$("#aichat_icon")[0]) {
  3980. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3981. }
  3982. },
  3983. }, { "style": { "height": "36px" } }).form; //创建窗体
  3984. _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); } }
  3985. break;
  3986. case "ainew": //AI共创
  3987. _formdiv = new U.UF.UI.form(
  3988. "AI协同",
  3989. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  3990. "id": "ainew",
  3991. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3992. "onresize": function() {}
  3993. }, {
  3994. closecallback: function() {}
  3995. }, { "style": { "height": "36px" } }).form; //创建窗体
  3996. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3997. break;
  3998. case "futureClass": //AI共创
  3999. _formdiv = new U.UF.UI.form(
  4000. "知识建构",
  4001. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4002. "id": "futureClass",
  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/futureClass.png)" }, "name": "知识建构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4009. break;
  4010. case "dataBoard": //数据看板
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4014. "id": "dataBoard",
  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/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4021. break;
  4022. case "AIAnalyse": //AI共创
  4023. _formdiv = new U.UF.UI.form(
  4024. "AI分析",
  4025. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4026. "id": "AIAnalyse",
  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/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4033. break;
  4034. case "studioCourse": //AI共创
  4035. _formdiv = new U.UF.UI.form(
  4036. "工作管理",
  4037. $$("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 }), {
  4038. "id": "studioCourse",
  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/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4045. break;
  4046. case "studioIndex": //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-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4050. "id": "studioIndex",
  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/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4057. break;
  4058. case "source":
  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-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4062. "id": "source",
  4063. "style": { "width": "80%", "height": "80%", "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/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4069. break;
  4070. }
  4071. //U.MD.D.I.openClick(str);
  4072. //如果有任务栏信息
  4073. if (_taskbar) {
  4074. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4075. }
  4076. }
  4077. // U.MD.D.I.openClick = function(str){
  4078. // var click = '';
  4079. // switch(str){
  4080. // case 'friend':
  4081. // click = '我的好友';
  4082. // break;
  4083. // case 'domain':
  4084. // click = '域名管理';
  4085. // break;
  4086. // case 'disk':
  4087. // click = '我的云盘';
  4088. // break;
  4089. // case 'word':
  4090. // click = 'Word';
  4091. // break;
  4092. // case 'excel':
  4093. // click = 'Execl';
  4094. // break;
  4095. // case 'txt':
  4096. // click = '文本文件';
  4097. // break;
  4098. // case 'lookupFriend':
  4099. // click = '查找好友';
  4100. // break;
  4101. // case 'ftp':
  4102. // click = 'FTP';
  4103. // break;
  4104. // case 'group':
  4105. // click = '群组';
  4106. // break;
  4107. // case 'set':
  4108. // click = '我的设置';
  4109. // break;
  4110. // case 'systemSet':
  4111. // click = '系统设置';
  4112. // break;
  4113. // case 'boomYun':
  4114. // click = '互联办公';
  4115. // break;
  4116. // case 'xz':
  4117. // click = '云端下载';
  4118. // break;
  4119. // case 'client':
  4120. // click = '有思浏览器';
  4121. // break;
  4122. // case 'backEndProgramming':
  4123. // click = '在线后台编程';
  4124. // break;
  4125. // case 'frontEndProgramming':
  4126. // click = '在线前端编程';
  4127. // break;
  4128. // default: break;
  4129. // }
  4130. // if(U.MD.D.I.Ip && click){
  4131. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4132. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4133. // })
  4134. // }
  4135. // }
  4136. /**
  4137. *函数作用:ajax简易函数,使用post格式
  4138. *@param url {data} 后台地址
  4139. *@param data {data} 参数json
  4140. *@param fn {data} 回调函数
  4141. *
  4142. */
  4143. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4144. // var xhr = new XMLHttpRequest();
  4145. // xhr.open("GET",url,true);
  4146. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4147. // xhr.onreadystatechange = function(){
  4148. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4149. // fn.call(this,xhr.responseText);
  4150. // }
  4151. // };
  4152. // xhr.send();
  4153. // }
  4154. /*判断是否是内网IP*/
  4155. // U.MD.D.I.isInnerIPFn = function(str){
  4156. // var curPageUrl = str;
  4157. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4158. // curPageUrl =curPageUrl.replace(reg1,'');
  4159. // // console.log('curPageUrl-1 '+curPageUrl);
  4160. // var reg2 = /\:+/g;//替换冒号为一点
  4161. // curPageUrl =curPageUrl.replace(reg2,'.');
  4162. // // console.log('curPageUrl-2 '+curPageUrl);
  4163. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4164. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4165. // if(curPageUrl[2] != '16'){
  4166. // return ipAddress;
  4167. // }else{
  4168. // return false;
  4169. // }
  4170. // }
  4171. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4172. // //compatibility for firefox and chrome
  4173. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4174. // var pc = new myPeerConnection({
  4175. // iceServers: []
  4176. // }),
  4177. // noop = function() {},
  4178. // localIPs = {},
  4179. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4180. // key;
  4181. // function iterateIP(ip) {
  4182. // if (!localIPs[ip]) onNewIP(ip);
  4183. // localIPs[ip] = true;
  4184. // }
  4185. // //create a bogus data channel
  4186. // pc.createDataChannel("");
  4187. // // create offer and set local description
  4188. // pc.createOffer().then(function(sdp) {
  4189. // sdp.sdp.split('\n').forEach(function(line) {
  4190. // if (line.indexOf('candidate') < 0) return;
  4191. // line.match(ipRegex).forEach(iterateIP);
  4192. // });
  4193. // pc.setLocalDescription(sdp, noop, noop);
  4194. // }).catch(function(reason) {
  4195. // // An error occurred, so handle the failure to connect
  4196. // });
  4197. // //sten for candidate events
  4198. // pc.onicecandidate = function(ice) {
  4199. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4200. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4201. // };
  4202. // }
  4203. // U.MD.D.I.getUserIpBool = function(callback){
  4204. // U.MD.D.I.getUserIP(function(ip){
  4205. // alert("Got IP! :" + ip);
  4206. // });
  4207. //}
  4208. //#endregion
  4209. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4210. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4211. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4212. _userinfo = US.userInfo, //登录用户信息
  4213. _userid = US.userInfo.userid //登录用户id
  4214. let _iframe;
  4215. let _cid = cid,
  4216. _stage = stage,
  4217. _task = task,
  4218. _tool = tool;
  4219. var _jie = $$("div", {
  4220. "style": {
  4221. "position": "absolute",
  4222. "bottom": "50px",
  4223. "right": "50px",
  4224. "zIndex": "9999",
  4225. "backgroundColor": "#2268bc",
  4226. "color": "#fff",
  4227. "padding": "12px 20px",
  4228. "cursor": "pointer",
  4229. "borderRadius": "4px",
  4230. },
  4231. "innerHTML": "提交作业"
  4232. })
  4233. let aTool = ''
  4234. let _loading = document.createElement('div')
  4235. _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;"
  4236. // _loading.id = "";
  4237. let _lchild = document.createElement('div')
  4238. let _limg = document.createElement('img')
  4239. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4240. _limg.style = "width: 26px;margin-right: 10px;"
  4241. _lchild.appendChild(_limg)
  4242. let _lspan = document.createElement('span')
  4243. _lspan.innerHTML = "上传中..."
  4244. _lchild.appendChild(_lspan)
  4245. _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%);"
  4246. _loading.appendChild(_lchild)
  4247. var _box = $$('div', {
  4248. "style": {
  4249. "position": "relative",
  4250. "width": "100%",
  4251. "height": "100%",
  4252. },
  4253. })
  4254. _box.appendChild(_loading)
  4255. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4256. switch (str) {
  4257. case "whiteboard":
  4258. aTool = 1;
  4259. _iframe = $$("iframe", {
  4260. "frameborder": "no",
  4261. "border": "0",
  4262. "scrolling ": "no",
  4263. "style": {
  4264. "cssText": "border:0;width:100%;height:100%"
  4265. },
  4266. "src": "https://iwb.cocorobo.cn/"
  4267. })
  4268. _box.appendChild(_iframe);
  4269. _box.appendChild(_jie);
  4270. _formdiv = new U.UF.UI.form(
  4271. "电子白板",
  4272. _box, {
  4273. "id": "whiteboard" + cid + stage + task + tool,
  4274. "style": {
  4275. "width": "90%",
  4276. "height": "90%",
  4277. "overflow": 'hidden'
  4278. },
  4279. "onresize": function() {}
  4280. }, {
  4281. closecallback: function() {}
  4282. }, {
  4283. "style": {
  4284. "height": "36px"
  4285. }
  4286. }).form; //创建窗体
  4287. _taskbar = {
  4288. "id": str + _formdiv.id,
  4289. "style": {
  4290. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4291. },
  4292. "name": "电子白板",
  4293. "forms": _formdiv,
  4294. "click": function() {
  4295. U.MD.D.I.openApplication(str, obj, info);
  4296. }
  4297. }
  4298. break;
  4299. case "mind":
  4300. aTool = 3;
  4301. _iframe = $$("iframe", {
  4302. "frameborder": "no",
  4303. "border": "0",
  4304. "scrolling ": "no",
  4305. "style": {
  4306. "cssText": "border:0;width:100%;height:100%"
  4307. },
  4308. "src": "/kityminder-editor/dist/index.html"
  4309. })
  4310. _box.appendChild(_iframe);
  4311. _box.appendChild(_jie);
  4312. _formdiv = new U.UF.UI.form(
  4313. "思维导图",
  4314. _box, { //"/jsmind/example/demo.html"
  4315. "id": "mind" + cid + stage + task + tool,
  4316. "style": {
  4317. "width": "90%",
  4318. "height": "90%",
  4319. "overflow": 'hidden'
  4320. },
  4321. "onresize": function() {}
  4322. }, {
  4323. closecallback: function() {}
  4324. }, {
  4325. "style": {
  4326. "height": "36px"
  4327. }
  4328. }).form; //创建窗体
  4329. _taskbar = {
  4330. "id": str + _formdiv.id,
  4331. "style": {
  4332. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4333. },
  4334. "name": "思维导图",
  4335. "forms": _formdiv,
  4336. "click": function() {
  4337. U.MD.D.I.openApplication(str, obj, info);
  4338. }
  4339. }
  4340. break;
  4341. case "MindMap":
  4342. aTool = 3;
  4343. _iframe = $$("iframe", {
  4344. "frameborder": "no",
  4345. "border": "0",
  4346. "scrolling ": "no",
  4347. "style": {
  4348. "cssText": "border:0;width:100%;height:100%"
  4349. },
  4350. "src": "//cloud.cocorobo.cn/mind/"
  4351. })
  4352. _box.appendChild(_iframe);
  4353. _box.appendChild(_jie);
  4354. _formdiv = new U.UF.UI.form(
  4355. "思维导图",
  4356. _box, { //"/jsmind/example/demo.html"
  4357. "id": "mind" + cid + stage + task + tool,
  4358. "style": {
  4359. "width": "90%",
  4360. "height": "90%",
  4361. "overflow": 'hidden'
  4362. },
  4363. "onresize": function() {}
  4364. }, {
  4365. closecallback: function() {}
  4366. }, {
  4367. "style": {
  4368. "height": "36px"
  4369. }
  4370. }).form; //创建窗体
  4371. _taskbar = {
  4372. "id": str + _formdiv.id,
  4373. "style": {
  4374. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4375. },
  4376. "name": "思维导图",
  4377. "forms": _formdiv,
  4378. "click": function() {
  4379. U.MD.D.I.openApplication(str, obj, info);
  4380. }
  4381. }
  4382. break;
  4383. case "doc":
  4384. aTool = 6;
  4385. _iframe = $$("iframe", {
  4386. "frameborder": "no",
  4387. "border": "0",
  4388. "scrolling ": "no",
  4389. "style": {
  4390. "cssText": "border:0;width:100%;height:100%"
  4391. },
  4392. "src": "/Office/Word/WordEditArea.htm"
  4393. })
  4394. _box.appendChild(_iframe);
  4395. _box.appendChild(_jie);
  4396. _formdiv = new U.UF.UI.form(
  4397. "协同文档",
  4398. _box, {
  4399. "id": "doc" + cid + stage + task + tool,
  4400. "style": {
  4401. "width": "90%",
  4402. "height": "90%",
  4403. "overflow": 'hidden'
  4404. },
  4405. "onresize": function() {}
  4406. }, {
  4407. closecallback: function() {}
  4408. }, {
  4409. "style": {
  4410. "height": "36px"
  4411. }
  4412. }).form; //创建窗体
  4413. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4414. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4415. })
  4416. _taskbar = {
  4417. "id": str + _formdiv.id,
  4418. "style": {
  4419. "backgroundImage": "url(/img/icon/doc.png)"
  4420. },
  4421. "name": "协同文档",
  4422. "forms": _formdiv,
  4423. "click": function() {
  4424. U.MD.D.I.openApplication(str, obj, info);
  4425. }
  4426. }
  4427. break;
  4428. case "mindNetwork": //好友打开
  4429. aTool = 7;
  4430. _iframe = $$("iframe", {
  4431. "webkitallowfullscreen": "",
  4432. "mozallowfullscreen": "",
  4433. "allowfullscreen": "",
  4434. "frameborder": "no",
  4435. "border": "0",
  4436. "scrolling ": "no",
  4437. "style": {
  4438. "cssText": "border:0; width:100%; height:100%;"
  4439. },
  4440. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4441. })
  4442. _box.appendChild(_iframe);
  4443. _box.appendChild(_jie);
  4444. _formdiv = new U.UF.UI.form(
  4445. "思维网格",
  4446. _box, {
  4447. "id": "mindNetwork" + cid + stage + task + tool,
  4448. "style": {
  4449. "width": "90%",
  4450. "height": "90%",
  4451. "overflow": 'hidden'
  4452. },
  4453. "onresize": function() {}
  4454. }, {
  4455. closecallback: function() {}
  4456. }, {
  4457. "style": {
  4458. "height": "36px"
  4459. }
  4460. }).form; //创建窗体
  4461. _taskbar = {
  4462. "id": str + _formdiv.id,
  4463. "style": {
  4464. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4465. },
  4466. "name": "思维网格",
  4467. "forms": _formdiv,
  4468. "click": function() {
  4469. U.MD.D.I.openApplication(str, obj, info);
  4470. }
  4471. }
  4472. break;
  4473. case "courseDesign":
  4474. _iframe = $$("iframe", {
  4475. "webkitallowfullscreen": "",
  4476. "mozallowfullscreen": "",
  4477. "allowfullscreen": "",
  4478. "frameborder": "no",
  4479. "border": "0",
  4480. "scrolling ": "no",
  4481. "style": {
  4482. "cssText": "border:0; width:100%; height:100%;"
  4483. },
  4484. "src": "/course-design-vue"
  4485. })
  4486. _box.appendChild(_iframe);
  4487. _box.appendChild(_jie);
  4488. _formdiv = new U.UF.UI.form(
  4489. "项目设计",
  4490. _box, {
  4491. "id": "courseDesign" + cid + stage + task + tool,
  4492. "style": {
  4493. "width": "90%",
  4494. "height": "90%",
  4495. "overflow": 'hidden'
  4496. },
  4497. "onresize": function() {}
  4498. }, {
  4499. closecallback: function() {}
  4500. }, {
  4501. "style": {
  4502. "height": "36px"
  4503. }
  4504. }).form; //创建窗体
  4505. _taskbar = {
  4506. "id": str + _formdiv.id,
  4507. "style": {
  4508. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4509. },
  4510. "name": "项目设计",
  4511. "forms": _formdiv,
  4512. "click": function() {
  4513. U.MD.D.I.openApplication(str, obj, info);
  4514. }
  4515. }
  4516. break;
  4517. }
  4518. const script1 = document.createElement("script");
  4519. script1.type = "text/javascript";
  4520. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4521. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4522. const script2 = document.createElement("script");
  4523. script2.type = "text/javascript";
  4524. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4525. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4526. const script3 = document.createElement("script");
  4527. script3.type = "text/javascript";
  4528. script3.charset = "UTF-8";
  4529. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4530. const script4 = document.createElement("script");
  4531. script4.type = "text/javascript";
  4532. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4533. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4534. if (_iframe) {
  4535. if (str == 'doc') {
  4536. _iframe = _formdiv.querySelector('iframe')
  4537. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4538. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4539. _iframe.contentWindow.document.body.appendChild(script1);
  4540. _iframe.contentWindow.document.body.appendChild(script2);
  4541. // _iframe.contentWindow.document.body.appendChild(script3);
  4542. _iframe.contentWindow.document.body.appendChild(script4);
  4543. })
  4544. if (onloadListener) {
  4545. _iframe.contentDocument.location.reload()
  4546. } else {
  4547. _iframe.contentDocument.location.reload()
  4548. }
  4549. } else if (str == 'courseDesign') {
  4550. U.UF.DL.iframeLoad(_iframe, function() {
  4551. // _iframe.contentWindow.U.MD.O.W.load();
  4552. // _iframe.contentWindow.document.body.appendChild(script1);
  4553. _iframe.contentWindow.document.body.appendChild(script2);
  4554. _iframe.contentWindow.document.body.appendChild(script4);
  4555. })
  4556. } else if (str == 'mind') {
  4557. _iframe = _formdiv.querySelector('iframe')
  4558. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4559. //
  4560. _iframe.contentWindow.document.body.appendChild(script1);
  4561. _iframe.contentWindow.document.body.appendChild(script2);
  4562. _iframe.contentWindow.document.body.appendChild(script4);
  4563. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4564. })
  4565. if (onloadListener) {
  4566. _iframe.contentDocument.location.reload()
  4567. } else {
  4568. _iframe.contentDocument.location.reload()
  4569. }
  4570. } else if (str == 'whiteboard') {
  4571. _iframe = _formdiv.querySelector('iframe')
  4572. let onloadListener = _iframe.onload = () => {
  4573. _iframe.contentWindow.document.body.appendChild(script1);
  4574. _iframe.contentWindow.document.body.appendChild(script2);
  4575. _iframe.contentWindow.document.body.appendChild(script4);
  4576. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4577. };
  4578. if (onloadListener) {
  4579. _iframe.contentDocument.location.reload()
  4580. } else {
  4581. _iframe.contentDocument.location.reload()
  4582. }
  4583. } else {
  4584. _iframe.onload = () => {
  4585. _iframe.contentWindow.document.body.appendChild(script1);
  4586. _iframe.contentWindow.document.body.appendChild(script2);
  4587. // _iframe.contentWindow.document.body.appendChild(script3);
  4588. _iframe.contentWindow.document.body.appendChild(script4);
  4589. };
  4590. }
  4591. _jie.onclick = async() => {
  4592. let text = ''
  4593. if (aTool == 1) {
  4594. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4595. } else if (aTool == 6) {
  4596. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4597. } else if (aTool == 3) {
  4598. text = await U.MD.D.I.getEditorContent(_iframe);
  4599. }
  4600. _loading.style.display = 'flex'
  4601. console.log(_loading);
  4602. var _ajs = _iframe.contentWindow.document.createElement("script");
  4603. _ajs.type = "text/javascript";
  4604. _ajs.innerHTML =
  4605. // 'console.log(' + _loading + ');\n' +
  4606. 'var _js = document.createElement("script");\n' +
  4607. '_js.type="text/javascript";\n' +
  4608. '_js.charset="UTF-8";\n' +
  4609. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4610. "_js.onload = function(){\n" +
  4611. ' var a = document.getElementsByTagName("img")\n' +
  4612. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4613. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4614. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4615. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4616. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4617. "beforeUpload_shishi(file," +
  4618. "'" +
  4619. _userid +
  4620. "'" +
  4621. ", " +
  4622. "'" +
  4623. _cid +
  4624. "'" +
  4625. ", " +
  4626. "'" +
  4627. _stage +
  4628. "'" +
  4629. ", " +
  4630. "'" +
  4631. _task +
  4632. "'" +
  4633. ", " +
  4634. "'" +
  4635. _tool +
  4636. "'" +
  4637. ", " +
  4638. "'" +
  4639. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4640. "'" +
  4641. ", " +
  4642. "'" +
  4643. aTool +
  4644. "'" +
  4645. ", " +
  4646. "`" +
  4647. text +
  4648. "`" +
  4649. ")\n" +
  4650. " });\n" +
  4651. "}\n" +
  4652. "document.head.appendChild(_js);\n";
  4653. _iframe.contentWindow.document.head.appendChild(_ajs);
  4654. }
  4655. }
  4656. //U.MD.D.I.openClick(str);
  4657. //如果有任务栏信息
  4658. // if (_taskbar) {
  4659. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4660. // }
  4661. }
  4662. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4663. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4664. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4665. _userinfo = US.userInfo, //登录用户信息
  4666. _userid = US.userInfo.userid //登录用户id
  4667. let _iframe;
  4668. let _cid = cid,
  4669. _stage = stage,
  4670. _task = task,
  4671. _tool = tool;
  4672. var _jie = $$("div", {
  4673. "style": {
  4674. "position": "absolute",
  4675. "bottom": "50px",
  4676. "right": "50px",
  4677. "zIndex": "9999",
  4678. "backgroundColor": "#2268bc",
  4679. "color": "#fff",
  4680. "padding": "12px 20px",
  4681. "cursor": "pointer",
  4682. "borderRadius": "4px",
  4683. },
  4684. "innerHTML": "提交作业"
  4685. })
  4686. let aTool = ''
  4687. let _loading = document.createElement('div')
  4688. _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;"
  4689. // _loading.id = "";
  4690. let _lchild = document.createElement('div')
  4691. let _limg = document.createElement('img')
  4692. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4693. _limg.style = "width: 26px;margin-right: 10px;"
  4694. _lchild.appendChild(_limg)
  4695. let _lspan = document.createElement('span')
  4696. _lspan.innerHTML = "上传中..."
  4697. _lchild.appendChild(_lspan)
  4698. _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%);"
  4699. _loading.appendChild(_lchild)
  4700. var _box = $$('div', {
  4701. "style": {
  4702. "position": "relative",
  4703. "width": "100%",
  4704. "height": "100%",
  4705. },
  4706. })
  4707. _box.appendChild(_loading)
  4708. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4709. switch (str) {
  4710. case "whiteboard":
  4711. aTool = 1;
  4712. _iframe = $$("iframe", {
  4713. "frameborder": "no",
  4714. "border": "0",
  4715. "scrolling ": "no",
  4716. "style": {
  4717. "cssText": "border:0;width:100%;height:100%"
  4718. },
  4719. "src": "https://iwb.cocorobo.cn/"
  4720. })
  4721. _box.appendChild(_iframe);
  4722. _box.appendChild(_jie);
  4723. _formdiv = new U.UF.UI.form(
  4724. "电子白板",
  4725. _box, {
  4726. "id": "whiteboard" + cid + stage + task + tool,
  4727. "style": {
  4728. "width": "90%",
  4729. "height": "90%",
  4730. "overflow": 'hidden'
  4731. },
  4732. "onresize": function() {}
  4733. }, {
  4734. closecallback: function() {}
  4735. }, {
  4736. "style": {
  4737. "height": "36px"
  4738. }
  4739. }).form; //创建窗体
  4740. _taskbar = {
  4741. "id": str + _formdiv.id,
  4742. "style": {
  4743. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4744. },
  4745. "name": "电子白板",
  4746. "forms": _formdiv,
  4747. "click": function() {
  4748. U.MD.D.I.openApplication(str, obj, info);
  4749. }
  4750. }
  4751. break;
  4752. case "mind":
  4753. aTool = 3;
  4754. _iframe = $$("iframe", {
  4755. "frameborder": "no",
  4756. "border": "0",
  4757. "scrolling ": "no",
  4758. "style": {
  4759. "cssText": "border:0;width:100%;height:100%"
  4760. },
  4761. "src": "/kityminder-editor/dist/index.html"
  4762. })
  4763. _box.appendChild(_iframe);
  4764. _box.appendChild(_jie);
  4765. _formdiv = new U.UF.UI.form(
  4766. "思维导图",
  4767. _box, { //"/jsmind/example/demo.html"
  4768. "id": "mind" + cid + stage + task + tool,
  4769. "style": {
  4770. "width": "90%",
  4771. "height": "90%",
  4772. "overflow": 'hidden'
  4773. },
  4774. "onresize": function() {}
  4775. }, {
  4776. closecallback: function() {}
  4777. }, {
  4778. "style": {
  4779. "height": "36px"
  4780. }
  4781. }).form; //创建窗体
  4782. _taskbar = {
  4783. "id": str + _formdiv.id,
  4784. "style": {
  4785. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4786. },
  4787. "name": "思维导图",
  4788. "forms": _formdiv,
  4789. "click": function() {
  4790. U.MD.D.I.openApplication(str, obj, info);
  4791. }
  4792. }
  4793. break;
  4794. case "MindMap":
  4795. aTool = 3;
  4796. _iframe = $$("iframe", {
  4797. "frameborder": "no",
  4798. "border": "0",
  4799. "scrolling ": "no",
  4800. "style": {
  4801. "cssText": "border:0;width:100%;height:100%"
  4802. },
  4803. "src": "//cloud.cocorobo.cn/mind/"
  4804. })
  4805. _box.appendChild(_iframe);
  4806. _box.appendChild(_jie);
  4807. _formdiv = new U.UF.UI.form(
  4808. "思维导图",
  4809. _box, { //"/jsmind/example/demo.html"
  4810. "id": "mind" + cid + stage + task + tool,
  4811. "style": {
  4812. "width": "90%",
  4813. "height": "90%",
  4814. "overflow": 'hidden'
  4815. },
  4816. "onresize": function() {}
  4817. }, {
  4818. closecallback: function() {}
  4819. }, {
  4820. "style": {
  4821. "height": "36px"
  4822. }
  4823. }).form; //创建窗体
  4824. _taskbar = {
  4825. "id": str + _formdiv.id,
  4826. "style": {
  4827. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4828. },
  4829. "name": "思维导图",
  4830. "forms": _formdiv,
  4831. "click": function() {
  4832. U.MD.D.I.openApplication(str, obj, info);
  4833. }
  4834. }
  4835. break;
  4836. case "doc":
  4837. aTool = 6;
  4838. _iframe = $$("iframe", {
  4839. "frameborder": "no",
  4840. "border": "0",
  4841. "scrolling ": "no",
  4842. "style": {
  4843. "cssText": "border:0;width:100%;height:100%"
  4844. },
  4845. "src": "/Office/Word/WordEditArea.htm"
  4846. })
  4847. _box.appendChild(_iframe);
  4848. _box.appendChild(_jie);
  4849. _formdiv = new U.UF.UI.form(
  4850. "协同文档",
  4851. _box, {
  4852. "id": "doc" + cid + stage + task + tool,
  4853. "style": {
  4854. "width": "90%",
  4855. "height": "90%",
  4856. "overflow": 'hidden'
  4857. },
  4858. "onresize": function() {}
  4859. }, {
  4860. closecallback: function() {}
  4861. }, {
  4862. "style": {
  4863. "height": "36px"
  4864. }
  4865. }).form; //创建窗体
  4866. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4867. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4868. })
  4869. _taskbar = {
  4870. "id": str + _formdiv.id,
  4871. "style": {
  4872. "backgroundImage": "url(/img/icon/doc.png)"
  4873. },
  4874. "name": "协同文档",
  4875. "forms": _formdiv,
  4876. "click": function() {
  4877. U.MD.D.I.openApplication(str, obj, info);
  4878. }
  4879. }
  4880. break;
  4881. case "mindNetwork": //好友打开
  4882. aTool = 7;
  4883. _iframe = $$("iframe", {
  4884. "webkitallowfullscreen": "",
  4885. "mozallowfullscreen": "",
  4886. "allowfullscreen": "",
  4887. "frameborder": "no",
  4888. "border": "0",
  4889. "scrolling ": "no",
  4890. "style": {
  4891. "cssText": "border:0; width:100%; height:100%;"
  4892. },
  4893. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4894. })
  4895. _box.appendChild(_iframe);
  4896. _box.appendChild(_jie);
  4897. _formdiv = new U.UF.UI.form(
  4898. "思维网格",
  4899. _box, {
  4900. "id": "mindNetwork" + cid + stage + task + tool,
  4901. "style": {
  4902. "width": "90%",
  4903. "height": "90%",
  4904. "overflow": 'hidden'
  4905. },
  4906. "onresize": function() {}
  4907. }, {
  4908. closecallback: function() {}
  4909. }, {
  4910. "style": {
  4911. "height": "36px"
  4912. }
  4913. }).form; //创建窗体
  4914. _taskbar = {
  4915. "id": str + _formdiv.id,
  4916. "style": {
  4917. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4918. },
  4919. "name": "思维网格",
  4920. "forms": _formdiv,
  4921. "click": function() {
  4922. U.MD.D.I.openApplication(str, obj, info);
  4923. }
  4924. }
  4925. break;
  4926. case "courseDesign":
  4927. _iframe = $$("iframe", {
  4928. "webkitallowfullscreen": "",
  4929. "mozallowfullscreen": "",
  4930. "allowfullscreen": "",
  4931. "frameborder": "no",
  4932. "border": "0",
  4933. "scrolling ": "no",
  4934. "style": {
  4935. "cssText": "border:0; width:100%; height:100%;"
  4936. },
  4937. "src": "/course-design-vue"
  4938. })
  4939. _box.appendChild(_iframe);
  4940. _box.appendChild(_jie);
  4941. _formdiv = new U.UF.UI.form(
  4942. "项目设计",
  4943. _box, {
  4944. "id": "courseDesign" + cid + stage + task + tool,
  4945. "style": {
  4946. "width": "90%",
  4947. "height": "90%",
  4948. "overflow": 'hidden'
  4949. },
  4950. "onresize": function() {}
  4951. }, {
  4952. closecallback: function() {}
  4953. }, {
  4954. "style": {
  4955. "height": "36px"
  4956. }
  4957. }).form; //创建窗体
  4958. _taskbar = {
  4959. "id": str + _formdiv.id,
  4960. "style": {
  4961. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4962. },
  4963. "name": "项目设计",
  4964. "forms": _formdiv,
  4965. "click": function() {
  4966. U.MD.D.I.openApplication(str, obj, info);
  4967. }
  4968. }
  4969. break;
  4970. }
  4971. const script1 = document.createElement("script");
  4972. script1.type = "text/javascript";
  4973. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4974. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4975. const script2 = document.createElement("script");
  4976. script2.type = "text/javascript";
  4977. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4978. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4979. const script3 = document.createElement("script");
  4980. script3.type = "text/javascript";
  4981. script3.charset = "UTF-8";
  4982. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4983. const script4 = document.createElement("script");
  4984. script4.type = "text/javascript";
  4985. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4986. script4.src = window.origin + "/js/Common/jietu2E.js";
  4987. if (_iframe) {
  4988. if (str == 'doc') {
  4989. _iframe = _formdiv.querySelector('iframe')
  4990. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4991. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4992. _iframe.contentWindow.document.body.appendChild(script1);
  4993. _iframe.contentWindow.document.body.appendChild(script2);
  4994. // _iframe.contentWindow.document.body.appendChild(script3);
  4995. _iframe.contentWindow.document.body.appendChild(script4);
  4996. })
  4997. if (onloadListener) {
  4998. _iframe.contentDocument.location.reload()
  4999. } else {
  5000. _iframe.contentDocument.location.reload()
  5001. }
  5002. } else if (str == 'courseDesign') {
  5003. U.UF.DL.iframeLoad(_iframe, function() {
  5004. // _iframe.contentWindow.U.MD.O.W.load();
  5005. // _iframe.contentWindow.document.body.appendChild(script1);
  5006. _iframe.contentWindow.document.body.appendChild(script2);
  5007. _iframe.contentWindow.document.body.appendChild(script4);
  5008. })
  5009. } else if (str == 'mind') {
  5010. _iframe = _formdiv.querySelector('iframe')
  5011. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5012. //
  5013. _iframe.contentWindow.document.body.appendChild(script1);
  5014. _iframe.contentWindow.document.body.appendChild(script2);
  5015. _iframe.contentWindow.document.body.appendChild(script4);
  5016. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5017. })
  5018. if (onloadListener) {
  5019. _iframe.contentDocument.location.reload()
  5020. } else {
  5021. _iframe.contentDocument.location.reload()
  5022. }
  5023. } else if (str == 'whiteboard') {
  5024. _iframe = _formdiv.querySelector('iframe')
  5025. let onloadListener = _iframe.onload = () => {
  5026. _iframe.contentWindow.document.body.appendChild(script1);
  5027. _iframe.contentWindow.document.body.appendChild(script2);
  5028. _iframe.contentWindow.document.body.appendChild(script4);
  5029. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5030. };
  5031. if (onloadListener) {
  5032. _iframe.contentDocument.location.reload()
  5033. } else {
  5034. _iframe.contentDocument.location.reload()
  5035. }
  5036. } else {
  5037. _iframe.onload = () => {
  5038. _iframe.contentWindow.document.body.appendChild(script1);
  5039. _iframe.contentWindow.document.body.appendChild(script2);
  5040. // _iframe.contentWindow.document.body.appendChild(script3);
  5041. _iframe.contentWindow.document.body.appendChild(script4);
  5042. };
  5043. }
  5044. _jie.onclick = async() => {
  5045. let text = ''
  5046. if (aTool == 1) {
  5047. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5048. } else if (aTool == 6) {
  5049. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5050. } else if (aTool == 3) {
  5051. text = await U.MD.D.I.getEditorContent(_iframe);
  5052. }
  5053. _loading.style.display = 'flex'
  5054. console.log(_loading);
  5055. var _ajs = _iframe.contentWindow.document.createElement("script");
  5056. _ajs.type = "text/javascript";
  5057. _ajs.innerHTML =
  5058. // 'console.log(' + _loading + ');\n' +
  5059. 'var _js = document.createElement("script");\n' +
  5060. '_js.type="text/javascript";\n' +
  5061. '_js.charset="UTF-8";\n' +
  5062. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5063. "_js.onload = function(){\n" +
  5064. ' var a = document.getElementsByTagName("img")\n' +
  5065. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5066. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5067. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5068. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5069. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5070. "beforeUpload_shishi(file," +
  5071. "'" +
  5072. _userid +
  5073. "'" +
  5074. ", " +
  5075. "'" +
  5076. _cid +
  5077. "'" +
  5078. ", " +
  5079. "'" +
  5080. _stage +
  5081. "'" +
  5082. ", " +
  5083. "'" +
  5084. _task +
  5085. "'" +
  5086. ", " +
  5087. "'" +
  5088. _tool +
  5089. "'" +
  5090. ", " +
  5091. "'" +
  5092. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5093. "'" +
  5094. ", " +
  5095. "'" +
  5096. aTool +
  5097. "'" +
  5098. ", " +
  5099. "`" +
  5100. text +
  5101. "`" +
  5102. ")\n" +
  5103. " });\n" +
  5104. "}\n" +
  5105. "document.head.appendChild(_js);\n";
  5106. _iframe.contentWindow.document.head.appendChild(_ajs);
  5107. }
  5108. }
  5109. //U.MD.D.I.openClick(str);
  5110. //如果有任务栏信息
  5111. // if (_taskbar) {
  5112. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5113. // }
  5114. }
  5115. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5116. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5117. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5118. _userid = student.userid, //登录用户id
  5119. _username = student.student //用户名字
  5120. let _iframe;
  5121. let _cid = cid,
  5122. _stage = stage,
  5123. _task = task,
  5124. _tool = tool;
  5125. var _jie = $$("div", {
  5126. "style": {
  5127. "position": "absolute",
  5128. "bottom": "50px",
  5129. "right": "50px",
  5130. "zIndex": "9999",
  5131. "backgroundColor": "#2268bc",
  5132. "color": "#fff",
  5133. "padding": "12px 20px",
  5134. "cursor": "pointer",
  5135. "borderRadius": "4px",
  5136. },
  5137. "innerHTML": "提交作业"
  5138. })
  5139. let aTool = ''
  5140. let _loading = document.createElement('div')
  5141. _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;"
  5142. // _loading.id = "";
  5143. let _lchild = document.createElement('div')
  5144. let _limg = document.createElement('img')
  5145. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5146. _limg.style = "width: 26px;margin-right: 10px;"
  5147. _lchild.appendChild(_limg)
  5148. let _lspan = document.createElement('span')
  5149. _lspan.innerHTML = "上传中..."
  5150. _lchild.appendChild(_lspan)
  5151. _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%);"
  5152. _loading.appendChild(_lchild)
  5153. var _box = $$('div', {
  5154. "style": {
  5155. "position": "relative",
  5156. "width": "100%",
  5157. "height": "100%",
  5158. },
  5159. })
  5160. _box.appendChild(_loading)
  5161. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5162. switch (str) {
  5163. case "whiteboard":
  5164. aTool = 1;
  5165. _iframe = $$("iframe", {
  5166. "frameborder": "no",
  5167. "border": "0",
  5168. "scrolling ": "no",
  5169. "style": {
  5170. "cssText": "border:0;width:100%;height:100%"
  5171. },
  5172. "src": "https://iwb.cocorobo.cn/"
  5173. })
  5174. _box.appendChild(_iframe);
  5175. _box.appendChild(_jie);
  5176. _formdiv = new U.UF.UI.form(
  5177. "电子白板-" + _username,
  5178. _box, {
  5179. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5180. "style": {
  5181. "width": "90%",
  5182. "height": "90%",
  5183. "overflow": 'hidden'
  5184. },
  5185. "onresize": function() {}
  5186. }, {
  5187. closecallback: function() {}
  5188. }, {
  5189. "style": {
  5190. "height": "36px"
  5191. }
  5192. }).form; //创建窗体
  5193. _taskbar = {
  5194. "id": str + _formdiv.id,
  5195. "style": {
  5196. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5197. },
  5198. "name": "电子白板",
  5199. "forms": _formdiv,
  5200. "click": function() {
  5201. U.MD.D.I.openApplication(str, obj, info);
  5202. }
  5203. }
  5204. break;
  5205. case "mind":
  5206. aTool = 3;
  5207. _iframe = $$("iframe", {
  5208. "frameborder": "no",
  5209. "border": "0",
  5210. "scrolling ": "no",
  5211. "style": {
  5212. "cssText": "border:0;width:100%;height:100%"
  5213. },
  5214. "src": "/kityminder-editor/dist/index.html"
  5215. })
  5216. _box.appendChild(_iframe);
  5217. _box.appendChild(_jie);
  5218. _formdiv = new U.UF.UI.form(
  5219. "思维导图-" + _username,
  5220. _box, { //"/jsmind/example/demo.html"
  5221. "id": "mind" + cid + stage + task + tool + _userid,
  5222. "style": {
  5223. "width": "90%",
  5224. "height": "90%",
  5225. "overflow": 'hidden'
  5226. },
  5227. "onresize": function() {}
  5228. }, {
  5229. closecallback: function() {}
  5230. }, {
  5231. "style": {
  5232. "height": "36px"
  5233. }
  5234. }).form; //创建窗体
  5235. _taskbar = {
  5236. "id": str + _formdiv.id,
  5237. "style": {
  5238. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5239. },
  5240. "name": "思维导图",
  5241. "forms": _formdiv,
  5242. "click": function() {
  5243. U.MD.D.I.openApplication(str, obj, info);
  5244. }
  5245. }
  5246. break;
  5247. case "MindMap":
  5248. aTool = 3;
  5249. _iframe = $$("iframe", {
  5250. "frameborder": "no",
  5251. "border": "0",
  5252. "scrolling ": "no",
  5253. "style": {
  5254. "cssText": "border:0;width:100%;height:100%"
  5255. },
  5256. "src": "//cloud.cocorobo.cn/mind/"
  5257. })
  5258. _box.appendChild(_iframe);
  5259. _box.appendChild(_jie);
  5260. _formdiv = new U.UF.UI.form(
  5261. "思维导图-" + _username,
  5262. _box, { //"/jsmind/example/demo.html"
  5263. "id": "mind" + cid + stage + task + tool + _userid,
  5264. "style": {
  5265. "width": "90%",
  5266. "height": "90%",
  5267. "overflow": 'hidden'
  5268. },
  5269. "onresize": function() {}
  5270. }, {
  5271. closecallback: function() {}
  5272. }, {
  5273. "style": {
  5274. "height": "36px"
  5275. }
  5276. }).form; //创建窗体
  5277. _taskbar = {
  5278. "id": str + _formdiv.id,
  5279. "style": {
  5280. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5281. },
  5282. "name": "思维导图",
  5283. "forms": _formdiv,
  5284. "click": function() {
  5285. U.MD.D.I.openApplication(str, obj, info);
  5286. }
  5287. }
  5288. break;
  5289. case "doc":
  5290. aTool = 6;
  5291. _iframe = $$("iframe", {
  5292. "frameborder": "no",
  5293. "border": "0",
  5294. "scrolling ": "no",
  5295. "style": {
  5296. "cssText": "border:0;width:100%;height:100%"
  5297. },
  5298. "src": "/Office/Word/WordEditArea.htm"
  5299. })
  5300. _box.appendChild(_iframe);
  5301. _box.appendChild(_jie);
  5302. _formdiv = new U.UF.UI.form(
  5303. "协同文档-" + _username,
  5304. _box, {
  5305. "id": "doc" + cid + stage + task + tool + _userid,
  5306. "style": {
  5307. "width": "90%",
  5308. "height": "90%",
  5309. "overflow": 'hidden'
  5310. },
  5311. "onresize": function() {}
  5312. }, {
  5313. closecallback: function() {}
  5314. }, {
  5315. "style": {
  5316. "height": "36px"
  5317. }
  5318. }).form; //创建窗体
  5319. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5320. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5321. })
  5322. _taskbar = {
  5323. "id": str + _formdiv.id,
  5324. "style": {
  5325. "backgroundImage": "url(/img/icon/doc.png)"
  5326. },
  5327. "name": "协同文档",
  5328. "forms": _formdiv,
  5329. "click": function() {
  5330. U.MD.D.I.openApplication(str, obj, info);
  5331. }
  5332. }
  5333. break;
  5334. case "mindNetwork": //好友打开
  5335. aTool = 7;
  5336. _iframe = $$("iframe", {
  5337. "webkitallowfullscreen": "",
  5338. "mozallowfullscreen": "",
  5339. "allowfullscreen": "",
  5340. "frameborder": "no",
  5341. "border": "0",
  5342. "scrolling ": "no",
  5343. "style": {
  5344. "cssText": "border:0; width:100%; height:100%;"
  5345. },
  5346. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5347. })
  5348. _box.appendChild(_iframe);
  5349. _box.appendChild(_jie);
  5350. _formdiv = new U.UF.UI.form(
  5351. "思维网格-" + _username,
  5352. _box, {
  5353. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5354. "style": {
  5355. "width": "90%",
  5356. "height": "90%",
  5357. "overflow": 'hidden'
  5358. },
  5359. "onresize": function() {}
  5360. }, {
  5361. closecallback: function() {}
  5362. }, {
  5363. "style": {
  5364. "height": "36px"
  5365. }
  5366. }).form; //创建窗体
  5367. _taskbar = {
  5368. "id": str + _formdiv.id,
  5369. "style": {
  5370. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5371. },
  5372. "name": "思维网格",
  5373. "forms": _formdiv,
  5374. "click": function() {
  5375. U.MD.D.I.openApplication(str, obj, info);
  5376. }
  5377. }
  5378. break;
  5379. case "courseDesign":
  5380. _iframe = $$("iframe", {
  5381. "webkitallowfullscreen": "",
  5382. "mozallowfullscreen": "",
  5383. "allowfullscreen": "",
  5384. "frameborder": "no",
  5385. "border": "0",
  5386. "scrolling ": "no",
  5387. "style": {
  5388. "cssText": "border:0; width:100%; height:100%;"
  5389. },
  5390. "src": "/course-design-vue"
  5391. })
  5392. _box.appendChild(_iframe);
  5393. _box.appendChild(_jie);
  5394. _formdiv = new U.UF.UI.form(
  5395. "项目设计-" + _username,
  5396. _box, {
  5397. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5398. "style": {
  5399. "width": "90%",
  5400. "height": "90%",
  5401. "overflow": 'hidden'
  5402. },
  5403. "onresize": function() {}
  5404. }, {
  5405. closecallback: function() {}
  5406. }, {
  5407. "style": {
  5408. "height": "36px"
  5409. }
  5410. }).form; //创建窗体
  5411. _taskbar = {
  5412. "id": str + _formdiv.id,
  5413. "style": {
  5414. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5415. },
  5416. "name": "项目设计",
  5417. "forms": _formdiv,
  5418. "click": function() {
  5419. U.MD.D.I.openApplication(str, obj, info);
  5420. }
  5421. }
  5422. break;
  5423. }
  5424. const script1 = document.createElement("script");
  5425. script1.type = "text/javascript";
  5426. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5427. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5428. const script2 = document.createElement("script");
  5429. script2.type = "text/javascript";
  5430. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5431. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5432. const script3 = document.createElement("script");
  5433. script3.type = "text/javascript";
  5434. script3.charset = "UTF-8";
  5435. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5436. const script4 = document.createElement("script");
  5437. script4.type = "text/javascript";
  5438. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5439. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5440. if (_iframe) {
  5441. if (str == 'doc') {
  5442. _iframe = _formdiv.querySelector('iframe')
  5443. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5444. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5445. _iframe.contentWindow.document.body.appendChild(script1);
  5446. _iframe.contentWindow.document.body.appendChild(script2);
  5447. // _iframe.contentWindow.document.body.appendChild(script3);
  5448. _iframe.contentWindow.document.body.appendChild(script4);
  5449. })
  5450. if (onloadListener) {
  5451. _iframe.contentDocument.location.reload()
  5452. } else {
  5453. _iframe.contentDocument.location.reload()
  5454. }
  5455. } else if (str == 'courseDesign') {
  5456. U.UF.DL.iframeLoad(_iframe, function() {
  5457. // _iframe.contentWindow.U.MD.O.W.load();
  5458. // _iframe.contentWindow.document.body.appendChild(script1);
  5459. _iframe.contentWindow.document.body.appendChild(script2);
  5460. _iframe.contentWindow.document.body.appendChild(script4);
  5461. })
  5462. } else if (str == 'mind') {
  5463. _iframe = _formdiv.querySelector('iframe')
  5464. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5465. //
  5466. _iframe.contentWindow.document.body.appendChild(script1);
  5467. _iframe.contentWindow.document.body.appendChild(script2);
  5468. _iframe.contentWindow.document.body.appendChild(script4);
  5469. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5470. })
  5471. if (onloadListener) {
  5472. _iframe.contentDocument.location.reload()
  5473. } else {
  5474. _iframe.contentDocument.location.reload()
  5475. }
  5476. } else if (str == 'whiteboard') {
  5477. _iframe = _formdiv.querySelector('iframe')
  5478. let onloadListener = _iframe.onload = () => {
  5479. _iframe.contentWindow.document.body.appendChild(script1);
  5480. _iframe.contentWindow.document.body.appendChild(script2);
  5481. _iframe.contentWindow.document.body.appendChild(script4);
  5482. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5483. };
  5484. if (onloadListener) {
  5485. _iframe.contentDocument.location.reload()
  5486. } else {
  5487. _iframe.contentDocument.location.reload()
  5488. }
  5489. } else {
  5490. _iframe.onload = () => {
  5491. _iframe.contentWindow.document.body.appendChild(script1);
  5492. _iframe.contentWindow.document.body.appendChild(script2);
  5493. // _iframe.contentWindow.document.body.appendChild(script3);
  5494. _iframe.contentWindow.document.body.appendChild(script4);
  5495. };
  5496. }
  5497. _jie.onclick = async() => {
  5498. let text = ''
  5499. if (aTool == 1) {
  5500. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5501. } else if (aTool == 6) {
  5502. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5503. } else if (aTool == 3) {
  5504. text = await U.MD.D.I.getEditorContent(_iframe);
  5505. }
  5506. _loading.style.display = 'flex'
  5507. console.log(_loading);
  5508. var _ajs = _iframe.contentWindow.document.createElement("script");
  5509. _ajs.type = "text/javascript";
  5510. _ajs.innerHTML =
  5511. // 'console.log(' + _loading + ');\n' +
  5512. 'var _js = document.createElement("script");\n' +
  5513. '_js.type="text/javascript";\n' +
  5514. '_js.charset="UTF-8";\n' +
  5515. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5516. "_js.onload = function(){\n" +
  5517. ' var a = document.getElementsByTagName("img")\n' +
  5518. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5519. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5520. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5521. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5522. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5523. "beforeUpload_shishi(file," +
  5524. "'" +
  5525. _userid +
  5526. "'" +
  5527. ", " +
  5528. "'" +
  5529. _cid +
  5530. "'" +
  5531. ", " +
  5532. "'" +
  5533. _stage +
  5534. "'" +
  5535. ", " +
  5536. "'" +
  5537. _task +
  5538. "'" +
  5539. ", " +
  5540. "'" +
  5541. _tool +
  5542. "'" +
  5543. ", " +
  5544. "'" +
  5545. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5546. "'" +
  5547. ", " +
  5548. "'" +
  5549. aTool +
  5550. "'" +
  5551. ", " +
  5552. "`" +
  5553. text +
  5554. "`" +
  5555. ")\n" +
  5556. " });\n" +
  5557. "}\n" +
  5558. "document.head.appendChild(_js);\n";
  5559. _iframe.contentWindow.document.head.appendChild(_ajs);
  5560. }
  5561. }
  5562. }
  5563. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5564. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5565. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5566. _userid = student.userid, //登录用户id
  5567. _username = student.student //用户名字
  5568. let _iframe;
  5569. let _cid = cid,
  5570. _stage = stage,
  5571. _task = task,
  5572. _tool = tool;
  5573. var _jie = $$("div", {
  5574. "style": {
  5575. "position": "absolute",
  5576. "bottom": "50px",
  5577. "right": "50px",
  5578. "zIndex": "9999",
  5579. "backgroundColor": "#2268bc",
  5580. "color": "#fff",
  5581. "padding": "12px 20px",
  5582. "cursor": "pointer",
  5583. "borderRadius": "4px",
  5584. },
  5585. "innerHTML": "提交作业"
  5586. })
  5587. let aTool = ''
  5588. let _loading = document.createElement('div')
  5589. _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;"
  5590. // _loading.id = "";
  5591. let _lchild = document.createElement('div')
  5592. let _limg = document.createElement('img')
  5593. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5594. _limg.style = "width: 26px;margin-right: 10px;"
  5595. _lchild.appendChild(_limg)
  5596. let _lspan = document.createElement('span')
  5597. _lspan.innerHTML = "上传中..."
  5598. _lchild.appendChild(_lspan)
  5599. _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%);"
  5600. _loading.appendChild(_lchild)
  5601. var _box = $$('div', {
  5602. "style": {
  5603. "position": "relative",
  5604. "width": "100%",
  5605. "height": "100%",
  5606. },
  5607. })
  5608. _box.appendChild(_loading)
  5609. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5610. switch (str) {
  5611. case "whiteboard":
  5612. aTool = 1;
  5613. _iframe = $$("iframe", {
  5614. "frameborder": "no",
  5615. "border": "0",
  5616. "scrolling ": "no",
  5617. "style": {
  5618. "cssText": "border:0;width:100%;height:100%"
  5619. },
  5620. "src": "https://iwb.cocorobo.cn/"
  5621. })
  5622. _box.appendChild(_iframe);
  5623. _box.appendChild(_jie);
  5624. _formdiv = new U.UF.UI.form(
  5625. "电子白板-" + _username,
  5626. _box, {
  5627. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5628. "style": {
  5629. "width": "90%",
  5630. "height": "90%",
  5631. "overflow": 'hidden'
  5632. },
  5633. "onresize": function() {}
  5634. }, {
  5635. closecallback: function() {}
  5636. }, {
  5637. "style": {
  5638. "height": "36px"
  5639. }
  5640. }).form; //创建窗体
  5641. _taskbar = {
  5642. "id": str + _formdiv.id,
  5643. "style": {
  5644. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5645. },
  5646. "name": "电子白板",
  5647. "forms": _formdiv,
  5648. "click": function() {
  5649. U.MD.D.I.openApplication(str, obj, info);
  5650. }
  5651. }
  5652. break;
  5653. case "mind":
  5654. aTool = 3;
  5655. _iframe = $$("iframe", {
  5656. "frameborder": "no",
  5657. "border": "0",
  5658. "scrolling ": "no",
  5659. "style": {
  5660. "cssText": "border:0;width:100%;height:100%"
  5661. },
  5662. "src": "/kityminder-editor/dist/index.html"
  5663. })
  5664. _box.appendChild(_iframe);
  5665. _box.appendChild(_jie);
  5666. _formdiv = new U.UF.UI.form(
  5667. "思维导图-" + _username,
  5668. _box, { //"/jsmind/example/demo.html"
  5669. "id": "mind" + cid + stage + task + tool + _userid,
  5670. "style": {
  5671. "width": "90%",
  5672. "height": "90%",
  5673. "overflow": 'hidden'
  5674. },
  5675. "onresize": function() {}
  5676. }, {
  5677. closecallback: function() {}
  5678. }, {
  5679. "style": {
  5680. "height": "36px"
  5681. }
  5682. }).form; //创建窗体
  5683. _taskbar = {
  5684. "id": str + _formdiv.id,
  5685. "style": {
  5686. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5687. },
  5688. "name": "思维导图",
  5689. "forms": _formdiv,
  5690. "click": function() {
  5691. U.MD.D.I.openApplication(str, obj, info);
  5692. }
  5693. }
  5694. break;
  5695. case "MindMap":
  5696. aTool = 3;
  5697. _iframe = $$("iframe", {
  5698. "frameborder": "no",
  5699. "border": "0",
  5700. "scrolling ": "no",
  5701. "style": {
  5702. "cssText": "border:0;width:100%;height:100%"
  5703. },
  5704. "src": "//cloud.cocorobo.cn/mind/"
  5705. })
  5706. _box.appendChild(_iframe);
  5707. _box.appendChild(_jie);
  5708. _formdiv = new U.UF.UI.form(
  5709. "思维导图-" + _username,
  5710. _box, { //"/jsmind/example/demo.html"
  5711. "id": "mind" + cid + stage + task + tool + _userid,
  5712. "style": {
  5713. "width": "90%",
  5714. "height": "90%",
  5715. "overflow": 'hidden'
  5716. },
  5717. "onresize": function() {}
  5718. }, {
  5719. closecallback: function() {}
  5720. }, {
  5721. "style": {
  5722. "height": "36px"
  5723. }
  5724. }).form; //创建窗体
  5725. _taskbar = {
  5726. "id": str + _formdiv.id,
  5727. "style": {
  5728. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5729. },
  5730. "name": "思维导图",
  5731. "forms": _formdiv,
  5732. "click": function() {
  5733. U.MD.D.I.openApplication(str, obj, info);
  5734. }
  5735. }
  5736. break;
  5737. case "doc":
  5738. aTool = 6;
  5739. _iframe = $$("iframe", {
  5740. "frameborder": "no",
  5741. "border": "0",
  5742. "scrolling ": "no",
  5743. "style": {
  5744. "cssText": "border:0;width:100%;height:100%"
  5745. },
  5746. "src": "/Office/Word/WordEditArea.htm"
  5747. })
  5748. _box.appendChild(_iframe);
  5749. _box.appendChild(_jie);
  5750. _formdiv = new U.UF.UI.form(
  5751. "协同文档-" + _username,
  5752. _box, {
  5753. "id": "doc" + cid + stage + task + tool + _userid,
  5754. "style": {
  5755. "width": "90%",
  5756. "height": "90%",
  5757. "overflow": 'hidden'
  5758. },
  5759. "onresize": function() {}
  5760. }, {
  5761. closecallback: function() {}
  5762. }, {
  5763. "style": {
  5764. "height": "36px"
  5765. }
  5766. }).form; //创建窗体
  5767. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5768. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5769. })
  5770. _taskbar = {
  5771. "id": str + _formdiv.id,
  5772. "style": {
  5773. "backgroundImage": "url(/img/icon/doc.png)"
  5774. },
  5775. "name": "协同文档",
  5776. "forms": _formdiv,
  5777. "click": function() {
  5778. U.MD.D.I.openApplication(str, obj, info);
  5779. }
  5780. }
  5781. break;
  5782. case "mindNetwork": //好友打开
  5783. aTool = 7;
  5784. _iframe = $$("iframe", {
  5785. "webkitallowfullscreen": "",
  5786. "mozallowfullscreen": "",
  5787. "allowfullscreen": "",
  5788. "frameborder": "no",
  5789. "border": "0",
  5790. "scrolling ": "no",
  5791. "style": {
  5792. "cssText": "border:0; width:100%; height:100%;"
  5793. },
  5794. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5795. })
  5796. _box.appendChild(_iframe);
  5797. _box.appendChild(_jie);
  5798. _formdiv = new U.UF.UI.form(
  5799. "思维网格-" + _username,
  5800. _box, {
  5801. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5802. "style": {
  5803. "width": "90%",
  5804. "height": "90%",
  5805. "overflow": 'hidden'
  5806. },
  5807. "onresize": function() {}
  5808. }, {
  5809. closecallback: function() {}
  5810. }, {
  5811. "style": {
  5812. "height": "36px"
  5813. }
  5814. }).form; //创建窗体
  5815. _taskbar = {
  5816. "id": str + _formdiv.id,
  5817. "style": {
  5818. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5819. },
  5820. "name": "思维网格",
  5821. "forms": _formdiv,
  5822. "click": function() {
  5823. U.MD.D.I.openApplication(str, obj, info);
  5824. }
  5825. }
  5826. break;
  5827. case "courseDesign":
  5828. _iframe = $$("iframe", {
  5829. "webkitallowfullscreen": "",
  5830. "mozallowfullscreen": "",
  5831. "allowfullscreen": "",
  5832. "frameborder": "no",
  5833. "border": "0",
  5834. "scrolling ": "no",
  5835. "style": {
  5836. "cssText": "border:0; width:100%; height:100%;"
  5837. },
  5838. "src": "/course-design-vue"
  5839. })
  5840. _box.appendChild(_iframe);
  5841. _box.appendChild(_jie);
  5842. _formdiv = new U.UF.UI.form(
  5843. "项目设计-" + _username,
  5844. _box, {
  5845. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5846. "style": {
  5847. "width": "90%",
  5848. "height": "90%",
  5849. "overflow": 'hidden'
  5850. },
  5851. "onresize": function() {}
  5852. }, {
  5853. closecallback: function() {}
  5854. }, {
  5855. "style": {
  5856. "height": "36px"
  5857. }
  5858. }).form; //创建窗体
  5859. _taskbar = {
  5860. "id": str + _formdiv.id,
  5861. "style": {
  5862. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5863. },
  5864. "name": "项目设计",
  5865. "forms": _formdiv,
  5866. "click": function() {
  5867. U.MD.D.I.openApplication(str, obj, info);
  5868. }
  5869. }
  5870. break;
  5871. }
  5872. const script1 = document.createElement("script");
  5873. script1.type = "text/javascript";
  5874. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5875. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5876. const script2 = document.createElement("script");
  5877. script2.type = "text/javascript";
  5878. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5879. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5880. const script3 = document.createElement("script");
  5881. script3.type = "text/javascript";
  5882. script3.charset = "UTF-8";
  5883. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5884. const script4 = document.createElement("script");
  5885. script4.type = "text/javascript";
  5886. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5887. script4.src = window.origin + "/js/Common/jietu2E.js";
  5888. if (_iframe) {
  5889. if (str == 'doc') {
  5890. _iframe = _formdiv.querySelector('iframe')
  5891. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5892. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5893. _iframe.contentWindow.document.body.appendChild(script1);
  5894. _iframe.contentWindow.document.body.appendChild(script2);
  5895. // _iframe.contentWindow.document.body.appendChild(script3);
  5896. _iframe.contentWindow.document.body.appendChild(script4);
  5897. })
  5898. if (onloadListener) {
  5899. _iframe.contentDocument.location.reload()
  5900. } else {
  5901. _iframe.contentDocument.location.reload()
  5902. }
  5903. } else if (str == 'courseDesign') {
  5904. U.UF.DL.iframeLoad(_iframe, function() {
  5905. // _iframe.contentWindow.U.MD.O.W.load();
  5906. // _iframe.contentWindow.document.body.appendChild(script1);
  5907. _iframe.contentWindow.document.body.appendChild(script2);
  5908. _iframe.contentWindow.document.body.appendChild(script4);
  5909. })
  5910. } else if (str == 'mind') {
  5911. _iframe = _formdiv.querySelector('iframe')
  5912. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5913. //
  5914. _iframe.contentWindow.document.body.appendChild(script1);
  5915. _iframe.contentWindow.document.body.appendChild(script2);
  5916. _iframe.contentWindow.document.body.appendChild(script4);
  5917. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5918. })
  5919. if (onloadListener) {
  5920. _iframe.contentDocument.location.reload()
  5921. } else {
  5922. _iframe.contentDocument.location.reload()
  5923. }
  5924. } else if (str == 'whiteboard') {
  5925. _iframe = _formdiv.querySelector('iframe')
  5926. let onloadListener = _iframe.onload = () => {
  5927. _iframe.contentWindow.document.body.appendChild(script1);
  5928. _iframe.contentWindow.document.body.appendChild(script2);
  5929. _iframe.contentWindow.document.body.appendChild(script4);
  5930. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5931. };
  5932. if (onloadListener) {
  5933. _iframe.contentDocument.location.reload()
  5934. } else {
  5935. _iframe.contentDocument.location.reload()
  5936. }
  5937. } else {
  5938. _iframe.onload = () => {
  5939. _iframe.contentWindow.document.body.appendChild(script1);
  5940. _iframe.contentWindow.document.body.appendChild(script2);
  5941. // _iframe.contentWindow.document.body.appendChild(script3);
  5942. _iframe.contentWindow.document.body.appendChild(script4);
  5943. };
  5944. }
  5945. _jie.onclick = async() => {
  5946. let text = ''
  5947. if (aTool == 1) {
  5948. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5949. } else if (aTool == 6) {
  5950. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5951. } else if (aTool == 3) {
  5952. text = await U.MD.D.I.getEditorContent(_iframe);
  5953. }
  5954. _loading.style.display = 'flex'
  5955. console.log(_loading);
  5956. var _ajs = _iframe.contentWindow.document.createElement("script");
  5957. _ajs.type = "text/javascript";
  5958. _ajs.innerHTML =
  5959. // 'console.log(' + _loading + ');\n' +
  5960. 'var _js = document.createElement("script");\n' +
  5961. '_js.type="text/javascript";\n' +
  5962. '_js.charset="UTF-8";\n' +
  5963. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5964. "_js.onload = function(){\n" +
  5965. ' var a = document.getElementsByTagName("img")\n' +
  5966. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5967. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5968. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5969. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5970. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5971. "beforeUpload_shishi(file," +
  5972. "'" +
  5973. _userid +
  5974. "'" +
  5975. ", " +
  5976. "'" +
  5977. _cid +
  5978. "'" +
  5979. ", " +
  5980. "'" +
  5981. _stage +
  5982. "'" +
  5983. ", " +
  5984. "'" +
  5985. _task +
  5986. "'" +
  5987. ", " +
  5988. "'" +
  5989. _tool +
  5990. "'" +
  5991. ", " +
  5992. "'" +
  5993. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  5994. "'" +
  5995. ", " +
  5996. "'" +
  5997. aTool +
  5998. "'" +
  5999. ", " +
  6000. "`" +
  6001. text +
  6002. "`" +
  6003. ")\n" +
  6004. " });\n" +
  6005. "}\n" +
  6006. "document.head.appendChild(_js);\n";
  6007. _iframe.contentWindow.document.head.appendChild(_ajs);
  6008. }
  6009. }
  6010. }
  6011. U.MD.D.I.getEditorContent = function(iframe) {
  6012. return new Promise((resolve, reject) => {
  6013. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6014. console.log(content);
  6015. resolve(content)
  6016. });
  6017. });
  6018. }
  6019. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6020. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6021. // if (res.value[0].length > 0) {
  6022. // // resolve(res.value[0][0].text);
  6023. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6024. // $(fileInput).val('');
  6025. // });
  6026. // }
  6027. // }, [], { "type": "GET", "withCredentials": true });
  6028. var xmlhttp;
  6029. var Mac, Sn, DeviceId
  6030. if (window.XMLHttpRequest) {
  6031. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6032. xmlhttp = new XMLHttpRequest();
  6033. } else {
  6034. // IE6, IE5 浏览器执行代码
  6035. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6036. }
  6037. xmlhttp.onreadystatechange = function() {
  6038. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6039. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6040. // resolve(res.value[0][0].text);
  6041. if (type == '2') {
  6042. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6043. } else if (type == '3') {
  6044. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6045. }
  6046. } else {
  6047. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6048. }
  6049. }
  6050. }
  6051. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6052. xmlhttp.send();
  6053. }
  6054. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6055. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6056. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6057. _userinfo = US.userInfo, //登录用户信息
  6058. _userid = US.userInfo.userid //登录用户id
  6059. let _iframe;
  6060. let _cid = cid,
  6061. _stage = stage,
  6062. _task = task,
  6063. _tool = tool;
  6064. var _jie = $$("div", {
  6065. "style": {
  6066. "position": "absolute",
  6067. "bottom": "50px",
  6068. "right": "50px",
  6069. "zIndex": "9999",
  6070. "backgroundColor": "#2268bc",
  6071. "color": "#fff",
  6072. "padding": "12px 20px",
  6073. "cursor": "pointer",
  6074. "borderRadius": "4px",
  6075. },
  6076. "innerHTML": "确认并提交"
  6077. })
  6078. let aTool = ''
  6079. let _loading = document.createElement('div')
  6080. _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;"
  6081. // _loading.id = "";
  6082. let _lchild = document.createElement('div')
  6083. let _limg = document.createElement('img')
  6084. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6085. _limg.style = "width: 26px;margin-right: 10px;"
  6086. _lchild.appendChild(_limg)
  6087. let _lspan = document.createElement('span')
  6088. _lspan.innerHTML = "上传中..."
  6089. _lchild.appendChild(_lspan)
  6090. _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%);"
  6091. _loading.appendChild(_lchild)
  6092. var _box = $$('div', {
  6093. "style": {
  6094. "position": "relative",
  6095. "width": "100%",
  6096. "height": "100%",
  6097. },
  6098. })
  6099. _box.appendChild(_loading)
  6100. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6101. switch (str) {
  6102. case "whiteboard":
  6103. aTool = 1;
  6104. _iframe = $$("iframe", {
  6105. "frameborder": "no",
  6106. "border": "0",
  6107. "scrolling ": "no",
  6108. "style": {
  6109. "cssText": "border:0;width:100%;height:100%"
  6110. },
  6111. "src": "https://iwb.cocorobo.cn/"
  6112. })
  6113. _box.appendChild(_iframe);
  6114. _box.appendChild(_jie);
  6115. _formdiv = new U.UF.UI.form(
  6116. "电子白板",
  6117. _box, {
  6118. "id": "whiteboards" + cid + stage + task + tool,
  6119. "style": {
  6120. "width": "90%",
  6121. "height": "90%",
  6122. "overflow": 'hidden'
  6123. },
  6124. "onresize": function() {}
  6125. }, {
  6126. closecallback: function() {}
  6127. }, {
  6128. "style": {
  6129. "height": "36px"
  6130. }
  6131. }).form; //创建窗体
  6132. _taskbar = {
  6133. "id": str + _formdiv.id,
  6134. "style": {
  6135. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6136. },
  6137. "name": "电子白板",
  6138. "forms": _formdiv,
  6139. "click": function() {
  6140. U.MD.D.I.openApplication(str, obj, info);
  6141. }
  6142. }
  6143. break;
  6144. case "mind":
  6145. aTool = 3;
  6146. _iframe = $$("iframe", {
  6147. "frameborder": "no",
  6148. "border": "0",
  6149. "scrolling ": "no",
  6150. "style": {
  6151. "cssText": "border:0;width:100%;height:100%"
  6152. },
  6153. "src": "/kityminder-editor/dist/index.html"
  6154. });
  6155. _box.appendChild(_iframe);
  6156. _box.appendChild(_jie);
  6157. _formdiv = new U.UF.UI.form(
  6158. "思维导图",
  6159. _box, { //"/jsmind/example/demo.html"
  6160. "id": "minds" + cid + stage + task + tool,
  6161. "style": {
  6162. "width": "90%",
  6163. "height": "90%",
  6164. "overflow": 'hidden'
  6165. },
  6166. "onresize": function() {}
  6167. }, {
  6168. closecallback: function() {}
  6169. }, {
  6170. "style": {
  6171. "height": "36px"
  6172. }
  6173. }).form; //创建窗体
  6174. _taskbar = {
  6175. "id": str + _formdiv.id,
  6176. "style": {
  6177. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6178. },
  6179. "name": "思维导图",
  6180. "forms": _formdiv,
  6181. "click": function() {
  6182. U.MD.D.I.openApplication(str, obj, info);
  6183. }
  6184. }
  6185. break;
  6186. case "doc":
  6187. aTool = 6;
  6188. _iframe = $$("iframe", {
  6189. "frameborder": "no",
  6190. "border": "0",
  6191. "scrolling ": "no",
  6192. "style": {
  6193. "cssText": "border:0;width:100%;height:100%"
  6194. },
  6195. "src": "/Office/Word/WordEditArea.htm"
  6196. })
  6197. _box.appendChild(_iframe);
  6198. _box.appendChild(_jie);
  6199. _formdiv = new U.UF.UI.form(
  6200. "协同文档",
  6201. _box, {
  6202. "id": "docs" + cid + stage + task + tool,
  6203. "style": {
  6204. "width": "90%",
  6205. "height": "90%",
  6206. "overflow": 'hidden'
  6207. },
  6208. "onresize": function() {}
  6209. }, {
  6210. closecallback: function() {}
  6211. }, {
  6212. "style": {
  6213. "height": "36px"
  6214. }
  6215. }).form; //创建窗体
  6216. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6217. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6218. })
  6219. _taskbar = {
  6220. "id": str + _formdiv.id,
  6221. "style": {
  6222. "backgroundImage": "url(/img/icon/doc.png)"
  6223. },
  6224. "name": "协同文档",
  6225. "forms": _formdiv,
  6226. "click": function() {
  6227. U.MD.D.I.openApplication(str, obj, info);
  6228. }
  6229. }
  6230. break;
  6231. }
  6232. const script1 = document.createElement("script");
  6233. script1.type = "text/javascript";
  6234. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6235. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6236. const script2 = document.createElement("script");
  6237. script2.type = "text/javascript";
  6238. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6239. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6240. const script3 = document.createElement("script");
  6241. script3.type = "text/javascript";
  6242. script3.charset = "UTF-8";
  6243. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6244. const script4 = document.createElement("script");
  6245. script4.type = "text/javascript";
  6246. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6247. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6248. if (_iframe) {
  6249. if (str == 'doc') {
  6250. _iframe = _formdiv.querySelector('iframe')
  6251. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6252. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6253. _iframe.contentWindow.document.body.appendChild(script1);
  6254. _iframe.contentWindow.document.body.appendChild(script2);
  6255. // _iframe.contentWindow.document.body.appendChild(script3);
  6256. _iframe.contentWindow.document.body.appendChild(script4);
  6257. })
  6258. if (onloadListener) {
  6259. _iframe.contentDocument.location.reload()
  6260. } else {
  6261. _iframe.contentDocument.location.reload()
  6262. }
  6263. } else if (str == 'mind') {
  6264. _iframe = _formdiv.querySelector('iframe')
  6265. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6266. _iframe.contentWindow.document.body.appendChild(script1);
  6267. _iframe.contentWindow.document.body.appendChild(script2);
  6268. _iframe.contentWindow.document.body.appendChild(script4);
  6269. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6270. })
  6271. if (onloadListener) {
  6272. _iframe.contentDocument.location.reload()
  6273. } else {
  6274. _iframe.contentDocument.location.reload()
  6275. }
  6276. } else {
  6277. _iframe.onload = () => {
  6278. _iframe.contentWindow.document.body.appendChild(script1);
  6279. _iframe.contentWindow.document.body.appendChild(script2);
  6280. // _iframe.contentWindow.document.body.appendChild(script3);
  6281. _iframe.contentWindow.document.body.appendChild(script4);
  6282. };
  6283. }
  6284. _jie.onclick = async() => {
  6285. let text = ''
  6286. if (aTool == 6) {
  6287. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6288. } else if (aTool == 3) {
  6289. text = await U.MD.D.I.getEditorContent(_iframe);
  6290. }
  6291. _loading.style.display = 'flex'
  6292. console.log(_loading);
  6293. var _ajs = _iframe.contentWindow.document.createElement("script");
  6294. _ajs.type = "text/javascript";
  6295. _ajs.innerHTML =
  6296. // 'console.log(' + _loading + ');\n' +
  6297. 'var _js = document.createElement("script");\n' +
  6298. '_js.type="text/javascript";\n' +
  6299. '_js.charset="UTF-8";\n' +
  6300. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6301. "_js.onload = function(){\n" +
  6302. ' var a = document.getElementsByTagName("img")\n' +
  6303. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6304. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6305. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6306. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6307. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6308. "beforeUpload_shishi(file," +
  6309. "'" +
  6310. _userid +
  6311. "'" +
  6312. ", " +
  6313. "'" +
  6314. _cid +
  6315. "'" +
  6316. ", " +
  6317. "'" +
  6318. _stage +
  6319. "'" +
  6320. ", " +
  6321. "'" +
  6322. _task +
  6323. "'" +
  6324. ", " +
  6325. "'" +
  6326. _tool +
  6327. "'" +
  6328. ", " +
  6329. "'" +
  6330. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6331. "'" +
  6332. ", " +
  6333. "'" +
  6334. aTool +
  6335. "'" +
  6336. ", " +
  6337. "`" +
  6338. text +
  6339. "`" +
  6340. ")\n" +
  6341. " });\n" +
  6342. "}\n" +
  6343. "document.head.appendChild(_js);\n";
  6344. _iframe.contentWindow.document.head.appendChild(_ajs);
  6345. }
  6346. }
  6347. //U.MD.D.I.openClick(str);
  6348. //如果有任务栏信息
  6349. // if (_taskbar) {
  6350. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6351. // }
  6352. }
  6353. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6354. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6355. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6356. _userinfo = US.userInfo, //登录用户信息
  6357. _userid = US.userInfo.userid //登录用户id
  6358. let _iframe;
  6359. let _cid = cid,
  6360. _stage = stage,
  6361. _task = task,
  6362. _tool = tool;
  6363. var _jie = $$("div", {
  6364. "style": {
  6365. "position": "absolute",
  6366. "bottom": "50px",
  6367. "right": "50px",
  6368. "zIndex": "9999",
  6369. "backgroundColor": "#2268bc",
  6370. "color": "#fff",
  6371. "padding": "12px 20px",
  6372. "cursor": "pointer",
  6373. "borderRadius": "4px",
  6374. },
  6375. "innerHTML": "确认并提交"
  6376. })
  6377. let aTool = ''
  6378. let _loading = document.createElement('div')
  6379. _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;"
  6380. // _loading.id = "";
  6381. let _lchild = document.createElement('div')
  6382. let _limg = document.createElement('img')
  6383. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6384. _limg.style = "width: 26px;margin-right: 10px;"
  6385. _lchild.appendChild(_limg)
  6386. let _lspan = document.createElement('span')
  6387. _lspan.innerHTML = "上传中..."
  6388. _lchild.appendChild(_lspan)
  6389. _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%);"
  6390. _loading.appendChild(_lchild)
  6391. var _box = $$('div', {
  6392. "style": {
  6393. "position": "relative",
  6394. "width": "100%",
  6395. "height": "100%",
  6396. },
  6397. })
  6398. _box.appendChild(_loading)
  6399. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6400. switch (str) {
  6401. case "whiteboard":
  6402. aTool = 1;
  6403. _iframe = $$("iframe", {
  6404. "frameborder": "no",
  6405. "border": "0",
  6406. "scrolling ": "no",
  6407. "style": {
  6408. "cssText": "border:0;width:100%;height:100%"
  6409. },
  6410. "src": "https://iwb.cocorobo.cn/"
  6411. })
  6412. _box.appendChild(_iframe);
  6413. _box.appendChild(_jie);
  6414. _formdiv = new U.UF.UI.form(
  6415. "电子白板",
  6416. _box, {
  6417. "id": "whiteboards" + cid + stage + task + tool,
  6418. "style": {
  6419. "width": "90%",
  6420. "height": "90%",
  6421. "overflow": 'hidden'
  6422. },
  6423. "onresize": function() {}
  6424. }, {
  6425. closecallback: function() {}
  6426. }, {
  6427. "style": {
  6428. "height": "36px"
  6429. }
  6430. }).form; //创建窗体
  6431. _taskbar = {
  6432. "id": str + _formdiv.id,
  6433. "style": {
  6434. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6435. },
  6436. "name": "电子白板",
  6437. "forms": _formdiv,
  6438. "click": function() {
  6439. U.MD.D.I.openApplication(str, obj, info);
  6440. }
  6441. }
  6442. break;
  6443. case "mind":
  6444. aTool = 3;
  6445. _iframe = $$("iframe", {
  6446. "frameborder": "no",
  6447. "border": "0",
  6448. "scrolling ": "no",
  6449. "style": {
  6450. "cssText": "border:0;width:100%;height:100%"
  6451. },
  6452. "src": "/kityminder-editor/dist/index.html"
  6453. });
  6454. _box.appendChild(_iframe);
  6455. _box.appendChild(_jie);
  6456. _formdiv = new U.UF.UI.form(
  6457. "思维导图",
  6458. _box, { //"/jsmind/example/demo.html"
  6459. "id": "minds" + cid + stage + task + tool,
  6460. "style": {
  6461. "width": "90%",
  6462. "height": "90%",
  6463. "overflow": 'hidden'
  6464. },
  6465. "onresize": function() {}
  6466. }, {
  6467. closecallback: function() {}
  6468. }, {
  6469. "style": {
  6470. "height": "36px"
  6471. }
  6472. }).form; //创建窗体
  6473. _taskbar = {
  6474. "id": str + _formdiv.id,
  6475. "style": {
  6476. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6477. },
  6478. "name": "思维导图",
  6479. "forms": _formdiv,
  6480. "click": function() {
  6481. U.MD.D.I.openApplication(str, obj, info);
  6482. }
  6483. }
  6484. break;
  6485. case "doc":
  6486. aTool = 6;
  6487. _iframe = $$("iframe", {
  6488. "frameborder": "no",
  6489. "border": "0",
  6490. "scrolling ": "no",
  6491. "style": {
  6492. "cssText": "border:0;width:100%;height:100%"
  6493. },
  6494. "src": "/Office/Word/WordEditArea.htm"
  6495. })
  6496. _box.appendChild(_iframe);
  6497. _box.appendChild(_jie);
  6498. _formdiv = new U.UF.UI.form(
  6499. "协同文档",
  6500. _box, {
  6501. "id": "docs" + cid + stage + task + tool,
  6502. "style": {
  6503. "width": "90%",
  6504. "height": "90%",
  6505. "overflow": 'hidden'
  6506. },
  6507. "onresize": function() {}
  6508. }, {
  6509. closecallback: function() {}
  6510. }, {
  6511. "style": {
  6512. "height": "36px"
  6513. }
  6514. }).form; //创建窗体
  6515. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6516. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6517. })
  6518. _taskbar = {
  6519. "id": str + _formdiv.id,
  6520. "style": {
  6521. "backgroundImage": "url(/img/icon/doc.png)"
  6522. },
  6523. "name": "协同文档",
  6524. "forms": _formdiv,
  6525. "click": function() {
  6526. U.MD.D.I.openApplication(str, obj, info);
  6527. }
  6528. }
  6529. break;
  6530. }
  6531. const script1 = document.createElement("script");
  6532. script1.type = "text/javascript";
  6533. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6534. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6535. const script2 = document.createElement("script");
  6536. script2.type = "text/javascript";
  6537. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6538. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6539. const script3 = document.createElement("script");
  6540. script3.type = "text/javascript";
  6541. script3.charset = "UTF-8";
  6542. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6543. const script4 = document.createElement("script");
  6544. script4.type = "text/javascript";
  6545. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6546. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6547. if (_iframe) {
  6548. if (str == 'doc') {
  6549. _iframe = _formdiv.querySelector('iframe')
  6550. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6551. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6552. _iframe.contentWindow.document.body.appendChild(script1);
  6553. _iframe.contentWindow.document.body.appendChild(script2);
  6554. // _iframe.contentWindow.document.body.appendChild(script3);
  6555. _iframe.contentWindow.document.body.appendChild(script4);
  6556. })
  6557. if (onloadListener) {
  6558. _iframe.contentDocument.location.reload()
  6559. } else {
  6560. _iframe.contentDocument.location.reload()
  6561. }
  6562. } else if (str == 'mind') {
  6563. _iframe = _formdiv.querySelector('iframe')
  6564. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6565. _iframe.contentWindow.document.body.appendChild(script1);
  6566. _iframe.contentWindow.document.body.appendChild(script2);
  6567. _iframe.contentWindow.document.body.appendChild(script4);
  6568. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6569. })
  6570. if (onloadListener) {
  6571. _iframe.contentDocument.location.reload()
  6572. } else {
  6573. _iframe.contentDocument.location.reload()
  6574. }
  6575. } else {
  6576. _iframe.onload = () => {
  6577. _iframe.contentWindow.document.body.appendChild(script1);
  6578. _iframe.contentWindow.document.body.appendChild(script2);
  6579. // _iframe.contentWindow.document.body.appendChild(script3);
  6580. _iframe.contentWindow.document.body.appendChild(script4);
  6581. };
  6582. }
  6583. _jie.onclick = async() => {
  6584. let text = ''
  6585. if (aTool == 6) {
  6586. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6587. } else if (aTool == 3) {
  6588. text = await U.MD.D.I.getEditorContent(_iframe);
  6589. }
  6590. _loading.style.display = 'flex'
  6591. console.log(_loading);
  6592. var _ajs = _iframe.contentWindow.document.createElement("script");
  6593. _ajs.type = "text/javascript";
  6594. _ajs.innerHTML =
  6595. // 'console.log(' + _loading + ');\n' +
  6596. 'var _js = document.createElement("script");\n' +
  6597. '_js.type="text/javascript";\n' +
  6598. '_js.charset="UTF-8";\n' +
  6599. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6600. "_js.onload = function(){\n" +
  6601. ' var a = document.getElementsByTagName("img")\n' +
  6602. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6603. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6604. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6605. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6606. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6607. "beforeUpload_shishi(file," +
  6608. "'" +
  6609. _userid +
  6610. "'" +
  6611. ", " +
  6612. "'" +
  6613. _cid +
  6614. "'" +
  6615. ", " +
  6616. "'" +
  6617. _stage +
  6618. "'" +
  6619. ", " +
  6620. "'" +
  6621. _task +
  6622. "'" +
  6623. ", " +
  6624. "'" +
  6625. _tool +
  6626. "'" +
  6627. ", " +
  6628. "'" +
  6629. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6630. "'" +
  6631. ", " +
  6632. "'" +
  6633. aTool +
  6634. "'" +
  6635. ", " +
  6636. "`" +
  6637. text +
  6638. "`" +
  6639. ")\n" +
  6640. " });\n" +
  6641. "}\n" +
  6642. "document.head.appendChild(_js);\n";
  6643. _iframe.contentWindow.document.head.appendChild(_ajs);
  6644. }
  6645. }
  6646. //U.MD.D.I.openClick(str);
  6647. //如果有任务栏信息
  6648. // if (_taskbar) {
  6649. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6650. // }
  6651. }
  6652. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6653. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6654. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6655. _userinfo = US.userInfo, //登录用户信息
  6656. _userid = US.userInfo.userid //登录用户id
  6657. let _iframe;
  6658. let _cid = cid,
  6659. _stage = stage,
  6660. _task = task,
  6661. _tool = tool;
  6662. var _jie = $$("div", {
  6663. "style": {
  6664. "position": "absolute",
  6665. "bottom": "50px",
  6666. "right": "50px",
  6667. "zIndex": "9999",
  6668. "backgroundColor": "#2268bc",
  6669. "color": "#fff",
  6670. "padding": "12px 20px",
  6671. "cursor": "pointer",
  6672. "borderRadius": "4px",
  6673. },
  6674. "innerHTML": "上传模板"
  6675. })
  6676. let aTool = ''
  6677. let _loading = document.createElement('div')
  6678. _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;"
  6679. // _loading.id = "";
  6680. let _lchild = document.createElement('div')
  6681. let _limg = document.createElement('img')
  6682. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6683. _limg.style = "width: 26px;margin-right: 10px;"
  6684. _lchild.appendChild(_limg)
  6685. let _lspan = document.createElement('span')
  6686. _lspan.innerHTML = "上传中..."
  6687. _lchild.appendChild(_lspan)
  6688. _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%);"
  6689. _loading.appendChild(_lchild)
  6690. var _box = $$('div', {
  6691. "style": {
  6692. "position": "relative",
  6693. "width": "100%",
  6694. "height": "100%",
  6695. },
  6696. })
  6697. _box.appendChild(_loading)
  6698. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6699. switch (str) {
  6700. case "whiteboard":
  6701. aTool = 1;
  6702. _iframe = $$("iframe", {
  6703. "frameborder": "no",
  6704. "border": "0",
  6705. "scrolling ": "no",
  6706. "style": {
  6707. "cssText": "border:0;width:100%;height:100%"
  6708. },
  6709. "src": "https://iwb.cocorobo.cn/"
  6710. })
  6711. _box.appendChild(_iframe);
  6712. _box.appendChild(_jie);
  6713. _formdiv = new U.UF.UI.form(
  6714. "电子白板",
  6715. _box, {
  6716. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6717. "style": {
  6718. "width": "90%",
  6719. "height": "90%",
  6720. "overflow": 'hidden'
  6721. },
  6722. "onresize": function() {}
  6723. }, {
  6724. closecallback: function() {}
  6725. }, {
  6726. "style": {
  6727. "height": "36px"
  6728. }
  6729. }).form; //创建窗体
  6730. _taskbar = {
  6731. "id": str + _formdiv.id,
  6732. "style": {
  6733. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6734. },
  6735. "name": "电子白板",
  6736. "forms": _formdiv,
  6737. "click": function() {
  6738. U.MD.D.I.openApplication(str, obj, info);
  6739. }
  6740. }
  6741. break;
  6742. case "mind":
  6743. aTool = 3;
  6744. _iframe = $$("iframe", {
  6745. "frameborder": "no",
  6746. "border": "0",
  6747. "scrolling ": "no",
  6748. "style": {
  6749. "cssText": "border:0;width:100%;height:100%"
  6750. },
  6751. "src": "/kityminder-editor/dist/index.html"
  6752. });
  6753. _box.appendChild(_iframe);
  6754. _box.appendChild(_jie);
  6755. _formdiv = new U.UF.UI.form(
  6756. "思维导图",
  6757. _box, { //"/jsmind/example/demo.html"
  6758. "id": "minds_Yu" + cid + stage + task + tool,
  6759. "style": {
  6760. "width": "90%",
  6761. "height": "90%",
  6762. "overflow": 'hidden'
  6763. },
  6764. "onresize": function() {}
  6765. }, {
  6766. closecallback: function() {}
  6767. }, {
  6768. "style": {
  6769. "height": "36px"
  6770. }
  6771. }).form; //创建窗体
  6772. _taskbar = {
  6773. "id": str + _formdiv.id,
  6774. "style": {
  6775. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6776. },
  6777. "name": "思维导图",
  6778. "forms": _formdiv,
  6779. "click": function() {
  6780. U.MD.D.I.openApplication(str, obj, info);
  6781. }
  6782. }
  6783. break;
  6784. case "doc":
  6785. aTool = 6;
  6786. _iframe = $$("iframe", {
  6787. "frameborder": "no",
  6788. "border": "0",
  6789. "scrolling ": "no",
  6790. "style": {
  6791. "cssText": "border:0;width:100%;height:100%"
  6792. },
  6793. "src": "/Office/Word/WordEditArea.htm"
  6794. })
  6795. _box.appendChild(_iframe);
  6796. _box.appendChild(_jie);
  6797. _formdiv = new U.UF.UI.form(
  6798. "协同文档",
  6799. _box, {
  6800. "id": "docs_Yu" + cid + stage + task + tool,
  6801. "style": {
  6802. "width": "90%",
  6803. "height": "90%",
  6804. "overflow": 'hidden'
  6805. },
  6806. "onresize": function() {}
  6807. }, {
  6808. closecallback: function() {}
  6809. }, {
  6810. "style": {
  6811. "height": "36px"
  6812. }
  6813. }).form; //创建窗体
  6814. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6815. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6816. })
  6817. _taskbar = {
  6818. "id": str + _formdiv.id,
  6819. "style": {
  6820. "backgroundImage": "url(/img/icon/doc.png)"
  6821. },
  6822. "name": "协同文档",
  6823. "forms": _formdiv,
  6824. "click": function() {
  6825. U.MD.D.I.openApplication(str, obj, info);
  6826. }
  6827. }
  6828. break;
  6829. case "CocoPi":
  6830. aTool = 57;
  6831. _iframe = $$("iframe", {
  6832. "allowpaymentrequest": "allowpaymentrequest",
  6833. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6834. "webkitallowfullscreen": "",
  6835. "mozallowfullscreen": "",
  6836. "frameborder": "no",
  6837. "border": "0",
  6838. "scrolling ": "no",
  6839. "style": {
  6840. "cssText": "border:0;width:100%;height:100%"
  6841. },
  6842. "src": "https://pi.cocorobo.cn/"
  6843. })
  6844. _box.appendChild(_iframe);
  6845. _box.appendChild(_jie);
  6846. _formdiv = new U.UF.UI.form(
  6847. "CocoPi",
  6848. _box, {
  6849. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6850. "style": {
  6851. "width": "90%",
  6852. "height": "90%",
  6853. "overflow": 'hidden'
  6854. },
  6855. "onresize": function() {}
  6856. }, {
  6857. closecallback: function() {}
  6858. }, {
  6859. "style": {
  6860. "height": "36px"
  6861. }
  6862. }).form; //创建窗体
  6863. _taskbar = {
  6864. "id": str + _formdiv.id,
  6865. "style": {
  6866. "backgroundImage": "url(/img/icon/cocopi.png)"
  6867. },
  6868. "name": "CocoPi",
  6869. "forms": _formdiv,
  6870. "click": function() {
  6871. U.MD.D.I.openApplication(str, obj, info);
  6872. }
  6873. }
  6874. break;
  6875. }
  6876. if (_iframe) {
  6877. if (str == 'doc') {
  6878. _iframe = _formdiv.querySelector('iframe')
  6879. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6880. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6881. })
  6882. if (onloadListener) {
  6883. _iframe.contentDocument.location.reload()
  6884. } else {
  6885. _iframe.contentDocument.location.reload()
  6886. }
  6887. } else if (str == 'mind') {
  6888. _iframe = _formdiv.querySelector('iframe')
  6889. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6890. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6891. })
  6892. if (onloadListener) {
  6893. _iframe.contentDocument.location.reload()
  6894. } else {
  6895. _iframe.contentDocument.location.reload()
  6896. }
  6897. } else if (str == 'whiteboard') {
  6898. _iframe = _formdiv.querySelector('iframe')
  6899. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6900. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6901. })
  6902. if (onloadListener) {
  6903. _iframe.contentDocument.location.reload()
  6904. } else {
  6905. _iframe.contentDocument.location.reload()
  6906. }
  6907. } else if (str == 'CocoPi') {
  6908. _iframe = _formdiv.querySelector('iframe')
  6909. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6910. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6911. })
  6912. if (onloadListener) {
  6913. _iframe.contentDocument.location.reload()
  6914. } else {
  6915. _iframe.contentDocument.location.reload()
  6916. }
  6917. } else {
  6918. _iframe.onload = () => {};
  6919. }
  6920. _jie.onclick = async() => {
  6921. let text = ''
  6922. let type = '2'
  6923. if (aTool == 1) {
  6924. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6925. type = '3'
  6926. } else if (aTool == 6) {
  6927. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6928. type = '1'
  6929. } else if (aTool == 3) {
  6930. text = await U.MD.D.I.getEditorContent(_iframe);
  6931. type = '2'
  6932. } else if (aTool == 57) {
  6933. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6934. type = '4'
  6935. }
  6936. _loading.style.display = 'flex'
  6937. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6938. }
  6939. }
  6940. //U.MD.D.I.openClick(str);
  6941. //如果有任务栏信息
  6942. // if (_taskbar) {
  6943. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6944. // }
  6945. }
  6946. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6947. var xmlhttp;
  6948. var Mac, Sn, DeviceId
  6949. if (window.XMLHttpRequest) {
  6950. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6951. xmlhttp = new XMLHttpRequest();
  6952. } else {
  6953. // IE6, IE5 浏览器执行代码
  6954. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6955. }
  6956. xmlhttp.onreadystatechange = function() {
  6957. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6958. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6959. // resolve(res.value[0][0].text);
  6960. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6961. }
  6962. }
  6963. }
  6964. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6965. xmlhttp.send();
  6966. }
  6967. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  6968. var xmlhttp;
  6969. var Mac, Sn, DeviceId
  6970. if (window.XMLHttpRequest) {
  6971. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6972. xmlhttp = new XMLHttpRequest();
  6973. } else {
  6974. // IE6, IE5 浏览器执行代码
  6975. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6976. }
  6977. xmlhttp.onreadystatechange = function() {
  6978. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6979. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6980. // resolve(res.value[0][0].text);
  6981. if (type == '2') {
  6982. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6983. } else if (type == '3') {
  6984. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6985. } else if (type == '4') {
  6986. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6987. }
  6988. } else {
  6989. if (type == '2') {
  6990. iframe.contentWindow.editor.minder.importData('json', '')
  6991. } else if (type == '3') {
  6992. iframe.contentWindow.h.app.updateScene({ elements: [] })
  6993. } else if (type == '4') {
  6994. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6995. }
  6996. }
  6997. }
  6998. }
  6999. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7000. xmlhttp.send();
  7001. }
  7002. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7003. var xmlhttp;
  7004. var Mac, Sn, DeviceId
  7005. if (window.XMLHttpRequest) {
  7006. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7007. xmlhttp = new XMLHttpRequest();
  7008. } else {
  7009. // IE6, IE5 浏览器执行代码
  7010. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7011. }
  7012. xmlhttp.onreadystatechange = function() {
  7013. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7014. if (xmlhttp.response) {
  7015. // resolve(res.value[0][0].text);
  7016. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7017. // $(fileInput).val('');
  7018. // });
  7019. span.innerHTML = '上传成功'
  7020. setTimeout(() => {
  7021. loading.style.display = 'none'
  7022. }, 1000);
  7023. }
  7024. }
  7025. }
  7026. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7027. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7028. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7029. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7030. // 设置请求头,表示请求体的编码格式
  7031. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7032. // 设置请求体,使用url-encoded格式的数据
  7033. }
  7034. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7035. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7036. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7037. _userinfo = US.userInfo, //登录用户信息
  7038. _userid = US.userInfo.userid //登录用户id
  7039. let _iframe;
  7040. let _cid = cid,
  7041. _stage = stage,
  7042. _task = task,
  7043. _tool = tool;
  7044. var _jie = $$("div", {
  7045. "style": {
  7046. "position": "absolute",
  7047. "bottom": "50px",
  7048. "right": "50px",
  7049. "zIndex": "9999",
  7050. "backgroundColor": "#2268bc",
  7051. "color": "#fff",
  7052. "padding": "12px 20px",
  7053. "cursor": "pointer",
  7054. "borderRadius": "4px",
  7055. },
  7056. "innerHTML": "提交作业"
  7057. })
  7058. let aTool = ''
  7059. let _loading = document.createElement('div')
  7060. _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;"
  7061. // _loading.id = "";
  7062. let _lchild = document.createElement('div')
  7063. let _limg = document.createElement('img')
  7064. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7065. _limg.style = "width: 26px;margin-right: 10px;"
  7066. _lchild.appendChild(_limg)
  7067. let _lspan = document.createElement('span')
  7068. _lspan.innerHTML = "上传中..."
  7069. _lchild.appendChild(_lspan)
  7070. _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%);"
  7071. _loading.appendChild(_lchild)
  7072. var _box = $$('div', {
  7073. "style": {
  7074. "position": "relative",
  7075. "width": "100%",
  7076. "height": "100%",
  7077. },
  7078. })
  7079. _box.appendChild(_loading)
  7080. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7081. switch (str) {
  7082. case "CocoPi":
  7083. aTool = 57;
  7084. _iframe = $$("iframe", {
  7085. "allowpaymentrequest": "allowpaymentrequest",
  7086. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7087. "webkitallowfullscreen": "",
  7088. "mozallowfullscreen": "",
  7089. "frameborder": "no",
  7090. "border": "0",
  7091. "scrolling ": "no",
  7092. "style": {
  7093. "cssText": "border:0;width:100%;height:100%"
  7094. },
  7095. "src": "https://pi.cocorobo.cn/"
  7096. })
  7097. _box.appendChild(_iframe);
  7098. _box.appendChild(_jie);
  7099. _formdiv = new U.UF.UI.form(
  7100. "CocoPi",
  7101. _box, {
  7102. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7103. "style": {
  7104. "width": "90%",
  7105. "height": "90%",
  7106. "overflow": 'hidden'
  7107. },
  7108. "onresize": function() {}
  7109. }, {
  7110. closecallback: function() {}
  7111. }, {
  7112. "style": {
  7113. "height": "36px"
  7114. }
  7115. }).form; //创建窗体
  7116. _taskbar = {
  7117. "id": str + _formdiv.id,
  7118. "style": {
  7119. "backgroundImage": "url(/img/icon/cocopi.png)"
  7120. },
  7121. "name": "CocoPi",
  7122. "forms": _formdiv,
  7123. "click": function() {
  7124. U.MD.D.I.openApplication(str, obj, info);
  7125. }
  7126. }
  7127. break;
  7128. }
  7129. if (_iframe) {
  7130. if (str == 'CocoPi') {
  7131. _iframe = _formdiv.querySelector('iframe')
  7132. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7133. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7134. })
  7135. if (onloadListener) {
  7136. _iframe.contentDocument.location.reload()
  7137. } else {
  7138. _iframe.contentDocument.location.reload()
  7139. }
  7140. }
  7141. _jie.onclick = async() => {
  7142. let text = ''
  7143. if (aTool == 57) {
  7144. text = _iframe.contentWindow.getLoadXmlStr()
  7145. }
  7146. _loading.style.display = 'flex'
  7147. console.log(_loading);
  7148. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7149. _loading.style.display = 'none'
  7150. let _div = document.createElement('div')
  7151. _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;"
  7152. let _inner = document.createElement('div')
  7153. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7154. _inner.innerHTML = "上传成功"
  7155. _div.appendChild(_inner)
  7156. _iframe.contentWindow.window.document.body.appendChild(_div)
  7157. _div.onclick = () => {
  7158. _iframe.contentWindow.window.document.body.removeChild(_div)
  7159. }
  7160. setTimeout(() => {
  7161. _iframe.contentWindow.window.document.body.removeChild(_div)
  7162. }, 1000);
  7163. }, [], { "type": "POST", "withCredentials": true });
  7164. }
  7165. }
  7166. }
  7167. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7168. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7169. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7170. _userid = student.userid, //登录用户id
  7171. _username = student.student //用户名字
  7172. let _iframe;
  7173. let _cid = cid,
  7174. _stage = stage,
  7175. _task = task,
  7176. _tool = tool;
  7177. var _jie = $$("div", {
  7178. "style": {
  7179. "position": "absolute",
  7180. "bottom": "50px",
  7181. "right": "50px",
  7182. "zIndex": "9999",
  7183. "backgroundColor": "#2268bc",
  7184. "color": "#fff",
  7185. "padding": "12px 20px",
  7186. "cursor": "pointer",
  7187. "borderRadius": "4px",
  7188. },
  7189. "innerHTML": "提交作业"
  7190. })
  7191. let aTool = ''
  7192. let _loading = document.createElement('div')
  7193. _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;"
  7194. // _loading.id = "";
  7195. let _lchild = document.createElement('div')
  7196. let _limg = document.createElement('img')
  7197. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7198. _limg.style = "width: 26px;margin-right: 10px;"
  7199. _lchild.appendChild(_limg)
  7200. let _lspan = document.createElement('span')
  7201. _lspan.innerHTML = "上传中..."
  7202. _lchild.appendChild(_lspan)
  7203. _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%);"
  7204. _loading.appendChild(_lchild)
  7205. var _box = $$('div', {
  7206. "style": {
  7207. "position": "relative",
  7208. "width": "100%",
  7209. "height": "100%",
  7210. },
  7211. })
  7212. _box.appendChild(_loading)
  7213. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7214. switch (str) {
  7215. case "CocoPi":
  7216. aTool = 57;
  7217. _iframe = $$("iframe", {
  7218. "allowpaymentrequest": "allowpaymentrequest",
  7219. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7220. "webkitallowfullscreen": "",
  7221. "mozallowfullscreen": "",
  7222. "frameborder": "no",
  7223. "border": "0",
  7224. "scrolling ": "no",
  7225. "style": {
  7226. "cssText": "border:0;width:100%;height:100%"
  7227. },
  7228. "src": "https://pi.cocorobo.cn/"
  7229. })
  7230. _box.appendChild(_iframe);
  7231. _box.appendChild(_jie);
  7232. _formdiv = new U.UF.UI.form(
  7233. "CocoPi-" + _username,
  7234. _box, {
  7235. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7236. "style": {
  7237. "width": "90%",
  7238. "height": "90%",
  7239. "overflow": 'hidden'
  7240. },
  7241. "onresize": function() {}
  7242. }, {
  7243. closecallback: function() {}
  7244. }, {
  7245. "style": {
  7246. "height": "36px"
  7247. }
  7248. }).form; //创建窗体
  7249. _taskbar = {
  7250. "id": str + _formdiv.id,
  7251. "style": {
  7252. "backgroundImage": "url(/img/icon/cocopi.png)"
  7253. },
  7254. "name": "CocoPi",
  7255. "forms": _formdiv,
  7256. "click": function() {
  7257. U.MD.D.I.openApplication(str, obj, info);
  7258. }
  7259. }
  7260. break;
  7261. }
  7262. if (_iframe) {
  7263. if (str == 'CocoPi') {
  7264. _iframe = _formdiv.querySelector('iframe')
  7265. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7266. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7267. })
  7268. if (onloadListener) {
  7269. _iframe.contentDocument.location.reload()
  7270. } else {
  7271. _iframe.contentDocument.location.reload()
  7272. }
  7273. }
  7274. _jie.onclick = async() => {
  7275. let text = ''
  7276. if (aTool == 57) {
  7277. text = _iframe.contentWindow.getLoadXmlStr()
  7278. }
  7279. _loading.style.display = 'flex'
  7280. console.log(_loading);
  7281. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7282. _loading.style.display = 'none'
  7283. let _div = document.createElement('div')
  7284. _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;"
  7285. let _inner = document.createElement('div')
  7286. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7287. _inner.innerHTML = "上传成功"
  7288. _div.appendChild(_inner)
  7289. _iframe.contentWindow.window.document.body.appendChild(_div)
  7290. _div.onclick = () => {
  7291. _iframe.contentWindow.window.document.body.removeChild(_div)
  7292. }
  7293. setTimeout(() => {
  7294. _iframe.contentWindow.window.document.body.removeChild(_div)
  7295. }, 1000);
  7296. }, [], { "type": "POST", "withCredentials": true });
  7297. }
  7298. }
  7299. }
  7300. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7301. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7302. if (res.value[0].length > 0) {
  7303. if (atool == 57) {
  7304. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7305. }
  7306. } else {
  7307. if (atool == 57) {
  7308. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7309. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7310. }
  7311. }
  7312. }, [], { "type": "POST", "withCredentials": true });
  7313. }