DeskTop.js 457 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878
  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. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.szscStudentDeskIcon = [
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. ];
  400. U.MD.D.I.wankeAdminDeskIcon = [
  401. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  402. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  403. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  404. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  405. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  408. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  409. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  410. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  411. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  412. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  413. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  414. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  415. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  416. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  417. ];
  418. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  419. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  420. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  421. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  422. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  423. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  424. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  425. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  426. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  427. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  428. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  430. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  431. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  432. ];
  433. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  434. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  435. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  436. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  437. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  438. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  439. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  440. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  441. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  442. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  443. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  444. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  445. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  446. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  447. ];
  448. //明德教师桌面图标的全局变量
  449. U.MD.D.I.MingdeTeacherDeskIcon = [
  450. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  451. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  452. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  453. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  454. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  455. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  456. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  457. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  458. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  459. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  460. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  461. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  462. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  463. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  464. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  465. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  468. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  469. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  470. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  471. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  472. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  473. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  474. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  475. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  476. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  477. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  478. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  479. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  480. ];
  481. //97c4ee8b-d010-4042-986d-e9d3c217264f
  482. //教师桌面图标的全局变量
  483. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  484. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  485. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  486. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  487. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  488. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  489. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  490. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  491. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  492. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  493. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  494. ];
  495. //福田
  496. U.MD.D.I.futianTeacherDeskIcon = [
  497. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  498. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  499. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  500. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  501. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  502. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  503. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  504. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  505. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  506. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  507. ];
  508. //福田
  509. U.MD.D.I.futianAdminDeskIcon = [
  510. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  511. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  512. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  513. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  514. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  515. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  516. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  517. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  518. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  519. ];
  520. //lotech
  521. U.MD.D.I.lotechTeacherDeskIcon = [
  522. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  523. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  524. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  525. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  526. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  527. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  528. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  529. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.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": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  534. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  535. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  536. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  537. ];
  538. //龙华中心小学教师桌面图标的全局变量
  539. U.MD.D.I.longhuateacherDeskIcon = [
  540. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  541. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  542. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  543. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  544. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  547. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  548. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  549. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  550. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  551. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  552. ];
  553. //教科院实小教师桌面图标的全局变量
  554. U.MD.D.I.siesteacherDeskIcon = [
  555. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  556. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  558. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  562. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  563. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  564. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  565. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  567. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  568. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  571. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  572. ];
  573. //教科院实小教师桌面图标的全局变量
  574. U.MD.D.I.siesStudentDeskIcon = [
  575. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  576. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  577. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  578. ];
  579. //福田
  580. U.MD.D.I.gdjgTeacherDeskIcon = [
  581. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  582. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  583. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  584. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  585. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  586. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  587. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  588. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  589. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  590. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  591. ];
  592. //gdjg
  593. U.MD.D.I.gdjgAdminDeskIcon = [
  594. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  595. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  599. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  600. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  601. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  602. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  603. ];
  604. //hk
  605. U.MD.D.I.hkteacherDeskIcon = [
  606. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  607. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  608. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  609. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  610. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  611. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  612. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  613. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  614. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  615. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  616. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  617. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  618. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  619. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  620. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  622. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  623. ];
  624. //hk
  625. U.MD.D.I.hkStudentDeskIcon = [
  626. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  627. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  628. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  629. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  630. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  631. ];
  632. //香海正覺蓮社佛教正覺中學
  633. U.MD.D.I.hkZJLSteacherDeskIcon = [
  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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  641. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  642. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  643. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  644. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  645. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  646. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  647. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  648. ];
  649. //香海正覺蓮社佛教正覺中學
  650. U.MD.D.I.hkZJLSStudentDeskIcon = [
  651. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  652. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  653. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  654. ];
  655. //云海
  656. U.MD.D.I.yunhaiTeacherDeskIcon = [
  657. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  658. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  660. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  661. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  662. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  663. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  664. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  665. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  666. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  667. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  668. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  669. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  670. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  671. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  672. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  673. ];
  674. //福田
  675. U.MD.D.I.heyuanTeacherDeskIcon = [
  676. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  679. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  680. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  681. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  682. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  683. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  684. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  685. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  686. ];
  687. //福田
  688. U.MD.D.I.heyuanAdminDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  692. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  693. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  694. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  695. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  696. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  697. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. ];
  699. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  700. U.MD.D.I.szherTeacherDeskIcon = [
  701. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  702. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  703. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  706. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  707. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  708. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  709. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  710. ];
  711. //dsei
  712. U.MD.D.I.dseiTeacherDeskIcon = [
  713. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  714. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  715. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  716. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  717. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  718. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  719. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  720. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  721. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  722. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  723. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  724. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  725. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  726. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  727. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  728. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  729. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  730. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  731. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  732. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  733. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  734. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  735. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  736. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  737. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  738. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  739. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  740. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  741. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  742. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  743. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  744. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  745. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  746. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  747. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  748. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  749. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  750. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  751. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  752. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  754. ];
  755. //dsei
  756. U.MD.D.I.dseiAdminDeskIcon = [
  757. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  758. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  760. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  761. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  762. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  763. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  764. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  765. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  766. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  767. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  768. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  769. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  770. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  771. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  772. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  773. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  774. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  775. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  776. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  777. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  778. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  779. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  780. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  781. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  782. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  783. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  784. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  785. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  786. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  787. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  788. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  789. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  790. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  791. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  792. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  793. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  794. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  796. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  797. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  798. ];
  799. //dsei
  800. U.MD.D.I.dseiStudentDeskIcon = [
  801. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  802. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  803. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  804. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  805. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  806. ];
  807. //未来教育基地
  808. U.MD.D.I.szjkyTeacherDeskIcon = [
  809. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  810. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  811. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  812. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  813. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  814. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  815. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  816. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  817. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  818. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  819. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  820. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  823. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  824. ];
  825. //未来教育基地
  826. U.MD.D.I.szjkyAdminDeskIcon = [
  827. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  828. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  829. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  830. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  831. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  832. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  833. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  834. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  835. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  836. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  837. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  838. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  839. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  840. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  841. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  842. ];
  843. //未来教育基地
  844. U.MD.D.I.szjkyStudentDeskIcon = [
  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. //成华教育局
  850. U.MD.D.I.chjyjTeacherDeskIcon = [
  851. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  852. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  853. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  854. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  855. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  856. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  857. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  858. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  859. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  860. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  861. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  863. ];
  864. //成华教育局chjyj
  865. U.MD.D.I.chjyjAdminDeskIcon = [
  866. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  867. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  868. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  869. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  870. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  871. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  872. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  873. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  874. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  875. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  876. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  877. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  878. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  879. ];
  880. //成华教育局chjyj
  881. U.MD.D.I.chjyjStudentDeskIcon = [
  882. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  883. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  884. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  885. ];
  886. //tpc
  887. U.MD.D.I.tpcStudentDeskIcon = [
  888. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  889. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  890. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  891. ];
  892. //tpc
  893. U.MD.D.I.tpcTeacherDeskIcon = [
  894. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  895. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  896. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  897. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  898. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  899. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  900. ];
  901. //tpc
  902. U.MD.D.I.tpcAdminDeskIcon = [
  903. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  904. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  905. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  906. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  907. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  908. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  909. ];
  910. //#region 桌面初始化a
  911. /**
  912. * 初始化桌面的起始函数
  913. *
  914. */
  915. U.MD.D.I.init = function () {
  916. if ($("#U_MD_D_K")[0]) {
  917. //初始化桌面图标
  918. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  919. // var clickUrl = ':12588/requestIp.php';
  920. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  921. // U.MD.D.I.Ip = data;
  922. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  923. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  924. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  925. // })
  926. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  927. // })
  928. }
  929. }
  930. /**
  931. * 模式切换
  932. *
  933. */
  934. U.MD.D.I.ModeCheck = function (type) {
  935. if (US.Config.type == type) {
  936. return
  937. }
  938. US.Config.type = type
  939. $('.U_PBL_Check .active')[0].className = ''
  940. if (type == 1) {
  941. $('.U_PBL_Check div')[0].className = 'active'
  942. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  943. } else {
  944. $('.U_PBL_Check div')[1].className = 'active'
  945. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  946. }
  947. //初始化桌面图标
  948. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  949. if (type == 2) {
  950. U.MD.D.I.openApplication("project")
  951. }
  952. }
  953. /**
  954. * 隐藏任务栏
  955. *
  956. * @param {element} 桌面元素
  957. */
  958. U.MD.D.I.hiddenTaskbar = function (el) {
  959. //任务栏位置变小
  960. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  961. //桌面的位置变大
  962. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  963. }
  964. /**
  965. * 隐藏任务栏
  966. *
  967. * @param {element} 桌面元素
  968. */
  969. U.MD.D.I.hiddenTaskbarout = function (el) {
  970. //任务栏位置变小
  971. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  972. //任务栏位置变化
  973. U.selectEl(el).css({ "bottom": "-60px" });
  974. //桌面的位置变大
  975. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  976. }
  977. }
  978. /**
  979. * 初始化打印桌面图标
  980. *
  981. * @param {element} 桌面元素
  982. */
  983. U.MD.D.I.initDesktopIcons = function (el, type) {
  984. var i, //用于循环
  985. _content, //桌面图标元素
  986. _iconcontent, //桌面图标元素
  987. _frag = $$("frag"), //定义一个碎片元素
  988. _type = US.userInfo.type,
  989. _org = US.userInfo.org,
  990. _oid = US.userInfo.organizeid,
  991. _role = US.userInfo.role,
  992. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  993. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  994. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  995. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  996. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  997. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  998. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  999. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1000. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1001. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1002. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1003. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1004. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1005. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1006. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1007. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1008. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1009. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1010. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1011. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1012. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1013. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1014. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1015. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1016. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1017. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1018. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1019. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1020. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1021. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1022. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1023. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1024. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1025. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1026. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1027. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1028. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1029. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1030. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1031. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1032. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1033. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1034. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1035. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1036. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1037. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1038. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1039. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1040. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1041. _tpcStudentDeskIconInfo= U.MD.D.I.tpcStudentDeskIcon,
  1042. _tpcTeacherDeskIconInfo= U.MD.D.I.tpcTeacherDeskIcon,
  1043. _tpcOrganizerDeskIconInfo= U.MD.D.I.tpcAdminDeskIcon,
  1044. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1045. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1046. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1047. 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'];
  1048. 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', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956'];
  1049. //清楚桌面图标
  1050. el.innerHTML = "";
  1051. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1052. _teacherDesktopIconInfo.push(
  1053. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1054. { "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)" } },
  1055. )
  1056. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1057. }
  1058. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1059. _teacherDesktopIconInfo.push(
  1060. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1061. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1062. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1063. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1064. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1065. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1066. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1067. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1068. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1069. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1070. )
  1071. }
  1072. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1073. _teacherDesktopIconInfo.push(
  1074. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1075. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1076. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1077. )
  1078. }
  1079. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1080. _teacherDesktopIconInfo.push(
  1081. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1082. )
  1083. }
  1084. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1085. _teacherDesktopIconInfo.push(
  1086. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1087. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1088. )
  1089. _studentDesktopIconInfo.push(
  1090. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1091. )
  1092. }
  1093. //麒麟二中 和 民新小学
  1094. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1095. _teacherDesktopIconInfo.push(
  1096. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1097. )
  1098. }
  1099. // 马峦小学 和 龙华区教育科学研究院附属学校
  1100. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5") {
  1101. _teacherDesktopIconInfo.push(
  1102. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1103. )
  1104. }
  1105. //麒麟二中
  1106. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1107. _studentDesktopIconInfo.push(
  1108. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1109. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1110. )
  1111. }
  1112. //万科双语
  1113. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1114. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1115. if (el.Name == '项目管理') {
  1116. el.Name = 'PBL项目'
  1117. }
  1118. return el
  1119. })
  1120. _studentDesktopIconInfo3.push(
  1121. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1122. )
  1123. }
  1124. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1125. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1126. return el.Name != '魔盒识字' && el.Name != '24点'
  1127. })
  1128. }
  1129. 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) {
  1130. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1131. }
  1132. //循环创建桌面图标
  1133. if (type == 1) {
  1134. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1135. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1136. _content = $$("div", {
  1137. className: "U_MD_D_KO",
  1138. "onmousedown": U.UF.C.closure(function (obj) {
  1139. //防止拖动图标即打开了桌面应用
  1140. U.MD.D.click(this, obj);
  1141. }, [_studentDesktopIconInfo[i]]),
  1142. "onclick": U.UF.C.closure(function (obj) {
  1143. //防止拖动图标即打开了桌面应用
  1144. U.MD.D.click(this, obj);
  1145. }, [_studentDesktopIconInfo[i]])
  1146. }, _frag); //
  1147. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1148. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1149. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1150. }
  1151. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1152. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1153. _content = $$("div", {
  1154. className: "U_MD_D_KO",
  1155. "onmousedown": U.UF.C.closure(function (obj) {
  1156. //防止拖动图标即打开了桌面应用
  1157. U.MD.D.click(this, obj);
  1158. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1159. "onclick": U.UF.C.closure(function (obj) {
  1160. //防止拖动图标即打开了桌面应用
  1161. U.MD.D.click(this, obj);
  1162. }, [_hkZJLSStudentDeskIconInfo[i]])
  1163. }, _frag); //
  1164. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1165. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1166. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1167. } //
  1168. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1169. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1170. _content = $$("div", {
  1171. className: "U_MD_D_KO",
  1172. "onmousedown": U.UF.C.closure(function (obj) {
  1173. //防止拖动图标即打开了桌面应用
  1174. U.MD.D.click(this, obj);
  1175. }, [_tpcStudentDeskIconInfo[i]]),
  1176. "onclick": U.UF.C.closure(function (obj) {
  1177. //防止拖动图标即打开了桌面应用
  1178. U.MD.D.click(this, obj);
  1179. }, [_tpcStudentDeskIconInfo[i]])
  1180. }, _frag); //
  1181. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1182. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1183. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1184. } //
  1185. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1186. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1187. _content = $$("div", {
  1188. className: "U_MD_D_KO",
  1189. "onmousedown": U.UF.C.closure(function (obj) {
  1190. //防止拖动图标即打开了桌面应用
  1191. U.MD.D.click(this, obj);
  1192. }, [_chjyjStudentDeskIconInfo[i]]),
  1193. "onclick": U.UF.C.closure(function (obj) {
  1194. //防止拖动图标即打开了桌面应用
  1195. U.MD.D.click(this, obj);
  1196. }, [_chjyjStudentDeskIconInfo[i]])
  1197. }, _frag); //
  1198. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1199. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1200. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1201. }
  1202. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1203. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1204. _content = $$("div", {
  1205. className: "U_MD_D_KO",
  1206. "onmousedown": U.UF.C.closure(function (obj) {
  1207. //防止拖动图标即打开了桌面应用
  1208. U.MD.D.click(this, obj);
  1209. }, [_szjkyStudentDeskIconInfo[i]]),
  1210. "onclick": U.UF.C.closure(function (obj) {
  1211. //防止拖动图标即打开了桌面应用
  1212. U.MD.D.click(this, obj);
  1213. }, [_szjkyStudentDeskIconInfo[i]])
  1214. }, _frag); //
  1215. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1216. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1217. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1218. }
  1219. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1220. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1221. _content = $$("div", {
  1222. className: "U_MD_D_KO",
  1223. "onmousedown": U.UF.C.closure(function (obj) {
  1224. //防止拖动图标即打开了桌面应用
  1225. U.MD.D.click(this, obj);
  1226. }, [_dseiStudentDeskIconInfo[i]]),
  1227. "onclick": U.UF.C.closure(function (obj) {
  1228. //防止拖动图标即打开了桌面应用
  1229. U.MD.D.click(this, obj);
  1230. }, [_dseiStudentDeskIconInfo[i]])
  1231. }, _frag); //
  1232. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1233. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1234. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1235. }
  1236. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1237. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1238. _content = $$("div", {
  1239. className: "U_MD_D_KO",
  1240. "onmousedown": U.UF.C.closure(function (obj) {
  1241. //防止拖动图标即打开了桌面应用
  1242. U.MD.D.click(this, obj);
  1243. }, [_siesStudentDeskIconInfo[i]]),
  1244. "onclick": U.UF.C.closure(function (obj) {
  1245. //防止拖动图标即打开了桌面应用
  1246. U.MD.D.click(this, obj);
  1247. }, [_siesStudentDeskIconInfo[i]])
  1248. }, _frag); //
  1249. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1250. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1251. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1252. }
  1253. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1254. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1255. _content = $$("div", {
  1256. className: "U_MD_D_KO",
  1257. "onmousedown": U.UF.C.closure(function (obj) {
  1258. //防止拖动图标即打开了桌面应用
  1259. U.MD.D.click(this, obj);
  1260. }, [_hkStudentDeskIconInfo[i]]),
  1261. "onclick": U.UF.C.closure(function (obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_hkStudentDeskIconInfo[i]])
  1265. }, _frag); //
  1266. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1267. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1268. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1269. }
  1270. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1271. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1272. _content = $$("div", {
  1273. className: "U_MD_D_KO",
  1274. "onmousedown": U.UF.C.closure(function (obj) {
  1275. //防止拖动图标即打开了桌面应用
  1276. U.MD.D.click(this, obj);
  1277. }, [_studentDesktopIconInfo[i]]),
  1278. "onclick": U.UF.C.closure(function (obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_studentDesktopIconInfo[i]])
  1282. }, _frag); //
  1283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1286. }
  1287. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1288. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1289. _content = $$("div", {
  1290. className: "U_MD_D_KO",
  1291. "onmousedown": U.UF.C.closure(function (obj) {
  1292. //防止拖动图标即打开了桌面应用
  1293. U.MD.D.click(this, obj);
  1294. }, [_tcStudentDeskIconInfo[i]]),
  1295. "onclick": U.UF.C.closure(function (obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_tcStudentDeskIconInfo[i]])
  1299. }, _frag); //
  1300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1303. }
  1304. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1305. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1306. _content = $$("div", {
  1307. className: "U_MD_D_KO",
  1308. "onmousedown": U.UF.C.closure(function (obj) {
  1309. //防止拖动图标即打开了桌面应用
  1310. U.MD.D.click(this, obj);
  1311. }, [_szscStudentDeskIconInfo[i]]),
  1312. "onclick": U.UF.C.closure(function (obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_szscStudentDeskIconInfo[i]])
  1316. }, _frag); //
  1317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1320. }
  1321. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1322. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1323. _content = $$("div", {
  1324. className: "U_MD_D_KO",
  1325. "onmousedown": U.UF.C.closure(function (obj) {
  1326. //防止拖动图标即打开了桌面应用
  1327. U.MD.D.click(this, obj);
  1328. }, [_studentDesktopIconInfo3[i]]),
  1329. "onclick": U.UF.C.closure(function (obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_studentDesktopIconInfo3[i]])
  1333. }, _frag); //
  1334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1337. }
  1338. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1339. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function (obj) {
  1343. //防止拖动图标即打开了桌面应用
  1344. U.MD.D.click(this, obj);
  1345. }, [_studentDesktopIconInfo2[i]]),
  1346. "onclick": U.UF.C.closure(function (obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_studentDesktopIconInfo2[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1354. }
  1355. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1356. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function (obj) {
  1360. //防止拖动图标即打开了桌面应用
  1361. U.MD.D.click(this, obj);
  1362. }, [_wanketeacherDesktopIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_wanketeacherDesktopIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1371. }
  1372. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1373. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function (obj) {
  1377. //防止拖动图标即打开了桌面应用
  1378. U.MD.D.click(this, obj);
  1379. }, [_wankeAdminDesktopIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_wankeAdminDesktopIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1388. }
  1389. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1390. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function (obj) {
  1394. //防止拖动图标即打开了桌面应用
  1395. U.MD.D.click(this, obj);
  1396. }, [_tpcOrganizerDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_tpcOrganizerDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1407. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function (obj) {
  1411. //防止拖动图标即打开了桌面应用
  1412. U.MD.D.click(this, obj);
  1413. }, [_tpcTeacherDeskIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_tpcTeacherDeskIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1422. }
  1423. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1424. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function (obj) {
  1428. //防止拖动图标即打开了桌面应用
  1429. U.MD.D.click(this, obj);
  1430. }, [_teacherDesktopIconInfo2[i]]),
  1431. "onclick": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_teacherDesktopIconInfo2[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1439. }
  1440. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1441. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function (obj) {
  1445. //防止拖动图标即打开了桌面应用
  1446. U.MD.D.click(this, obj);
  1447. }, [_lotechTeacherDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_lotechTeacherDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1456. }//
  1457. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1458. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function (obj) {
  1462. //防止拖动图标即打开了桌面应用
  1463. U.MD.D.click(this, obj);
  1464. }, [_siesTeacherDeskIconInfo[i]]),
  1465. "onclick": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_siesTeacherDeskIconInfo[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1473. }
  1474. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1475. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function (obj) {
  1479. //防止拖动图标即打开了桌面应用
  1480. U.MD.D.click(this, obj);
  1481. }, [_longhuaTeacherDeskIconInfo[i]]),
  1482. "onclick": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_longhuaTeacherDeskIconInfo[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1490. }
  1491. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1492. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function (obj) {
  1496. //防止拖动图标即打开了桌面应用
  1497. U.MD.D.click(this, obj);
  1498. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_yunhaiTeacherDeskIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1507. } //_hkStudentDeskIconInfo
  1508. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1509. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function (obj) {
  1513. //防止拖动图标即打开了桌面应用
  1514. U.MD.D.click(this, obj);
  1515. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1526. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function (obj) {
  1530. //防止拖动图标即打开了桌面应用
  1531. U.MD.D.click(this, obj);
  1532. }, [_hkTeacherDeskIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_hkTeacherDeskIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1541. }
  1542. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1543. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function (obj) {
  1547. //防止拖动图标即打开了桌面应用
  1548. U.MD.D.click(this, obj);
  1549. }, [_gdjgAdminDeskIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_gdjgAdminDeskIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1560. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function (obj) {
  1564. //防止拖动图标即打开了桌面应用
  1565. U.MD.D.click(this, obj);
  1566. }, [_gdjgTeacherDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_gdjgTeacherDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1577. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function (obj) {
  1581. //防止拖动图标即打开了桌面应用
  1582. U.MD.D.click(this, obj);
  1583. }, [_szherTeacherDeskIconInfo[i]]),
  1584. "onclick": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_szherTeacherDeskIconInfo[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1592. }
  1593. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1594. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function (obj) {
  1598. //防止拖动图标即打开了桌面应用
  1599. U.MD.D.click(this, obj);
  1600. }, [_heyuannAdminDeskIconInfo[i]]),
  1601. "onclick": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_heyuannAdminDeskIconInfo[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1611. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function (obj) {
  1615. //防止拖动图标即打开了桌面应用
  1616. U.MD.D.click(this, obj);
  1617. }, [_heyuanTeacherDeskIconInfo[i]]),
  1618. "onclick": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_heyuanTeacherDeskIconInfo[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1626. } //
  1627. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1628. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function (obj) {
  1632. //防止拖动图标即打开了桌面应用
  1633. U.MD.D.click(this, obj);
  1634. }, [_dseiAdminDeskIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_dseiAdminDeskIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1643. }
  1644. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1645. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function (obj) {
  1649. //防止拖动图标即打开了桌面应用
  1650. U.MD.D.click(this, obj);
  1651. }, [_dseiTeacherDeskIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_dseiTeacherDeskIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1660. } //
  1661. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1662. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function (obj) {
  1666. //防止拖动图标即打开了桌面应用
  1667. U.MD.D.click(this, obj);
  1668. }, [_chjyjAdminDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_chjyjAdminDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1677. }//
  1678. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1679. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function (obj) {
  1683. //防止拖动图标即打开了桌面应用
  1684. U.MD.D.click(this, obj);
  1685. }, [_chjyjTeacherDeskIconInfo[i]]),
  1686. "onclick": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_chjyjTeacherDeskIconInfo[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1694. }
  1695. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1696. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function (obj) {
  1700. //防止拖动图标即打开了桌面应用
  1701. U.MD.D.click(this, obj);
  1702. }, [_szjkyAdminDeskIconInfo[i]]),
  1703. "onclick": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_szjkyAdminDeskIconInfo[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1711. }//
  1712. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1713. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function (obj) {
  1717. //防止拖动图标即打开了桌面应用
  1718. U.MD.D.click(this, obj);
  1719. }, [_szjkyTeacherDeskIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_szjkyTeacherDeskIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1730. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function (obj) {
  1734. //防止拖动图标即打开了桌面应用
  1735. U.MD.D.click(this, obj);
  1736. }, [_futianAdminDeskIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_futianAdminDeskIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1745. }
  1746. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1747. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function (obj) {
  1751. //防止拖动图标即打开了桌面应用
  1752. U.MD.D.click(this, obj);
  1753. }, [_futianTeacherDeskIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_futianTeacherDeskIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1764. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function (obj) {
  1768. //防止拖动图标即打开了桌面应用
  1769. U.MD.D.click(this, obj);
  1770. }, [_MingdeTeacherDeskIcon[i]]),
  1771. "onclick": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_MingdeTeacherDeskIcon[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1781. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function (obj) {
  1785. //防止拖动图标即打开了桌面应用
  1786. U.MD.D.click(this, obj);
  1787. }, [_lhsAdminDesktopIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_lhsAdminDesktopIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1796. }
  1797. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1798. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function (obj) {
  1802. //防止拖动图标即打开了桌面应用
  1803. U.MD.D.click(this, obj);
  1804. }, [_lhsteacherDesktopIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_lhsteacherDesktopIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1813. }
  1814. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1815. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function (obj) {
  1819. //防止拖动图标即打开了桌面应用
  1820. U.MD.D.click(this, obj);
  1821. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_zhoujiateacherDesktopIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1830. }
  1831. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1832. for (i = 0; i < _hanDeskIcon.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function (obj) {
  1836. //防止拖动图标即打开了桌面应用
  1837. U.MD.D.click(this, obj);
  1838. }, [_hanDeskIcon[i]]),
  1839. "onclick": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_hanDeskIcon[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1847. }
  1848. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1849. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function (obj) {
  1853. //防止拖动图标即打开了桌面应用
  1854. U.MD.D.click(this, obj);
  1855. }, [_orgStemDeskIcon[i]]),
  1856. "onclick": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_orgStemDeskIcon[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1864. }
  1865. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1866. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function (obj) {
  1870. //防止拖动图标即打开了桌面应用
  1871. U.MD.D.click(this, obj);
  1872. }, [_szulsDeskIcon[i]]),
  1873. "onclick": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_szulsDeskIcon[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1881. }
  1882. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1883. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function (obj) {
  1887. //防止拖动图标即打开了桌面应用
  1888. U.MD.D.click(this, obj);
  1889. }, [_orgDesktopIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_orgDesktopIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1898. }
  1899. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1900. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function (obj) {
  1904. //防止拖动图标即打开了桌面应用
  1905. U.MD.D.click(this, obj);
  1906. }, [_schoolDesktopIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_schoolDesktopIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1915. }
  1916. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1917. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function (obj) {
  1921. //防止拖动图标即打开了桌面应用
  1922. U.MD.D.click(this, obj);
  1923. }, [_GMteacherDesktopIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_GMteacherDesktopIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1932. }
  1933. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1934. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function (obj) {
  1938. //防止拖动图标即打开了桌面应用
  1939. U.MD.D.click(this, obj);
  1940. }, [_SONGteacherDesktopIconInfo[i]]),
  1941. "onclick": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_SONGteacherDesktopIconInfo[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1949. }
  1950. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1951. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function (obj) {
  1955. //防止拖动图标即打开了桌面应用
  1956. U.MD.D.click(this, obj);
  1957. }, [_GMstudentDesktopIconInfo[i]]),
  1958. "onclick": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_GMstudentDesktopIconInfo[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1966. }
  1967. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1968. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1969. _content = $$("div", {
  1970. className: "U_MD_D_KO",
  1971. "onmousedown": U.UF.C.closure(function (obj) {
  1972. //防止拖动图标即打开了桌面应用
  1973. U.MD.D.click(this, obj);
  1974. }, [_tcTeacherDeskIconInfo[i]]),
  1975. "onclick": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_tcTeacherDeskIconInfo[i]])
  1979. }, _frag); //
  1980. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1981. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1982. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1983. }
  1984. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1985. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1986. _content = $$("div", {
  1987. className: "U_MD_D_KO",
  1988. "onmousedown": U.UF.C.closure(function (obj) {
  1989. //防止拖动图标即打开了桌面应用
  1990. U.MD.D.click(this, obj);
  1991. }, [_tcOrganizerDeskIconInfo[i]]),
  1992. "onclick": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_tcOrganizerDeskIconInfo[i]])
  1996. }, _frag); //
  1997. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1998. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1999. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2000. }
  2001. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2002. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_szscTeacherDeskIconInfo[i]]),
  2009. "onclick": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_szscTeacherDeskIconInfo[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2017. }
  2018. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2019. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_szscOrganizerDeskIconInfo[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_szscOrganizerDeskIconInfo[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2034. }
  2035. } else {
  2036. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_teacherDesktopIconInfo[i]]),
  2043. "onclick": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_teacherDesktopIconInfo[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2051. }
  2052. }
  2053. } else {
  2054. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2055. _content = $$("div", {
  2056. className: "U_MD_D_KO",
  2057. style: { 'width': '124px', 'height': '145px' },
  2058. "onmousedown": U.UF.C.closure(function (obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_easyDesktopIconInfo[i]]),
  2062. "onclick": U.UF.C.closure(function (obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_easyDesktopIconInfo[i]])
  2066. }, _frag); //
  2067. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2068. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2069. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2070. }
  2071. }
  2072. if (type == 1) {
  2073. //加载好后给图标定位
  2074. U.MD.D.iconPostion($(_frag).Child());
  2075. } else {
  2076. //加载好后给图标定位
  2077. U.MD.D.iconPostion2($(_frag).Child());
  2078. }
  2079. //把图标加载到页面
  2080. el.appendChild(_frag);
  2081. }
  2082. /**
  2083. * 显示任务栏
  2084. *
  2085. * @param {element} 桌面元素
  2086. */
  2087. U.MD.D.I.displayTaskbar = function (el) {
  2088. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2089. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2090. //任务栏位置变化
  2091. U.selectEl(el).css({ "bottom": "0px" });
  2092. //桌面位置变话
  2093. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2094. }
  2095. }
  2096. //#region 桌面图标拖动逻辑
  2097. /**
  2098. * 桌面排列图标
  2099. *
  2100. * @param {element} 桌面元素
  2101. * @param {object} 上下相距的距离
  2102. * @param {object} 左右相距的距离
  2103. * @return {object} 命名空间
  2104. */
  2105. U.MD.D.iconPostion = function (childs, top, left) {
  2106. var i; //用于循环处理
  2107. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2108. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2109. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2110. for (i = 0; i < childs.length; i++) {
  2111. //如果竖排top超过了范围处理
  2112. if (top + 95 > US.height - 10) {
  2113. //left超过了页面范围处理,则向上重叠打印处理
  2114. if ((left + 180) > US.width) {
  2115. top -= 110;
  2116. left -= 90;
  2117. }
  2118. //没有超过范围,那么left+90添加到下一个竖排打印
  2119. else {
  2120. left += 90;
  2121. top = 15;
  2122. };
  2123. }
  2124. //给图标的位置赋值
  2125. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2126. if (i < childs.length - 1) {
  2127. //页面图标每次向下加95
  2128. top += 95;
  2129. }
  2130. }
  2131. //返回最后调用的图标的位置
  2132. return [top, left];
  2133. }
  2134. /**
  2135. * 桌面排列图标
  2136. *
  2137. * @param {element} 桌面元素
  2138. * @param {object} 上下相距的距离
  2139. * @param {object} 左右相距的距离
  2140. * @return {object} 命名空间
  2141. */
  2142. U.MD.D.iconPostion2 = function (childs, top, left) {
  2143. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2144. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2145. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2146. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2147. for (i = 0; i < childs.length; i++) {
  2148. //如果竖排top超过了范围处理
  2149. if (left + 150 > US.width - 10) {
  2150. //left超过了页面范围处理,则向上重叠打印处理
  2151. if ((top + 180) > US.Height) {
  2152. top -= 150;
  2153. left -= 150;
  2154. }
  2155. //没有超过范围,那么left+90添加到下一个竖排打印
  2156. else {
  2157. top += 150;
  2158. left = ol;
  2159. };
  2160. }
  2161. //给图标的位置赋值
  2162. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2163. if (i < childs.length - 1) {
  2164. //页面图标每次向下加95
  2165. left += 150;
  2166. }
  2167. }
  2168. //返回最后调用的图标的位置
  2169. return [top, left];
  2170. }
  2171. /**
  2172. * 桌面点击事件逻辑
  2173. *
  2174. * @param {element} 桌面元素
  2175. * @param {object} 上下相距的距离
  2176. * @param {object} 左右相距的距离
  2177. * @return {object} 命名空间
  2178. */
  2179. U.MD.D.click = function (el, obj) {
  2180. var _buttonnumber = event.button; //点击的按钮的事件值
  2181. var _userinfo = US.userInfo;
  2182. U.UF.EV.stopBubble(); //阻止向上冒泡
  2183. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2184. if (_buttonnumber < 2) {
  2185. //如果是click事件的处理
  2186. if (event.type == "click") {
  2187. //如果元素在mousemove事件中没有移动则出发click事件
  2188. if (!U.MD.D.I.IsDrag) {
  2189. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2190. U.alert("请先登录您的账号!");
  2191. setTimeout(() => {
  2192. U.MD.U.L.login();
  2193. }, 2000);
  2194. } else {
  2195. //打开应用处理
  2196. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2197. }
  2198. }
  2199. }
  2200. //如果是mouse事件的处理
  2201. else {
  2202. if (US.Config.type == '1') {
  2203. //拖动处理,添加拖动和拖动结束事件
  2204. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2205. }
  2206. }
  2207. U.MD.D.I.IsDrag = false;
  2208. }
  2209. }
  2210. /**
  2211. * 拖动的处理
  2212. *
  2213. */
  2214. U.MD.D.iconMove = function () {
  2215. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2216. U.MD.D.I.IsDrag = true;
  2217. }
  2218. /**
  2219. * 拖动结束后,这里是定位处理,以网状的形式定位
  2220. *
  2221. * @param {element} 拖动的元素
  2222. * @return {object} 命名空间
  2223. */
  2224. U.MD.D.iconUp = function (el) {
  2225. var _top = 15,
  2226. _left = 20,
  2227. _margin,
  2228. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2229. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2230. if (_positioninfo["OT"] > 15) {
  2231. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2232. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2233. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2234. }
  2235. if (_positioninfo["OL"] > 20) {
  2236. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2237. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2238. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2239. }
  2240. //while循环判断么一个重叠的元素
  2241. do {
  2242. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2243. _top = _positioninfo[0] + 95; //得到定位后的top
  2244. _left = _positioninfo[1]; //得到定位后的left
  2245. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2246. }
  2247. /**
  2248. * 判断拖动后图标是否重叠
  2249. *
  2250. * @param {element} 拖动的元素
  2251. * @param {element} 桌面所有的元素
  2252. * @param {array} 拖动元素的位置
  2253. ----------[0] 上 top
  2254. ----------[1] 左 left
  2255. * @return {object} 命名空间
  2256. */
  2257. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2258. //循环所有的图标
  2259. for (var i = 0; i < childs.length; i++) {
  2260. //判断有没有和该图标诶子重叠的元素
  2261. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2262. return childs[i]; //如果有返回
  2263. }
  2264. }
  2265. }
  2266. //#endregion
  2267. //#endregion
  2268. //#region 桌面应用
  2269. /**
  2270. * 打开应用
  2271. *
  2272. * @param {string} 类型
  2273. -----------------Disk 网盘系统
  2274. -----------------PDisk 学习系统网盘
  2275. -----------------Poto 图片
  2276. -----------------Video 视频
  2277. -----------------Music 音乐
  2278. -----------------Word word
  2279. -----------------Excel excel
  2280. -----------------Txt 记事本
  2281. -----------------PB 学习系统
  2282. -----------------Blog 朋友圈系统
  2283. -----------------FTP ftp系统
  2284. -----------------Group 好友群
  2285. -----------------SY 首页系统
  2286. -----------------Set 个人设置
  2287. -----------------XSet 系统设置
  2288. -----------------App 我们所有的app
  2289. -----------------BC c.1473.cn 平台
  2290. -----------------CWeb d.1473.cn 变成平台
  2291. -----------------其他的外联系统 我们统一用iframe打开
  2292. * @param {array} 类型
  2293. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2294. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2295. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2296. 如果第一个参数为其他,则无第二个参数
  2297. * @returns {array}
  2298. */
  2299. window.addEventListener('message', function (e) { // 监听 message 事件
  2300. // alert(e.data.type);
  2301. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2302. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2303. //3是展示全部阶段 2学生 1老师 4专家
  2304. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2305. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2306. //3是展示全部阶段 2学生 1老师 4专家
  2307. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2308. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2309. //3是展示全部阶段 2学生 1老师 4专家
  2310. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2311. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2312. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2313. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2314. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2315. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2316. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2317. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2318. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2319. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2320. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2321. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2322. //3是展示全部阶段 2学生 1老师 4专家
  2323. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2324. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2325. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2326. U.MD.D.I.selectUser();
  2327. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2328. var _formel = document.getElementById("study");
  2329. U.UF.F.windowZooming(_formel);
  2330. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2331. var _formel = document.getElementById("studyDetail");
  2332. U.UF.F.windowZooming(_formel);
  2333. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2334. var _formel = document.getElementById("studyDetail");
  2335. U.UF.F.windowZooming(_formel);
  2336. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2337. var _formel = document.getElementById("studentStudy");
  2338. U.UF.F.windowZooming(_formel);
  2339. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2340. // var _formel = document.getElementById("study");
  2341. //如果最大化了,那么就把他缩小
  2342. // if (_formel.ismaximize) {
  2343. // return;
  2344. // }
  2345. // U.UF.F.windowZooming(_formel);
  2346. // U.UF.F.topWindow(_formel);
  2347. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2348. // var _formel = document.getElementById("studyDetail");
  2349. //如果最大化了,那么就把他缩小
  2350. // if (_formel.ismaximize) {
  2351. // return;
  2352. // }
  2353. // U.UF.F.windowZooming(_formel);
  2354. // U.UF.F.topWindow(_formel);
  2355. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2356. // var _formel = document.getElementById("studentStudy");
  2357. // if (_formel.ismaximize) {
  2358. // return;
  2359. // }
  2360. // U.UF.F.windowZooming(_formel);
  2361. // U.UF.F.topWindow(_formel);
  2362. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2363. var _formel = document.getElementById("study");
  2364. // if (_formel.ismaximize) {
  2365. // return;
  2366. // }
  2367. // U.UF.F.windowZooming(_formel);
  2368. U.UF.F.topWindow(_formel);
  2369. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2370. var _formel = document.getElementById("studentIndex");
  2371. U.UF.F.windowZooming(_formel);
  2372. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2373. var _formel = document.getElementById("studyDetailS");
  2374. U.UF.F.windowZooming(_formel);
  2375. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2376. var _formel = document.getElementById("studioIndex");
  2377. U.UF.F.windowZooming(_formel);
  2378. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2379. var _formel = document.getElementById("studyDetailStudio");
  2380. U.UF.F.windowZooming(_formel);
  2381. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2382. var _formel = document.getElementById("studyDetailStudio");
  2383. U.UF.F.windowZooming(_formel);
  2384. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2385. var _formel = document.getElementById("studyDetailNT");
  2386. U.UF.F.windowZooming(_formel);
  2387. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2388. var _formel = document.getElementById("studyDetailS");
  2389. U.UF.F.windowZooming(_formel);
  2390. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2391. var _formel = document.getElementById("studyDetailS");
  2392. U.UF.F.topWindow(_formel);
  2393. } else if (e.data.tools && e.data.tools == "1") {
  2394. // U.MD.D.I.openApplication("whiteboard")
  2395. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2396. } else if (e.data.tools && e.data.tools == "2") {
  2397. U.MD.D.I.openApplication("note")
  2398. } else if (e.data.tools && e.data.tools == "3") {
  2399. // U.MD.D.I.openApplication("mind")
  2400. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2401. } else if (e.data.tools && e.data.tools == "4") {
  2402. U.MD.D.I.openApplication("investigation")
  2403. } else if (e.data.tools && e.data.tools == "6") {
  2404. // U.MD.D.I.openApplication("doc")
  2405. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2406. } else if (e.data.tools && e.data.tools == "7") {
  2407. // U.MD.D.I.openApplication("mindNetwork")
  2408. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2409. } else if (e.data.tools && e.data.tools == "8") {
  2410. U.MD.D.I.openApplication("library")
  2411. } else if (e.data.tools && e.data.tools == "17") {
  2412. U.MD.D.I.openApplication("stuLibrary")
  2413. } else if (e.data.tools && e.data.tools == "18") {
  2414. U.MD.D.I.openApplication("train")
  2415. } else if (e.data.tools && e.data.tools == "21") {
  2416. U.MD.D.I.openApplication("program")
  2417. } else if (e.data.tools && e.data.tools == "22") {
  2418. U.MD.D.I.openApplication("AIprogram2")
  2419. } else if (e.data.tools && e.data.tools == "23") {
  2420. U.MD.D.I.openApplication("Pythonprogram")
  2421. } else if (e.data.tools && e.data.tools == "24") {
  2422. U.MD.D.I.openApplication("AIprogram")
  2423. } else if (e.data.tools && e.data.tools == "25") {
  2424. U.MD.D.I.openApplication("sys")
  2425. } else if (e.data.tools && e.data.tools == "26") {
  2426. // U.MD.D.I.openApplication("courseDesign")
  2427. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2428. } else if (e.data.tools && e.data.tools == "31") {
  2429. U.MD.D.I.openApplication("netWorkPanel")
  2430. } else if (e.data.tools && e.data.tools == "32") {
  2431. U.MD.D.I.openApplication("codeEdit")
  2432. } else if (e.data.tools && e.data.tools == "57") {
  2433. U.MD.D.I.openApplication("CocoPi")
  2434. } else if (e.data.tools && e.data.tools == "63") {
  2435. U.MD.D.I.openApplication("Wood")
  2436. } else if (e.data.tools && e.data.tools == "58") {
  2437. U.MD.D.I.openApplication("car")
  2438. } else if (e.data.tools && e.data.tools == "59") {
  2439. U.MD.D.I.openApplication("lineSearch")
  2440. } else if (e.data.tools && e.data.tools == "60") {
  2441. U.MD.D.I.openApplication("deepLearning")
  2442. } else if (e.data.tools && e.data.tools == "61") {
  2443. U.MD.D.I.openApplication("allHistory")
  2444. } else if (e.data.tools && e.data.tools == "28") {
  2445. U.MD.D.I.openApplication("translation")
  2446. } else if (e.data.tools && e.data.tools == "37") {
  2447. U.MD.D.I.openApplication("mohe")
  2448. } else if (e.data.tools && e.data.tools == "38") {
  2449. U.MD.D.I.openApplication("24game")
  2450. } else if (e.data.tools && e.data.tools == "39") {
  2451. U.MD.D.I.openApplication("GeoGebra")
  2452. } else if (e.data.tools && e.data.tools == "43") {
  2453. U.MD.D.I.openApplication("studentEvaluate")
  2454. } else if (e.data.tools && e.data.tools == "44") {
  2455. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2456. } else if (e.data.tools && e.data.tools == "46") {
  2457. U.MD.D.I.openApplication("project")
  2458. } else if (e.data.tools && e.data.tools == "1s") {
  2459. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2460. } else if (e.data.tools && e.data.tools == "3s") {
  2461. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2462. } else if (e.data.tools && e.data.tools == "6s") {
  2463. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2464. } else if (e.data.tools && e.data.tools == "1studio") {
  2465. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2466. } else if (e.data.tools && e.data.tools == "3studio") {
  2467. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2468. } else if (e.data.tools && e.data.tools == "6studio") {
  2469. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2470. } else if (e.data.tools && e.data.tools == "3y") {
  2471. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2472. } else if (e.data.tools && e.data.tools == "1y") {
  2473. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2474. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2475. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2476. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2477. U.MD.D.I.openApplication("AIAnalyse")
  2478. } else if (e.data.tools && e.data.tools == "1teacher") {
  2479. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2480. } else if (e.data.tools && e.data.tools == "3teacher") {
  2481. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2482. } else if (e.data.tools && e.data.tools == "7teacher") {
  2483. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2484. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2485. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2486. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2487. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2488. } else if (e.data.tools && e.data.tools == "1E") {
  2489. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2490. } else if (e.data.tools && e.data.tools == "3E") {
  2491. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2492. } else if (e.data.tools && e.data.tools == "57y") {
  2493. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2494. } else if (e.data.tools && e.data.tools == "57u") {
  2495. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2496. } else if (e.data.tools && e.data.tools == "57teacher") {
  2497. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2498. } else if (e.data.tools && e.data.tools == "64") {
  2499. U.MD.D.I.openApplication("AIChat")
  2500. } else if (e.data.tools && e.data.tools == "66") {
  2501. U.MD.D.I.openApplication("formulaEdi")
  2502. } else if (e.data.tools && e.data.tools == "67") {
  2503. U.MD.D.I.openApplication("molStr")
  2504. } else if (e.data.tools && e.data.tools == "68") {
  2505. U.MD.D.I.openApplication("timeAxis")
  2506. } else if (e.data.tools && e.data.tools == "openCourse") {
  2507. let _data = {
  2508. typea: e.data.typea || '',
  2509. typeb: e.data.typeb || '',
  2510. typed: e.data.typed || '',
  2511. }
  2512. U.MD.D.I.openInApplication("index", _data)
  2513. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2514. let _data = {
  2515. classid: e.data.classid || '',
  2516. }
  2517. U.MD.D.I.openInApplication("dataClass", _data)
  2518. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2519. let _data = {
  2520. cid: e.data.cid || '',
  2521. gid: e.data.gid || '',
  2522. }
  2523. U.MD.D.I.openInApplication("opencCscl", _data)
  2524. }
  2525. });
  2526. U.MD.D.I.selectUser = function () {
  2527. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2528. if (res.value[0].length > 0) {
  2529. US.userInfo = res.value[0][0];
  2530. $(".userName")[0].innerHTML = US.userInfo.username;
  2531. }
  2532. }, [], { "type": "GET", "withCredentials": true });
  2533. }
  2534. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2535. var _userinfo = US.userInfo, //登录用户信息
  2536. _userid = US.userInfo.userid, //登录用户id
  2537. _oid = _userinfo.organizeid,
  2538. _type = US.userInfo.type,
  2539. _org = US.userInfo.org,
  2540. _role = US.userInfo.role,
  2541. _classId = US.userInfo.classid;
  2542. if (_type == 4) {
  2543. tType = 4
  2544. }
  2545. switch (str) {
  2546. case "studyDetailNT": //无终端模式
  2547. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2548. setTimeout(() => {
  2549. U.MD.U.L.login();
  2550. }, 2000);
  2551. } else {
  2552. _formdiv = new U.UF.UI.form(
  2553. "课程详情",
  2554. $$("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 }), {
  2555. "id": "studyDetailNT",
  2556. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2557. "onresize": function () { }
  2558. }, {
  2559. closecallback: function () { }
  2560. }, { "style": { "height": "36px" } }).form; //创建窗体
  2561. _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); } }
  2562. break;
  2563. }
  2564. case "studyDetail":
  2565. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2566. setTimeout(() => {
  2567. U.MD.U.L.login();
  2568. }, 2000);
  2569. } else {
  2570. _formdiv = new U.UF.UI.form(
  2571. "课程详情",
  2572. $$("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 }), {
  2573. "id": "studyDetail",
  2574. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2575. "onresize": function () { }
  2576. }, {
  2577. closecallback: function () { }
  2578. }, { "style": { "height": "36px" } }).form; //创建窗体
  2579. _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); } }
  2580. break;
  2581. }
  2582. case "studyDetailS":
  2583. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2584. setTimeout(() => {
  2585. U.MD.U.L.login();
  2586. }, 2000);
  2587. } else {
  2588. _formdiv = new U.UF.UI.form(
  2589. "项目详情",
  2590. $$("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 }), {
  2591. "id": "studyDetailS",
  2592. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2593. "onresize": function () { }
  2594. }, {
  2595. closecallback: function () { }
  2596. }, { "style": { "height": "36px" } }).form; //创建窗体
  2597. _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); } }
  2598. break;
  2599. }
  2600. case "studyDetailStudio":
  2601. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2602. setTimeout(() => {
  2603. U.MD.U.L.login();
  2604. }, 2000);
  2605. } else {
  2606. _formdiv = new U.UF.UI.form(
  2607. "工作详情",
  2608. $$("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 }), {
  2609. "id": "studyDetailStudio",
  2610. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2611. "onresize": function () { }
  2612. }, {
  2613. closecallback: function () { }
  2614. }, { "style": { "height": "36px" } }).form; //创建窗体
  2615. _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); } }
  2616. break;
  2617. }
  2618. case "studyDetailS5":
  2619. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2620. setTimeout(() => {
  2621. U.MD.U.L.login();
  2622. }, 2000);
  2623. } else {
  2624. _formdiv = new U.UF.UI.form(
  2625. "项目详情",
  2626. $$("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 }), {
  2627. "id": "studyDetailS",
  2628. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2629. "onresize": function () { }
  2630. }, {
  2631. closecallback: function () { }
  2632. }, { "style": { "height": "36px" } }).form; //创建窗体
  2633. _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); } }
  2634. break;
  2635. }
  2636. case "studyDetailGM":
  2637. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2638. setTimeout(() => {
  2639. U.MD.U.L.login();
  2640. }, 2000);
  2641. } else {
  2642. _formdiv = new U.UF.UI.form(
  2643. "课程详情",
  2644. $$("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 }), {
  2645. "id": "studyDetail",
  2646. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2647. "onresize": function () { }
  2648. }, {
  2649. closecallback: function () { }
  2650. }, { "style": { "height": "36px" } }).form; //创建窗体
  2651. _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); } }
  2652. break;
  2653. }
  2654. case "hanUrl":
  2655. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2656. setTimeout(() => {
  2657. U.MD.U.L.login();
  2658. }, 2000);
  2659. } else {
  2660. _formdiv = new U.UF.UI.form(
  2661. "汉字宫",
  2662. $$("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" }), {
  2663. "id": "hanUrl",
  2664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2665. "onresize": function () { }
  2666. }, {
  2667. closecallback: function () { }
  2668. }, { "style": { "height": "36px" } }).form; //创建窗体
  2669. _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); } }
  2670. break;
  2671. }
  2672. case "index":
  2673. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2674. setTimeout(() => {
  2675. U.MD.U.L.login();
  2676. }, 2000);
  2677. } else {
  2678. _formdiv = new U.UF.UI.form(
  2679. "课程中心",
  2680. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2681. "id": "study",
  2682. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2683. "onresize": function () { }
  2684. }, {
  2685. closecallback: function () { }
  2686. }, { "style": { "height": "36px" } }).form; //创建窗体
  2687. _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); } }
  2688. break;
  2689. }
  2690. case "dataClass":
  2691. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2692. setTimeout(() => {
  2693. U.MD.U.L.login();
  2694. }, 2000);
  2695. } else {
  2696. _formdiv = new U.UF.UI.form(
  2697. "数据报告",
  2698. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2699. "id": "dataClass",
  2700. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2701. "onresize": function () { }
  2702. }, {
  2703. closecallback: function () { }
  2704. }, { "style": { "height": "36px" } }).form; //创建窗体
  2705. _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); } }
  2706. break;
  2707. }
  2708. case "opencCscl":
  2709. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2710. setTimeout(() => {
  2711. U.MD.U.L.login();
  2712. }, 2000);
  2713. } else {
  2714. _formdiv = new U.UF.UI.form(
  2715. "协同建构",
  2716. $$("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": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2717. "id": "futureClass",
  2718. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2719. "onresize": function () { }
  2720. }, {
  2721. closecallback: function () { }
  2722. }, { "style": { "height": "36px" } }).form; //创建窗体
  2723. _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); } }
  2724. break;
  2725. }
  2726. }
  2727. }
  2728. U.MD.D.I.openApplication = function (str, obj, info) {
  2729. obj = obj || {};
  2730. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2731. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2732. _userinfo = US.userInfo, //登录用户信息
  2733. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2734. _oid = obj.organizeid || _userinfo.organizeid,
  2735. _type = US.userInfo.type,
  2736. _org = US.userInfo.org,
  2737. _role = US.userInfo.role,
  2738. _classId = US.userInfo.classid,
  2739. _TscreenType = 1
  2740. _screenType = 2,
  2741. _SscreenType = 3;
  2742. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2743. return;
  2744. }
  2745. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2746. switch (str) {
  2747. case "studnetProject": //好友打开
  2748. _formdiv = new U.UF.UI.form(
  2749. "我的项目",
  2750. $$("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 }), {
  2751. "id": "studnetProject",
  2752. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2753. "onresize": function () { }
  2754. }, {
  2755. closecallback: function () { }
  2756. }, { "style": { "height": "36px" } }).form; //创建窗体
  2757. _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); } }
  2758. break;
  2759. case "studentEvaluate": //好友打开
  2760. _formdiv = new U.UF.UI.form(
  2761. "我的评价",
  2762. $$("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 }), {
  2763. "id": "studentEvaluate",
  2764. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2765. "onresize": function () { }
  2766. }, {
  2767. closecallback: function () { }
  2768. }, { "style": { "height": "36px" } }).form; //创建窗体
  2769. _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); } }
  2770. break;
  2771. case "my":
  2772. _formdiv = new U.UF.UI.form(
  2773. "我的资料",
  2774. $$("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 }), {
  2775. "id": "my",
  2776. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2777. "onresize": function () { }
  2778. }, {
  2779. closecallback: function () { }
  2780. }, { "style": { "height": "36px" } }).form; //创建窗体
  2781. _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); } }
  2782. break;
  2783. case "program":
  2784. _formdiv = new U.UF.UI.form(
  2785. "编程平台",
  2786. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2787. "id": "program",
  2788. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2789. "onresize": function () { }
  2790. }, {
  2791. closecallback: function () { }
  2792. }, { "style": { "height": "36px" } }).form; //创建窗体
  2793. _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); } }
  2794. break;
  2795. case "library":
  2796. _formdiv = new U.UF.UI.form(
  2797. "素材库",
  2798. $$("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 }), {
  2799. "id": "library",
  2800. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2801. "onresize": function () { }
  2802. }, {
  2803. closecallback: function () { }
  2804. }, { "style": { "height": "36px" } }).form; //创建窗体
  2805. _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); } }
  2806. break;
  2807. case "whiteboard":
  2808. _formdiv = new U.UF.UI.form(
  2809. "电子白板",
  2810. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2811. "id": "whiteboard",
  2812. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2813. "onresize": function () { }
  2814. }, {
  2815. closecallback: function () { }
  2816. }, { "style": { "height": "36px" } }).form; //创建窗体
  2817. _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); } }
  2818. break;
  2819. case "investigation":
  2820. _formdiv = new U.UF.UI.form(
  2821. "问卷调查",
  2822. $$("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 }), {
  2823. "id": "investigation",
  2824. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2825. "onresize": function () { }
  2826. }, {
  2827. closecallback: function () { }
  2828. }, { "style": { "height": "36px" } }).form; //创建窗体
  2829. _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); } }
  2830. break;
  2831. case "note":
  2832. _formdiv = new U.UF.UI.form(
  2833. "便签分类",
  2834. $$("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 }), {
  2835. "id": "note",
  2836. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2837. "onresize": function () { }
  2838. }, {
  2839. closecallback: function () { }
  2840. }, { "style": { "height": "36px" } }).form; //创建窗体
  2841. _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); } }
  2842. break;
  2843. // case "score":
  2844. // _formdiv = new U.UF.UI.form(
  2845. // "量规评分",
  2846. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2847. // "id": "score",
  2848. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2849. // "onresize": function() {}
  2850. // }, {
  2851. // closecallback: function() {}
  2852. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2853. // _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); } }
  2854. // break;
  2855. case "mind":
  2856. _formdiv = new U.UF.UI.form(
  2857. "思维导图",
  2858. $$("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"
  2859. "id": "mind",
  2860. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2861. "onresize": function () { }
  2862. }, {
  2863. closecallback: function () { }
  2864. }, { "style": { "height": "36px" } }).form; //创建窗体
  2865. _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); } }
  2866. break;
  2867. case "doc":
  2868. // U.MD.D.I.isRoom();
  2869. _formdiv = new U.UF.UI.form(
  2870. "协同文档",
  2871. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2872. "id": "doc",
  2873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2874. "onresize": function () { }
  2875. }, {
  2876. closecallback: function () { }
  2877. }, { "style": { "height": "36px" } }).form; //创建窗体
  2878. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2879. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2880. // })
  2881. _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); } }
  2882. break;
  2883. case "studentStudy":
  2884. _formdiv = new U.UF.UI.form(
  2885. "课程中心",
  2886. $$("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
  2887. "id": "studentStudy",
  2888. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2889. "onresize": function () { }
  2890. }, {
  2891. closecallback: function () { }
  2892. }, { "style": { "height": "36px" } }).form; //创建窗体
  2893. _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); } }
  2894. break;
  2895. case "train": //好友打开
  2896. _formdiv = new U.UF.UI.form(
  2897. "训练平台",
  2898. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2899. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2906. break;
  2907. case "mindNetwork": //好友打开
  2908. _formdiv = new U.UF.UI.form(
  2909. "思维网格",
  2910. $$("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 }), {
  2911. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2918. break;
  2919. case "studentClassRoom": //好友打开
  2920. _formdiv = new U.UF.UI.form(
  2921. "实时课堂",
  2922. $$("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 }), {
  2923. "id": "studentClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2930. setTimeout(() => {
  2931. U.UF.F.windowZooming(_formdiv)
  2932. }, 0);
  2933. break;
  2934. }
  2935. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2936. switch (str) {
  2937. case "studnetProject": //好友打开
  2938. _formdiv = new U.UF.UI.form(
  2939. "我的项目",
  2940. $$("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 }), {
  2941. "id": "studnetProject",
  2942. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2943. "onresize": function () { }
  2944. }, {
  2945. closecallback: function () { }
  2946. }, { "style": { "height": "36px" } }).form; //创建窗体
  2947. _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); } }
  2948. break;
  2949. case "studentEvaluate": //好友打开
  2950. _formdiv = new U.UF.UI.form(
  2951. "我的评价",
  2952. $$("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 }), {
  2953. "id": "studentEvaluate",
  2954. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2955. "onresize": function () { }
  2956. }, {
  2957. closecallback: function () { }
  2958. }, { "style": { "height": "36px" } }).form; //创建窗体
  2959. _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); } }
  2960. break;
  2961. case "my":
  2962. _formdiv = new U.UF.UI.form(
  2963. "我的资料",
  2964. $$("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 }), {
  2965. "id": "my",
  2966. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2967. "onresize": function () { }
  2968. }, {
  2969. closecallback: function () { }
  2970. }, { "style": { "height": "36px" } }).form; //创建窗体
  2971. _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); } }
  2972. break;
  2973. case "program":
  2974. _formdiv = new U.UF.UI.form(
  2975. "编程平台",
  2976. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2977. "id": "program",
  2978. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2979. "onresize": function () { }
  2980. }, {
  2981. closecallback: function () { }
  2982. }, { "style": { "height": "36px" } }).form; //创建窗体
  2983. _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); } }
  2984. break;
  2985. case "library":
  2986. _formdiv = new U.UF.UI.form(
  2987. "素材库",
  2988. $$("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 }), {
  2989. "id": "library",
  2990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2991. "onresize": function () { }
  2992. }, {
  2993. closecallback: function () { }
  2994. }, { "style": { "height": "36px" } }).form; //创建窗体
  2995. _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); } }
  2996. break;
  2997. case "whiteboard":
  2998. _formdiv = new U.UF.UI.form(
  2999. "电子白板",
  3000. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3001. "id": "whiteboard",
  3002. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3003. "onresize": function () { }
  3004. }, {
  3005. closecallback: function () { }
  3006. }, { "style": { "height": "36px" } }).form; //创建窗体
  3007. _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); } }
  3008. break;
  3009. case "investigation":
  3010. _formdiv = new U.UF.UI.form(
  3011. "问卷调查",
  3012. $$("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 }), {
  3013. "id": "investigation",
  3014. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3015. "onresize": function () { }
  3016. }, {
  3017. closecallback: function () { }
  3018. }, { "style": { "height": "36px" } }).form; //创建窗体
  3019. _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); } }
  3020. break;
  3021. case "note":
  3022. _formdiv = new U.UF.UI.form(
  3023. "便签分类",
  3024. $$("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 }), {
  3025. "id": "note",
  3026. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3027. "onresize": function () { }
  3028. }, {
  3029. closecallback: function () { }
  3030. }, { "style": { "height": "36px" } }).form; //创建窗体
  3031. _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); } }
  3032. break;
  3033. // case "score":
  3034. // _formdiv = new U.UF.UI.form(
  3035. // "量规评分",
  3036. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3037. // "id": "score",
  3038. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3039. // "onresize": function() {}
  3040. // }, {
  3041. // closecallback: function() {}
  3042. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3043. // _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); } }
  3044. // break;
  3045. case "mind":
  3046. _formdiv = new U.UF.UI.form(
  3047. "思维导图",
  3048. $$("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"
  3049. "id": "mind",
  3050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3051. "onresize": function () { }
  3052. }, {
  3053. closecallback: function () { }
  3054. }, { "style": { "height": "36px" } }).form; //创建窗体
  3055. _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); } }
  3056. break;
  3057. case "doc":
  3058. // U.MD.D.I.isRoom();
  3059. _formdiv = new U.UF.UI.form(
  3060. "协同文档",
  3061. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3062. "id": "doc",
  3063. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3064. "onresize": function () { }
  3065. }, {
  3066. closecallback: function () { }
  3067. }, { "style": { "height": "36px" } }).form; //创建窗体
  3068. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3069. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3070. })
  3071. _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); } }
  3072. break;
  3073. case "train": //好友打开
  3074. _formdiv = new U.UF.UI.form(
  3075. "训练平台",
  3076. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3077. "id": "train",
  3078. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3079. "onresize": function () { }
  3080. }, {
  3081. closecallback: function () { }
  3082. }, { "style": { "height": "36px" } }).form; //创建窗体
  3083. _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); } }
  3084. break;
  3085. case "studentStudy":
  3086. _formdiv = new U.UF.UI.form(
  3087. "课程中心",
  3088. $$("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
  3089. "id": "studentStudy",
  3090. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3091. "onresize": function () { }
  3092. }, {
  3093. closecallback: function () { }
  3094. }, { "style": { "height": "36px" } }).form; //创建窗体
  3095. _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); } }
  3096. break;
  3097. case "mindNetwork": //好友打开
  3098. _formdiv = new U.UF.UI.form(
  3099. "思维网格",
  3100. $$("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 }), {
  3101. "id": "mindNetwork",
  3102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3103. "onresize": function () { }
  3104. }, {
  3105. closecallback: function () { }
  3106. }, { "style": { "height": "36px" } }).form; //创建窗体
  3107. _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); } }
  3108. break;
  3109. case "studentClassRoom": //好友打开
  3110. _formdiv = new U.UF.UI.form(
  3111. "实时课堂",
  3112. $$("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 }), {
  3113. "id": "studentClassRoom",
  3114. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3115. "onresize": function () { }
  3116. }, {
  3117. closecallback: function () { }
  3118. }, { "style": { "height": "36px" } }).form; //创建窗体
  3119. _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); } }
  3120. setTimeout(() => {
  3121. U.UF.F.windowZooming(_formdiv)
  3122. }, 0);
  3123. break;
  3124. }
  3125. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3126. //选择应用处理
  3127. switch (str) {
  3128. case "project": //好友打开
  3129. _formdiv = new U.UF.UI.form(
  3130. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3131. $$("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 }), {
  3132. "id": "project",
  3133. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3134. "onresize": function () { }
  3135. }, {
  3136. closecallback: function () { }
  3137. }, { "style": { "height": "36px" } }).form; //创建窗体
  3138. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3139. break;
  3140. case "student":
  3141. _formdiv = new U.UF.UI.form(
  3142. "学生管理",
  3143. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3144. "id": "student",
  3145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3146. "onresize": function () { }
  3147. }, {
  3148. closecallback: function () { }
  3149. }, { "style": { "height": "36px" } }).form; //创建窗体
  3150. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3151. break;
  3152. case "evaluate":
  3153. _formdiv = new U.UF.UI.form(
  3154. "学生评价",
  3155. $$("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 }), {
  3156. "id": "evaluate",
  3157. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3158. "onresize": function () { }
  3159. }, {
  3160. closecallback: function () { }
  3161. }, { "style": { "height": "36px" } }).form; //创建窗体
  3162. _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); } }
  3163. break;
  3164. case "sys":
  3165. _formdiv = new U.UF.UI.form(
  3166. "目标管理",
  3167. $$("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 }), {
  3168. "id": "sys",
  3169. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3170. "onresize": function () { }
  3171. }, {
  3172. closecallback: function () { }
  3173. }, { "style": { "height": "36px" } }).form; //创建窗体
  3174. _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); } }
  3175. break;
  3176. case "courseDesign":
  3177. _formdiv = new U.UF.UI.form(
  3178. "项目设计",
  3179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3180. "id": "courseDesign",
  3181. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3182. "onresize": function () { }
  3183. }, {
  3184. closecallback: function () { }
  3185. }, { "style": { "height": "36px" } }).form; //创建窗体
  3186. _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); } }
  3187. break;
  3188. case "program":
  3189. _formdiv = new U.UF.UI.form(
  3190. "编程平台",
  3191. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3192. "id": "program",
  3193. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3194. "onresize": function () { }
  3195. }, {
  3196. closecallback: function () { }
  3197. }, { "style": { "height": "36px" } }).form; //创建窗体
  3198. _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); } }
  3199. break;
  3200. case "class":
  3201. _formdiv = new U.UF.UI.form(
  3202. "班级管理",
  3203. $$("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 }), {
  3204. "id": "class",
  3205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3206. "onresize": function () { }
  3207. }, {
  3208. closecallback: function () { }
  3209. }, { "style": { "height": "36px" } }).form; //创建窗体
  3210. _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); } }
  3211. break;
  3212. case "Grade":
  3213. _formdiv = new U.UF.UI.form(
  3214. "年级管理",
  3215. $$("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 }), {
  3216. "id": "Grade",
  3217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3218. "onresize": function () { }
  3219. }, {
  3220. closecallback: function () { }
  3221. }, { "style": { "height": "36px" } }).form; //创建窗体
  3222. _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); } }
  3223. break;
  3224. case "teacherOffice":
  3225. _formdiv = new U.UF.UI.form(
  3226. "教研室",
  3227. $$("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 }), {
  3228. "id": "teacherOffice",
  3229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3230. "onresize": function () { }
  3231. }, {
  3232. closecallback: function () { }
  3233. }, { "style": { "height": "36px" } }).form; //创建窗体
  3234. _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); } }
  3235. break;
  3236. case "my":
  3237. _formdiv = new U.UF.UI.form(
  3238. "我的资料",
  3239. $$("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 }), {
  3240. "id": "my",
  3241. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3242. "onresize": function () { }
  3243. }, {
  3244. closecallback: function () { }
  3245. }, { "style": { "height": "36px" } }).form; //创建窗体
  3246. _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); } }
  3247. break;
  3248. case "notice":
  3249. _formdiv = new U.UF.UI.form(
  3250. "通知公告",
  3251. $$("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 }), {
  3252. "id": "notice",
  3253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3254. "onresize": function () { }
  3255. }, {
  3256. closecallback: function () { }
  3257. }, { "style": { "height": "36px" } }).form; //创建窗体
  3258. _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); } }
  3259. break;
  3260. case "library":
  3261. _formdiv = new U.UF.UI.form(
  3262. "素材库",
  3263. $$("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 }), {
  3264. "id": "library",
  3265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function () { }
  3267. }, {
  3268. closecallback: function () { }
  3269. }, { "style": { "height": "36px" } }).form; //创建窗体
  3270. _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); } }
  3271. break;
  3272. case "whiteboard":
  3273. _formdiv = new U.UF.UI.form(
  3274. "电子白板",
  3275. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3276. "id": "whiteboard",
  3277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3278. "onresize": function () { }
  3279. }, {
  3280. closecallback: function () { }
  3281. }, { "style": { "height": "36px" } }).form; //创建窗体
  3282. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3283. break;
  3284. case "investigation":
  3285. _formdiv = new U.UF.UI.form(
  3286. "问卷调查",
  3287. $$("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 }), {
  3288. "id": "investigation",
  3289. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3290. "onresize": function () { }
  3291. }, {
  3292. closecallback: function () { }
  3293. }, { "style": { "height": "36px" } }).form; //创建窗体
  3294. _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); } }
  3295. break;
  3296. case "note":
  3297. _formdiv = new U.UF.UI.form(
  3298. "便签分类",
  3299. $$("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 }), {
  3300. "id": "note",
  3301. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3302. "onresize": function () { }
  3303. }, {
  3304. closecallback: function () { }
  3305. }, { "style": { "height": "36px" } }).form; //创建窗体
  3306. _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); } }
  3307. break;
  3308. // case "score":
  3309. // _formdiv = new U.UF.UI.form(
  3310. // "量规评分",
  3311. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3312. // "id": "score",
  3313. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3314. // "onresize": function() {}
  3315. // }, {
  3316. // closecallback: function() {}
  3317. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3318. // _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); } }
  3319. // break;
  3320. case "mind":
  3321. _formdiv = new U.UF.UI.form(
  3322. "思维导图",
  3323. $$("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"
  3324. "id": "mind",
  3325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3326. "onresize": function () { }
  3327. }, {
  3328. closecallback: function () { }
  3329. }, { "style": { "height": "36px" } }).form; //创建窗体
  3330. _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); } }
  3331. break;
  3332. case "doc":
  3333. // U.MD.D.I.isRoom();
  3334. _formdiv = new U.UF.UI.form(
  3335. "协同文档",
  3336. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3337. "id": "doc",
  3338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3339. "onresize": function () { }
  3340. }, {
  3341. closecallback: function () { }
  3342. }, { "style": { "height": "36px" } }).form; //创建窗体
  3343. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3344. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3345. })
  3346. _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); } }
  3347. break;
  3348. case "study":
  3349. _formdiv = new U.UF.UI.form(
  3350. "课程中心",
  3351. $$("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
  3352. "id": "study",
  3353. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3354. "onresize": function () { }
  3355. }, {
  3356. closecallback: function () { }
  3357. }, { "style": { "height": "36px" } }).form; //创建窗体
  3358. _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); } }
  3359. break;
  3360. case "mindNetwork": //好友打开
  3361. _formdiv = new U.UF.UI.form(
  3362. "思维网格",
  3363. $$("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 }), {
  3364. "id": "mindNetwork",
  3365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3366. "onresize": function () { }
  3367. }, {
  3368. closecallback: function () { }
  3369. }, { "style": { "height": "36px" } }).form; //创建窗体
  3370. _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); } }
  3371. break;
  3372. case "train": //好友打开
  3373. _formdiv = new U.UF.UI.form(
  3374. "训练平台",
  3375. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3376. "id": "mindNetwork",
  3377. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3378. "onresize": function () { }
  3379. }, {
  3380. closecallback: function () { }
  3381. }, { "style": { "height": "36px" } }).form; //创建窗体
  3382. _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); } }
  3383. break;
  3384. case "teacherClassRoom": //好友打开
  3385. _formdiv = new U.UF.UI.form(
  3386. "实时课堂",
  3387. $$("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 }), {
  3388. "id": "teacherClassRoom",
  3389. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3390. "onresize": function () { }
  3391. }, {
  3392. closecallback: function () { }
  3393. }, { "style": { "height": "36px" } }).form; //创建窗体
  3394. _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); } }
  3395. setTimeout(() => {
  3396. U.UF.F.windowZooming(_formdiv)
  3397. }, 0);
  3398. break;
  3399. }
  3400. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3401. switch (str) {
  3402. case "project": //好友打开
  3403. _formdiv = new U.UF.UI.form(
  3404. "课程管理",
  3405. $$("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 }), {
  3406. "id": "project",
  3407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3408. "onresize": function () { }
  3409. }, {
  3410. closecallback: function () { }
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _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); } }
  3413. break;
  3414. case "evaluate":
  3415. _formdiv = new U.UF.UI.form(
  3416. "学生评价",
  3417. $$("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 }), {
  3418. "id": "evaluate",
  3419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function () { }
  3421. }, {
  3422. closecallback: function () { }
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _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); } }
  3425. break;
  3426. case "notice":
  3427. _formdiv = new U.UF.UI.form(
  3428. "通知公告",
  3429. $$("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 }), {
  3430. "id": "notice",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _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); } }
  3437. break;
  3438. case "stuLibrary":
  3439. _formdiv = new U.UF.UI.form(
  3440. "学习资料",
  3441. $$("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 }), {
  3442. "id": "stuLibrary",
  3443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. case "program":
  3451. _formdiv = new U.UF.UI.form(
  3452. "编程平台",
  3453. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3454. "id": "program",
  3455. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function () { }
  3457. }, {
  3458. closecallback: function () { }
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _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); } }
  3461. break;
  3462. case "whiteboard":
  3463. _formdiv = new U.UF.UI.form(
  3464. "电子白板",
  3465. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3466. "id": "whiteboard",
  3467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function () { }
  3469. }, {
  3470. closecallback: function () { }
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _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); } }
  3473. break;
  3474. case "investigation":
  3475. _formdiv = new U.UF.UI.form(
  3476. "问卷调查",
  3477. $$("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 }), {
  3478. "id": "investigation",
  3479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function () { }
  3481. }, {
  3482. closecallback: function () { }
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. _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); } }
  3485. break;
  3486. case "mind":
  3487. _formdiv = new U.UF.UI.form(
  3488. "思维导图",
  3489. $$("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"
  3490. "id": "mind",
  3491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3492. "onresize": function () { }
  3493. }, {
  3494. closecallback: function () { }
  3495. }, { "style": { "height": "36px" } }).form; //创建窗体
  3496. _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); } }
  3497. break;
  3498. case "doc":
  3499. // U.MD.D.I.isRoom();
  3500. _formdiv = new U.UF.UI.form(
  3501. "协同文档",
  3502. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3503. "id": "doc",
  3504. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3505. "onresize": function () { }
  3506. }, {
  3507. closecallback: function () { }
  3508. }, { "style": { "height": "36px" } }).form; //创建窗体
  3509. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3510. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3511. })
  3512. _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); } }
  3513. break;
  3514. case "study":
  3515. _formdiv = new U.UF.UI.form(
  3516. "课程中心",
  3517. $$("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
  3518. "id": "study",
  3519. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3520. "onresize": function () { }
  3521. }, {
  3522. closecallback: function () { }
  3523. }, { "style": { "height": "36px" } }).form; //创建窗体
  3524. _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); } }
  3525. break;
  3526. case "mindNetwork": //好友打开
  3527. _formdiv = new U.UF.UI.form(
  3528. "思维网格",
  3529. $$("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 }), {
  3530. "id": "mindNetwork",
  3531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3532. "onresize": function () { }
  3533. }, {
  3534. closecallback: function () { }
  3535. }, { "style": { "height": "36px" } }).form; //创建窗体
  3536. _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); } }
  3537. break;
  3538. case "train": //好友打开
  3539. _formdiv = new U.UF.UI.form(
  3540. "训练平台",
  3541. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3542. "id": "train",
  3543. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3544. "onresize": function () { }
  3545. }, {
  3546. closecallback: function () { }
  3547. }, { "style": { "height": "36px" } }).form; //创建窗体
  3548. _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); } }
  3549. break;
  3550. case "sys":
  3551. _formdiv = new U.UF.UI.form(
  3552. "目标管理",
  3553. $$("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 }), {
  3554. "id": "sys",
  3555. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3556. "onresize": function () { }
  3557. }, {
  3558. closecallback: function () { }
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _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); } }
  3561. break;
  3562. case "courseDesign":
  3563. _formdiv = new U.UF.UI.form(
  3564. "项目设计",
  3565. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3566. "id": "courseDesign",
  3567. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3568. "onresize": function () { }
  3569. }, {
  3570. closecallback: function () { }
  3571. }, { "style": { "height": "36px" } }).form; //创建窗体
  3572. _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); } }
  3573. break;
  3574. }
  3575. } else if (!_type) {
  3576. switch (str) {
  3577. case "my":
  3578. _formdiv = new U.UF.UI.form(
  3579. "我的资料",
  3580. $$("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 }), {
  3581. "id": "my",
  3582. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3583. "onresize": function () { }
  3584. }, {
  3585. closecallback: function () { }
  3586. }, { "style": { "height": "36px" } }).form; //创建窗体
  3587. _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); } }
  3588. break;
  3589. }
  3590. }
  3591. switch (str) {
  3592. // AIprogram2 AI体验 aihub.cocorobo.cn
  3593. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3594. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3595. case "formulaEdi": //公式编辑
  3596. _formdiv = new U.UF.UI.form(
  3597. "公式编辑",
  3598. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3599. "id": "formulaEdi",
  3600. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3601. "onresize": function () { }
  3602. }, {
  3603. closecallback: function () { }
  3604. }, { "style": { "height": "36px" } }).form; //创建窗体
  3605. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3606. break;
  3607. case "molStr": //分子结构
  3608. _formdiv = new U.UF.UI.form(
  3609. "分子结构",
  3610. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3611. "id": "molStr",
  3612. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3613. "onresize": function () { }
  3614. }, {
  3615. closecallback: function () { }
  3616. }, { "style": { "height": "36px" } }).form; //创建窗体
  3617. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3618. break;
  3619. case "timeAxis": //时间轴
  3620. _formdiv = new U.UF.UI.form(
  3621. "时间轴",
  3622. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3623. "id": "timeAxis",
  3624. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3625. "onresize": function () { }
  3626. }, {
  3627. closecallback: function () { }
  3628. }, { "style": { "height": "36px" } }).form; //创建窗体
  3629. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3630. break;
  3631. case "AIprogram2": //AI体验
  3632. _formdiv = new U.UF.UI.form(
  3633. "AI体验",
  3634. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3635. "id": "AIprogram2",
  3636. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3637. "onresize": function () { }
  3638. }, {
  3639. closecallback: function () { }
  3640. }, { "style": { "height": "36px" } }).form; //创建窗体
  3641. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3642. break;
  3643. case "Pythonprogram": //python编程
  3644. _formdiv = new U.UF.UI.form(
  3645. "Python编程",
  3646. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3647. "id": "Pythonprogram",
  3648. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3649. "onresize": function () { }
  3650. }, {
  3651. closecallback: function () { }
  3652. }, { "style": { "height": "36px" } }).form; //创建窗体
  3653. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3654. break;
  3655. case "AIprogram": //ai编程
  3656. _formdiv = new U.UF.UI.form(
  3657. "AI编程平台",
  3658. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3659. "id": "AIprogram",
  3660. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3661. "onresize": function () { }
  3662. }, {
  3663. closecallback: function () { }
  3664. }, { "style": { "height": "36px" } }).form; //创建窗体
  3665. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3666. break;
  3667. case "CocoPi": //CocoPi
  3668. _formdiv = new U.UF.UI.form(
  3669. "CocoPi",
  3670. $$("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" }), {
  3671. "id": "CocoPi",
  3672. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3673. "onresize": function () { }
  3674. }, {
  3675. closecallback: function () { }
  3676. }, { "style": { "height": "36px" } }).form; //创建窗体
  3677. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3678. break;
  3679. case "Wood": //Wood
  3680. _formdiv = new U.UF.UI.form(
  3681. "海龟编程",
  3682. $$("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/" }), {
  3683. "id": "Wood",
  3684. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3685. "onresize": function () { }
  3686. }, {
  3687. closecallback: function () { }
  3688. }, { "style": { "height": "36px" } }).form; //创建窗体
  3689. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3690. break;
  3691. case "car": //模拟驾驶
  3692. _formdiv = new U.UF.UI.form(
  3693. "模拟驾驶",
  3694. $$("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/" }), {
  3695. "id": "car",
  3696. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3697. "onresize": function () { }
  3698. }, {
  3699. closecallback: function () { }
  3700. }, { "style": { "height": "36px" } }).form; //创建窗体
  3701. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3702. break;
  3703. case "lineSearch": //路径搜索
  3704. _formdiv = new U.UF.UI.form(
  3705. "路径搜索",
  3706. $$("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/" }), {
  3707. "id": "lineSearch",
  3708. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3709. "onresize": function () { }
  3710. }, {
  3711. closecallback: function () { }
  3712. }, { "style": { "height": "36px" } }).form; //创建窗体
  3713. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3714. break;
  3715. case "deepLearning": //深度学习
  3716. _formdiv = new U.UF.UI.form(
  3717. "深度学习",
  3718. $$("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/#" }), {
  3719. "id": "deepLearning",
  3720. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3721. "onresize": function () { }
  3722. }, {
  3723. closecallback: function () { }
  3724. }, { "style": { "height": "36px" } }).form; //创建窗体
  3725. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3726. break;
  3727. case "allHistory": //深度学习
  3728. _formdiv = new U.UF.UI.form(
  3729. "全历史",
  3730. $$("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/" }), {
  3731. "id": "allHistory",
  3732. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function () { }
  3734. }, {
  3735. closecallback: function () { }
  3736. }, { "style": { "height": "36px" } }).form; //创建窗体
  3737. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3738. break;
  3739. case "chatPDF": //ai编程
  3740. _formdiv = new U.UF.UI.form(
  3741. "chatPDF",
  3742. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3743. "id": "chatPDF",
  3744. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3745. "onresize": function () { }
  3746. }, {
  3747. closecallback: function () { }
  3748. }, { "style": { "height": "36px" } }).form; //创建窗体
  3749. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3750. break;
  3751. case "resources": //国家教育
  3752. _formdiv = new U.UF.UI.form(
  3753. "国家教育",
  3754. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3755. "id": "resources",
  3756. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3757. "onresize": function () { }
  3758. }, {
  3759. closecallback: function () { }
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3762. break;
  3763. case "codeEdit": //源码编辑
  3764. _formdiv = new U.UF.UI.form(
  3765. "源码编辑",
  3766. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3767. "id": "codeEdit",
  3768. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3769. "onresize": function () { }
  3770. }, {
  3771. closecallback: function () { }
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3774. break; //
  3775. case "MindMap": //MindMap
  3776. _formdiv = new U.UF.UI.form(
  3777. "MindMap",
  3778. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3779. "id": "MindMap",
  3780. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function () { }
  3782. }, {
  3783. closecallback: function () { }
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _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); } }
  3786. break;
  3787. case "netWorkPanel": //netWorkPanel
  3788. _formdiv = new U.UF.UI.form(
  3789. "netWorkPanel",
  3790. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3791. "id": "netWorkPanel",
  3792. "style": { "width": "80%", "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/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3798. break;
  3799. case "GeoGebra": //GeoGebra
  3800. _formdiv = new U.UF.UI.form(
  3801. "GeoGebra",
  3802. $$("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" }), {
  3803. "id": "GeoGebra",
  3804. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function () { }
  3806. }, {
  3807. closecallback: function () { }
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3810. break;
  3811. case "translation": //翻译
  3812. _formdiv = new U.UF.UI.form(
  3813. "翻译",
  3814. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3815. "id": "translation",
  3816. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3817. "onresize": function () { }
  3818. }, {
  3819. closecallback: function () { }
  3820. }, { "style": { "height": "36px" } }).form; //创建窗体
  3821. _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); } }
  3822. break;
  3823. case "mohe": //魔盒
  3824. _formdiv = new U.UF.UI.form(
  3825. "魔盒识字",
  3826. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3827. "id": "mohe",
  3828. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3829. "onresize": function () { }
  3830. }, {
  3831. closecallback: function () { }
  3832. }, { "style": { "height": "36px" } }).form; //创建窗体
  3833. _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); } }
  3834. break;
  3835. case "24game": //24点
  3836. _formdiv = new U.UF.UI.form(
  3837. "24点",
  3838. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3839. "id": "24game",
  3840. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3841. "onresize": function () { }
  3842. }, {
  3843. closecallback: function () { }
  3844. }, { "style": { "height": "36px" } }).form; //创建窗体
  3845. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3846. break;
  3847. case "case":
  3848. _formdiv = new U.UF.UI.form(
  3849. "课程进展",
  3850. $$("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 }), {
  3851. "id": "case",
  3852. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3853. "onresize": function () { }
  3854. }, {
  3855. closecallback: function () { }
  3856. }, { "style": { "height": "36px" } }).form; //创建窗体
  3857. _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); } }
  3858. break;
  3859. case "snf":
  3860. _formdiv = new U.UF.UI.form(
  3861. "赛诺梵",
  3862. $$("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" }), {
  3863. "id": "snf",
  3864. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3865. "onresize": function () { }
  3866. }, {
  3867. closecallback: function () { }
  3868. }, { "style": { "height": "36px" } }).form; //创建窗体
  3869. _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); } }
  3870. break;
  3871. case "hanFamily":
  3872. _formdiv = new U.UF.UI.form(
  3873. "汉字家族",
  3874. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3875. "id": "hanFamily",
  3876. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3877. "onresize": function () { }
  3878. }, {
  3879. closecallback: function () { }
  3880. }, { "style": { "height": "36px" } }).form; //创建窗体
  3881. _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); } }
  3882. break;
  3883. case "hanClassics":
  3884. _formdiv = new U.UF.UI.form(
  3885. "国学经典",
  3886. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3887. "id": "hanClassics",
  3888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. _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); } }
  3894. break;
  3895. case "hanTraining":
  3896. _formdiv = new U.UF.UI.form(
  3897. "笔画训练",
  3898. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3899. "id": "hanTraining",
  3900. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3901. "onresize": function () { }
  3902. }, {
  3903. closecallback: function () { }
  3904. }, { "style": { "height": "36px" } }).form; //创建窗体
  3905. _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); } }
  3906. break;
  3907. case "hanClass":
  3908. _formdiv = new U.UF.UI.form(
  3909. "书法课堂",
  3910. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3911. "id": "hanClass",
  3912. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3913. "onresize": function () { }
  3914. }, {
  3915. closecallback: function () { }
  3916. }, { "style": { "height": "36px" } }).form; //创建窗体
  3917. _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); } }
  3918. break;
  3919. case "han":
  3920. _formdiv = new U.UF.UI.form(
  3921. "汉字宫",
  3922. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3923. "id": "han",
  3924. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3925. "onresize": function () { }
  3926. }, {
  3927. closecallback: function () { }
  3928. }, { "style": { "height": "36px" } }).form; //创建窗体
  3929. _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); } }
  3930. break;
  3931. case "projectGM": //课程管理
  3932. _formdiv = new U.UF.UI.form(
  3933. "课程管理",
  3934. $$("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 }), {
  3935. "id": "projectGM",
  3936. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3937. "onresize": function () { }
  3938. }, {
  3939. closecallback: function () { }
  3940. }, { "style": { "height": "36px" } }).form; //创建窗体
  3941. _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); } }
  3942. break;
  3943. case "studyGM": //课程中心
  3944. _formdiv = new U.UF.UI.form(
  3945. "课程中心",
  3946. $$("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
  3947. "id": "study",
  3948. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3949. "onresize": function () { }
  3950. }, {
  3951. closecallback: function () { }
  3952. }, { "style": { "height": "36px" } }).form; //创建窗体
  3953. _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); } }
  3954. break;
  3955. // studentGM
  3956. case "studentGM": //学生管理
  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/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3960. "id": "studentGM",
  3961. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3962. "onresize": function () { }
  3963. }, {
  3964. closecallback: function () { }
  3965. }, { "style": { "height": "36px" } }).form; //创建窗体
  3966. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3967. break;
  3968. case "evaluateGM": //学生评价
  3969. _formdiv = new U.UF.UI.form(
  3970. "学生评价",
  3971. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3972. "id": "evaluateGM",
  3973. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3974. "onresize": function () { }
  3975. }, {
  3976. closecallback: function () { }
  3977. }, { "style": { "height": "36px" } }).form; //创建窗体
  3978. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3979. break;
  3980. // classGM
  3981. case "classGM": //班级管理
  3982. _formdiv = new U.UF.UI.form(
  3983. "班级管理",
  3984. $$("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 }), {
  3985. "id": "classGM",
  3986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3987. "onresize": function () { }
  3988. }, {
  3989. closecallback: function () { }
  3990. }, { "style": { "height": "36px" } }).form; //创建窗体
  3991. _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); } }
  3992. break;
  3993. // dataGM
  3994. case "dataGM":
  3995. _formdiv = new U.UF.UI.form(
  3996. "我的资料",
  3997. $$("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 }), {
  3998. "id": "dataGM",
  3999. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4000. "onresize": function () { }
  4001. }, {
  4002. closecallback: function () { }
  4003. }, { "style": { "height": "36px" } }).form; //创建窗体
  4004. _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); } }
  4005. break;
  4006. // caseGM
  4007. case "caseGM": //课程进展
  4008. _formdiv = new U.UF.UI.form(
  4009. "课程进展",
  4010. $$("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 }), {
  4011. "id": "caseGM",
  4012. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4013. "onresize": function () { }
  4014. }, {
  4015. closecallback: function () { }
  4016. }, { "style": { "height": "36px" } }).form; //创建窗体
  4017. _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); } }
  4018. break;
  4019. // meterialGM
  4020. case "meterialGM": //素材库
  4021. _formdiv = new U.UF.UI.form(
  4022. "素材库",
  4023. $$("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 }), {
  4024. "id": "meterialGM",
  4025. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _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); } }
  4031. break;
  4032. // evaluateSGM
  4033. case "evaluateSGM": //我的评价
  4034. _formdiv = new U.UF.UI.form(
  4035. "我的评价",
  4036. $$("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 }), {
  4037. "id": "evaluateSGM",
  4038. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _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); } }
  4044. break;
  4045. case "jupyter": //jupyter
  4046. _formdiv = new U.UF.UI.form(
  4047. "jupyter",
  4048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4049. "id": "jupyter",
  4050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _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); } }
  4056. break;
  4057. case "number": //数字实验室
  4058. _formdiv = new U.UF.UI.form(
  4059. "数字实验室",
  4060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4061. "id": "number",
  4062. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //创建窗体
  4067. _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); } }
  4068. break;
  4069. case "studentCourse": //项目管理 学生
  4070. _formdiv = new U.UF.UI.form(
  4071. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4072. $$("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 }), {
  4073. "id": "studentCourse",
  4074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _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); } }
  4080. break;
  4081. case "studentCourseS": //项目管理 老师
  4082. _formdiv = new U.UF.UI.form(
  4083. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4084. $$("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 }), {
  4085. "id": "studentCourseS",
  4086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4087. "onresize": function () { }
  4088. }, {
  4089. closecallback: function () { }
  4090. }, { "style": { "height": "36px" } }).form; //创建窗体
  4091. _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); } }
  4092. break;
  4093. case "studentIndex": //项目中心
  4094. _formdiv = new U.UF.UI.form(
  4095. "项目中心",
  4096. $$("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 }), {
  4097. "id": "studentIndex",
  4098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //创建窗体
  4103. _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); } }
  4104. break;
  4105. case "CaseDesignS":
  4106. _formdiv = new U.UF.UI.form(
  4107. "项目进展",
  4108. $$("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 }), {
  4109. "id": "case",
  4110. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4111. "onresize": function () { }
  4112. }, {
  4113. closecallback: function () { }
  4114. }, { "style": { "height": "36px" } }).form; //创建窗体
  4115. _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); } }
  4116. break;
  4117. case "tcStudent": //腾讯学生管理
  4118. _formdiv = new U.UF.UI.form(
  4119. "学生管理",
  4120. $$("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 }), {
  4121. "id": "tcStudent",
  4122. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4123. "onresize": function () { }
  4124. }, {
  4125. closecallback: function () { }
  4126. }, { "style": { "height": "36px" } }).form; //创建窗体
  4127. _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); } }
  4128. break;
  4129. case "tcSchool": //腾讯学校管理
  4130. _formdiv = new U.UF.UI.form(
  4131. "学校管理",
  4132. $$("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 }), {
  4133. "id": "tcSchool",
  4134. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4135. "onresize": function () { }
  4136. }, {
  4137. closecallback: function () { }
  4138. }, { "style": { "height": "36px" } }).form; //创建窗体
  4139. _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); } }
  4140. break;
  4141. case "tcTeacher": //腾讯学校管理
  4142. _formdiv = new U.UF.UI.form(
  4143. "教师管理",
  4144. $$("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 }), {
  4145. "id": "tcTeacher",
  4146. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4147. "onresize": function () { }
  4148. }, {
  4149. closecallback: function () { }
  4150. }, { "style": { "height": "36px" } }).form; //创建窗体
  4151. _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); } }
  4152. break;
  4153. case "tcData": //腾讯我的资料
  4154. _formdiv = new U.UF.UI.form(
  4155. "我的资料",
  4156. $$("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 }), {
  4157. "id": "tcData",
  4158. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4159. "onresize": function () { }
  4160. }, {
  4161. closecallback: function () { }
  4162. }, { "style": { "height": "36px" } }).form; //创建窗体
  4163. _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); } }
  4164. break;
  4165. case "tcNotice": //腾讯消息通知
  4166. _formdiv = new U.UF.UI.form(
  4167. "消息通知",
  4168. $$("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 }), {
  4169. "id": "tcNotice",
  4170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4171. "onresize": function () { }
  4172. }, {
  4173. closecallback: function () { }
  4174. }, { "style": { "height": "36px" } }).form; //创建窗体
  4175. _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); } }
  4176. break;
  4177. case "myReport": //好友打开
  4178. _formdiv = new U.UF.UI.form(
  4179. "我的评价",
  4180. $$("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 }), {
  4181. "id": "myReport",
  4182. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //创建窗体
  4187. _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); } }
  4188. break;
  4189. case "learnAna": //好友打开
  4190. _formdiv = new U.UF.UI.form(
  4191. "学习分析",
  4192. $$("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 }), {
  4193. "id": "learnAna",
  4194. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4195. "onresize": function () { }
  4196. }, {
  4197. closecallback: function () { }
  4198. }, { "style": { "height": "36px" } }).form; //创建窗体
  4199. _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); } }
  4200. break;
  4201. case "AIChat": //AI共创
  4202. _formdiv = new U.UF.UI.form(
  4203. "AI共创",
  4204. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4205. "id": "AIChat",
  4206. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4207. "onresize": function () { }
  4208. }, {
  4209. istop: true,
  4210. closecallback: function () { $("#aichat_icon").remove(); },
  4211. narrowcallback: function () {
  4212. if (!$("#aichat_icon")[0]) {
  4213. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4214. }
  4215. },
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _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); } }
  4218. break;
  4219. case "ainew": //AI共创
  4220. _formdiv = new U.UF.UI.form(
  4221. "AI协同",
  4222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4223. "id": "ainew",
  4224. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4225. "onresize": function () { }
  4226. }, {
  4227. closecallback: function () { }
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _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); } }
  4230. break;
  4231. case "futureClass": //AI共创
  4232. _formdiv = new U.UF.UI.form(
  4233. "协同建构",
  4234. $$("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/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4235. "id": "synergyCourse",
  4236. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4237. "onresize": function () { }
  4238. }, {
  4239. closecallback: function () { }
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _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); } }
  4242. break;
  4243. case "aiagent": //ai agent
  4244. _formdiv = new U.UF.UI.form(
  4245. "AI Agent",
  4246. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://metagpt.cocorobo.cn/dist/index.html" }), {
  4247. "id": "AIAgent",
  4248. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4249. "onresize": function () { }
  4250. }, {
  4251. closecallback: function () { }
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4254. break;
  4255. case "dataBoard": //数据看板
  4256. _formdiv = new U.UF.UI.form(
  4257. "数据看板",
  4258. $$("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 }), {
  4259. "id": "dataBoard",
  4260. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4261. "onresize": function () { }
  4262. }, {
  4263. closecallback: function () { }
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _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); } }
  4266. break;
  4267. case "dataBoardSies": //数据看板
  4268. _formdiv = new U.UF.UI.form(
  4269. "数据看板",
  4270. $$("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/#/dataBoardSies?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4271. "id": "dataBoardSies",
  4272. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4273. "onresize": function () { }
  4274. }, {
  4275. closecallback: function () { }
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4278. break;
  4279. case "AIAnalyse": //AI共创
  4280. _formdiv = new U.UF.UI.form(
  4281. "AI分析",
  4282. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4283. "id": "AIAnalyse",
  4284. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4285. "onresize": function () { }
  4286. }, {
  4287. closecallback: function () { }
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _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); } }
  4290. break;
  4291. case "studioCourse": //AI共创
  4292. _formdiv = new U.UF.UI.form(
  4293. "工作管理",
  4294. $$("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 }), {
  4295. "id": "studioCourse",
  4296. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4297. "onresize": function () { }
  4298. }, {
  4299. closecallback: function () { }
  4300. }, { "style": { "height": "36px" } }).form; //创建窗体
  4301. _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); } }
  4302. break;
  4303. case "studioIndex": //AI共创
  4304. _formdiv = new U.UF.UI.form(
  4305. "工作中心",
  4306. $$("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 }), {
  4307. "id": "studioIndex",
  4308. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4309. "onresize": function () { }
  4310. }, {
  4311. closecallback: function () { }
  4312. }, { "style": { "height": "36px" } }).form; //创建窗体
  4313. _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); } }
  4314. break;
  4315. case "source":
  4316. _formdiv = new U.UF.UI.form(
  4317. "教学资源",
  4318. $$("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 }), {
  4319. "id": "source",
  4320. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4321. "onresize": function () { }
  4322. }, {
  4323. closecallback: function () { }
  4324. }, { "style": { "height": "36px" } }).form; //创建窗体
  4325. _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); } }
  4326. break;
  4327. case "testTeacher":
  4328. _formdiv = new U.UF.UI.form(
  4329. "评测管理",
  4330. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4331. "id": "testTeacher",
  4332. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4333. "onresize": function () { }
  4334. }, {
  4335. closecallback: function () { }
  4336. }, { "style": { "height": "36px" } }).form; //创建窗体
  4337. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4338. break;
  4339. case "testStudent":
  4340. _formdiv = new U.UF.UI.form(
  4341. "评测中心",
  4342. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4343. "id": "testStudent",
  4344. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4345. "onresize": function () { }
  4346. }, {
  4347. closecallback: function () { }
  4348. }, { "style": { "height": "36px" } }).form; //创建窗体
  4349. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4350. break;
  4351. }
  4352. //U.MD.D.I.openClick(str);
  4353. //如果有任务栏信息
  4354. if (_taskbar) {
  4355. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4356. }
  4357. }
  4358. // U.MD.D.I.openClick = function(str){
  4359. // var click = '';
  4360. // switch(str){
  4361. // case 'friend':
  4362. // click = '我的好友';
  4363. // break;
  4364. // case 'domain':
  4365. // click = '域名管理';
  4366. // break;
  4367. // case 'disk':
  4368. // click = '我的云盘';
  4369. // break;
  4370. // case 'word':
  4371. // click = 'Word';
  4372. // break;
  4373. // case 'excel':
  4374. // click = 'Execl';
  4375. // break;
  4376. // case 'txt':
  4377. // click = '文本文件';
  4378. // break;
  4379. // case 'lookupFriend':
  4380. // click = '查找好友';
  4381. // break;
  4382. // case 'ftp':
  4383. // click = 'FTP';
  4384. // break;
  4385. // case 'group':
  4386. // click = '群组';
  4387. // break;
  4388. // case 'set':
  4389. // click = '我的设置';
  4390. // break;
  4391. // case 'systemSet':
  4392. // click = '系统设置';
  4393. // break;
  4394. // case 'boomYun':
  4395. // click = '互联办公';
  4396. // break;
  4397. // case 'xz':
  4398. // click = '云端下载';
  4399. // break;
  4400. // case 'client':
  4401. // click = '有思浏览器';
  4402. // break;
  4403. // case 'backEndProgramming':
  4404. // click = '在线后台编程';
  4405. // break;
  4406. // case 'frontEndProgramming':
  4407. // click = '在线前端编程';
  4408. // break;
  4409. // default: break;
  4410. // }
  4411. // if(U.MD.D.I.Ip && click){
  4412. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4413. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4414. // })
  4415. // }
  4416. // }
  4417. /**
  4418. *函数作用:ajax简易函数,使用post格式
  4419. *@param url {data} 后台地址
  4420. *@param data {data} 参数json
  4421. *@param fn {data} 回调函数
  4422. *
  4423. */
  4424. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4425. // var xhr = new XMLHttpRequest();
  4426. // xhr.open("GET",url,true);
  4427. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4428. // xhr.onreadystatechange = function(){
  4429. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4430. // fn.call(this,xhr.responseText);
  4431. // }
  4432. // };
  4433. // xhr.send();
  4434. // }
  4435. /*判断是否是内网IP*/
  4436. // U.MD.D.I.isInnerIPFn = function(str){
  4437. // var curPageUrl = str;
  4438. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4439. // curPageUrl =curPageUrl.replace(reg1,'');
  4440. // // console.log('curPageUrl-1 '+curPageUrl);
  4441. // var reg2 = /\:+/g;//替换冒号为一点
  4442. // curPageUrl =curPageUrl.replace(reg2,'.');
  4443. // // console.log('curPageUrl-2 '+curPageUrl);
  4444. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4445. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4446. // if(curPageUrl[2] != '16'){
  4447. // return ipAddress;
  4448. // }else{
  4449. // return false;
  4450. // }
  4451. // }
  4452. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4453. // //compatibility for firefox and chrome
  4454. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4455. // var pc = new myPeerConnection({
  4456. // iceServers: []
  4457. // }),
  4458. // noop = function() {},
  4459. // localIPs = {},
  4460. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4461. // key;
  4462. // function iterateIP(ip) {
  4463. // if (!localIPs[ip]) onNewIP(ip);
  4464. // localIPs[ip] = true;
  4465. // }
  4466. // //create a bogus data channel
  4467. // pc.createDataChannel("");
  4468. // // create offer and set local description
  4469. // pc.createOffer().then(function(sdp) {
  4470. // sdp.sdp.split('\n').forEach(function(line) {
  4471. // if (line.indexOf('candidate') < 0) return;
  4472. // line.match(ipRegex).forEach(iterateIP);
  4473. // });
  4474. // pc.setLocalDescription(sdp, noop, noop);
  4475. // }).catch(function(reason) {
  4476. // // An error occurred, so handle the failure to connect
  4477. // });
  4478. // //sten for candidate events
  4479. // pc.onicecandidate = function(ice) {
  4480. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4481. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4482. // };
  4483. // }
  4484. // U.MD.D.I.getUserIpBool = function(callback){
  4485. // U.MD.D.I.getUserIP(function(ip){
  4486. // alert("Got IP! :" + ip);
  4487. // });
  4488. //}
  4489. //#endregion
  4490. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4491. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4492. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4493. _userinfo = US.userInfo, //登录用户信息
  4494. _userid = US.userInfo.userid //登录用户id
  4495. let _iframe;
  4496. let _cid = cid,
  4497. _stage = stage,
  4498. _task = task,
  4499. _tool = tool;
  4500. var _jie = $$("div", {
  4501. "style": {
  4502. "position": "absolute",
  4503. "bottom": "50px",
  4504. "right": "50px",
  4505. "zIndex": "9999",
  4506. "backgroundColor": "#2268bc",
  4507. "color": "#fff",
  4508. "padding": "12px 20px",
  4509. "cursor": "pointer",
  4510. "borderRadius": "4px",
  4511. },
  4512. "innerHTML": "提交作业"
  4513. })
  4514. let aTool = ''
  4515. let _loading = document.createElement('div')
  4516. _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;"
  4517. // _loading.id = "";
  4518. let _lchild = document.createElement('div')
  4519. let _limg = document.createElement('img')
  4520. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4521. _limg.style = "width: 26px;margin-right: 10px;"
  4522. _lchild.appendChild(_limg)
  4523. let _lspan = document.createElement('span')
  4524. _lspan.innerHTML = "上传中..."
  4525. _lchild.appendChild(_lspan)
  4526. _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%);"
  4527. _loading.appendChild(_lchild)
  4528. var _box = $$('div', {
  4529. "style": {
  4530. "position": "relative",
  4531. "width": "100%",
  4532. "height": "100%",
  4533. },
  4534. })
  4535. _box.appendChild(_loading)
  4536. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4537. switch (str) {
  4538. case "whiteboard":
  4539. aTool = 1;
  4540. _iframe = $$("iframe", {
  4541. "frameborder": "no",
  4542. "border": "0",
  4543. "scrolling ": "no",
  4544. "style": {
  4545. "cssText": "border:0;width:100%;height:100%"
  4546. },
  4547. "src": "https://iwb.cocorobo.cn/"
  4548. })
  4549. _box.appendChild(_iframe);
  4550. _box.appendChild(_jie);
  4551. _formdiv = new U.UF.UI.form(
  4552. "电子白板",
  4553. _box, {
  4554. "id": "whiteboard" + cid + stage + task + tool,
  4555. "style": {
  4556. "width": "90%",
  4557. "height": "90%",
  4558. "overflow": 'hidden'
  4559. },
  4560. "onresize": function () { }
  4561. }, {
  4562. closecallback: function () { }
  4563. }, {
  4564. "style": {
  4565. "height": "36px"
  4566. }
  4567. }).form; //创建窗体
  4568. _taskbar = {
  4569. "id": str + _formdiv.id,
  4570. "style": {
  4571. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4572. },
  4573. "name": "电子白板",
  4574. "forms": _formdiv,
  4575. "click": function () {
  4576. U.MD.D.I.openApplication(str, obj, info);
  4577. }
  4578. }
  4579. break;
  4580. case "mind":
  4581. aTool = 3;
  4582. _iframe = $$("iframe", {
  4583. "frameborder": "no",
  4584. "border": "0",
  4585. "scrolling ": "no",
  4586. "style": {
  4587. "cssText": "border:0;width:100%;height:100%"
  4588. },
  4589. "src": "/kityminder-editor/dist/index.html"
  4590. })
  4591. _box.appendChild(_iframe);
  4592. _box.appendChild(_jie);
  4593. _formdiv = new U.UF.UI.form(
  4594. "思维导图",
  4595. _box, { //"/jsmind/example/demo.html"
  4596. "id": "mind" + cid + stage + task + tool,
  4597. "style": {
  4598. "width": "90%",
  4599. "height": "90%",
  4600. "overflow": 'hidden'
  4601. },
  4602. "onresize": function () { }
  4603. }, {
  4604. closecallback: function () { }
  4605. }, {
  4606. "style": {
  4607. "height": "36px"
  4608. }
  4609. }).form; //创建窗体
  4610. _taskbar = {
  4611. "id": str + _formdiv.id,
  4612. "style": {
  4613. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4614. },
  4615. "name": "思维导图",
  4616. "forms": _formdiv,
  4617. "click": function () {
  4618. U.MD.D.I.openApplication(str, obj, info);
  4619. }
  4620. }
  4621. break;
  4622. case "MindMap":
  4623. aTool = 3;
  4624. _iframe = $$("iframe", {
  4625. "frameborder": "no",
  4626. "border": "0",
  4627. "scrolling ": "no",
  4628. "style": {
  4629. "cssText": "border:0;width:100%;height:100%"
  4630. },
  4631. "src": "//cloud.cocorobo.cn/mind/"
  4632. })
  4633. _box.appendChild(_iframe);
  4634. _box.appendChild(_jie);
  4635. _formdiv = new U.UF.UI.form(
  4636. "思维导图",
  4637. _box, { //"/jsmind/example/demo.html"
  4638. "id": "mind" + cid + stage + task + tool,
  4639. "style": {
  4640. "width": "90%",
  4641. "height": "90%",
  4642. "overflow": 'hidden'
  4643. },
  4644. "onresize": function () { }
  4645. }, {
  4646. closecallback: function () { }
  4647. }, {
  4648. "style": {
  4649. "height": "36px"
  4650. }
  4651. }).form; //创建窗体
  4652. _taskbar = {
  4653. "id": str + _formdiv.id,
  4654. "style": {
  4655. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4656. },
  4657. "name": "思维导图",
  4658. "forms": _formdiv,
  4659. "click": function () {
  4660. U.MD.D.I.openApplication(str, obj, info);
  4661. }
  4662. }
  4663. break;
  4664. case "doc":
  4665. aTool = 6;
  4666. _iframe = $$("iframe", {
  4667. "frameborder": "no",
  4668. "border": "0",
  4669. "scrolling ": "no",
  4670. "style": {
  4671. "cssText": "border:0;width:100%;height:100%"
  4672. },
  4673. "src": "/Office/Word/WordEditArea.htm"
  4674. })
  4675. _box.appendChild(_iframe);
  4676. _box.appendChild(_jie);
  4677. _formdiv = new U.UF.UI.form(
  4678. "协同文档",
  4679. _box, {
  4680. "id": "doc" + cid + stage + task + tool,
  4681. "style": {
  4682. "width": "90%",
  4683. "height": "90%",
  4684. "overflow": 'hidden'
  4685. },
  4686. "onresize": function () { }
  4687. }, {
  4688. closecallback: function () { }
  4689. }, {
  4690. "style": {
  4691. "height": "36px"
  4692. }
  4693. }).form; //创建窗体
  4694. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4695. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4696. })
  4697. _taskbar = {
  4698. "id": str + _formdiv.id,
  4699. "style": {
  4700. "backgroundImage": "url(/img/icon/doc.png)"
  4701. },
  4702. "name": "协同文档",
  4703. "forms": _formdiv,
  4704. "click": function () {
  4705. U.MD.D.I.openApplication(str, obj, info);
  4706. }
  4707. }
  4708. break;
  4709. case "mindNetwork": //好友打开
  4710. aTool = 7;
  4711. _iframe = $$("iframe", {
  4712. "webkitallowfullscreen": "",
  4713. "mozallowfullscreen": "",
  4714. "allowfullscreen": "",
  4715. "frameborder": "no",
  4716. "border": "0",
  4717. "scrolling ": "no",
  4718. "style": {
  4719. "cssText": "border:0; width:100%; height:100%;"
  4720. },
  4721. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4722. })
  4723. _box.appendChild(_iframe);
  4724. _box.appendChild(_jie);
  4725. _formdiv = new U.UF.UI.form(
  4726. "思维网格",
  4727. _box, {
  4728. "id": "mindNetwork" + cid + stage + task + tool,
  4729. "style": {
  4730. "width": "90%",
  4731. "height": "90%",
  4732. "overflow": 'hidden'
  4733. },
  4734. "onresize": function () { }
  4735. }, {
  4736. closecallback: function () { }
  4737. }, {
  4738. "style": {
  4739. "height": "36px"
  4740. }
  4741. }).form; //创建窗体
  4742. _taskbar = {
  4743. "id": str + _formdiv.id,
  4744. "style": {
  4745. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4746. },
  4747. "name": "思维网格",
  4748. "forms": _formdiv,
  4749. "click": function () {
  4750. U.MD.D.I.openApplication(str, obj, info);
  4751. }
  4752. }
  4753. break;
  4754. case "courseDesign":
  4755. _iframe = $$("iframe", {
  4756. "webkitallowfullscreen": "",
  4757. "mozallowfullscreen": "",
  4758. "allowfullscreen": "",
  4759. "frameborder": "no",
  4760. "border": "0",
  4761. "scrolling ": "no",
  4762. "style": {
  4763. "cssText": "border:0; width:100%; height:100%;"
  4764. },
  4765. "src": "/course-design-vue"
  4766. })
  4767. _box.appendChild(_iframe);
  4768. _box.appendChild(_jie);
  4769. _formdiv = new U.UF.UI.form(
  4770. "项目设计",
  4771. _box, {
  4772. "id": "courseDesign" + cid + stage + task + tool,
  4773. "style": {
  4774. "width": "90%",
  4775. "height": "90%",
  4776. "overflow": 'hidden'
  4777. },
  4778. "onresize": function () { }
  4779. }, {
  4780. closecallback: function () { }
  4781. }, {
  4782. "style": {
  4783. "height": "36px"
  4784. }
  4785. }).form; //创建窗体
  4786. _taskbar = {
  4787. "id": str + _formdiv.id,
  4788. "style": {
  4789. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4790. },
  4791. "name": "项目设计",
  4792. "forms": _formdiv,
  4793. "click": function () {
  4794. U.MD.D.I.openApplication(str, obj, info);
  4795. }
  4796. }
  4797. break;
  4798. }
  4799. const script1 = document.createElement("script");
  4800. script1.type = "text/javascript";
  4801. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4802. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4803. const script2 = document.createElement("script");
  4804. script2.type = "text/javascript";
  4805. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4806. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4807. const script3 = document.createElement("script");
  4808. script3.type = "text/javascript";
  4809. script3.charset = "UTF-8";
  4810. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4811. const script4 = document.createElement("script");
  4812. script4.type = "text/javascript";
  4813. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4814. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4815. if (_iframe) {
  4816. if (str == 'doc') {
  4817. _iframe = _formdiv.querySelector('iframe')
  4818. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4819. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4820. _iframe.contentWindow.document.body.appendChild(script1);
  4821. _iframe.contentWindow.document.body.appendChild(script2);
  4822. // _iframe.contentWindow.document.body.appendChild(script3);
  4823. _iframe.contentWindow.document.body.appendChild(script4);
  4824. })
  4825. if (onloadListener) {
  4826. _iframe.contentDocument.location.reload()
  4827. } else {
  4828. _iframe.contentDocument.location.reload()
  4829. }
  4830. } else if (str == 'courseDesign') {
  4831. U.UF.DL.iframeLoad(_iframe, function () {
  4832. // _iframe.contentWindow.U.MD.O.W.load();
  4833. // _iframe.contentWindow.document.body.appendChild(script1);
  4834. _iframe.contentWindow.document.body.appendChild(script2);
  4835. _iframe.contentWindow.document.body.appendChild(script4);
  4836. })
  4837. } else if (str == 'mind') {
  4838. _iframe = _formdiv.querySelector('iframe')
  4839. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4840. //
  4841. _iframe.contentWindow.document.body.appendChild(script1);
  4842. _iframe.contentWindow.document.body.appendChild(script2);
  4843. _iframe.contentWindow.document.body.appendChild(script4);
  4844. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4845. })
  4846. if (onloadListener) {
  4847. _iframe.contentDocument.location.reload()
  4848. } else {
  4849. _iframe.contentDocument.location.reload()
  4850. }
  4851. } else if (str == 'whiteboard') {
  4852. _iframe = _formdiv.querySelector('iframe')
  4853. let onloadListener = _iframe.onload = () => {
  4854. _iframe.contentWindow.document.body.appendChild(script1);
  4855. _iframe.contentWindow.document.body.appendChild(script2);
  4856. _iframe.contentWindow.document.body.appendChild(script4);
  4857. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4858. };
  4859. if (onloadListener) {
  4860. _iframe.contentDocument.location.reload()
  4861. } else {
  4862. _iframe.contentDocument.location.reload()
  4863. }
  4864. } else {
  4865. _iframe.onload = () => {
  4866. _iframe.contentWindow.document.body.appendChild(script1);
  4867. _iframe.contentWindow.document.body.appendChild(script2);
  4868. // _iframe.contentWindow.document.body.appendChild(script3);
  4869. _iframe.contentWindow.document.body.appendChild(script4);
  4870. };
  4871. }
  4872. _jie.onclick = async () => {
  4873. let text = ''
  4874. if (aTool == 1) {
  4875. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4876. } else if (aTool == 6) {
  4877. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4878. } else if (aTool == 3) {
  4879. text = await U.MD.D.I.getEditorContent(_iframe);
  4880. }
  4881. _loading.style.display = 'flex'
  4882. console.log(_loading);
  4883. var _ajs = _iframe.contentWindow.document.createElement("script");
  4884. _ajs.type = "text/javascript";
  4885. _ajs.innerHTML =
  4886. // 'console.log(' + _loading + ');\n' +
  4887. 'var _js = document.createElement("script");\n' +
  4888. '_js.type="text/javascript";\n' +
  4889. '_js.charset="UTF-8";\n' +
  4890. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4891. "_js.onload = function(){\n" +
  4892. ' var a = document.getElementsByTagName("img")\n' +
  4893. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4894. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4895. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4896. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4897. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4898. "beforeUpload_shishi(file," +
  4899. "'" +
  4900. _userid +
  4901. "'" +
  4902. ", " +
  4903. "'" +
  4904. _cid +
  4905. "'" +
  4906. ", " +
  4907. "'" +
  4908. _stage +
  4909. "'" +
  4910. ", " +
  4911. "'" +
  4912. _task +
  4913. "'" +
  4914. ", " +
  4915. "'" +
  4916. _tool +
  4917. "'" +
  4918. ", " +
  4919. "'" +
  4920. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4921. "'" +
  4922. ", " +
  4923. "'" +
  4924. aTool +
  4925. "'" +
  4926. ", " +
  4927. "`" +
  4928. text +
  4929. "`" +
  4930. ")\n" +
  4931. " });\n" +
  4932. "}\n" +
  4933. "document.head.appendChild(_js);\n";
  4934. _iframe.contentWindow.document.head.appendChild(_ajs);
  4935. }
  4936. }
  4937. //U.MD.D.I.openClick(str);
  4938. //如果有任务栏信息
  4939. // if (_taskbar) {
  4940. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4941. // }
  4942. }
  4943. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4944. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4945. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4946. _userinfo = US.userInfo, //登录用户信息
  4947. _userid = US.userInfo.userid //登录用户id
  4948. let _iframe;
  4949. let _cid = cid,
  4950. _stage = stage,
  4951. _task = task,
  4952. _tool = tool;
  4953. var _jie = $$("div", {
  4954. "style": {
  4955. "position": "absolute",
  4956. "bottom": "50px",
  4957. "right": "50px",
  4958. "zIndex": "9999",
  4959. "backgroundColor": "#2268bc",
  4960. "color": "#fff",
  4961. "padding": "12px 20px",
  4962. "cursor": "pointer",
  4963. "borderRadius": "4px",
  4964. },
  4965. "innerHTML": "提交作业"
  4966. })
  4967. let aTool = ''
  4968. let _loading = document.createElement('div')
  4969. _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;"
  4970. // _loading.id = "";
  4971. let _lchild = document.createElement('div')
  4972. let _limg = document.createElement('img')
  4973. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4974. _limg.style = "width: 26px;margin-right: 10px;"
  4975. _lchild.appendChild(_limg)
  4976. let _lspan = document.createElement('span')
  4977. _lspan.innerHTML = "上传中..."
  4978. _lchild.appendChild(_lspan)
  4979. _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%);"
  4980. _loading.appendChild(_lchild)
  4981. var _box = $$('div', {
  4982. "style": {
  4983. "position": "relative",
  4984. "width": "100%",
  4985. "height": "100%",
  4986. },
  4987. })
  4988. _box.appendChild(_loading)
  4989. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4990. switch (str) {
  4991. case "whiteboard":
  4992. aTool = 1;
  4993. _iframe = $$("iframe", {
  4994. "frameborder": "no",
  4995. "border": "0",
  4996. "scrolling ": "no",
  4997. "style": {
  4998. "cssText": "border:0;width:100%;height:100%"
  4999. },
  5000. "src": "https://iwb.cocorobo.cn/"
  5001. })
  5002. _box.appendChild(_iframe);
  5003. _box.appendChild(_jie);
  5004. _formdiv = new U.UF.UI.form(
  5005. "电子白板",
  5006. _box, {
  5007. "id": "whiteboard" + cid + stage + task + tool,
  5008. "style": {
  5009. "width": "90%",
  5010. "height": "90%",
  5011. "overflow": 'hidden'
  5012. },
  5013. "onresize": function () { }
  5014. }, {
  5015. closecallback: function () { }
  5016. }, {
  5017. "style": {
  5018. "height": "36px"
  5019. }
  5020. }).form; //创建窗体
  5021. _taskbar = {
  5022. "id": str + _formdiv.id,
  5023. "style": {
  5024. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5025. },
  5026. "name": "电子白板",
  5027. "forms": _formdiv,
  5028. "click": function () {
  5029. U.MD.D.I.openApplication(str, obj, info);
  5030. }
  5031. }
  5032. break;
  5033. case "mind":
  5034. aTool = 3;
  5035. _iframe = $$("iframe", {
  5036. "frameborder": "no",
  5037. "border": "0",
  5038. "scrolling ": "no",
  5039. "style": {
  5040. "cssText": "border:0;width:100%;height:100%"
  5041. },
  5042. "src": "/kityminder-editor/dist/index.html"
  5043. })
  5044. _box.appendChild(_iframe);
  5045. _box.appendChild(_jie);
  5046. _formdiv = new U.UF.UI.form(
  5047. "思维导图",
  5048. _box, { //"/jsmind/example/demo.html"
  5049. "id": "mind" + cid + stage + task + tool,
  5050. "style": {
  5051. "width": "90%",
  5052. "height": "90%",
  5053. "overflow": 'hidden'
  5054. },
  5055. "onresize": function () { }
  5056. }, {
  5057. closecallback: function () { }
  5058. }, {
  5059. "style": {
  5060. "height": "36px"
  5061. }
  5062. }).form; //创建窗体
  5063. _taskbar = {
  5064. "id": str + _formdiv.id,
  5065. "style": {
  5066. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5067. },
  5068. "name": "思维导图",
  5069. "forms": _formdiv,
  5070. "click": function () {
  5071. U.MD.D.I.openApplication(str, obj, info);
  5072. }
  5073. }
  5074. break;
  5075. case "MindMap":
  5076. aTool = 3;
  5077. _iframe = $$("iframe", {
  5078. "frameborder": "no",
  5079. "border": "0",
  5080. "scrolling ": "no",
  5081. "style": {
  5082. "cssText": "border:0;width:100%;height:100%"
  5083. },
  5084. "src": "//cloud.cocorobo.cn/mind/"
  5085. })
  5086. _box.appendChild(_iframe);
  5087. _box.appendChild(_jie);
  5088. _formdiv = new U.UF.UI.form(
  5089. "思维导图",
  5090. _box, { //"/jsmind/example/demo.html"
  5091. "id": "mind" + cid + stage + task + tool,
  5092. "style": {
  5093. "width": "90%",
  5094. "height": "90%",
  5095. "overflow": 'hidden'
  5096. },
  5097. "onresize": function () { }
  5098. }, {
  5099. closecallback: function () { }
  5100. }, {
  5101. "style": {
  5102. "height": "36px"
  5103. }
  5104. }).form; //创建窗体
  5105. _taskbar = {
  5106. "id": str + _formdiv.id,
  5107. "style": {
  5108. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5109. },
  5110. "name": "思维导图",
  5111. "forms": _formdiv,
  5112. "click": function () {
  5113. U.MD.D.I.openApplication(str, obj, info);
  5114. }
  5115. }
  5116. break;
  5117. case "doc":
  5118. aTool = 6;
  5119. _iframe = $$("iframe", {
  5120. "frameborder": "no",
  5121. "border": "0",
  5122. "scrolling ": "no",
  5123. "style": {
  5124. "cssText": "border:0;width:100%;height:100%"
  5125. },
  5126. "src": "/Office/Word/WordEditArea.htm"
  5127. })
  5128. _box.appendChild(_iframe);
  5129. _box.appendChild(_jie);
  5130. _formdiv = new U.UF.UI.form(
  5131. "协同文档",
  5132. _box, {
  5133. "id": "doc" + cid + stage + task + tool,
  5134. "style": {
  5135. "width": "90%",
  5136. "height": "90%",
  5137. "overflow": 'hidden'
  5138. },
  5139. "onresize": function () { }
  5140. }, {
  5141. closecallback: function () { }
  5142. }, {
  5143. "style": {
  5144. "height": "36px"
  5145. }
  5146. }).form; //创建窗体
  5147. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5148. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5149. })
  5150. _taskbar = {
  5151. "id": str + _formdiv.id,
  5152. "style": {
  5153. "backgroundImage": "url(/img/icon/doc.png)"
  5154. },
  5155. "name": "协同文档",
  5156. "forms": _formdiv,
  5157. "click": function () {
  5158. U.MD.D.I.openApplication(str, obj, info);
  5159. }
  5160. }
  5161. break;
  5162. case "mindNetwork": //好友打开
  5163. aTool = 7;
  5164. _iframe = $$("iframe", {
  5165. "webkitallowfullscreen": "",
  5166. "mozallowfullscreen": "",
  5167. "allowfullscreen": "",
  5168. "frameborder": "no",
  5169. "border": "0",
  5170. "scrolling ": "no",
  5171. "style": {
  5172. "cssText": "border:0; width:100%; height:100%;"
  5173. },
  5174. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5175. })
  5176. _box.appendChild(_iframe);
  5177. _box.appendChild(_jie);
  5178. _formdiv = new U.UF.UI.form(
  5179. "思维网格",
  5180. _box, {
  5181. "id": "mindNetwork" + cid + stage + task + tool,
  5182. "style": {
  5183. "width": "90%",
  5184. "height": "90%",
  5185. "overflow": 'hidden'
  5186. },
  5187. "onresize": function () { }
  5188. }, {
  5189. closecallback: function () { }
  5190. }, {
  5191. "style": {
  5192. "height": "36px"
  5193. }
  5194. }).form; //创建窗体
  5195. _taskbar = {
  5196. "id": str + _formdiv.id,
  5197. "style": {
  5198. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5199. },
  5200. "name": "思维网格",
  5201. "forms": _formdiv,
  5202. "click": function () {
  5203. U.MD.D.I.openApplication(str, obj, info);
  5204. }
  5205. }
  5206. break;
  5207. case "courseDesign":
  5208. _iframe = $$("iframe", {
  5209. "webkitallowfullscreen": "",
  5210. "mozallowfullscreen": "",
  5211. "allowfullscreen": "",
  5212. "frameborder": "no",
  5213. "border": "0",
  5214. "scrolling ": "no",
  5215. "style": {
  5216. "cssText": "border:0; width:100%; height:100%;"
  5217. },
  5218. "src": "/course-design-vue"
  5219. })
  5220. _box.appendChild(_iframe);
  5221. _box.appendChild(_jie);
  5222. _formdiv = new U.UF.UI.form(
  5223. "项目设计",
  5224. _box, {
  5225. "id": "courseDesign" + cid + stage + task + tool,
  5226. "style": {
  5227. "width": "90%",
  5228. "height": "90%",
  5229. "overflow": 'hidden'
  5230. },
  5231. "onresize": function () { }
  5232. }, {
  5233. closecallback: function () { }
  5234. }, {
  5235. "style": {
  5236. "height": "36px"
  5237. }
  5238. }).form; //创建窗体
  5239. _taskbar = {
  5240. "id": str + _formdiv.id,
  5241. "style": {
  5242. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5243. },
  5244. "name": "项目设计",
  5245. "forms": _formdiv,
  5246. "click": function () {
  5247. U.MD.D.I.openApplication(str, obj, info);
  5248. }
  5249. }
  5250. break;
  5251. }
  5252. const script1 = document.createElement("script");
  5253. script1.type = "text/javascript";
  5254. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5255. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5256. const script2 = document.createElement("script");
  5257. script2.type = "text/javascript";
  5258. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5259. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5260. const script3 = document.createElement("script");
  5261. script3.type = "text/javascript";
  5262. script3.charset = "UTF-8";
  5263. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5264. const script4 = document.createElement("script");
  5265. script4.type = "text/javascript";
  5266. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5267. script4.src = window.origin + "/js/Common/jietu2E.js";
  5268. if (_iframe) {
  5269. if (str == 'doc') {
  5270. _iframe = _formdiv.querySelector('iframe')
  5271. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5272. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5273. _iframe.contentWindow.document.body.appendChild(script1);
  5274. _iframe.contentWindow.document.body.appendChild(script2);
  5275. // _iframe.contentWindow.document.body.appendChild(script3);
  5276. _iframe.contentWindow.document.body.appendChild(script4);
  5277. })
  5278. if (onloadListener) {
  5279. _iframe.contentDocument.location.reload()
  5280. } else {
  5281. _iframe.contentDocument.location.reload()
  5282. }
  5283. } else if (str == 'courseDesign') {
  5284. U.UF.DL.iframeLoad(_iframe, function () {
  5285. // _iframe.contentWindow.U.MD.O.W.load();
  5286. // _iframe.contentWindow.document.body.appendChild(script1);
  5287. _iframe.contentWindow.document.body.appendChild(script2);
  5288. _iframe.contentWindow.document.body.appendChild(script4);
  5289. })
  5290. } else if (str == 'mind') {
  5291. _iframe = _formdiv.querySelector('iframe')
  5292. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5293. //
  5294. _iframe.contentWindow.document.body.appendChild(script1);
  5295. _iframe.contentWindow.document.body.appendChild(script2);
  5296. _iframe.contentWindow.document.body.appendChild(script4);
  5297. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5298. })
  5299. if (onloadListener) {
  5300. _iframe.contentDocument.location.reload()
  5301. } else {
  5302. _iframe.contentDocument.location.reload()
  5303. }
  5304. } else if (str == 'whiteboard') {
  5305. _iframe = _formdiv.querySelector('iframe')
  5306. let onloadListener = _iframe.onload = () => {
  5307. _iframe.contentWindow.document.body.appendChild(script1);
  5308. _iframe.contentWindow.document.body.appendChild(script2);
  5309. _iframe.contentWindow.document.body.appendChild(script4);
  5310. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5311. };
  5312. if (onloadListener) {
  5313. _iframe.contentDocument.location.reload()
  5314. } else {
  5315. _iframe.contentDocument.location.reload()
  5316. }
  5317. } else {
  5318. _iframe.onload = () => {
  5319. _iframe.contentWindow.document.body.appendChild(script1);
  5320. _iframe.contentWindow.document.body.appendChild(script2);
  5321. // _iframe.contentWindow.document.body.appendChild(script3);
  5322. _iframe.contentWindow.document.body.appendChild(script4);
  5323. };
  5324. }
  5325. _jie.onclick = async () => {
  5326. let text = ''
  5327. if (aTool == 1) {
  5328. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5329. } else if (aTool == 6) {
  5330. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5331. } else if (aTool == 3) {
  5332. text = await U.MD.D.I.getEditorContent(_iframe);
  5333. }
  5334. _loading.style.display = 'flex'
  5335. console.log(_loading);
  5336. var _ajs = _iframe.contentWindow.document.createElement("script");
  5337. _ajs.type = "text/javascript";
  5338. _ajs.innerHTML =
  5339. // 'console.log(' + _loading + ');\n' +
  5340. 'var _js = document.createElement("script");\n' +
  5341. '_js.type="text/javascript";\n' +
  5342. '_js.charset="UTF-8";\n' +
  5343. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5344. "_js.onload = function(){\n" +
  5345. ' var a = document.getElementsByTagName("img")\n' +
  5346. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5347. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5348. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5349. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5350. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5351. "beforeUpload_shishi(file," +
  5352. "'" +
  5353. _userid +
  5354. "'" +
  5355. ", " +
  5356. "'" +
  5357. _cid +
  5358. "'" +
  5359. ", " +
  5360. "'" +
  5361. _stage +
  5362. "'" +
  5363. ", " +
  5364. "'" +
  5365. _task +
  5366. "'" +
  5367. ", " +
  5368. "'" +
  5369. _tool +
  5370. "'" +
  5371. ", " +
  5372. "'" +
  5373. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5374. "'" +
  5375. ", " +
  5376. "'" +
  5377. aTool +
  5378. "'" +
  5379. ", " +
  5380. "`" +
  5381. text +
  5382. "`" +
  5383. ")\n" +
  5384. " });\n" +
  5385. "}\n" +
  5386. "document.head.appendChild(_js);\n";
  5387. _iframe.contentWindow.document.head.appendChild(_ajs);
  5388. }
  5389. }
  5390. //U.MD.D.I.openClick(str);
  5391. //如果有任务栏信息
  5392. // if (_taskbar) {
  5393. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5394. // }
  5395. }
  5396. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5397. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5398. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5399. _userid = student.userid, //登录用户id
  5400. _username = student.student //用户名字
  5401. let _iframe;
  5402. let _cid = cid,
  5403. _stage = stage,
  5404. _task = task,
  5405. _tool = tool;
  5406. var _jie = $$("div", {
  5407. "style": {
  5408. "position": "absolute",
  5409. "bottom": "50px",
  5410. "right": "50px",
  5411. "zIndex": "9999",
  5412. "backgroundColor": "#2268bc",
  5413. "color": "#fff",
  5414. "padding": "12px 20px",
  5415. "cursor": "pointer",
  5416. "borderRadius": "4px",
  5417. },
  5418. "innerHTML": "提交作业"
  5419. })
  5420. let aTool = ''
  5421. let _loading = document.createElement('div')
  5422. _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;"
  5423. // _loading.id = "";
  5424. let _lchild = document.createElement('div')
  5425. let _limg = document.createElement('img')
  5426. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5427. _limg.style = "width: 26px;margin-right: 10px;"
  5428. _lchild.appendChild(_limg)
  5429. let _lspan = document.createElement('span')
  5430. _lspan.innerHTML = "上传中..."
  5431. _lchild.appendChild(_lspan)
  5432. _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%);"
  5433. _loading.appendChild(_lchild)
  5434. var _box = $$('div', {
  5435. "style": {
  5436. "position": "relative",
  5437. "width": "100%",
  5438. "height": "100%",
  5439. },
  5440. })
  5441. _box.appendChild(_loading)
  5442. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5443. switch (str) {
  5444. case "whiteboard":
  5445. aTool = 1;
  5446. _iframe = $$("iframe", {
  5447. "frameborder": "no",
  5448. "border": "0",
  5449. "scrolling ": "no",
  5450. "style": {
  5451. "cssText": "border:0;width:100%;height:100%"
  5452. },
  5453. "src": "https://iwb.cocorobo.cn/"
  5454. })
  5455. _box.appendChild(_iframe);
  5456. _box.appendChild(_jie);
  5457. _formdiv = new U.UF.UI.form(
  5458. "电子白板-" + _username,
  5459. _box, {
  5460. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5461. "style": {
  5462. "width": "90%",
  5463. "height": "90%",
  5464. "overflow": 'hidden'
  5465. },
  5466. "onresize": function () { }
  5467. }, {
  5468. closecallback: function () { }
  5469. }, {
  5470. "style": {
  5471. "height": "36px"
  5472. }
  5473. }).form; //创建窗体
  5474. _taskbar = {
  5475. "id": str + _formdiv.id,
  5476. "style": {
  5477. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5478. },
  5479. "name": "电子白板",
  5480. "forms": _formdiv,
  5481. "click": function () {
  5482. U.MD.D.I.openApplication(str, obj, info);
  5483. }
  5484. }
  5485. break;
  5486. case "mind":
  5487. aTool = 3;
  5488. _iframe = $$("iframe", {
  5489. "frameborder": "no",
  5490. "border": "0",
  5491. "scrolling ": "no",
  5492. "style": {
  5493. "cssText": "border:0;width:100%;height:100%"
  5494. },
  5495. "src": "/kityminder-editor/dist/index.html"
  5496. })
  5497. _box.appendChild(_iframe);
  5498. _box.appendChild(_jie);
  5499. _formdiv = new U.UF.UI.form(
  5500. "思维导图-" + _username,
  5501. _box, { //"/jsmind/example/demo.html"
  5502. "id": "mind" + cid + stage + task + tool + _userid,
  5503. "style": {
  5504. "width": "90%",
  5505. "height": "90%",
  5506. "overflow": 'hidden'
  5507. },
  5508. "onresize": function () { }
  5509. }, {
  5510. closecallback: function () { }
  5511. }, {
  5512. "style": {
  5513. "height": "36px"
  5514. }
  5515. }).form; //创建窗体
  5516. _taskbar = {
  5517. "id": str + _formdiv.id,
  5518. "style": {
  5519. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5520. },
  5521. "name": "思维导图",
  5522. "forms": _formdiv,
  5523. "click": function () {
  5524. U.MD.D.I.openApplication(str, obj, info);
  5525. }
  5526. }
  5527. break;
  5528. case "MindMap":
  5529. aTool = 3;
  5530. _iframe = $$("iframe", {
  5531. "frameborder": "no",
  5532. "border": "0",
  5533. "scrolling ": "no",
  5534. "style": {
  5535. "cssText": "border:0;width:100%;height:100%"
  5536. },
  5537. "src": "//cloud.cocorobo.cn/mind/"
  5538. })
  5539. _box.appendChild(_iframe);
  5540. _box.appendChild(_jie);
  5541. _formdiv = new U.UF.UI.form(
  5542. "思维导图-" + _username,
  5543. _box, { //"/jsmind/example/demo.html"
  5544. "id": "mind" + cid + stage + task + tool + _userid,
  5545. "style": {
  5546. "width": "90%",
  5547. "height": "90%",
  5548. "overflow": 'hidden'
  5549. },
  5550. "onresize": function () { }
  5551. }, {
  5552. closecallback: function () { }
  5553. }, {
  5554. "style": {
  5555. "height": "36px"
  5556. }
  5557. }).form; //创建窗体
  5558. _taskbar = {
  5559. "id": str + _formdiv.id,
  5560. "style": {
  5561. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5562. },
  5563. "name": "思维导图",
  5564. "forms": _formdiv,
  5565. "click": function () {
  5566. U.MD.D.I.openApplication(str, obj, info);
  5567. }
  5568. }
  5569. break;
  5570. case "doc":
  5571. aTool = 6;
  5572. _iframe = $$("iframe", {
  5573. "frameborder": "no",
  5574. "border": "0",
  5575. "scrolling ": "no",
  5576. "style": {
  5577. "cssText": "border:0;width:100%;height:100%"
  5578. },
  5579. "src": "/Office/Word/WordEditArea.htm"
  5580. })
  5581. _box.appendChild(_iframe);
  5582. _box.appendChild(_jie);
  5583. _formdiv = new U.UF.UI.form(
  5584. "协同文档-" + _username,
  5585. _box, {
  5586. "id": "doc" + cid + stage + task + tool + _userid,
  5587. "style": {
  5588. "width": "90%",
  5589. "height": "90%",
  5590. "overflow": 'hidden'
  5591. },
  5592. "onresize": function () { }
  5593. }, {
  5594. closecallback: function () { }
  5595. }, {
  5596. "style": {
  5597. "height": "36px"
  5598. }
  5599. }).form; //创建窗体
  5600. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5601. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5602. })
  5603. _taskbar = {
  5604. "id": str + _formdiv.id,
  5605. "style": {
  5606. "backgroundImage": "url(/img/icon/doc.png)"
  5607. },
  5608. "name": "协同文档",
  5609. "forms": _formdiv,
  5610. "click": function () {
  5611. U.MD.D.I.openApplication(str, obj, info);
  5612. }
  5613. }
  5614. break;
  5615. case "mindNetwork": //好友打开
  5616. aTool = 7;
  5617. _iframe = $$("iframe", {
  5618. "webkitallowfullscreen": "",
  5619. "mozallowfullscreen": "",
  5620. "allowfullscreen": "",
  5621. "frameborder": "no",
  5622. "border": "0",
  5623. "scrolling ": "no",
  5624. "style": {
  5625. "cssText": "border:0; width:100%; height:100%;"
  5626. },
  5627. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5628. })
  5629. _box.appendChild(_iframe);
  5630. _box.appendChild(_jie);
  5631. _formdiv = new U.UF.UI.form(
  5632. "思维网格-" + _username,
  5633. _box, {
  5634. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5635. "style": {
  5636. "width": "90%",
  5637. "height": "90%",
  5638. "overflow": 'hidden'
  5639. },
  5640. "onresize": function () { }
  5641. }, {
  5642. closecallback: function () { }
  5643. }, {
  5644. "style": {
  5645. "height": "36px"
  5646. }
  5647. }).form; //创建窗体
  5648. _taskbar = {
  5649. "id": str + _formdiv.id,
  5650. "style": {
  5651. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5652. },
  5653. "name": "思维网格",
  5654. "forms": _formdiv,
  5655. "click": function () {
  5656. U.MD.D.I.openApplication(str, obj, info);
  5657. }
  5658. }
  5659. break;
  5660. case "courseDesign":
  5661. _iframe = $$("iframe", {
  5662. "webkitallowfullscreen": "",
  5663. "mozallowfullscreen": "",
  5664. "allowfullscreen": "",
  5665. "frameborder": "no",
  5666. "border": "0",
  5667. "scrolling ": "no",
  5668. "style": {
  5669. "cssText": "border:0; width:100%; height:100%;"
  5670. },
  5671. "src": "/course-design-vue"
  5672. })
  5673. _box.appendChild(_iframe);
  5674. _box.appendChild(_jie);
  5675. _formdiv = new U.UF.UI.form(
  5676. "项目设计-" + _username,
  5677. _box, {
  5678. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5679. "style": {
  5680. "width": "90%",
  5681. "height": "90%",
  5682. "overflow": 'hidden'
  5683. },
  5684. "onresize": function () { }
  5685. }, {
  5686. closecallback: function () { }
  5687. }, {
  5688. "style": {
  5689. "height": "36px"
  5690. }
  5691. }).form; //创建窗体
  5692. _taskbar = {
  5693. "id": str + _formdiv.id,
  5694. "style": {
  5695. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5696. },
  5697. "name": "项目设计",
  5698. "forms": _formdiv,
  5699. "click": function () {
  5700. U.MD.D.I.openApplication(str, obj, info);
  5701. }
  5702. }
  5703. break;
  5704. }
  5705. const script1 = document.createElement("script");
  5706. script1.type = "text/javascript";
  5707. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5708. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5709. const script2 = document.createElement("script");
  5710. script2.type = "text/javascript";
  5711. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5712. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5713. const script3 = document.createElement("script");
  5714. script3.type = "text/javascript";
  5715. script3.charset = "UTF-8";
  5716. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5717. const script4 = document.createElement("script");
  5718. script4.type = "text/javascript";
  5719. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5720. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5721. if (_iframe) {
  5722. if (str == 'doc') {
  5723. _iframe = _formdiv.querySelector('iframe')
  5724. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5725. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5726. _iframe.contentWindow.document.body.appendChild(script1);
  5727. _iframe.contentWindow.document.body.appendChild(script2);
  5728. // _iframe.contentWindow.document.body.appendChild(script3);
  5729. _iframe.contentWindow.document.body.appendChild(script4);
  5730. })
  5731. if (onloadListener) {
  5732. _iframe.contentDocument.location.reload()
  5733. } else {
  5734. _iframe.contentDocument.location.reload()
  5735. }
  5736. } else if (str == 'courseDesign') {
  5737. U.UF.DL.iframeLoad(_iframe, function () {
  5738. // _iframe.contentWindow.U.MD.O.W.load();
  5739. // _iframe.contentWindow.document.body.appendChild(script1);
  5740. _iframe.contentWindow.document.body.appendChild(script2);
  5741. _iframe.contentWindow.document.body.appendChild(script4);
  5742. })
  5743. } else if (str == 'mind') {
  5744. _iframe = _formdiv.querySelector('iframe')
  5745. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5746. //
  5747. _iframe.contentWindow.document.body.appendChild(script1);
  5748. _iframe.contentWindow.document.body.appendChild(script2);
  5749. _iframe.contentWindow.document.body.appendChild(script4);
  5750. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5751. })
  5752. if (onloadListener) {
  5753. _iframe.contentDocument.location.reload()
  5754. } else {
  5755. _iframe.contentDocument.location.reload()
  5756. }
  5757. } else if (str == 'whiteboard') {
  5758. _iframe = _formdiv.querySelector('iframe')
  5759. let onloadListener = _iframe.onload = () => {
  5760. _iframe.contentWindow.document.body.appendChild(script1);
  5761. _iframe.contentWindow.document.body.appendChild(script2);
  5762. _iframe.contentWindow.document.body.appendChild(script4);
  5763. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5764. };
  5765. if (onloadListener) {
  5766. _iframe.contentDocument.location.reload()
  5767. } else {
  5768. _iframe.contentDocument.location.reload()
  5769. }
  5770. } else {
  5771. _iframe.onload = () => {
  5772. _iframe.contentWindow.document.body.appendChild(script1);
  5773. _iframe.contentWindow.document.body.appendChild(script2);
  5774. // _iframe.contentWindow.document.body.appendChild(script3);
  5775. _iframe.contentWindow.document.body.appendChild(script4);
  5776. };
  5777. }
  5778. _jie.onclick = async () => {
  5779. let text = ''
  5780. if (aTool == 1) {
  5781. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5782. } else if (aTool == 6) {
  5783. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5784. } else if (aTool == 3) {
  5785. text = await U.MD.D.I.getEditorContent(_iframe);
  5786. }
  5787. _loading.style.display = 'flex'
  5788. console.log(_loading);
  5789. var _ajs = _iframe.contentWindow.document.createElement("script");
  5790. _ajs.type = "text/javascript";
  5791. _ajs.innerHTML =
  5792. // 'console.log(' + _loading + ');\n' +
  5793. 'var _js = document.createElement("script");\n' +
  5794. '_js.type="text/javascript";\n' +
  5795. '_js.charset="UTF-8";\n' +
  5796. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5797. "_js.onload = function(){\n" +
  5798. ' var a = document.getElementsByTagName("img")\n' +
  5799. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5800. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5801. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5802. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5803. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5804. "beforeUpload_shishi(file," +
  5805. "'" +
  5806. _userid +
  5807. "'" +
  5808. ", " +
  5809. "'" +
  5810. _cid +
  5811. "'" +
  5812. ", " +
  5813. "'" +
  5814. _stage +
  5815. "'" +
  5816. ", " +
  5817. "'" +
  5818. _task +
  5819. "'" +
  5820. ", " +
  5821. "'" +
  5822. _tool +
  5823. "'" +
  5824. ", " +
  5825. "'" +
  5826. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5827. "'" +
  5828. ", " +
  5829. "'" +
  5830. aTool +
  5831. "'" +
  5832. ", " +
  5833. "`" +
  5834. text +
  5835. "`" +
  5836. ")\n" +
  5837. " });\n" +
  5838. "}\n" +
  5839. "document.head.appendChild(_js);\n";
  5840. _iframe.contentWindow.document.head.appendChild(_ajs);
  5841. }
  5842. }
  5843. }
  5844. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5845. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5846. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5847. _userid = student.userid, //登录用户id
  5848. _username = student.student //用户名字
  5849. let _iframe;
  5850. let _cid = cid,
  5851. _stage = stage,
  5852. _task = task,
  5853. _tool = tool;
  5854. var _jie = $$("div", {
  5855. "style": {
  5856. "position": "absolute",
  5857. "bottom": "50px",
  5858. "right": "50px",
  5859. "zIndex": "9999",
  5860. "backgroundColor": "#2268bc",
  5861. "color": "#fff",
  5862. "padding": "12px 20px",
  5863. "cursor": "pointer",
  5864. "borderRadius": "4px",
  5865. },
  5866. "innerHTML": "提交作业"
  5867. })
  5868. let aTool = ''
  5869. let _loading = document.createElement('div')
  5870. _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;"
  5871. // _loading.id = "";
  5872. let _lchild = document.createElement('div')
  5873. let _limg = document.createElement('img')
  5874. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5875. _limg.style = "width: 26px;margin-right: 10px;"
  5876. _lchild.appendChild(_limg)
  5877. let _lspan = document.createElement('span')
  5878. _lspan.innerHTML = "上传中..."
  5879. _lchild.appendChild(_lspan)
  5880. _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%);"
  5881. _loading.appendChild(_lchild)
  5882. var _box = $$('div', {
  5883. "style": {
  5884. "position": "relative",
  5885. "width": "100%",
  5886. "height": "100%",
  5887. },
  5888. })
  5889. _box.appendChild(_loading)
  5890. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5891. switch (str) {
  5892. case "whiteboard":
  5893. aTool = 1;
  5894. _iframe = $$("iframe", {
  5895. "frameborder": "no",
  5896. "border": "0",
  5897. "scrolling ": "no",
  5898. "style": {
  5899. "cssText": "border:0;width:100%;height:100%"
  5900. },
  5901. "src": "https://iwb.cocorobo.cn/"
  5902. })
  5903. _box.appendChild(_iframe);
  5904. _box.appendChild(_jie);
  5905. _formdiv = new U.UF.UI.form(
  5906. "电子白板-" + _username,
  5907. _box, {
  5908. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5909. "style": {
  5910. "width": "90%",
  5911. "height": "90%",
  5912. "overflow": 'hidden'
  5913. },
  5914. "onresize": function () { }
  5915. }, {
  5916. closecallback: function () { }
  5917. }, {
  5918. "style": {
  5919. "height": "36px"
  5920. }
  5921. }).form; //创建窗体
  5922. _taskbar = {
  5923. "id": str + _formdiv.id,
  5924. "style": {
  5925. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5926. },
  5927. "name": "电子白板",
  5928. "forms": _formdiv,
  5929. "click": function () {
  5930. U.MD.D.I.openApplication(str, obj, info);
  5931. }
  5932. }
  5933. break;
  5934. case "mind":
  5935. aTool = 3;
  5936. _iframe = $$("iframe", {
  5937. "frameborder": "no",
  5938. "border": "0",
  5939. "scrolling ": "no",
  5940. "style": {
  5941. "cssText": "border:0;width:100%;height:100%"
  5942. },
  5943. "src": "/kityminder-editor/dist/index.html"
  5944. })
  5945. _box.appendChild(_iframe);
  5946. _box.appendChild(_jie);
  5947. _formdiv = new U.UF.UI.form(
  5948. "思维导图-" + _username,
  5949. _box, { //"/jsmind/example/demo.html"
  5950. "id": "mind" + cid + stage + task + tool + _userid,
  5951. "style": {
  5952. "width": "90%",
  5953. "height": "90%",
  5954. "overflow": 'hidden'
  5955. },
  5956. "onresize": function () { }
  5957. }, {
  5958. closecallback: function () { }
  5959. }, {
  5960. "style": {
  5961. "height": "36px"
  5962. }
  5963. }).form; //创建窗体
  5964. _taskbar = {
  5965. "id": str + _formdiv.id,
  5966. "style": {
  5967. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5968. },
  5969. "name": "思维导图",
  5970. "forms": _formdiv,
  5971. "click": function () {
  5972. U.MD.D.I.openApplication(str, obj, info);
  5973. }
  5974. }
  5975. break;
  5976. case "MindMap":
  5977. aTool = 3;
  5978. _iframe = $$("iframe", {
  5979. "frameborder": "no",
  5980. "border": "0",
  5981. "scrolling ": "no",
  5982. "style": {
  5983. "cssText": "border:0;width:100%;height:100%"
  5984. },
  5985. "src": "//cloud.cocorobo.cn/mind/"
  5986. })
  5987. _box.appendChild(_iframe);
  5988. _box.appendChild(_jie);
  5989. _formdiv = new U.UF.UI.form(
  5990. "思维导图-" + _username,
  5991. _box, { //"/jsmind/example/demo.html"
  5992. "id": "mind" + cid + stage + task + tool + _userid,
  5993. "style": {
  5994. "width": "90%",
  5995. "height": "90%",
  5996. "overflow": 'hidden'
  5997. },
  5998. "onresize": function () { }
  5999. }, {
  6000. closecallback: function () { }
  6001. }, {
  6002. "style": {
  6003. "height": "36px"
  6004. }
  6005. }).form; //创建窗体
  6006. _taskbar = {
  6007. "id": str + _formdiv.id,
  6008. "style": {
  6009. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6010. },
  6011. "name": "思维导图",
  6012. "forms": _formdiv,
  6013. "click": function () {
  6014. U.MD.D.I.openApplication(str, obj, info);
  6015. }
  6016. }
  6017. break;
  6018. case "doc":
  6019. aTool = 6;
  6020. _iframe = $$("iframe", {
  6021. "frameborder": "no",
  6022. "border": "0",
  6023. "scrolling ": "no",
  6024. "style": {
  6025. "cssText": "border:0;width:100%;height:100%"
  6026. },
  6027. "src": "/Office/Word/WordEditArea.htm"
  6028. })
  6029. _box.appendChild(_iframe);
  6030. _box.appendChild(_jie);
  6031. _formdiv = new U.UF.UI.form(
  6032. "协同文档-" + _username,
  6033. _box, {
  6034. "id": "doc" + cid + stage + task + tool + _userid,
  6035. "style": {
  6036. "width": "90%",
  6037. "height": "90%",
  6038. "overflow": 'hidden'
  6039. },
  6040. "onresize": function () { }
  6041. }, {
  6042. closecallback: function () { }
  6043. }, {
  6044. "style": {
  6045. "height": "36px"
  6046. }
  6047. }).form; //创建窗体
  6048. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6049. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6050. })
  6051. _taskbar = {
  6052. "id": str + _formdiv.id,
  6053. "style": {
  6054. "backgroundImage": "url(/img/icon/doc.png)"
  6055. },
  6056. "name": "协同文档",
  6057. "forms": _formdiv,
  6058. "click": function () {
  6059. U.MD.D.I.openApplication(str, obj, info);
  6060. }
  6061. }
  6062. break;
  6063. case "mindNetwork": //好友打开
  6064. aTool = 7;
  6065. _iframe = $$("iframe", {
  6066. "webkitallowfullscreen": "",
  6067. "mozallowfullscreen": "",
  6068. "allowfullscreen": "",
  6069. "frameborder": "no",
  6070. "border": "0",
  6071. "scrolling ": "no",
  6072. "style": {
  6073. "cssText": "border:0; width:100%; height:100%;"
  6074. },
  6075. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6076. })
  6077. _box.appendChild(_iframe);
  6078. _box.appendChild(_jie);
  6079. _formdiv = new U.UF.UI.form(
  6080. "思维网格-" + _username,
  6081. _box, {
  6082. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6083. "style": {
  6084. "width": "90%",
  6085. "height": "90%",
  6086. "overflow": 'hidden'
  6087. },
  6088. "onresize": function () { }
  6089. }, {
  6090. closecallback: function () { }
  6091. }, {
  6092. "style": {
  6093. "height": "36px"
  6094. }
  6095. }).form; //创建窗体
  6096. _taskbar = {
  6097. "id": str + _formdiv.id,
  6098. "style": {
  6099. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6100. },
  6101. "name": "思维网格",
  6102. "forms": _formdiv,
  6103. "click": function () {
  6104. U.MD.D.I.openApplication(str, obj, info);
  6105. }
  6106. }
  6107. break;
  6108. case "courseDesign":
  6109. _iframe = $$("iframe", {
  6110. "webkitallowfullscreen": "",
  6111. "mozallowfullscreen": "",
  6112. "allowfullscreen": "",
  6113. "frameborder": "no",
  6114. "border": "0",
  6115. "scrolling ": "no",
  6116. "style": {
  6117. "cssText": "border:0; width:100%; height:100%;"
  6118. },
  6119. "src": "/course-design-vue"
  6120. })
  6121. _box.appendChild(_iframe);
  6122. _box.appendChild(_jie);
  6123. _formdiv = new U.UF.UI.form(
  6124. "项目设计-" + _username,
  6125. _box, {
  6126. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6127. "style": {
  6128. "width": "90%",
  6129. "height": "90%",
  6130. "overflow": 'hidden'
  6131. },
  6132. "onresize": function () { }
  6133. }, {
  6134. closecallback: function () { }
  6135. }, {
  6136. "style": {
  6137. "height": "36px"
  6138. }
  6139. }).form; //创建窗体
  6140. _taskbar = {
  6141. "id": str + _formdiv.id,
  6142. "style": {
  6143. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6144. },
  6145. "name": "项目设计",
  6146. "forms": _formdiv,
  6147. "click": function () {
  6148. U.MD.D.I.openApplication(str, obj, info);
  6149. }
  6150. }
  6151. break;
  6152. }
  6153. const script1 = document.createElement("script");
  6154. script1.type = "text/javascript";
  6155. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6156. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6157. const script2 = document.createElement("script");
  6158. script2.type = "text/javascript";
  6159. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6160. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6161. const script3 = document.createElement("script");
  6162. script3.type = "text/javascript";
  6163. script3.charset = "UTF-8";
  6164. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6165. const script4 = document.createElement("script");
  6166. script4.type = "text/javascript";
  6167. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6168. script4.src = window.origin + "/js/Common/jietu2E.js";
  6169. if (_iframe) {
  6170. if (str == 'doc') {
  6171. _iframe = _formdiv.querySelector('iframe')
  6172. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6173. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6174. _iframe.contentWindow.document.body.appendChild(script1);
  6175. _iframe.contentWindow.document.body.appendChild(script2);
  6176. // _iframe.contentWindow.document.body.appendChild(script3);
  6177. _iframe.contentWindow.document.body.appendChild(script4);
  6178. })
  6179. if (onloadListener) {
  6180. _iframe.contentDocument.location.reload()
  6181. } else {
  6182. _iframe.contentDocument.location.reload()
  6183. }
  6184. } else if (str == 'courseDesign') {
  6185. U.UF.DL.iframeLoad(_iframe, function () {
  6186. // _iframe.contentWindow.U.MD.O.W.load();
  6187. // _iframe.contentWindow.document.body.appendChild(script1);
  6188. _iframe.contentWindow.document.body.appendChild(script2);
  6189. _iframe.contentWindow.document.body.appendChild(script4);
  6190. })
  6191. } else if (str == 'mind') {
  6192. _iframe = _formdiv.querySelector('iframe')
  6193. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6194. //
  6195. _iframe.contentWindow.document.body.appendChild(script1);
  6196. _iframe.contentWindow.document.body.appendChild(script2);
  6197. _iframe.contentWindow.document.body.appendChild(script4);
  6198. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6199. })
  6200. if (onloadListener) {
  6201. _iframe.contentDocument.location.reload()
  6202. } else {
  6203. _iframe.contentDocument.location.reload()
  6204. }
  6205. } else if (str == 'whiteboard') {
  6206. _iframe = _formdiv.querySelector('iframe')
  6207. let onloadListener = _iframe.onload = () => {
  6208. _iframe.contentWindow.document.body.appendChild(script1);
  6209. _iframe.contentWindow.document.body.appendChild(script2);
  6210. _iframe.contentWindow.document.body.appendChild(script4);
  6211. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6212. };
  6213. if (onloadListener) {
  6214. _iframe.contentDocument.location.reload()
  6215. } else {
  6216. _iframe.contentDocument.location.reload()
  6217. }
  6218. } else {
  6219. _iframe.onload = () => {
  6220. _iframe.contentWindow.document.body.appendChild(script1);
  6221. _iframe.contentWindow.document.body.appendChild(script2);
  6222. // _iframe.contentWindow.document.body.appendChild(script3);
  6223. _iframe.contentWindow.document.body.appendChild(script4);
  6224. };
  6225. }
  6226. _jie.onclick = async () => {
  6227. let text = ''
  6228. if (aTool == 1) {
  6229. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6230. } else if (aTool == 6) {
  6231. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6232. } else if (aTool == 3) {
  6233. text = await U.MD.D.I.getEditorContent(_iframe);
  6234. }
  6235. _loading.style.display = 'flex'
  6236. console.log(_loading);
  6237. var _ajs = _iframe.contentWindow.document.createElement("script");
  6238. _ajs.type = "text/javascript";
  6239. _ajs.innerHTML =
  6240. // 'console.log(' + _loading + ');\n' +
  6241. 'var _js = document.createElement("script");\n' +
  6242. '_js.type="text/javascript";\n' +
  6243. '_js.charset="UTF-8";\n' +
  6244. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6245. "_js.onload = function(){\n" +
  6246. ' var a = document.getElementsByTagName("img")\n' +
  6247. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6248. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6249. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6250. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6251. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6252. "beforeUpload_shishi(file," +
  6253. "'" +
  6254. _userid +
  6255. "'" +
  6256. ", " +
  6257. "'" +
  6258. _cid +
  6259. "'" +
  6260. ", " +
  6261. "'" +
  6262. _stage +
  6263. "'" +
  6264. ", " +
  6265. "'" +
  6266. _task +
  6267. "'" +
  6268. ", " +
  6269. "'" +
  6270. _tool +
  6271. "'" +
  6272. ", " +
  6273. "'" +
  6274. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6275. "'" +
  6276. ", " +
  6277. "'" +
  6278. aTool +
  6279. "'" +
  6280. ", " +
  6281. "`" +
  6282. text +
  6283. "`" +
  6284. ")\n" +
  6285. " });\n" +
  6286. "}\n" +
  6287. "document.head.appendChild(_js);\n";
  6288. _iframe.contentWindow.document.head.appendChild(_ajs);
  6289. }
  6290. }
  6291. }
  6292. U.MD.D.I.getEditorContent = function (iframe) {
  6293. return new Promise((resolve, reject) => {
  6294. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6295. console.log(content);
  6296. resolve(content)
  6297. });
  6298. });
  6299. }
  6300. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6301. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6302. // if (res.value[0].length > 0) {
  6303. // // resolve(res.value[0][0].text);
  6304. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6305. // $(fileInput).val('');
  6306. // });
  6307. // }
  6308. // }, [], { "type": "GET", "withCredentials": true });
  6309. var xmlhttp;
  6310. var Mac, Sn, DeviceId
  6311. if (window.XMLHttpRequest) {
  6312. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6313. xmlhttp = new XMLHttpRequest();
  6314. } else {
  6315. // IE6, IE5 浏览器执行代码
  6316. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6317. }
  6318. xmlhttp.onreadystatechange = function () {
  6319. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6320. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6321. // resolve(res.value[0][0].text);
  6322. if (type == '2') {
  6323. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6324. } else if (type == '3') {
  6325. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6326. }
  6327. } else {
  6328. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6329. }
  6330. }
  6331. }
  6332. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6333. xmlhttp.send();
  6334. }
  6335. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6336. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6337. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6338. _userinfo = US.userInfo, //登录用户信息
  6339. _userid = US.userInfo.userid //登录用户id
  6340. let _iframe;
  6341. let _cid = cid,
  6342. _stage = stage,
  6343. _task = task,
  6344. _tool = tool;
  6345. var _jie = $$("div", {
  6346. "style": {
  6347. "position": "absolute",
  6348. "bottom": "50px",
  6349. "right": "50px",
  6350. "zIndex": "9999",
  6351. "backgroundColor": "#2268bc",
  6352. "color": "#fff",
  6353. "padding": "12px 20px",
  6354. "cursor": "pointer",
  6355. "borderRadius": "4px",
  6356. },
  6357. "innerHTML": "确认并提交"
  6358. })
  6359. let aTool = ''
  6360. let _loading = document.createElement('div')
  6361. _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;"
  6362. // _loading.id = "";
  6363. let _lchild = document.createElement('div')
  6364. let _limg = document.createElement('img')
  6365. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6366. _limg.style = "width: 26px;margin-right: 10px;"
  6367. _lchild.appendChild(_limg)
  6368. let _lspan = document.createElement('span')
  6369. _lspan.innerHTML = "上传中..."
  6370. _lchild.appendChild(_lspan)
  6371. _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%);"
  6372. _loading.appendChild(_lchild)
  6373. var _box = $$('div', {
  6374. "style": {
  6375. "position": "relative",
  6376. "width": "100%",
  6377. "height": "100%",
  6378. },
  6379. })
  6380. _box.appendChild(_loading)
  6381. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6382. switch (str) {
  6383. case "whiteboard":
  6384. aTool = 1;
  6385. _iframe = $$("iframe", {
  6386. "frameborder": "no",
  6387. "border": "0",
  6388. "scrolling ": "no",
  6389. "style": {
  6390. "cssText": "border:0;width:100%;height:100%"
  6391. },
  6392. "src": "https://iwb.cocorobo.cn/"
  6393. })
  6394. _box.appendChild(_iframe);
  6395. _box.appendChild(_jie);
  6396. _formdiv = new U.UF.UI.form(
  6397. "电子白板",
  6398. _box, {
  6399. "id": "whiteboards" + cid + stage + task + tool,
  6400. "style": {
  6401. "width": "90%",
  6402. "height": "90%",
  6403. "overflow": 'hidden'
  6404. },
  6405. "onresize": function () { }
  6406. }, {
  6407. closecallback: function () { }
  6408. }, {
  6409. "style": {
  6410. "height": "36px"
  6411. }
  6412. }).form; //创建窗体
  6413. _taskbar = {
  6414. "id": str + _formdiv.id,
  6415. "style": {
  6416. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6417. },
  6418. "name": "电子白板",
  6419. "forms": _formdiv,
  6420. "click": function () {
  6421. U.MD.D.I.openApplication(str, obj, info);
  6422. }
  6423. }
  6424. break;
  6425. case "mind":
  6426. aTool = 3;
  6427. _iframe = $$("iframe", {
  6428. "frameborder": "no",
  6429. "border": "0",
  6430. "scrolling ": "no",
  6431. "style": {
  6432. "cssText": "border:0;width:100%;height:100%"
  6433. },
  6434. "src": "/kityminder-editor/dist/index.html"
  6435. });
  6436. _box.appendChild(_iframe);
  6437. _box.appendChild(_jie);
  6438. _formdiv = new U.UF.UI.form(
  6439. "思维导图",
  6440. _box, { //"/jsmind/example/demo.html"
  6441. "id": "minds" + cid + stage + task + tool,
  6442. "style": {
  6443. "width": "90%",
  6444. "height": "90%",
  6445. "overflow": 'hidden'
  6446. },
  6447. "onresize": function () { }
  6448. }, {
  6449. closecallback: function () { }
  6450. }, {
  6451. "style": {
  6452. "height": "36px"
  6453. }
  6454. }).form; //创建窗体
  6455. _taskbar = {
  6456. "id": str + _formdiv.id,
  6457. "style": {
  6458. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6459. },
  6460. "name": "思维导图",
  6461. "forms": _formdiv,
  6462. "click": function () {
  6463. U.MD.D.I.openApplication(str, obj, info);
  6464. }
  6465. }
  6466. break;
  6467. case "doc":
  6468. aTool = 6;
  6469. _iframe = $$("iframe", {
  6470. "frameborder": "no",
  6471. "border": "0",
  6472. "scrolling ": "no",
  6473. "style": {
  6474. "cssText": "border:0;width:100%;height:100%"
  6475. },
  6476. "src": "/Office/Word/WordEditArea.htm"
  6477. })
  6478. _box.appendChild(_iframe);
  6479. _box.appendChild(_jie);
  6480. _formdiv = new U.UF.UI.form(
  6481. "协同文档",
  6482. _box, {
  6483. "id": "docs" + cid + stage + task + tool,
  6484. "style": {
  6485. "width": "90%",
  6486. "height": "90%",
  6487. "overflow": 'hidden'
  6488. },
  6489. "onresize": function () { }
  6490. }, {
  6491. closecallback: function () { }
  6492. }, {
  6493. "style": {
  6494. "height": "36px"
  6495. }
  6496. }).form; //创建窗体
  6497. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6498. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6499. })
  6500. _taskbar = {
  6501. "id": str + _formdiv.id,
  6502. "style": {
  6503. "backgroundImage": "url(/img/icon/doc.png)"
  6504. },
  6505. "name": "协同文档",
  6506. "forms": _formdiv,
  6507. "click": function () {
  6508. U.MD.D.I.openApplication(str, obj, info);
  6509. }
  6510. }
  6511. break;
  6512. }
  6513. const script1 = document.createElement("script");
  6514. script1.type = "text/javascript";
  6515. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6516. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6517. const script2 = document.createElement("script");
  6518. script2.type = "text/javascript";
  6519. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6520. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6521. const script3 = document.createElement("script");
  6522. script3.type = "text/javascript";
  6523. script3.charset = "UTF-8";
  6524. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6525. const script4 = document.createElement("script");
  6526. script4.type = "text/javascript";
  6527. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6528. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6529. if (_iframe) {
  6530. if (str == 'doc') {
  6531. _iframe = _formdiv.querySelector('iframe')
  6532. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6533. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6534. _iframe.contentWindow.document.body.appendChild(script1);
  6535. _iframe.contentWindow.document.body.appendChild(script2);
  6536. // _iframe.contentWindow.document.body.appendChild(script3);
  6537. _iframe.contentWindow.document.body.appendChild(script4);
  6538. })
  6539. if (onloadListener) {
  6540. _iframe.contentDocument.location.reload()
  6541. } else {
  6542. _iframe.contentDocument.location.reload()
  6543. }
  6544. } else if (str == 'mind') {
  6545. _iframe = _formdiv.querySelector('iframe')
  6546. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6547. _iframe.contentWindow.document.body.appendChild(script1);
  6548. _iframe.contentWindow.document.body.appendChild(script2);
  6549. _iframe.contentWindow.document.body.appendChild(script4);
  6550. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6551. })
  6552. if (onloadListener) {
  6553. _iframe.contentDocument.location.reload()
  6554. } else {
  6555. _iframe.contentDocument.location.reload()
  6556. }
  6557. } else {
  6558. _iframe.onload = () => {
  6559. _iframe.contentWindow.document.body.appendChild(script1);
  6560. _iframe.contentWindow.document.body.appendChild(script2);
  6561. // _iframe.contentWindow.document.body.appendChild(script3);
  6562. _iframe.contentWindow.document.body.appendChild(script4);
  6563. };
  6564. }
  6565. _jie.onclick = async () => {
  6566. let text = ''
  6567. if (aTool == 6) {
  6568. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6569. } else if (aTool == 3) {
  6570. text = await U.MD.D.I.getEditorContent(_iframe);
  6571. }
  6572. _loading.style.display = 'flex'
  6573. console.log(_loading);
  6574. var _ajs = _iframe.contentWindow.document.createElement("script");
  6575. _ajs.type = "text/javascript";
  6576. _ajs.innerHTML =
  6577. // 'console.log(' + _loading + ');\n' +
  6578. 'var _js = document.createElement("script");\n' +
  6579. '_js.type="text/javascript";\n' +
  6580. '_js.charset="UTF-8";\n' +
  6581. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6582. "_js.onload = function(){\n" +
  6583. ' var a = document.getElementsByTagName("img")\n' +
  6584. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6585. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6586. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6587. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6588. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6589. "beforeUpload_shishi(file," +
  6590. "'" +
  6591. _userid +
  6592. "'" +
  6593. ", " +
  6594. "'" +
  6595. _cid +
  6596. "'" +
  6597. ", " +
  6598. "'" +
  6599. _stage +
  6600. "'" +
  6601. ", " +
  6602. "'" +
  6603. _task +
  6604. "'" +
  6605. ", " +
  6606. "'" +
  6607. _tool +
  6608. "'" +
  6609. ", " +
  6610. "'" +
  6611. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6612. "'" +
  6613. ", " +
  6614. "'" +
  6615. aTool +
  6616. "'" +
  6617. ", " +
  6618. "`" +
  6619. text +
  6620. "`" +
  6621. ")\n" +
  6622. " });\n" +
  6623. "}\n" +
  6624. "document.head.appendChild(_js);\n";
  6625. _iframe.contentWindow.document.head.appendChild(_ajs);
  6626. }
  6627. }
  6628. //U.MD.D.I.openClick(str);
  6629. //如果有任务栏信息
  6630. // if (_taskbar) {
  6631. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6632. // }
  6633. }
  6634. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6635. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6636. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6637. _userinfo = US.userInfo, //登录用户信息
  6638. _userid = US.userInfo.userid //登录用户id
  6639. let _iframe;
  6640. let _cid = cid,
  6641. _stage = stage,
  6642. _task = task,
  6643. _tool = tool;
  6644. var _jie = $$("div", {
  6645. "style": {
  6646. "position": "absolute",
  6647. "bottom": "50px",
  6648. "right": "50px",
  6649. "zIndex": "9999",
  6650. "backgroundColor": "#2268bc",
  6651. "color": "#fff",
  6652. "padding": "12px 20px",
  6653. "cursor": "pointer",
  6654. "borderRadius": "4px",
  6655. },
  6656. "innerHTML": "确认并提交"
  6657. })
  6658. let aTool = ''
  6659. let _loading = document.createElement('div')
  6660. _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;"
  6661. // _loading.id = "";
  6662. let _lchild = document.createElement('div')
  6663. let _limg = document.createElement('img')
  6664. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6665. _limg.style = "width: 26px;margin-right: 10px;"
  6666. _lchild.appendChild(_limg)
  6667. let _lspan = document.createElement('span')
  6668. _lspan.innerHTML = "上传中..."
  6669. _lchild.appendChild(_lspan)
  6670. _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%);"
  6671. _loading.appendChild(_lchild)
  6672. var _box = $$('div', {
  6673. "style": {
  6674. "position": "relative",
  6675. "width": "100%",
  6676. "height": "100%",
  6677. },
  6678. })
  6679. _box.appendChild(_loading)
  6680. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6681. switch (str) {
  6682. case "whiteboard":
  6683. aTool = 1;
  6684. _iframe = $$("iframe", {
  6685. "frameborder": "no",
  6686. "border": "0",
  6687. "scrolling ": "no",
  6688. "style": {
  6689. "cssText": "border:0;width:100%;height:100%"
  6690. },
  6691. "src": "https://iwb.cocorobo.cn/"
  6692. })
  6693. _box.appendChild(_iframe);
  6694. _box.appendChild(_jie);
  6695. _formdiv = new U.UF.UI.form(
  6696. "电子白板",
  6697. _box, {
  6698. "id": "whiteboards" + cid + stage + task + tool,
  6699. "style": {
  6700. "width": "90%",
  6701. "height": "90%",
  6702. "overflow": 'hidden'
  6703. },
  6704. "onresize": function () { }
  6705. }, {
  6706. closecallback: function () { }
  6707. }, {
  6708. "style": {
  6709. "height": "36px"
  6710. }
  6711. }).form; //创建窗体
  6712. _taskbar = {
  6713. "id": str + _formdiv.id,
  6714. "style": {
  6715. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6716. },
  6717. "name": "电子白板",
  6718. "forms": _formdiv,
  6719. "click": function () {
  6720. U.MD.D.I.openApplication(str, obj, info);
  6721. }
  6722. }
  6723. break;
  6724. case "mind":
  6725. aTool = 3;
  6726. _iframe = $$("iframe", {
  6727. "frameborder": "no",
  6728. "border": "0",
  6729. "scrolling ": "no",
  6730. "style": {
  6731. "cssText": "border:0;width:100%;height:100%"
  6732. },
  6733. "src": "/kityminder-editor/dist/index.html"
  6734. });
  6735. _box.appendChild(_iframe);
  6736. _box.appendChild(_jie);
  6737. _formdiv = new U.UF.UI.form(
  6738. "思维导图",
  6739. _box, { //"/jsmind/example/demo.html"
  6740. "id": "minds" + cid + stage + task + tool,
  6741. "style": {
  6742. "width": "90%",
  6743. "height": "90%",
  6744. "overflow": 'hidden'
  6745. },
  6746. "onresize": function () { }
  6747. }, {
  6748. closecallback: function () { }
  6749. }, {
  6750. "style": {
  6751. "height": "36px"
  6752. }
  6753. }).form; //创建窗体
  6754. _taskbar = {
  6755. "id": str + _formdiv.id,
  6756. "style": {
  6757. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6758. },
  6759. "name": "思维导图",
  6760. "forms": _formdiv,
  6761. "click": function () {
  6762. U.MD.D.I.openApplication(str, obj, info);
  6763. }
  6764. }
  6765. break;
  6766. case "doc":
  6767. aTool = 6;
  6768. _iframe = $$("iframe", {
  6769. "frameborder": "no",
  6770. "border": "0",
  6771. "scrolling ": "no",
  6772. "style": {
  6773. "cssText": "border:0;width:100%;height:100%"
  6774. },
  6775. "src": "/Office/Word/WordEditArea.htm"
  6776. })
  6777. _box.appendChild(_iframe);
  6778. _box.appendChild(_jie);
  6779. _formdiv = new U.UF.UI.form(
  6780. "协同文档",
  6781. _box, {
  6782. "id": "docs" + cid + stage + task + tool,
  6783. "style": {
  6784. "width": "90%",
  6785. "height": "90%",
  6786. "overflow": 'hidden'
  6787. },
  6788. "onresize": function () { }
  6789. }, {
  6790. closecallback: function () { }
  6791. }, {
  6792. "style": {
  6793. "height": "36px"
  6794. }
  6795. }).form; //创建窗体
  6796. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6797. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6798. })
  6799. _taskbar = {
  6800. "id": str + _formdiv.id,
  6801. "style": {
  6802. "backgroundImage": "url(/img/icon/doc.png)"
  6803. },
  6804. "name": "协同文档",
  6805. "forms": _formdiv,
  6806. "click": function () {
  6807. U.MD.D.I.openApplication(str, obj, info);
  6808. }
  6809. }
  6810. break;
  6811. }
  6812. const script1 = document.createElement("script");
  6813. script1.type = "text/javascript";
  6814. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6815. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6816. const script2 = document.createElement("script");
  6817. script2.type = "text/javascript";
  6818. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6819. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6820. const script3 = document.createElement("script");
  6821. script3.type = "text/javascript";
  6822. script3.charset = "UTF-8";
  6823. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6824. const script4 = document.createElement("script");
  6825. script4.type = "text/javascript";
  6826. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6827. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6828. if (_iframe) {
  6829. if (str == 'doc') {
  6830. _iframe = _formdiv.querySelector('iframe')
  6831. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6832. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6833. _iframe.contentWindow.document.body.appendChild(script1);
  6834. _iframe.contentWindow.document.body.appendChild(script2);
  6835. // _iframe.contentWindow.document.body.appendChild(script3);
  6836. _iframe.contentWindow.document.body.appendChild(script4);
  6837. })
  6838. if (onloadListener) {
  6839. _iframe.contentDocument.location.reload()
  6840. } else {
  6841. _iframe.contentDocument.location.reload()
  6842. }
  6843. } else if (str == 'mind') {
  6844. _iframe = _formdiv.querySelector('iframe')
  6845. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6846. _iframe.contentWindow.document.body.appendChild(script1);
  6847. _iframe.contentWindow.document.body.appendChild(script2);
  6848. _iframe.contentWindow.document.body.appendChild(script4);
  6849. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6850. })
  6851. if (onloadListener) {
  6852. _iframe.contentDocument.location.reload()
  6853. } else {
  6854. _iframe.contentDocument.location.reload()
  6855. }
  6856. } else {
  6857. _iframe.onload = () => {
  6858. _iframe.contentWindow.document.body.appendChild(script1);
  6859. _iframe.contentWindow.document.body.appendChild(script2);
  6860. // _iframe.contentWindow.document.body.appendChild(script3);
  6861. _iframe.contentWindow.document.body.appendChild(script4);
  6862. };
  6863. }
  6864. _jie.onclick = async () => {
  6865. let text = ''
  6866. if (aTool == 6) {
  6867. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6868. } else if (aTool == 3) {
  6869. text = await U.MD.D.I.getEditorContent(_iframe);
  6870. }
  6871. _loading.style.display = 'flex'
  6872. console.log(_loading);
  6873. var _ajs = _iframe.contentWindow.document.createElement("script");
  6874. _ajs.type = "text/javascript";
  6875. _ajs.innerHTML =
  6876. // 'console.log(' + _loading + ');\n' +
  6877. 'var _js = document.createElement("script");\n' +
  6878. '_js.type="text/javascript";\n' +
  6879. '_js.charset="UTF-8";\n' +
  6880. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6881. "_js.onload = function(){\n" +
  6882. ' var a = document.getElementsByTagName("img")\n' +
  6883. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6884. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6885. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6886. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6887. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6888. "beforeUpload_shishi(file," +
  6889. "'" +
  6890. _userid +
  6891. "'" +
  6892. ", " +
  6893. "'" +
  6894. _cid +
  6895. "'" +
  6896. ", " +
  6897. "'" +
  6898. _stage +
  6899. "'" +
  6900. ", " +
  6901. "'" +
  6902. _task +
  6903. "'" +
  6904. ", " +
  6905. "'" +
  6906. _tool +
  6907. "'" +
  6908. ", " +
  6909. "'" +
  6910. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6911. "'" +
  6912. ", " +
  6913. "'" +
  6914. aTool +
  6915. "'" +
  6916. ", " +
  6917. "`" +
  6918. text +
  6919. "`" +
  6920. ")\n" +
  6921. " });\n" +
  6922. "}\n" +
  6923. "document.head.appendChild(_js);\n";
  6924. _iframe.contentWindow.document.head.appendChild(_ajs);
  6925. }
  6926. }
  6927. //U.MD.D.I.openClick(str);
  6928. //如果有任务栏信息
  6929. // if (_taskbar) {
  6930. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6931. // }
  6932. }
  6933. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6934. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6935. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6936. _userinfo = US.userInfo, //登录用户信息
  6937. _userid = US.userInfo.userid //登录用户id
  6938. let _iframe;
  6939. let _cid = cid,
  6940. _stage = stage,
  6941. _task = task,
  6942. _tool = tool;
  6943. var _jie = $$("div", {
  6944. "style": {
  6945. "position": "absolute",
  6946. "bottom": "50px",
  6947. "right": "50px",
  6948. "zIndex": "9999",
  6949. "backgroundColor": "#2268bc",
  6950. "color": "#fff",
  6951. "padding": "12px 20px",
  6952. "cursor": "pointer",
  6953. "borderRadius": "4px",
  6954. },
  6955. "innerHTML": "上传模板"
  6956. })
  6957. let aTool = ''
  6958. let _loading = document.createElement('div')
  6959. _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;"
  6960. // _loading.id = "";
  6961. let _lchild = document.createElement('div')
  6962. let _limg = document.createElement('img')
  6963. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6964. _limg.style = "width: 26px;margin-right: 10px;"
  6965. _lchild.appendChild(_limg)
  6966. let _lspan = document.createElement('span')
  6967. _lspan.innerHTML = "上传中..."
  6968. _lchild.appendChild(_lspan)
  6969. _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%);"
  6970. _loading.appendChild(_lchild)
  6971. var _box = $$('div', {
  6972. "style": {
  6973. "position": "relative",
  6974. "width": "100%",
  6975. "height": "100%",
  6976. },
  6977. })
  6978. _box.appendChild(_loading)
  6979. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6980. switch (str) {
  6981. case "whiteboard":
  6982. aTool = 1;
  6983. _iframe = $$("iframe", {
  6984. "frameborder": "no",
  6985. "border": "0",
  6986. "scrolling ": "no",
  6987. "style": {
  6988. "cssText": "border:0;width:100%;height:100%"
  6989. },
  6990. "src": "https://iwb.cocorobo.cn/"
  6991. })
  6992. _box.appendChild(_iframe);
  6993. _box.appendChild(_jie);
  6994. _formdiv = new U.UF.UI.form(
  6995. "电子白板",
  6996. _box, {
  6997. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6998. "style": {
  6999. "width": "90%",
  7000. "height": "90%",
  7001. "overflow": 'hidden'
  7002. },
  7003. "onresize": function () { }
  7004. }, {
  7005. closecallback: function () { }
  7006. }, {
  7007. "style": {
  7008. "height": "36px"
  7009. }
  7010. }).form; //创建窗体
  7011. _taskbar = {
  7012. "id": str + _formdiv.id,
  7013. "style": {
  7014. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7015. },
  7016. "name": "电子白板",
  7017. "forms": _formdiv,
  7018. "click": function () {
  7019. U.MD.D.I.openApplication(str, obj, info);
  7020. }
  7021. }
  7022. break;
  7023. case "mind":
  7024. aTool = 3;
  7025. _iframe = $$("iframe", {
  7026. "frameborder": "no",
  7027. "border": "0",
  7028. "scrolling ": "no",
  7029. "style": {
  7030. "cssText": "border:0;width:100%;height:100%"
  7031. },
  7032. "src": "/kityminder-editor/dist/index.html"
  7033. });
  7034. _box.appendChild(_iframe);
  7035. _box.appendChild(_jie);
  7036. _formdiv = new U.UF.UI.form(
  7037. "思维导图",
  7038. _box, { //"/jsmind/example/demo.html"
  7039. "id": "minds_Yu" + cid + stage + task + tool,
  7040. "style": {
  7041. "width": "90%",
  7042. "height": "90%",
  7043. "overflow": 'hidden'
  7044. },
  7045. "onresize": function () { }
  7046. }, {
  7047. closecallback: function () { }
  7048. }, {
  7049. "style": {
  7050. "height": "36px"
  7051. }
  7052. }).form; //创建窗体
  7053. _taskbar = {
  7054. "id": str + _formdiv.id,
  7055. "style": {
  7056. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7057. },
  7058. "name": "思维导图",
  7059. "forms": _formdiv,
  7060. "click": function () {
  7061. U.MD.D.I.openApplication(str, obj, info);
  7062. }
  7063. }
  7064. break;
  7065. case "doc":
  7066. aTool = 6;
  7067. _iframe = $$("iframe", {
  7068. "frameborder": "no",
  7069. "border": "0",
  7070. "scrolling ": "no",
  7071. "style": {
  7072. "cssText": "border:0;width:100%;height:100%"
  7073. },
  7074. "src": "/Office/Word/WordEditArea.htm"
  7075. })
  7076. _box.appendChild(_iframe);
  7077. _box.appendChild(_jie);
  7078. _formdiv = new U.UF.UI.form(
  7079. "协同文档",
  7080. _box, {
  7081. "id": "docs_Yu" + cid + stage + task + tool,
  7082. "style": {
  7083. "width": "90%",
  7084. "height": "90%",
  7085. "overflow": 'hidden'
  7086. },
  7087. "onresize": function () { }
  7088. }, {
  7089. closecallback: function () { }
  7090. }, {
  7091. "style": {
  7092. "height": "36px"
  7093. }
  7094. }).form; //创建窗体
  7095. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7096. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7097. })
  7098. _taskbar = {
  7099. "id": str + _formdiv.id,
  7100. "style": {
  7101. "backgroundImage": "url(/img/icon/doc.png)"
  7102. },
  7103. "name": "协同文档",
  7104. "forms": _formdiv,
  7105. "click": function () {
  7106. U.MD.D.I.openApplication(str, obj, info);
  7107. }
  7108. }
  7109. break;
  7110. case "CocoPi":
  7111. aTool = 57;
  7112. _iframe = $$("iframe", {
  7113. "allowpaymentrequest": "allowpaymentrequest",
  7114. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7115. "webkitallowfullscreen": "",
  7116. "mozallowfullscreen": "",
  7117. "frameborder": "no",
  7118. "border": "0",
  7119. "scrolling ": "no",
  7120. "style": {
  7121. "cssText": "border:0;width:100%;height:100%"
  7122. },
  7123. "src": "https://pi.cocorobo.cn/"
  7124. })
  7125. _box.appendChild(_iframe);
  7126. _box.appendChild(_jie);
  7127. _formdiv = new U.UF.UI.form(
  7128. "CocoPi",
  7129. _box, {
  7130. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7131. "style": {
  7132. "width": "90%",
  7133. "height": "90%",
  7134. "overflow": 'hidden'
  7135. },
  7136. "onresize": function () { }
  7137. }, {
  7138. closecallback: function () { }
  7139. }, {
  7140. "style": {
  7141. "height": "36px"
  7142. }
  7143. }).form; //创建窗体
  7144. _taskbar = {
  7145. "id": str + _formdiv.id,
  7146. "style": {
  7147. "backgroundImage": "url(/img/icon/cocopi.png)"
  7148. },
  7149. "name": "CocoPi",
  7150. "forms": _formdiv,
  7151. "click": function () {
  7152. U.MD.D.I.openApplication(str, obj, info);
  7153. }
  7154. }
  7155. break;
  7156. }
  7157. if (_iframe) {
  7158. if (str == 'doc') {
  7159. _iframe = _formdiv.querySelector('iframe')
  7160. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7161. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7162. })
  7163. if (onloadListener) {
  7164. _iframe.contentDocument.location.reload()
  7165. } else {
  7166. _iframe.contentDocument.location.reload()
  7167. }
  7168. } else if (str == 'mind') {
  7169. _iframe = _formdiv.querySelector('iframe')
  7170. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7171. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7172. })
  7173. if (onloadListener) {
  7174. _iframe.contentDocument.location.reload()
  7175. } else {
  7176. _iframe.contentDocument.location.reload()
  7177. }
  7178. } else if (str == 'whiteboard') {
  7179. _iframe = _formdiv.querySelector('iframe')
  7180. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7181. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7182. })
  7183. if (onloadListener) {
  7184. _iframe.contentDocument.location.reload()
  7185. } else {
  7186. _iframe.contentDocument.location.reload()
  7187. }
  7188. } else if (str == 'CocoPi') {
  7189. _iframe = _formdiv.querySelector('iframe')
  7190. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7191. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7192. })
  7193. if (onloadListener) {
  7194. _iframe.contentDocument.location.reload()
  7195. } else {
  7196. _iframe.contentDocument.location.reload()
  7197. }
  7198. } else {
  7199. _iframe.onload = () => { };
  7200. }
  7201. _jie.onclick = async () => {
  7202. let text = ''
  7203. let type = '2'
  7204. if (aTool == 1) {
  7205. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7206. type = '3'
  7207. } else if (aTool == 6) {
  7208. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7209. type = '1'
  7210. } else if (aTool == 3) {
  7211. text = await U.MD.D.I.getEditorContent(_iframe);
  7212. type = '2'
  7213. } else if (aTool == 57) {
  7214. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7215. type = '4'
  7216. }
  7217. _loading.style.display = 'flex'
  7218. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7219. }
  7220. }
  7221. //U.MD.D.I.openClick(str);
  7222. //如果有任务栏信息
  7223. // if (_taskbar) {
  7224. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7225. // }
  7226. }
  7227. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7228. var xmlhttp;
  7229. var Mac, Sn, DeviceId
  7230. if (window.XMLHttpRequest) {
  7231. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7232. xmlhttp = new XMLHttpRequest();
  7233. } else {
  7234. // IE6, IE5 浏览器执行代码
  7235. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7236. }
  7237. xmlhttp.onreadystatechange = function () {
  7238. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7239. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7240. // resolve(res.value[0][0].text);
  7241. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7242. }
  7243. }
  7244. }
  7245. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7246. xmlhttp.send();
  7247. }
  7248. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7249. var xmlhttp;
  7250. var Mac, Sn, DeviceId
  7251. if (window.XMLHttpRequest) {
  7252. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7253. xmlhttp = new XMLHttpRequest();
  7254. } else {
  7255. // IE6, IE5 浏览器执行代码
  7256. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7257. }
  7258. xmlhttp.onreadystatechange = function () {
  7259. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7260. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7261. // resolve(res.value[0][0].text);
  7262. if (type == '2') {
  7263. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7264. } else if (type == '3') {
  7265. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7266. } else if (type == '4') {
  7267. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7268. }
  7269. } else {
  7270. if (type == '2') {
  7271. iframe.contentWindow.editor.minder.importData('json', '')
  7272. } else if (type == '3') {
  7273. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7274. } else if (type == '4') {
  7275. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7276. }
  7277. }
  7278. }
  7279. }
  7280. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7281. xmlhttp.send();
  7282. }
  7283. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7284. var xmlhttp;
  7285. var Mac, Sn, DeviceId
  7286. if (window.XMLHttpRequest) {
  7287. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7288. xmlhttp = new XMLHttpRequest();
  7289. } else {
  7290. // IE6, IE5 浏览器执行代码
  7291. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7292. }
  7293. xmlhttp.onreadystatechange = function () {
  7294. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7295. if (xmlhttp.response) {
  7296. // resolve(res.value[0][0].text);
  7297. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7298. // $(fileInput).val('');
  7299. // });
  7300. span.innerHTML = '上传成功'
  7301. setTimeout(() => {
  7302. loading.style.display = 'none'
  7303. }, 1000);
  7304. }
  7305. }
  7306. }
  7307. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7308. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7309. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7310. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7311. // 设置请求头,表示请求体的编码格式
  7312. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7313. // 设置请求体,使用url-encoded格式的数据
  7314. }
  7315. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7316. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7317. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7318. _userinfo = US.userInfo, //登录用户信息
  7319. _userid = US.userInfo.userid //登录用户id
  7320. let _iframe;
  7321. let _cid = cid,
  7322. _stage = stage,
  7323. _task = task,
  7324. _tool = tool;
  7325. var _jie = $$("div", {
  7326. "style": {
  7327. "position": "absolute",
  7328. "bottom": "50px",
  7329. "right": "50px",
  7330. "zIndex": "9999",
  7331. "backgroundColor": "#2268bc",
  7332. "color": "#fff",
  7333. "padding": "12px 20px",
  7334. "cursor": "pointer",
  7335. "borderRadius": "4px",
  7336. },
  7337. "innerHTML": "提交作业"
  7338. })
  7339. let aTool = ''
  7340. let _loading = document.createElement('div')
  7341. _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;"
  7342. // _loading.id = "";
  7343. let _lchild = document.createElement('div')
  7344. let _limg = document.createElement('img')
  7345. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7346. _limg.style = "width: 26px;margin-right: 10px;"
  7347. _lchild.appendChild(_limg)
  7348. let _lspan = document.createElement('span')
  7349. _lspan.innerHTML = "上传中..."
  7350. _lchild.appendChild(_lspan)
  7351. _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%);"
  7352. _loading.appendChild(_lchild)
  7353. var _box = $$('div', {
  7354. "style": {
  7355. "position": "relative",
  7356. "width": "100%",
  7357. "height": "100%",
  7358. },
  7359. })
  7360. _box.appendChild(_loading)
  7361. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7362. switch (str) {
  7363. case "CocoPi":
  7364. aTool = 57;
  7365. _iframe = $$("iframe", {
  7366. "allowpaymentrequest": "allowpaymentrequest",
  7367. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7368. "webkitallowfullscreen": "",
  7369. "mozallowfullscreen": "",
  7370. "frameborder": "no",
  7371. "border": "0",
  7372. "scrolling ": "no",
  7373. "style": {
  7374. "cssText": "border:0;width:100%;height:100%"
  7375. },
  7376. "src": "https://pi.cocorobo.cn/"
  7377. })
  7378. _box.appendChild(_iframe);
  7379. _box.appendChild(_jie);
  7380. _formdiv = new U.UF.UI.form(
  7381. "CocoPi",
  7382. _box, {
  7383. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7384. "style": {
  7385. "width": "90%",
  7386. "height": "90%",
  7387. "overflow": 'hidden'
  7388. },
  7389. "onresize": function () { }
  7390. }, {
  7391. closecallback: function () { }
  7392. }, {
  7393. "style": {
  7394. "height": "36px"
  7395. }
  7396. }).form; //创建窗体
  7397. _taskbar = {
  7398. "id": str + _formdiv.id,
  7399. "style": {
  7400. "backgroundImage": "url(/img/icon/cocopi.png)"
  7401. },
  7402. "name": "CocoPi",
  7403. "forms": _formdiv,
  7404. "click": function () {
  7405. U.MD.D.I.openApplication(str, obj, info);
  7406. }
  7407. }
  7408. break;
  7409. }
  7410. if (_iframe) {
  7411. if (str == 'CocoPi') {
  7412. _iframe = _formdiv.querySelector('iframe')
  7413. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7414. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7415. })
  7416. if (onloadListener) {
  7417. _iframe.contentDocument.location.reload()
  7418. } else {
  7419. _iframe.contentDocument.location.reload()
  7420. }
  7421. }
  7422. _jie.onclick = async () => {
  7423. let text = ''
  7424. if (aTool == 57) {
  7425. text = _iframe.contentWindow.getLoadXmlStr()
  7426. }
  7427. _loading.style.display = 'flex'
  7428. console.log(_loading);
  7429. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7430. _loading.style.display = 'none'
  7431. let _div = document.createElement('div')
  7432. _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;"
  7433. let _inner = document.createElement('div')
  7434. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7435. _inner.innerHTML = "上传成功"
  7436. _div.appendChild(_inner)
  7437. _iframe.contentWindow.window.document.body.appendChild(_div)
  7438. _div.onclick = () => {
  7439. _iframe.contentWindow.window.document.body.removeChild(_div)
  7440. }
  7441. setTimeout(() => {
  7442. _iframe.contentWindow.window.document.body.removeChild(_div)
  7443. }, 1000);
  7444. }, [], { "type": "POST", "withCredentials": true });
  7445. }
  7446. }
  7447. }
  7448. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7449. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7450. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7451. _userid = student.userid, //登录用户id
  7452. _username = student.student //用户名字
  7453. let _iframe;
  7454. let _cid = cid,
  7455. _stage = stage,
  7456. _task = task,
  7457. _tool = tool;
  7458. var _jie = $$("div", {
  7459. "style": {
  7460. "position": "absolute",
  7461. "bottom": "50px",
  7462. "right": "50px",
  7463. "zIndex": "9999",
  7464. "backgroundColor": "#2268bc",
  7465. "color": "#fff",
  7466. "padding": "12px 20px",
  7467. "cursor": "pointer",
  7468. "borderRadius": "4px",
  7469. },
  7470. "innerHTML": "提交作业"
  7471. })
  7472. let aTool = ''
  7473. let _loading = document.createElement('div')
  7474. _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;"
  7475. // _loading.id = "";
  7476. let _lchild = document.createElement('div')
  7477. let _limg = document.createElement('img')
  7478. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7479. _limg.style = "width: 26px;margin-right: 10px;"
  7480. _lchild.appendChild(_limg)
  7481. let _lspan = document.createElement('span')
  7482. _lspan.innerHTML = "上传中..."
  7483. _lchild.appendChild(_lspan)
  7484. _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%);"
  7485. _loading.appendChild(_lchild)
  7486. var _box = $$('div', {
  7487. "style": {
  7488. "position": "relative",
  7489. "width": "100%",
  7490. "height": "100%",
  7491. },
  7492. })
  7493. _box.appendChild(_loading)
  7494. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7495. switch (str) {
  7496. case "CocoPi":
  7497. aTool = 57;
  7498. _iframe = $$("iframe", {
  7499. "allowpaymentrequest": "allowpaymentrequest",
  7500. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7501. "webkitallowfullscreen": "",
  7502. "mozallowfullscreen": "",
  7503. "frameborder": "no",
  7504. "border": "0",
  7505. "scrolling ": "no",
  7506. "style": {
  7507. "cssText": "border:0;width:100%;height:100%"
  7508. },
  7509. "src": "https://pi.cocorobo.cn/"
  7510. })
  7511. _box.appendChild(_iframe);
  7512. _box.appendChild(_jie);
  7513. _formdiv = new U.UF.UI.form(
  7514. "CocoPi-" + _username,
  7515. _box, {
  7516. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7517. "style": {
  7518. "width": "90%",
  7519. "height": "90%",
  7520. "overflow": 'hidden'
  7521. },
  7522. "onresize": function () { }
  7523. }, {
  7524. closecallback: function () { }
  7525. }, {
  7526. "style": {
  7527. "height": "36px"
  7528. }
  7529. }).form; //创建窗体
  7530. _taskbar = {
  7531. "id": str + _formdiv.id,
  7532. "style": {
  7533. "backgroundImage": "url(/img/icon/cocopi.png)"
  7534. },
  7535. "name": "CocoPi",
  7536. "forms": _formdiv,
  7537. "click": function () {
  7538. U.MD.D.I.openApplication(str, obj, info);
  7539. }
  7540. }
  7541. break;
  7542. }
  7543. if (_iframe) {
  7544. if (str == 'CocoPi') {
  7545. _iframe = _formdiv.querySelector('iframe')
  7546. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7547. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7548. })
  7549. if (onloadListener) {
  7550. _iframe.contentDocument.location.reload()
  7551. } else {
  7552. _iframe.contentDocument.location.reload()
  7553. }
  7554. }
  7555. _jie.onclick = async () => {
  7556. let text = ''
  7557. if (aTool == 57) {
  7558. text = _iframe.contentWindow.getLoadXmlStr()
  7559. }
  7560. _loading.style.display = 'flex'
  7561. console.log(_loading);
  7562. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7563. _loading.style.display = 'none'
  7564. let _div = document.createElement('div')
  7565. _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;"
  7566. let _inner = document.createElement('div')
  7567. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7568. _inner.innerHTML = "上传成功"
  7569. _div.appendChild(_inner)
  7570. _iframe.contentWindow.window.document.body.appendChild(_div)
  7571. _div.onclick = () => {
  7572. _iframe.contentWindow.window.document.body.removeChild(_div)
  7573. }
  7574. setTimeout(() => {
  7575. _iframe.contentWindow.window.document.body.removeChild(_div)
  7576. }, 1000);
  7577. }, [], { "type": "POST", "withCredentials": true });
  7578. }
  7579. }
  7580. }
  7581. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7582. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7583. if (res.value[0].length > 0) {
  7584. if (atool == 57) {
  7585. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7586. }
  7587. } else {
  7588. if (atool == 57) {
  7589. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7590. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7591. }
  7592. }
  7593. }, [], { "type": "POST", "withCredentials": true });
  7594. }