DeskTop.js 548 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983
  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. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  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": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院实小教师桌面图标的全局变量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourse", "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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  729. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  730. ];
  731. //hk
  732. U.MD.D.I.hkaceStudentDeskIcon = [
  733. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  734. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  735. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  736. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  739. ];
  740. //香海正覺蓮社佛教正覺中學
  741. U.MD.D.I.hkZJLSteacherDeskIcon = [
  742. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  743. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  744. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  745. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  746. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  747. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  748. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  749. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  750. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  751. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  752. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  753. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  757. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  758. ];
  759. //香海正覺蓮社佛教正覺中學
  760. U.MD.D.I.hkZJLSStudentDeskIcon = [
  761. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  762. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  763. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  764. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  765. ];
  766. //云海
  767. U.MD.D.I.yunhaiTeacherDeskIcon = [
  768. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  769. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  770. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  771. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  772. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  773. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  774. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  775. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  776. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  777. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  778. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  779. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  780. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  781. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  782. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  783. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  784. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  785. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  786. ];
  787. //福田
  788. U.MD.D.I.heyuanTeacherDeskIcon = [
  789. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  790. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  791. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  792. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  793. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  794. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  795. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  796. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  797. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  798. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  800. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  801. ];
  802. //福田
  803. U.MD.D.I.heyuanAdminDeskIcon = [
  804. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  805. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  806. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  807. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  808. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  809. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  810. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  811. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  812. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  813. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  814. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  815. ];
  816. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  817. U.MD.D.I.szherTeacherDeskIcon = [
  818. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  819. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  820. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  821. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  822. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  823. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  824. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  829. ];
  830. //dsei
  831. U.MD.D.I.dseiTeacherDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  835. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  836. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  837. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  838. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  839. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  840. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  841. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  842. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  843. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  844. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  845. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  846. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  847. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  848. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  849. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  850. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  851. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  852. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  853. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  854. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  855. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  856. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  857. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  858. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  859. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  860. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  861. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  862. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  863. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  864. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  865. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  866. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  867. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  868. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  869. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  870. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  871. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  872. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  873. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  874. ];
  875. //dsei
  876. U.MD.D.I.dseiAdminDeskIcon = [
  877. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  878. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  879. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  880. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  881. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  882. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  883. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  884. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  885. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  886. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  887. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  888. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  889. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  890. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  891. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  892. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  893. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  894. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  895. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  896. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  897. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  898. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  899. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  900. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  901. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  902. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  903. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  904. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  905. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  906. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  907. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  908. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  909. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  910. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  911. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  912. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  913. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  914. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  916. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  917. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  918. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  919. ];
  920. //dsei
  921. U.MD.D.I.dseiStudentDeskIcon = [
  922. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  923. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  924. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  925. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  926. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  927. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  928. ];
  929. //未来教育基地
  930. U.MD.D.I.szjkyTeacherDeskIcon = [
  931. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  932. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  933. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  934. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  935. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  936. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  937. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  938. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  939. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  940. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  941. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  942. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  943. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  944. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  945. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  946. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  947. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  948. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  949. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  950. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  951. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  952. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  953. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  954. ];
  955. //未来教育基地
  956. U.MD.D.I.szjkyAdminDeskIcon = [
  957. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  958. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  962. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  963. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  964. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  965. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  966. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  967. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  968. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  969. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  970. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  971. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  972. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  973. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  974. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  975. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  976. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  977. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  978. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  979. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  980. ];
  981. //未来教育基地
  982. U.MD.D.I.szjkyStudentDeskIcon = [
  983. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  984. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  985. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  986. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  987. ];
  988. //成华教育局
  989. U.MD.D.I.chjyjTeacherDeskIcon = [
  990. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  991. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  992. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  993. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  994. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  995. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  996. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  997. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  998. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  999. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1000. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1001. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1002. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1003. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1004. ];
  1005. //成华教育局chjyj
  1006. U.MD.D.I.chjyjAdminDeskIcon = [
  1007. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1008. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1012. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1013. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1014. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1015. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1016. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1017. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1018. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1019. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1022. ];
  1023. //成华教育局chjyj
  1024. U.MD.D.I.chjyjStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //tpc
  1031. U.MD.D.I.tpcStudentDeskIcon = [
  1032. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1033. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1034. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1035. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. ];
  1037. //tpc
  1038. U.MD.D.I.tpcTeacherDeskIcon = [
  1039. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1040. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1041. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1042. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1043. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1044. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1045. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1046. ];
  1047. //tpc
  1048. U.MD.D.I.tpcAdminDeskIcon = [
  1049. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1050. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1051. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1052. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1053. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1054. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1055. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1056. ];
  1057. //THU-IOE
  1058. U.MD.D.I.thuioeTeacherDeskIcon = [
  1059. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1060. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1061. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1062. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1063. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1064. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1065. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1066. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1067. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1068. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1069. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1070. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1071. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1072. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1073. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1074. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1075. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1076. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1077. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1078. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1079. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1080. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1081. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1082. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1083. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1084. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1085. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1086. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1087. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1088. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1089. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1090. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1091. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1092. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1093. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1094. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1095. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1096. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1097. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1098. ];
  1099. //THU-IOE
  1100. U.MD.D.I.thuioeStudentDeskIcon = [
  1101. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1104. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1105. ];
  1106. //jccssyl
  1107. U.MD.D.I.jccssylTeacherDeskIcon = [
  1108. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1109. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1110. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1111. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1112. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1113. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1114. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1115. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1116. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1117. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1118. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1119. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1120. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1121. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1122. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1123. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1124. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1125. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1126. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1127. ];
  1128. //jccssyl
  1129. U.MD.D.I.jccssylStudentDeskIcon = [
  1130. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1131. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1132. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1133. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1134. ];
  1135. //cale
  1136. U.MD.D.I.caleTeacherDeskIcon = [
  1137. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1138. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1139. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1140. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1141. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1143. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1144. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1145. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1146. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1147. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1148. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1149. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1150. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1151. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1152. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1153. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1154. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1155. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1156. ];
  1157. //cale
  1158. U.MD.D.I.caleStudentDeskIcon = [
  1159. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1160. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1161. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1162. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1163. ];
  1164. //lqwmsgzs
  1165. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1166. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1167. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1168. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1169. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1170. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1171. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1172. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1173. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1174. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1175. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1176. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1177. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1178. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1179. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1180. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1181. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1182. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1183. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1184. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1185. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1186. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1187. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1188. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1189. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1190. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1191. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1192. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1193. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1194. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1195. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1196. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1197. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1198. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1199. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1200. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1201. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1202. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1203. ];
  1204. //lqwmsgzs
  1205. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1206. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1207. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1208. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1209. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1210. ];
  1211. //盐田区幼儿园
  1212. U.MD.D.I.ytyTeacherDeskIcon = [
  1213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1215. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1216. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1217. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1218. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1219. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1220. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1221. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1222. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1223. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1224. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1225. ];
  1226. //盐田区幼儿园
  1227. U.MD.D.I.ytyStudentDeskIcon = [
  1228. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1229. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1230. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1231. ];
  1232. //scnuai
  1233. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1234. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1235. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1236. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1237. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1238. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1239. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1240. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1241. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1242. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1243. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1244. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1245. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1246. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1247. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1248. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1249. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1250. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1251. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1252. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1253. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1254. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1255. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1256. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1257. ];
  1258. //scnuai
  1259. U.MD.D.I.scnuaiAdminDeskIcon = [
  1260. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1261. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1262. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1263. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1264. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1265. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1266. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1267. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1268. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1269. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1270. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1271. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1272. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1273. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1274. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1275. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1276. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1277. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1278. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1279. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1280. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1281. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1282. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1283. ];
  1284. //scnuai
  1285. U.MD.D.I.scnuaiStudentDeskIcon = [
  1286. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1287. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1288. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1289. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1290. ];
  1291. //#region 桌面初始化a
  1292. /**
  1293. * 初始化桌面的起始函数
  1294. *
  1295. */
  1296. U.MD.D.I.init = function () {
  1297. if ($("#U_MD_D_K")[0]) {
  1298. //初始化桌面图标
  1299. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1300. // var clickUrl = ':12588/requestIp.php';
  1301. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1302. // U.MD.D.I.Ip = data;
  1303. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1304. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1305. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1306. // })
  1307. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1308. // })
  1309. }
  1310. }
  1311. /**
  1312. * 模式切换
  1313. *
  1314. */
  1315. U.MD.D.I.ModeCheck = function (type) {
  1316. if (US.Config.type == type) {
  1317. return
  1318. }
  1319. US.Config.type = type
  1320. $('.U_PBL_Check .active')[0].className = ''
  1321. if (type == 1) {
  1322. $('.U_PBL_Check div')[0].className = 'active'
  1323. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1324. } else {
  1325. $('.U_PBL_Check div')[1].className = 'active'
  1326. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1327. }
  1328. //初始化桌面图标
  1329. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1330. if (type == 2) {
  1331. U.MD.D.I.openApplication("project")
  1332. }
  1333. }
  1334. /**
  1335. * 隐藏任务栏
  1336. *
  1337. * @param {element} 桌面元素
  1338. */
  1339. U.MD.D.I.hiddenTaskbar = function (el) {
  1340. //任务栏位置变小
  1341. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1342. //桌面的位置变大
  1343. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1344. }
  1345. /**
  1346. * 隐藏任务栏
  1347. *
  1348. * @param {element} 桌面元素
  1349. */
  1350. U.MD.D.I.hiddenTaskbarout = function (el) {
  1351. //任务栏位置变小
  1352. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1353. //任务栏位置变化
  1354. U.selectEl(el).css({ "bottom": "-60px" });
  1355. //桌面的位置变大
  1356. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1357. }
  1358. }
  1359. /**
  1360. * 初始化打印桌面图标
  1361. *
  1362. * @param {element} 桌面元素
  1363. */
  1364. U.MD.D.I.initDesktopIcons = function (el, type) {
  1365. var i, //用于循环
  1366. _content, //桌面图标元素
  1367. _iconcontent, //桌面图标元素
  1368. _frag = $$("frag"), //定义一个碎片元素
  1369. _type = US.userInfo.type,
  1370. _org = US.userInfo.org,
  1371. _oid = US.userInfo.organizeid,
  1372. _role = US.userInfo.role,
  1373. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1374. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1375. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1376. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1377. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1378. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1379. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1380. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1381. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1382. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1383. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1384. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1385. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1386. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1387. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1388. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1389. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1390. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1391. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1392. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1393. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1394. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1395. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1396. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1397. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1398. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1399. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1400. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1401. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1402. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1403. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1404. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1405. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1406. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1407. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1408. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1409. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1410. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1411. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1412. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1413. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1414. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1415. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1416. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1417. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1418. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1419. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1420. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1421. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1422. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1423. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1424. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1425. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1426. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1427. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1428. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1429. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1430. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1431. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1432. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1433. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1434. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1435. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1436. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1437. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1438. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1439. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
  1440. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1441. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1442. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1443. 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', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1444. 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', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344','884c5665-a453-46f3-b7b6-01d575290aa9'];
  1445. //清楚桌面图标
  1446. el.innerHTML = "";
  1447. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1448. _teacherDesktopIconInfo.push(
  1449. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1450. { "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)" } },
  1451. )
  1452. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1453. }
  1454. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1455. _teacherDesktopIconInfo.push(
  1456. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1457. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1458. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1459. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1460. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1461. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1462. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1463. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1464. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1465. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1466. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1467. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1468. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1469. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1470. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1471. )
  1472. }
  1473. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪学校
  1474. _teacherDesktopIconInfo.push(
  1475. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1476. )
  1477. }
  1478. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1479. // _teacherDesktopIconInfo.push(
  1480. // )
  1481. // }
  1482. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1483. _teacherDesktopIconInfo.push(
  1484. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1485. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1486. )
  1487. }
  1488. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1489. _teacherDesktopIconInfo.push(
  1490. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1491. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1492. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1493. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1494. )
  1495. _studentDesktopIconInfo.push(
  1496. )
  1497. }
  1498. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1499. _teacherDesktopIconInfo.push(
  1500. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1501. )
  1502. _studentDesktopIconInfo.push(
  1503. )
  1504. }
  1505. //麒麟二中 和 民新小学
  1506. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1507. _teacherDesktopIconInfo.push(
  1508. )
  1509. }
  1510. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1511. _teacherDesktopIconInfo.push(
  1512. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1513. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1514. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1515. )
  1516. }
  1517. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1518. _teacherDesktopIconInfo.push(
  1519. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1520. )
  1521. }
  1522. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1523. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1524. _teacherDesktopIconInfo.push(
  1525. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1526. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1527. )
  1528. }
  1529. //麒麟二中
  1530. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1531. _studentDesktopIconInfo.push(
  1532. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1533. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1534. )
  1535. }
  1536. //万科双语
  1537. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1538. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1539. if (el.Name == '项目管理') {
  1540. el.Name = 'PBL项目'
  1541. }
  1542. return el
  1543. })
  1544. _studentDesktopIconInfo3.push(
  1545. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1546. )
  1547. }
  1548. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1549. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1550. return el.Name != '魔盒识字' && el.Name != '24点'
  1551. })
  1552. }
  1553. 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) {
  1554. _studentDesktopIconInfo.push(
  1555. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1556. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1557. )
  1558. }
  1559. //循环创建桌面图标
  1560. if (type == 1) {
  1561. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1562. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1563. _content = $$("div", {
  1564. className: "U_MD_D_KO",
  1565. "onmousedown": U.UF.C.closure(function (obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_studentDesktopIconInfo[i]]),
  1569. "onclick": U.UF.C.closure(function (obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_studentDesktopIconInfo[i]])
  1573. }, _frag); //
  1574. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1575. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1576. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1577. }
  1578. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1579. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1580. _content = $$("div", {
  1581. className: "U_MD_D_KO",
  1582. "onmousedown": U.UF.C.closure(function (obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1586. "onclick": U.UF.C.closure(function (obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_hkZJLSStudentDeskIconInfo[i]])
  1590. }, _frag); //
  1591. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1592. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1593. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1594. } //
  1595. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1596. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1597. _content = $$("div", {
  1598. className: "U_MD_D_KO",
  1599. "onmousedown": U.UF.C.closure(function (obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_ytyStudentDeskIconInfo[i]]),
  1603. "onclick": U.UF.C.closure(function (obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_ytyStudentDeskIconInfo[i]])
  1607. }, _frag); //
  1608. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1609. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1610. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1611. } //
  1612. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1613. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1614. _content = $$("div", {
  1615. className: "U_MD_D_KO",
  1616. "onmousedown": U.UF.C.closure(function (obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_jccssylStudentDeskIconInfo[i]]),
  1620. "onclick": U.UF.C.closure(function (obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_jccssylStudentDeskIconInfo[i]])
  1624. }, _frag); //
  1625. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1628. }
  1629. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1630. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1631. _content = $$("div", {
  1632. className: "U_MD_D_KO",
  1633. "onmousedown": U.UF.C.closure(function (obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_scnuaiStudentDeskIconInfo[i]]),
  1637. "onclick": U.UF.C.closure(function (obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_scnuaiStudentDeskIconInfo[i]])
  1641. }, _frag); //
  1642. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1643. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1644. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1645. }
  1646. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1647. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1648. _content = $$("div", {
  1649. className: "U_MD_D_KO",
  1650. "onmousedown": U.UF.C.closure(function (obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_caleStudentDeskIconInfo[i]]),
  1654. "onclick": U.UF.C.closure(function (obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_caleStudentDeskIconInfo[i]])
  1658. }, _frag); //
  1659. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1660. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1661. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1662. }
  1663. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1664. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1665. _content = $$("div", {
  1666. className: "U_MD_D_KO",
  1667. "onmousedown": U.UF.C.closure(function (obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_thuioeStudentDeskIconInfo[i]]),
  1671. "onclick": U.UF.C.closure(function (obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_thuioeStudentDeskIconInfo[i]])
  1675. }, _frag); //
  1676. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1677. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1678. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1679. }
  1680. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1681. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1682. _content = $$("div", {
  1683. className: "U_MD_D_KO",
  1684. "onmousedown": U.UF.C.closure(function (obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_tpcStudentDeskIconInfo[i]]),
  1688. "onclick": U.UF.C.closure(function (obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_tpcStudentDeskIconInfo[i]])
  1692. }, _frag); //
  1693. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1694. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1695. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1696. } //
  1697. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1698. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1699. _content = $$("div", {
  1700. className: "U_MD_D_KO",
  1701. "onmousedown": U.UF.C.closure(function (obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_chjyjStudentDeskIconInfo[i]]),
  1705. "onclick": U.UF.C.closure(function (obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_chjyjStudentDeskIconInfo[i]])
  1709. }, _frag); //
  1710. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1711. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1712. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1713. }
  1714. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1715. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1716. _content = $$("div", {
  1717. className: "U_MD_D_KO",
  1718. "onmousedown": U.UF.C.closure(function (obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_szjkyStudentDeskIconInfo[i]]),
  1722. "onclick": U.UF.C.closure(function (obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_szjkyStudentDeskIconInfo[i]])
  1726. }, _frag); //
  1727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1730. }
  1731. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1732. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1733. _content = $$("div", {
  1734. className: "U_MD_D_KO",
  1735. "onmousedown": U.UF.C.closure(function (obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_dseiStudentDeskIconInfo[i]]),
  1739. "onclick": U.UF.C.closure(function (obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_dseiStudentDeskIconInfo[i]])
  1743. }, _frag); //
  1744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1747. }
  1748. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1749. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1750. _content = $$("div", {
  1751. className: "U_MD_D_KO",
  1752. "onmousedown": U.UF.C.closure(function (obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1756. "onclick": U.UF.C.closure(function (obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1760. }, _frag); //
  1761. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1762. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1763. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1764. }
  1765. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1766. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1767. _content = $$("div", {
  1768. className: "U_MD_D_KO",
  1769. "onmousedown": U.UF.C.closure(function (obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_siesStudentDeskIconInfo[i]]),
  1773. "onclick": U.UF.C.closure(function (obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_siesStudentDeskIconInfo[i]])
  1777. }, _frag); //
  1778. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1779. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1780. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1781. }
  1782. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1783. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1784. _content = $$("div", {
  1785. className: "U_MD_D_KO",
  1786. "onmousedown": U.UF.C.closure(function (obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_hkStudentDeskIconInfo[i]]),
  1790. "onclick": U.UF.C.closure(function (obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_hkStudentDeskIconInfo[i]])
  1794. }, _frag); //
  1795. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1796. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1797. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1798. }
  1799. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1800. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1801. _content = $$("div", {
  1802. className: "U_MD_D_KO",
  1803. "onmousedown": U.UF.C.closure(function (obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_hkaceStudentDeskIconInfo[i]]),
  1807. "onclick": U.UF.C.closure(function (obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_hkaceStudentDeskIconInfo[i]])
  1811. }, _frag); //
  1812. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1813. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1814. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1815. }
  1816. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1817. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1818. _content = $$("div", {
  1819. className: "U_MD_D_KO",
  1820. "onmousedown": U.UF.C.closure(function (obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_studentDesktopIconInfo[i]]),
  1824. "onclick": U.UF.C.closure(function (obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_studentDesktopIconInfo[i]])
  1828. }, _frag); //
  1829. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1830. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1831. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1832. }
  1833. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1834. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1835. _content = $$("div", {
  1836. className: "U_MD_D_KO",
  1837. "onmousedown": U.UF.C.closure(function (obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_tcStudentDeskIconInfo[i]]),
  1841. "onclick": U.UF.C.closure(function (obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_tcStudentDeskIconInfo[i]])
  1845. }, _frag); //
  1846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1849. }
  1850. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1851. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1852. _content = $$("div", {
  1853. className: "U_MD_D_KO",
  1854. "onmousedown": U.UF.C.closure(function (obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_szscStudentDeskIconInfo[i]]),
  1858. "onclick": U.UF.C.closure(function (obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_szscStudentDeskIconInfo[i]])
  1862. }, _frag); //
  1863. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1864. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1865. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1866. }
  1867. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1868. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1869. _content = $$("div", {
  1870. className: "U_MD_D_KO",
  1871. "onmousedown": U.UF.C.closure(function (obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_studentDesktopIconInfo3[i]]),
  1875. "onclick": U.UF.C.closure(function (obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_studentDesktopIconInfo3[i]])
  1879. }, _frag); //
  1880. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1881. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1882. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1883. }
  1884. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1885. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1886. _content = $$("div", {
  1887. className: "U_MD_D_KO",
  1888. "onmousedown": U.UF.C.closure(function (obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_studentDesktopIconInfo2[i]]),
  1892. "onclick": U.UF.C.closure(function (obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_studentDesktopIconInfo2[i]])
  1896. }, _frag); //
  1897. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1900. }
  1901. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1902. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1903. _content = $$("div", {
  1904. className: "U_MD_D_KO",
  1905. "onmousedown": U.UF.C.closure(function (obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_wanketeacherDesktopIconInfo[i]]),
  1909. "onclick": U.UF.C.closure(function (obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_wanketeacherDesktopIconInfo[i]])
  1913. }, _frag); //
  1914. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1915. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1916. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1917. }
  1918. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1919. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1920. _content = $$("div", {
  1921. className: "U_MD_D_KO",
  1922. "onmousedown": U.UF.C.closure(function (obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_wankeAdminDesktopIconInfo[i]]),
  1926. "onclick": U.UF.C.closure(function (obj) {
  1927. //防止拖动图标即打开了桌面应用
  1928. U.MD.D.click(this, obj);
  1929. }, [_wankeAdminDesktopIconInfo[i]])
  1930. }, _frag); //
  1931. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1932. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1933. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1934. }
  1935. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  1936. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  1937. _content = $$("div", {
  1938. className: "U_MD_D_KO",
  1939. "onmousedown": U.UF.C.closure(function (obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_scnuaiTeacherDeskIconInfo[i]]),
  1943. "onclick": U.UF.C.closure(function (obj) {
  1944. //防止拖动图标即打开了桌面应用
  1945. U.MD.D.click(this, obj);
  1946. }, [_scnuaiTeacherDeskIconInfo[i]])
  1947. }, _frag); //
  1948. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1949. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1950. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1951. }
  1952. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  1953. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  1954. _content = $$("div", {
  1955. className: "U_MD_D_KO",
  1956. "onmousedown": U.UF.C.closure(function (obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_scnuaiAdminDeskIconInfo[i]]),
  1960. "onclick": U.UF.C.closure(function (obj) {
  1961. //防止拖动图标即打开了桌面应用
  1962. U.MD.D.click(this, obj);
  1963. }, [_scnuaiAdminDeskIconInfo[i]])
  1964. }, _frag); //
  1965. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1966. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  1967. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  1968. }
  1969. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1970. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1971. _content = $$("div", {
  1972. className: "U_MD_D_KO",
  1973. "onmousedown": U.UF.C.closure(function (obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_jccssylTeacherDeskIconInfo[i]]),
  1977. "onclick": U.UF.C.closure(function (obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_jccssylTeacherDeskIconInfo[i]])
  1981. }, _frag); //
  1982. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1983. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1984. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1985. }
  1986. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1987. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1988. _content = $$("div", {
  1989. className: "U_MD_D_KO",
  1990. "onmousedown": U.UF.C.closure(function (obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_caleTeacherDeskIconInfo[i]]),
  1994. "onclick": U.UF.C.closure(function (obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_caleTeacherDeskIconInfo[i]])
  1998. }, _frag); //
  1999. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2000. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2001. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2002. }
  2003. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2004. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2005. _content = $$("div", {
  2006. className: "U_MD_D_KO",
  2007. "onmousedown": U.UF.C.closure(function (obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_tpcOrganizerDeskIconInfo[i]]),
  2011. "onclick": U.UF.C.closure(function (obj) {
  2012. //防止拖动图标即打开了桌面应用
  2013. U.MD.D.click(this, obj);
  2014. }, [_tpcOrganizerDeskIconInfo[i]])
  2015. }, _frag); //
  2016. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2017. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2018. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2019. }
  2020. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2021. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2022. _content = $$("div", {
  2023. className: "U_MD_D_KO",
  2024. "onmousedown": U.UF.C.closure(function (obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_tpcTeacherDeskIconInfo[i]]),
  2028. "onclick": U.UF.C.closure(function (obj) {
  2029. //防止拖动图标即打开了桌面应用
  2030. U.MD.D.click(this, obj);
  2031. }, [_tpcTeacherDeskIconInfo[i]])
  2032. }, _frag); //
  2033. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2034. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2035. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2036. }
  2037. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2038. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2039. _content = $$("div", {
  2040. className: "U_MD_D_KO",
  2041. "onmousedown": U.UF.C.closure(function (obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_teacherDesktopIconInfo2[i]]),
  2045. "onclick": U.UF.C.closure(function (obj) {
  2046. //防止拖动图标即打开了桌面应用
  2047. U.MD.D.click(this, obj);
  2048. }, [_teacherDesktopIconInfo2[i]])
  2049. }, _frag); //
  2050. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2051. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2052. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2053. }
  2054. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2055. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2056. _content = $$("div", {
  2057. className: "U_MD_D_KO",
  2058. "onmousedown": U.UF.C.closure(function (obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_thuioeTeacherDeskIconInfo[i]]),
  2062. "onclick": U.UF.C.closure(function (obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_thuioeTeacherDeskIconInfo[i]])
  2066. }, _frag); //
  2067. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2068. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2069. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2070. }
  2071. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2072. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2073. _content = $$("div", {
  2074. className: "U_MD_D_KO",
  2075. "onmousedown": U.UF.C.closure(function (obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_lotechTeacherDeskIconInfo[i]]),
  2079. "onclick": U.UF.C.closure(function (obj) {
  2080. //防止拖动图标即打开了桌面应用
  2081. U.MD.D.click(this, obj);
  2082. }, [_lotechTeacherDeskIconInfo[i]])
  2083. }, _frag); //
  2084. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2085. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2086. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2087. }//
  2088. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2089. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2090. _content = $$("div", {
  2091. className: "U_MD_D_KO",
  2092. "onmousedown": U.UF.C.closure(function (obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2096. "onclick": U.UF.C.closure(function (obj) {
  2097. //防止拖动图标即打开了桌面应用
  2098. U.MD.D.click(this, obj);
  2099. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2100. }, _frag); //
  2101. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2102. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2103. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2104. }
  2105. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2106. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2107. _content = $$("div", {
  2108. className: "U_MD_D_KO",
  2109. "onmousedown": U.UF.C.closure(function (obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_siesTeacherDeskIconInfo[i]]),
  2113. "onclick": U.UF.C.closure(function (obj) {
  2114. //防止拖动图标即打开了桌面应用
  2115. U.MD.D.click(this, obj);
  2116. }, [_siesTeacherDeskIconInfo[i]])
  2117. }, _frag); //
  2118. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2119. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2120. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2121. }
  2122. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2123. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2124. _content = $$("div", {
  2125. className: "U_MD_D_KO",
  2126. "onmousedown": U.UF.C.closure(function (obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_longhuaTeacherDeskIconInfo[i]]),
  2130. "onclick": U.UF.C.closure(function (obj) {
  2131. //防止拖动图标即打开了桌面应用
  2132. U.MD.D.click(this, obj);
  2133. }, [_longhuaTeacherDeskIconInfo[i]])
  2134. }, _frag); //
  2135. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2136. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2137. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2138. }
  2139. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2140. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2141. _content = $$("div", {
  2142. className: "U_MD_D_KO",
  2143. "onmousedown": U.UF.C.closure(function (obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_ytyTeacherDeskIconInfo[i]]),
  2147. "onclick": U.UF.C.closure(function (obj) {
  2148. //防止拖动图标即打开了桌面应用
  2149. U.MD.D.click(this, obj);
  2150. }, [_ytyTeacherDeskIconInfo[i]])
  2151. }, _frag); //
  2152. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2153. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2154. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2155. }
  2156. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2157. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2158. _content = $$("div", {
  2159. className: "U_MD_D_KO",
  2160. "onmousedown": U.UF.C.closure(function (obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2164. "onclick": U.UF.C.closure(function (obj) {
  2165. //防止拖动图标即打开了桌面应用
  2166. U.MD.D.click(this, obj);
  2167. }, [_yunhaiTeacherDeskIconInfo[i]])
  2168. }, _frag); //
  2169. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2170. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2171. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2172. } //_hkStudentDeskIconInfo
  2173. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2174. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2175. _content = $$("div", {
  2176. className: "U_MD_D_KO",
  2177. "onmousedown": U.UF.C.closure(function (obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2181. "onclick": U.UF.C.closure(function (obj) {
  2182. //防止拖动图标即打开了桌面应用
  2183. U.MD.D.click(this, obj);
  2184. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2185. }, _frag); //
  2186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2189. }
  2190. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2191. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2192. _content = $$("div", {
  2193. className: "U_MD_D_KO",
  2194. "onmousedown": U.UF.C.closure(function (obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_hkTeacherDeskIconInfo[i]]),
  2198. "onclick": U.UF.C.closure(function (obj) {
  2199. //防止拖动图标即打开了桌面应用
  2200. U.MD.D.click(this, obj);
  2201. }, [_hkTeacherDeskIconInfo[i]])
  2202. }, _frag); //
  2203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2206. }
  2207. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2208. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2209. _content = $$("div", {
  2210. className: "U_MD_D_KO",
  2211. "onmousedown": U.UF.C.closure(function (obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_hkaceTeacherDeskIconInfo[i]]),
  2215. "onclick": U.UF.C.closure(function (obj) {
  2216. //防止拖动图标即打开了桌面应用
  2217. U.MD.D.click(this, obj);
  2218. }, [_hkaceTeacherDeskIconInfo[i]])
  2219. }, _frag); //
  2220. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2221. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2222. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2223. }
  2224. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2225. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2226. _content = $$("div", {
  2227. className: "U_MD_D_KO",
  2228. "onmousedown": U.UF.C.closure(function (obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_gdjgAdminDeskIconInfo[i]]),
  2232. "onclick": U.UF.C.closure(function (obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_gdjgAdminDeskIconInfo[i]])
  2236. }, _frag); //
  2237. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2238. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2239. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2240. }
  2241. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2242. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2243. _content = $$("div", {
  2244. className: "U_MD_D_KO",
  2245. "onmousedown": U.UF.C.closure(function (obj) {
  2246. //防止拖动图标即打开了桌面应用
  2247. U.MD.D.click(this, obj);
  2248. }, [_gdjgTeacherDeskIconInfo[i]]),
  2249. "onclick": U.UF.C.closure(function (obj) {
  2250. //防止拖动图标即打开了桌面应用
  2251. U.MD.D.click(this, obj);
  2252. }, [_gdjgTeacherDeskIconInfo[i]])
  2253. }, _frag); //
  2254. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2255. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2256. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2257. }
  2258. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2259. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2260. _content = $$("div", {
  2261. className: "U_MD_D_KO",
  2262. "onmousedown": U.UF.C.closure(function (obj) {
  2263. //防止拖动图标即打开了桌面应用
  2264. U.MD.D.click(this, obj);
  2265. }, [_szherTeacherDeskIconInfo[i]]),
  2266. "onclick": U.UF.C.closure(function (obj) {
  2267. //防止拖动图标即打开了桌面应用
  2268. U.MD.D.click(this, obj);
  2269. }, [_szherTeacherDeskIconInfo[i]])
  2270. }, _frag); //
  2271. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2272. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2273. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2274. }
  2275. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2276. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2277. _content = $$("div", {
  2278. className: "U_MD_D_KO",
  2279. "onmousedown": U.UF.C.closure(function (obj) {
  2280. //防止拖动图标即打开了桌面应用
  2281. U.MD.D.click(this, obj);
  2282. }, [_heyuannAdminDeskIconInfo[i]]),
  2283. "onclick": U.UF.C.closure(function (obj) {
  2284. //防止拖动图标即打开了桌面应用
  2285. U.MD.D.click(this, obj);
  2286. }, [_heyuannAdminDeskIconInfo[i]])
  2287. }, _frag); //
  2288. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2289. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2290. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2291. }
  2292. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2293. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2294. _content = $$("div", {
  2295. className: "U_MD_D_KO",
  2296. "onmousedown": U.UF.C.closure(function (obj) {
  2297. //防止拖动图标即打开了桌面应用
  2298. U.MD.D.click(this, obj);
  2299. }, [_heyuanTeacherDeskIconInfo[i]]),
  2300. "onclick": U.UF.C.closure(function (obj) {
  2301. //防止拖动图标即打开了桌面应用
  2302. U.MD.D.click(this, obj);
  2303. }, [_heyuanTeacherDeskIconInfo[i]])
  2304. }, _frag); //
  2305. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2306. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2307. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2308. } //
  2309. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2310. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2311. _content = $$("div", {
  2312. className: "U_MD_D_KO",
  2313. "onmousedown": U.UF.C.closure(function (obj) {
  2314. //防止拖动图标即打开了桌面应用
  2315. U.MD.D.click(this, obj);
  2316. }, [_dseiAdminDeskIconInfo[i]]),
  2317. "onclick": U.UF.C.closure(function (obj) {
  2318. //防止拖动图标即打开了桌面应用
  2319. U.MD.D.click(this, obj);
  2320. }, [_dseiAdminDeskIconInfo[i]])
  2321. }, _frag); //
  2322. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2323. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2324. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2325. }
  2326. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2327. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2328. _content = $$("div", {
  2329. className: "U_MD_D_KO",
  2330. "onmousedown": U.UF.C.closure(function (obj) {
  2331. //防止拖动图标即打开了桌面应用
  2332. U.MD.D.click(this, obj);
  2333. }, [_dseiTeacherDeskIconInfo[i]]),
  2334. "onclick": U.UF.C.closure(function (obj) {
  2335. //防止拖动图标即打开了桌面应用
  2336. U.MD.D.click(this, obj);
  2337. }, [_dseiTeacherDeskIconInfo[i]])
  2338. }, _frag); //
  2339. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2340. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2341. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2342. } //
  2343. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2344. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2345. _content = $$("div", {
  2346. className: "U_MD_D_KO",
  2347. "onmousedown": U.UF.C.closure(function (obj) {
  2348. //防止拖动图标即打开了桌面应用
  2349. U.MD.D.click(this, obj);
  2350. }, [_chjyjAdminDeskIconInfo[i]]),
  2351. "onclick": U.UF.C.closure(function (obj) {
  2352. //防止拖动图标即打开了桌面应用
  2353. U.MD.D.click(this, obj);
  2354. }, [_chjyjAdminDeskIconInfo[i]])
  2355. }, _frag); //
  2356. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2357. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2358. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2359. }//
  2360. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2361. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2362. _content = $$("div", {
  2363. className: "U_MD_D_KO",
  2364. "onmousedown": U.UF.C.closure(function (obj) {
  2365. //防止拖动图标即打开了桌面应用
  2366. U.MD.D.click(this, obj);
  2367. }, [_chjyjTeacherDeskIconInfo[i]]),
  2368. "onclick": U.UF.C.closure(function (obj) {
  2369. //防止拖动图标即打开了桌面应用
  2370. U.MD.D.click(this, obj);
  2371. }, [_chjyjTeacherDeskIconInfo[i]])
  2372. }, _frag); //
  2373. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2376. }
  2377. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2378. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2379. _content = $$("div", {
  2380. className: "U_MD_D_KO",
  2381. "onmousedown": U.UF.C.closure(function (obj) {
  2382. //防止拖动图标即打开了桌面应用
  2383. U.MD.D.click(this, obj);
  2384. }, [_szjkyAdminDeskIconInfo[i]]),
  2385. "onclick": U.UF.C.closure(function (obj) {
  2386. //防止拖动图标即打开了桌面应用
  2387. U.MD.D.click(this, obj);
  2388. }, [_szjkyAdminDeskIconInfo[i]])
  2389. }, _frag); //
  2390. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2391. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2392. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2393. }//
  2394. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2395. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2396. _content = $$("div", {
  2397. className: "U_MD_D_KO",
  2398. "onmousedown": U.UF.C.closure(function (obj) {
  2399. //防止拖动图标即打开了桌面应用
  2400. U.MD.D.click(this, obj);
  2401. }, [_szjkyTeacherDeskIconInfo[i]]),
  2402. "onclick": U.UF.C.closure(function (obj) {
  2403. //防止拖动图标即打开了桌面应用
  2404. U.MD.D.click(this, obj);
  2405. }, [_szjkyTeacherDeskIconInfo[i]])
  2406. }, _frag); //
  2407. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2408. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2409. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2410. }
  2411. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2412. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2413. _content = $$("div", {
  2414. className: "U_MD_D_KO",
  2415. "onmousedown": U.UF.C.closure(function (obj) {
  2416. //防止拖动图标即打开了桌面应用
  2417. U.MD.D.click(this, obj);
  2418. }, [_futianAdminDeskIconInfo[i]]),
  2419. "onclick": U.UF.C.closure(function (obj) {
  2420. //防止拖动图标即打开了桌面应用
  2421. U.MD.D.click(this, obj);
  2422. }, [_futianAdminDeskIconInfo[i]])
  2423. }, _frag); //
  2424. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2425. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2426. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2427. }
  2428. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2429. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2430. _content = $$("div", {
  2431. className: "U_MD_D_KO",
  2432. "onmousedown": U.UF.C.closure(function (obj) {
  2433. //防止拖动图标即打开了桌面应用
  2434. U.MD.D.click(this, obj);
  2435. }, [_futianTeacherDeskIconInfo[i]]),
  2436. "onclick": U.UF.C.closure(function (obj) {
  2437. //防止拖动图标即打开了桌面应用
  2438. U.MD.D.click(this, obj);
  2439. }, [_futianTeacherDeskIconInfo[i]])
  2440. }, _frag); //
  2441. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2442. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2443. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2444. }
  2445. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2446. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2447. _content = $$("div", {
  2448. className: "U_MD_D_KO",
  2449. "onmousedown": U.UF.C.closure(function (obj) {
  2450. //防止拖动图标即打开了桌面应用
  2451. U.MD.D.click(this, obj);
  2452. }, [_MingdeTeacherDeskIcon[i]]),
  2453. "onclick": U.UF.C.closure(function (obj) {
  2454. //防止拖动图标即打开了桌面应用
  2455. U.MD.D.click(this, obj);
  2456. }, [_MingdeTeacherDeskIcon[i]])
  2457. }, _frag); //
  2458. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2459. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2460. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2461. }
  2462. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2463. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2464. _content = $$("div", {
  2465. className: "U_MD_D_KO",
  2466. "onmousedown": U.UF.C.closure(function (obj) {
  2467. //防止拖动图标即打开了桌面应用
  2468. U.MD.D.click(this, obj);
  2469. }, [_lhsAdminDesktopIconInfo[i]]),
  2470. "onclick": U.UF.C.closure(function (obj) {
  2471. //防止拖动图标即打开了桌面应用
  2472. U.MD.D.click(this, obj);
  2473. }, [_lhsAdminDesktopIconInfo[i]])
  2474. }, _frag); //
  2475. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2476. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2477. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2478. }
  2479. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2480. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2481. _content = $$("div", {
  2482. className: "U_MD_D_KO",
  2483. "onmousedown": U.UF.C.closure(function (obj) {
  2484. //防止拖动图标即打开了桌面应用
  2485. U.MD.D.click(this, obj);
  2486. }, [_lhsteacherDesktopIconInfo[i]]),
  2487. "onclick": U.UF.C.closure(function (obj) {
  2488. //防止拖动图标即打开了桌面应用
  2489. U.MD.D.click(this, obj);
  2490. }, [_lhsteacherDesktopIconInfo[i]])
  2491. }, _frag); //
  2492. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2493. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2494. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2495. }
  2496. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2497. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2498. _content = $$("div", {
  2499. className: "U_MD_D_KO",
  2500. "onmousedown": U.UF.C.closure(function (obj) {
  2501. //防止拖动图标即打开了桌面应用
  2502. U.MD.D.click(this, obj);
  2503. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2504. "onclick": U.UF.C.closure(function (obj) {
  2505. //防止拖动图标即打开了桌面应用
  2506. U.MD.D.click(this, obj);
  2507. }, [_zhoujiateacherDesktopIconInfo[i]])
  2508. }, _frag); //
  2509. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2510. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2511. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2512. }
  2513. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2514. for (i = 0; i < _hanDeskIcon.length; i++) {
  2515. _content = $$("div", {
  2516. className: "U_MD_D_KO",
  2517. "onmousedown": U.UF.C.closure(function (obj) {
  2518. //防止拖动图标即打开了桌面应用
  2519. U.MD.D.click(this, obj);
  2520. }, [_hanDeskIcon[i]]),
  2521. "onclick": U.UF.C.closure(function (obj) {
  2522. //防止拖动图标即打开了桌面应用
  2523. U.MD.D.click(this, obj);
  2524. }, [_hanDeskIcon[i]])
  2525. }, _frag); //
  2526. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2527. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2528. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2529. }
  2530. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2531. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2532. _content = $$("div", {
  2533. className: "U_MD_D_KO",
  2534. "onmousedown": U.UF.C.closure(function (obj) {
  2535. //防止拖动图标即打开了桌面应用
  2536. U.MD.D.click(this, obj);
  2537. }, [_orgStemDeskIcon[i]]),
  2538. "onclick": U.UF.C.closure(function (obj) {
  2539. //防止拖动图标即打开了桌面应用
  2540. U.MD.D.click(this, obj);
  2541. }, [_orgStemDeskIcon[i]])
  2542. }, _frag); //
  2543. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2544. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2545. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2546. }
  2547. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2548. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2549. _content = $$("div", {
  2550. className: "U_MD_D_KO",
  2551. "onmousedown": U.UF.C.closure(function (obj) {
  2552. //防止拖动图标即打开了桌面应用
  2553. U.MD.D.click(this, obj);
  2554. }, [_szulsDeskIcon[i]]),
  2555. "onclick": U.UF.C.closure(function (obj) {
  2556. //防止拖动图标即打开了桌面应用
  2557. U.MD.D.click(this, obj);
  2558. }, [_szulsDeskIcon[i]])
  2559. }, _frag); //
  2560. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2561. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2562. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2563. }
  2564. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2565. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2566. _content = $$("div", {
  2567. className: "U_MD_D_KO",
  2568. "onmousedown": U.UF.C.closure(function (obj) {
  2569. //防止拖动图标即打开了桌面应用
  2570. U.MD.D.click(this, obj);
  2571. }, [_orgDesktopIconInfo[i]]),
  2572. "onclick": U.UF.C.closure(function (obj) {
  2573. //防止拖动图标即打开了桌面应用
  2574. U.MD.D.click(this, obj);
  2575. }, [_orgDesktopIconInfo[i]])
  2576. }, _frag); //
  2577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2580. }
  2581. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2582. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2583. _content = $$("div", {
  2584. className: "U_MD_D_KO",
  2585. "onmousedown": U.UF.C.closure(function (obj) {
  2586. //防止拖动图标即打开了桌面应用
  2587. U.MD.D.click(this, obj);
  2588. }, [_schoolDesktopIconInfo[i]]),
  2589. "onclick": U.UF.C.closure(function (obj) {
  2590. //防止拖动图标即打开了桌面应用
  2591. U.MD.D.click(this, obj);
  2592. }, [_schoolDesktopIconInfo[i]])
  2593. }, _frag); //
  2594. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2595. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2596. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2597. }
  2598. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2599. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2600. _content = $$("div", {
  2601. className: "U_MD_D_KO",
  2602. "onmousedown": U.UF.C.closure(function (obj) {
  2603. //防止拖动图标即打开了桌面应用
  2604. U.MD.D.click(this, obj);
  2605. }, [_GMteacherDesktopIconInfo[i]]),
  2606. "onclick": U.UF.C.closure(function (obj) {
  2607. //防止拖动图标即打开了桌面应用
  2608. U.MD.D.click(this, obj);
  2609. }, [_GMteacherDesktopIconInfo[i]])
  2610. }, _frag); //
  2611. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2612. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2613. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2614. }
  2615. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2616. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2617. _content = $$("div", {
  2618. className: "U_MD_D_KO",
  2619. "onmousedown": U.UF.C.closure(function (obj) {
  2620. //防止拖动图标即打开了桌面应用
  2621. U.MD.D.click(this, obj);
  2622. }, [_SONGteacherDesktopIconInfo[i]]),
  2623. "onclick": U.UF.C.closure(function (obj) {
  2624. //防止拖动图标即打开了桌面应用
  2625. U.MD.D.click(this, obj);
  2626. }, [_SONGteacherDesktopIconInfo[i]])
  2627. }, _frag); //
  2628. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2629. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2630. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2631. }
  2632. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2633. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2634. _content = $$("div", {
  2635. className: "U_MD_D_KO",
  2636. "onmousedown": U.UF.C.closure(function (obj) {
  2637. //防止拖动图标即打开了桌面应用
  2638. U.MD.D.click(this, obj);
  2639. }, [_GMstudentDesktopIconInfo[i]]),
  2640. "onclick": U.UF.C.closure(function (obj) {
  2641. //防止拖动图标即打开了桌面应用
  2642. U.MD.D.click(this, obj);
  2643. }, [_GMstudentDesktopIconInfo[i]])
  2644. }, _frag); //
  2645. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2646. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2647. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2648. }
  2649. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2650. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2651. _content = $$("div", {
  2652. className: "U_MD_D_KO",
  2653. "onmousedown": U.UF.C.closure(function (obj) {
  2654. //防止拖动图标即打开了桌面应用
  2655. U.MD.D.click(this, obj);
  2656. }, [_tcTeacherDeskIconInfo[i]]),
  2657. "onclick": U.UF.C.closure(function (obj) {
  2658. //防止拖动图标即打开了桌面应用
  2659. U.MD.D.click(this, obj);
  2660. }, [_tcTeacherDeskIconInfo[i]])
  2661. }, _frag); //
  2662. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2663. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2664. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2665. }
  2666. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2667. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2668. _content = $$("div", {
  2669. className: "U_MD_D_KO",
  2670. "onmousedown": U.UF.C.closure(function (obj) {
  2671. //防止拖动图标即打开了桌面应用
  2672. U.MD.D.click(this, obj);
  2673. }, [_tcOrganizerDeskIconInfo[i]]),
  2674. "onclick": U.UF.C.closure(function (obj) {
  2675. //防止拖动图标即打开了桌面应用
  2676. U.MD.D.click(this, obj);
  2677. }, [_tcOrganizerDeskIconInfo[i]])
  2678. }, _frag); //
  2679. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2680. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2681. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2682. }
  2683. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2684. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2685. _content = $$("div", {
  2686. className: "U_MD_D_KO",
  2687. "onmousedown": U.UF.C.closure(function (obj) {
  2688. //防止拖动图标即打开了桌面应用
  2689. U.MD.D.click(this, obj);
  2690. }, [_szscTeacherDeskIconInfo[i]]),
  2691. "onclick": U.UF.C.closure(function (obj) {
  2692. //防止拖动图标即打开了桌面应用
  2693. U.MD.D.click(this, obj);
  2694. }, [_szscTeacherDeskIconInfo[i]])
  2695. }, _frag); //
  2696. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2697. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2698. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2699. }
  2700. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2701. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2702. _content = $$("div", {
  2703. className: "U_MD_D_KO",
  2704. "onmousedown": U.UF.C.closure(function (obj) {
  2705. //防止拖动图标即打开了桌面应用
  2706. U.MD.D.click(this, obj);
  2707. }, [_szscOrganizerDeskIconInfo[i]]),
  2708. "onclick": U.UF.C.closure(function (obj) {
  2709. //防止拖动图标即打开了桌面应用
  2710. U.MD.D.click(this, obj);
  2711. }, [_szscOrganizerDeskIconInfo[i]])
  2712. }, _frag); //
  2713. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2714. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2715. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2716. }
  2717. } else {
  2718. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2719. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher'){
  2720. continue
  2721. }
  2722. _content = $$("div", {
  2723. className: "U_MD_D_KO",
  2724. "onmousedown": U.UF.C.closure(function (obj) {
  2725. //防止拖动图标即打开了桌面应用
  2726. U.MD.D.click(this, obj);
  2727. }, [_teacherDesktopIconInfo[i]]),
  2728. "onclick": U.UF.C.closure(function (obj) {
  2729. //防止拖动图标即打开了桌面应用
  2730. U.MD.D.click(this, obj);
  2731. }, [_teacherDesktopIconInfo[i]])
  2732. }, _frag); //
  2733. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2734. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2735. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2736. }
  2737. }
  2738. } else {
  2739. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2740. _content = $$("div", {
  2741. className: "U_MD_D_KO",
  2742. style: { 'width': '124px', 'height': '145px' },
  2743. "onmousedown": U.UF.C.closure(function (obj) {
  2744. //防止拖动图标即打开了桌面应用
  2745. U.MD.D.click(this, obj);
  2746. }, [_easyDesktopIconInfo[i]]),
  2747. "onclick": U.UF.C.closure(function (obj) {
  2748. //防止拖动图标即打开了桌面应用
  2749. U.MD.D.click(this, obj);
  2750. }, [_easyDesktopIconInfo[i]])
  2751. }, _frag); //
  2752. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2753. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2754. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2755. }
  2756. }
  2757. if (type == 1) {
  2758. //加载好后给图标定位
  2759. U.MD.D.iconPostion($(_frag).Child());
  2760. } else {
  2761. //加载好后给图标定位
  2762. U.MD.D.iconPostion2($(_frag).Child());
  2763. }
  2764. //把图标加载到页面
  2765. el.appendChild(_frag);
  2766. }
  2767. /**
  2768. * 显示任务栏
  2769. *
  2770. * @param {element} 桌面元素
  2771. */
  2772. U.MD.D.I.displayTaskbar = function (el) {
  2773. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2774. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2775. //任务栏位置变化
  2776. U.selectEl(el).css({ "bottom": "0px" });
  2777. //桌面位置变话
  2778. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2779. }
  2780. }
  2781. //#region 桌面图标拖动逻辑
  2782. /**
  2783. * 桌面排列图标
  2784. *
  2785. * @param {element} 桌面元素
  2786. * @param {object} 上下相距的距离
  2787. * @param {object} 左右相距的距离
  2788. * @return {object} 命名空间
  2789. */
  2790. U.MD.D.iconPostion = function (childs, top, left) {
  2791. var i; //用于循环处理
  2792. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2793. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2794. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2795. for (i = 0; i < childs.length; i++) {
  2796. //如果竖排top超过了范围处理
  2797. if (top + 95 > US.height - 10) {
  2798. //left超过了页面范围处理,则向上重叠打印处理
  2799. if ((left + 180) > US.width) {
  2800. top -= 110;
  2801. left -= 90;
  2802. }
  2803. //没有超过范围,那么left+90添加到下一个竖排打印
  2804. else {
  2805. left += 90;
  2806. top = 15;
  2807. };
  2808. }
  2809. //给图标的位置赋值
  2810. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2811. if (i < childs.length - 1) {
  2812. //页面图标每次向下加95
  2813. top += 95;
  2814. }
  2815. }
  2816. //返回最后调用的图标的位置
  2817. return [top, left];
  2818. }
  2819. /**
  2820. * 桌面排列图标
  2821. *
  2822. * @param {element} 桌面元素
  2823. * @param {object} 上下相距的距离
  2824. * @param {object} 左右相距的距离
  2825. * @return {object} 命名空间
  2826. */
  2827. U.MD.D.iconPostion2 = function (childs, top, left) {
  2828. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2829. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2830. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2831. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2832. for (i = 0; i < childs.length; i++) {
  2833. //如果竖排top超过了范围处理
  2834. if (left + 150 > US.width - 10) {
  2835. //left超过了页面范围处理,则向上重叠打印处理
  2836. if ((top + 180) > US.Height) {
  2837. top -= 150;
  2838. left -= 150;
  2839. }
  2840. //没有超过范围,那么left+90添加到下一个竖排打印
  2841. else {
  2842. top += 150;
  2843. left = ol;
  2844. };
  2845. }
  2846. //给图标的位置赋值
  2847. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2848. if (i < childs.length - 1) {
  2849. //页面图标每次向下加95
  2850. left += 150;
  2851. }
  2852. }
  2853. //返回最后调用的图标的位置
  2854. return [top, left];
  2855. }
  2856. /**
  2857. * 桌面点击事件逻辑
  2858. *
  2859. * @param {element} 桌面元素
  2860. * @param {object} 上下相距的距离
  2861. * @param {object} 左右相距的距离
  2862. * @return {object} 命名空间
  2863. */
  2864. U.MD.D.click = function (el, obj) {
  2865. var _buttonnumber = event.button; //点击的按钮的事件值
  2866. var _userinfo = US.userInfo;
  2867. U.UF.EV.stopBubble(); //阻止向上冒泡
  2868. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2869. if (_buttonnumber < 2) {
  2870. //如果是click事件的处理
  2871. if (event.type == "click") {
  2872. //如果元素在mousemove事件中没有移动则出发click事件
  2873. if (!U.MD.D.I.IsDrag) {
  2874. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2875. U.alert("请先登录您的账号!");
  2876. setTimeout(() => {
  2877. U.MD.U.L.login();
  2878. }, 2000);
  2879. } else {
  2880. //打开应用处理
  2881. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2882. }
  2883. }
  2884. }
  2885. //如果是mouse事件的处理
  2886. else {
  2887. if (US.Config.type == '1') {
  2888. //拖动处理,添加拖动和拖动结束事件
  2889. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2890. }
  2891. }
  2892. U.MD.D.I.IsDrag = false;
  2893. }
  2894. }
  2895. /**
  2896. * 拖动的处理
  2897. *
  2898. */
  2899. U.MD.D.iconMove = function () {
  2900. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2901. U.MD.D.I.IsDrag = true;
  2902. }
  2903. /**
  2904. * 拖动结束后,这里是定位处理,以网状的形式定位
  2905. *
  2906. * @param {element} 拖动的元素
  2907. * @return {object} 命名空间
  2908. */
  2909. U.MD.D.iconUp = function (el) {
  2910. var _top = 15,
  2911. _left = 20,
  2912. _margin,
  2913. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2914. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2915. if (_positioninfo["OT"] > 15) {
  2916. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2917. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2918. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2919. }
  2920. if (_positioninfo["OL"] > 20) {
  2921. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2922. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2923. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2924. }
  2925. //while循环判断么一个重叠的元素
  2926. do {
  2927. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2928. _top = _positioninfo[0] + 95; //得到定位后的top
  2929. _left = _positioninfo[1]; //得到定位后的left
  2930. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2931. }
  2932. /**
  2933. * 判断拖动后图标是否重叠
  2934. *
  2935. * @param {element} 拖动的元素
  2936. * @param {element} 桌面所有的元素
  2937. * @param {array} 拖动元素的位置
  2938. ----------[0] 上 top
  2939. ----------[1] 左 left
  2940. * @return {object} 命名空间
  2941. */
  2942. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2943. //循环所有的图标
  2944. for (var i = 0; i < childs.length; i++) {
  2945. //判断有没有和该图标诶子重叠的元素
  2946. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2947. return childs[i]; //如果有返回
  2948. }
  2949. }
  2950. }
  2951. //#endregion
  2952. //#endregion
  2953. //#region 桌面应用
  2954. /**
  2955. * 打开应用
  2956. *
  2957. * @param {string} 类型
  2958. -----------------Disk 网盘系统
  2959. -----------------PDisk 学习系统网盘
  2960. -----------------Poto 图片
  2961. -----------------Video 视频
  2962. -----------------Music 音乐
  2963. -----------------Word word
  2964. -----------------Excel excel
  2965. -----------------Txt 记事本
  2966. -----------------PB 学习系统
  2967. -----------------Blog 朋友圈系统
  2968. -----------------FTP ftp系统
  2969. -----------------Group 好友群
  2970. -----------------SY 首页系统
  2971. -----------------Set 个人设置
  2972. -----------------XSet 系统设置
  2973. -----------------App 我们所有的app
  2974. -----------------BC c.1473.cn 平台
  2975. -----------------CWeb d.1473.cn 变成平台
  2976. -----------------其他的外联系统 我们统一用iframe打开
  2977. * @param {array} 类型
  2978. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2979. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2980. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2981. 如果第一个参数为其他,则无第二个参数
  2982. * @returns {array}
  2983. */
  2984. window.addEventListener('message', function (e) { // 监听 message 事件
  2985. // alert(e.data.type);
  2986. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2987. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2988. //3是展示全部阶段 2学生 1老师 4专家
  2989. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2990. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2991. //3是展示全部阶段 2学生 1老师 4专家
  2992. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2993. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2994. //3是展示全部阶段 2学生 1老师 4专家
  2995. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2996. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2997. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2998. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2999. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  3000. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3001. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  3002. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3003. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  3004. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3005. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  3006. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3007. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  3008. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3009. //3是展示全部阶段 2学生 1老师 4专家
  3010. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  3011. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3012. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  3013. U.MD.D.I.selectUser();
  3014. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3015. var _formel = document.getElementById("study");
  3016. U.UF.F.windowZooming(_formel);
  3017. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3018. var _formel = document.getElementById("studyDetail");
  3019. U.UF.F.windowZooming(_formel);
  3020. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3021. var _formel = document.getElementById("studyDetail");
  3022. U.UF.F.windowZooming(_formel);
  3023. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3024. var _formel = document.getElementById("studentStudy");
  3025. U.UF.F.windowZooming(_formel);
  3026. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3027. // var _formel = document.getElementById("study");
  3028. //如果最大化了,那么就把他缩小
  3029. // if (_formel.ismaximize) {
  3030. // return;
  3031. // }
  3032. // U.UF.F.windowZooming(_formel);
  3033. // U.UF.F.topWindow(_formel);
  3034. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3035. // var _formel = document.getElementById("studyDetail");
  3036. //如果最大化了,那么就把他缩小
  3037. // if (_formel.ismaximize) {
  3038. // return;
  3039. // }
  3040. // U.UF.F.windowZooming(_formel);
  3041. // U.UF.F.topWindow(_formel);
  3042. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3043. // var _formel = document.getElementById("studentStudy");
  3044. // if (_formel.ismaximize) {
  3045. // return;
  3046. // }
  3047. // U.UF.F.windowZooming(_formel);
  3048. // U.UF.F.topWindow(_formel);
  3049. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3050. var _formel = document.getElementById("study");
  3051. // if (_formel.ismaximize) {
  3052. // return;
  3053. // }
  3054. // U.UF.F.windowZooming(_formel);
  3055. U.UF.F.topWindow(_formel);
  3056. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3057. var _formel = document.getElementById("studentIndex");
  3058. U.UF.F.windowZooming(_formel);
  3059. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3060. var _formel = document.getElementById("studyDetailS");
  3061. U.UF.F.windowZooming(_formel);
  3062. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3063. var _formel = document.getElementById("studioIndex");
  3064. U.UF.F.windowZooming(_formel);
  3065. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3066. var _formel = document.getElementById("studyDetailStudio");
  3067. U.UF.F.windowZooming(_formel);
  3068. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3069. var _formel = document.getElementById("studyDetailStudio");
  3070. U.UF.F.windowZooming(_formel);
  3071. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3072. var _formel = document.getElementById("studyDetailNT");
  3073. U.UF.F.windowZooming(_formel);
  3074. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3075. var _formel = document.getElementById("studyDetailS");
  3076. U.UF.F.windowZooming(_formel);
  3077. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3078. var _formel = document.getElementById("studyDetailS");
  3079. U.UF.F.topWindow(_formel);
  3080. } else if (e.data.tools && e.data.tools == "1") {
  3081. // U.MD.D.I.openApplication("whiteboard")
  3082. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3083. } else if (e.data.tools && e.data.tools == "2") {
  3084. U.MD.D.I.openApplication("note")
  3085. } else if (e.data.tools && e.data.tools == "3") {
  3086. // U.MD.D.I.openApplication("mind")
  3087. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3088. } else if (e.data.tools && e.data.tools == "4") {
  3089. U.MD.D.I.openApplication("investigation")
  3090. } else if (e.data.tools && e.data.tools == "6") {
  3091. // U.MD.D.I.openApplication("doc")
  3092. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3093. } else if (e.data.tools && e.data.tools == "7") {
  3094. // U.MD.D.I.openApplication("mindNetwork")
  3095. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3096. } else if (e.data.tools && e.data.tools == "8") {
  3097. U.MD.D.I.openApplication("library")
  3098. } else if (e.data.tools && e.data.tools == "17") {
  3099. U.MD.D.I.openApplication("stuLibrary")
  3100. } else if (e.data.tools && e.data.tools == "18") {
  3101. U.MD.D.I.openApplication("train")
  3102. } else if (e.data.tools && e.data.tools == "21") {
  3103. U.MD.D.I.openApplication("program")
  3104. } else if (e.data.tools && e.data.tools == "22") {
  3105. U.MD.D.I.openApplication("AIprogram2")
  3106. } else if (e.data.tools && e.data.tools == "23") {
  3107. U.MD.D.I.openApplication("Pythonprogram")
  3108. } else if (e.data.tools && e.data.tools == "24") {
  3109. U.MD.D.I.openApplication("AIprogram")
  3110. } else if (e.data.tools && e.data.tools == "25") {
  3111. U.MD.D.I.openApplication("sys")
  3112. } else if (e.data.tools && e.data.tools == "26") {
  3113. // U.MD.D.I.openApplication("courseDesign")
  3114. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3115. } else if (e.data.tools && e.data.tools == "31") {
  3116. U.MD.D.I.openApplication("netWorkPanel")
  3117. } else if (e.data.tools && e.data.tools == "32") {
  3118. U.MD.D.I.openApplication("codeEdit")
  3119. } else if (e.data.tools && e.data.tools == "57") {
  3120. U.MD.D.I.openApplication("CocoPi")
  3121. } else if (e.data.tools && e.data.tools == "63") {
  3122. U.MD.D.I.openApplication("Wood")
  3123. } else if (e.data.tools && e.data.tools == "58") {
  3124. U.MD.D.I.openApplication("car")
  3125. } else if (e.data.tools && e.data.tools == "59") {
  3126. U.MD.D.I.openApplication("lineSearch")
  3127. } else if (e.data.tools && e.data.tools == "60") {
  3128. U.MD.D.I.openApplication("deepLearning")
  3129. } else if (e.data.tools && e.data.tools == "61") {
  3130. U.MD.D.I.openApplication("allHistory")
  3131. } else if (e.data.tools && e.data.tools == "28") {
  3132. U.MD.D.I.openApplication("translation")
  3133. } else if (e.data.tools && e.data.tools == "37") {
  3134. U.MD.D.I.openApplication("mohe")
  3135. } else if (e.data.tools && e.data.tools == "38") {
  3136. U.MD.D.I.openApplication("24game")
  3137. } else if (e.data.tools && e.data.tools == "39") {
  3138. U.MD.D.I.openApplication("GeoGebra")
  3139. } else if (e.data.tools && e.data.tools == "43") {
  3140. U.MD.D.I.openApplication("studentEvaluate")
  3141. } else if (e.data.tools && e.data.tools == "44") {
  3142. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3143. } else if (e.data.tools && e.data.tools == "46") {
  3144. U.MD.D.I.openApplication("project")
  3145. } else if (e.data.tools && e.data.tools == "71") {
  3146. U.MD.D.I.openApplication("aigptCourse")
  3147. } else if (e.data.tools && e.data.tools == "1s") {
  3148. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3149. } else if (e.data.tools && e.data.tools == "3s") {
  3150. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3151. } else if (e.data.tools && e.data.tools == "6s") {
  3152. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3153. } else if (e.data.tools && e.data.tools == "1studio") {
  3154. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3155. } else if (e.data.tools && e.data.tools == "3studio") {
  3156. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3157. } else if (e.data.tools && e.data.tools == "6studio") {
  3158. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3159. } else if (e.data.tools && e.data.tools == "3y") {
  3160. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3161. } else if (e.data.tools && e.data.tools == "1y") {
  3162. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3163. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3164. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3165. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3166. U.MD.D.I.openApplication("AIAnalyse")
  3167. } else if (e.data.tools && e.data.tools == "1teacher") {
  3168. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3169. } else if (e.data.tools && e.data.tools == "3teacher") {
  3170. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3171. } else if (e.data.tools && e.data.tools == "7teacher") {
  3172. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3173. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3174. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3175. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3176. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3177. } else if (e.data.tools && e.data.tools == "1E") {
  3178. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3179. } else if (e.data.tools && e.data.tools == "3E") {
  3180. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3181. } else if (e.data.tools && e.data.tools == "57y") {
  3182. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3183. } else if (e.data.tools && e.data.tools == "57u") {
  3184. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3185. } else if (e.data.tools && e.data.tools == "57teacher") {
  3186. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3187. } else if (e.data.tools && e.data.tools == "64") {
  3188. U.MD.D.I.openApplication("AIChat")
  3189. } else if (e.data.tools && e.data.tools == "66") {
  3190. U.MD.D.I.openApplication("formulaEdi")
  3191. } else if (e.data.tools && e.data.tools == "67") {
  3192. U.MD.D.I.openApplication("molStr")
  3193. } else if (e.data.tools && e.data.tools == "68") {
  3194. U.MD.D.I.openApplication("timeAxis")
  3195. } else if (e.data.tools && e.data.tools == "openCourse") {
  3196. let _data = {
  3197. typea: e.data.typea || '',
  3198. typeb: e.data.typeb || '',
  3199. typed: e.data.typed || '',
  3200. }
  3201. U.MD.D.I.openInApplication("index", _data)
  3202. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3203. let _data = {
  3204. classid: e.data.classid || '',
  3205. }
  3206. U.MD.D.I.openInApplication("dataClass", _data)
  3207. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3208. let _data = {
  3209. cid: e.data.cid || '',
  3210. gid: e.data.gid || '',
  3211. }
  3212. U.MD.D.I.openInApplication("opencCscl", _data)
  3213. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3214. U.MD.D.I.openApplication("dataBoardTest")
  3215. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3216. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3217. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3218. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3219. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3220. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3221. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3222. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3223. }else if (e.data.tools && e.data.tools == "loginSz") {
  3224. U.MD.D.I.openInApplication("loginSz")
  3225. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3226. if($('#classroom_observation_board')[0]){
  3227. // U.UF.F.closeWindow($('#classroom_observation_board'))
  3228. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  3229. }
  3230. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3231. }
  3232. });
  3233. U.MD.D.I.selectUser = function () {
  3234. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3235. if (res.value[0].length > 0) {
  3236. US.userInfo = res.value[0][0];
  3237. $(".userName")[0].innerHTML = US.userInfo.username;
  3238. }
  3239. }, [], { "type": "GET", "withCredentials": true });
  3240. }
  3241. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3242. var _userinfo = US.userInfo, //登录用户信息
  3243. _userid = US.userInfo.userid, //登录用户id
  3244. _oid = _userinfo.organizeid,
  3245. _type = US.userInfo.type,
  3246. _org = US.userInfo.org,
  3247. _role = US.userInfo.role,
  3248. _classId = US.userInfo.classid;
  3249. if (_type == 4) {
  3250. tType = 4
  3251. }
  3252. switch (str) {
  3253. case "studyDetailNT": //无终端模式
  3254. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3255. setTimeout(() => {
  3256. U.MD.U.L.login();
  3257. }, 2000);
  3258. } else {
  3259. _formdiv = new U.UF.UI.form(
  3260. "课程详情",
  3261. $$("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 }), {
  3262. "id": "studyDetailNT",
  3263. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3264. "onresize": function () { }
  3265. }, {
  3266. closecallback: function () { }
  3267. }, { "style": { "height": "36px" } }).form; //创建窗体
  3268. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3269. break;
  3270. }
  3271. case "studyDetail":
  3272. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3273. setTimeout(() => {
  3274. U.MD.U.L.login();
  3275. }, 2000);
  3276. } else {
  3277. _formdiv = new U.UF.UI.form(
  3278. "课程详情",
  3279. $$("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 }), {
  3280. "id": "studyDetail",
  3281. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3282. "onresize": function () { }
  3283. }, {
  3284. closecallback: function () { }
  3285. }, { "style": { "height": "36px" } }).form; //创建窗体
  3286. _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); } }
  3287. break;
  3288. }
  3289. case "studyDetailTrain":
  3290. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3291. setTimeout(() => {
  3292. U.MD.U.L.login();
  3293. }, 2000);
  3294. } else {
  3295. _formdiv = new U.UF.UI.form(
  3296. "培训详情",
  3297. $$("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/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3298. "id": "studyDetailTrain",
  3299. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3300. "onresize": function () { }
  3301. }, {
  3302. closecallback: function () { }
  3303. }, { "style": { "height": "36px" } }).form; //创建窗体
  3304. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3305. break;
  3306. }
  3307. case "studyDetailS":
  3308. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3309. setTimeout(() => {
  3310. U.MD.U.L.login();
  3311. }, 2000);
  3312. } else {
  3313. _formdiv = new U.UF.UI.form(
  3314. "项目详情",
  3315. $$("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 }), {
  3316. "id": "studyDetailS",
  3317. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3318. "onresize": function () { }
  3319. }, {
  3320. closecallback: function () { }
  3321. }, { "style": { "height": "36px" } }).form; //创建窗体
  3322. _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); } }
  3323. break;
  3324. }
  3325. case "studyDetailStudio":
  3326. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3327. setTimeout(() => {
  3328. U.MD.U.L.login();
  3329. }, 2000);
  3330. } else {
  3331. _formdiv = new U.UF.UI.form(
  3332. "工作详情",
  3333. $$("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 }), {
  3334. "id": "studyDetailStudio",
  3335. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3336. "onresize": function () { }
  3337. }, {
  3338. closecallback: function () { }
  3339. }, { "style": { "height": "36px" } }).form; //创建窗体
  3340. _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); } }
  3341. break;
  3342. }
  3343. case "studyDetailS5":
  3344. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3345. setTimeout(() => {
  3346. U.MD.U.L.login();
  3347. }, 2000);
  3348. } else {
  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/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3352. "id": "studyDetailS",
  3353. "style": { "width": "95%", "height": "95%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3359. break;
  3360. }
  3361. case "studyDetailGM":
  3362. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3363. setTimeout(() => {
  3364. U.MD.U.L.login();
  3365. }, 2000);
  3366. } else {
  3367. _formdiv = new U.UF.UI.form(
  3368. "课程详情",
  3369. $$("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 }), {
  3370. "id": "studyDetail",
  3371. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3372. "onresize": function () { }
  3373. }, {
  3374. closecallback: function () { }
  3375. }, { "style": { "height": "36px" } }).form; //创建窗体
  3376. _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); } }
  3377. break;
  3378. }
  3379. case "hanUrl":
  3380. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3381. setTimeout(() => {
  3382. U.MD.U.L.login();
  3383. }, 2000);
  3384. } else {
  3385. _formdiv = new U.UF.UI.form(
  3386. "汉字宫",
  3387. $$("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" }), {
  3388. "id": "hanUrl",
  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/hanClass.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3395. break;
  3396. }
  3397. case "index":
  3398. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3399. setTimeout(() => {
  3400. U.MD.U.L.login();
  3401. }, 2000);
  3402. } else {
  3403. _formdiv = new U.UF.UI.form(
  3404. "课程中心",
  3405. $$("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 }), {
  3406. "id": "study",
  3407. "style": { "width": "100%", "height": "100%", "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/studentCourse.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3413. break;
  3414. }
  3415. case "dataClass":
  3416. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3417. setTimeout(() => {
  3418. U.MD.U.L.login();
  3419. }, 2000);
  3420. } else {
  3421. _formdiv = new U.UF.UI.form(
  3422. "数据报告",
  3423. $$("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 }), {
  3424. "id": "dataClass",
  3425. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3426. "onresize": function () { }
  3427. }, {
  3428. closecallback: function () { }
  3429. }, { "style": { "height": "36px" } }).form; //创建窗体
  3430. _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); } }
  3431. break;
  3432. }
  3433. case "opencCscl":
  3434. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3435. setTimeout(() => {
  3436. U.MD.U.L.login();
  3437. }, 2000);
  3438. } else {
  3439. _formdiv = new U.UF.UI.form(
  3440. "协同建构",
  3441. $$("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://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3442. "id": "futureClass",
  3443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. }
  3451. case "openCourseUpdate":
  3452. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3453. setTimeout(() => {
  3454. U.MD.U.L.login();
  3455. }, 2000);
  3456. } else {
  3457. _formdiv = new U.UF.UI.form(
  3458. "课程管理",
  3459. $$("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/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3460. "id": "openCourseUpdate",
  3461. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3462. "onresize": function () { }
  3463. }, {
  3464. closecallback: function () { }
  3465. }, { "style": { "height": "36px" } }).form; //创建窗体
  3466. break;
  3467. }
  3468. case "openNewCourseUpdate":
  3469. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3470. setTimeout(() => {
  3471. U.MD.U.L.login();
  3472. }, 2000);
  3473. } else {
  3474. _formdiv = new U.UF.UI.form(
  3475. "课程管理",
  3476. $$("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/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3477. "id": "openCourseUpdate",
  3478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3479. "onresize": function () { }
  3480. }, {
  3481. closecallback: function () { }
  3482. }, { "style": { "height": "36px" } }).form; //创建窗体
  3483. break;
  3484. }
  3485. case "openCourseEUpdate":
  3486. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3487. setTimeout(() => {
  3488. U.MD.U.L.login();
  3489. }, 2000);
  3490. } else {
  3491. _formdiv = new U.UF.UI.form(
  3492. "课程管理",
  3493. $$("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/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3494. "id": "openCourseUpdate",
  3495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function () { }
  3497. }, {
  3498. closecallback: function () { }
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. break;
  3501. }
  3502. case "openCourseNewUpdate":
  3503. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3504. setTimeout(() => {
  3505. U.MD.U.L.login();
  3506. }, 2000);
  3507. } else {
  3508. _formdiv = new U.UF.UI.form(
  3509. "课程管理",
  3510. $$("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/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3511. "id": "openCourseUpdate",
  3512. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3513. "onresize": function () { }
  3514. }, {
  3515. closecallback: function () { }
  3516. }, { "style": { "height": "36px" } }).form; //创建窗体
  3517. break;
  3518. }
  3519. case "inviteLoginSz":
  3520. _formdiv = new U.UF.UI.form(
  3521. "随机码登录",
  3522. $$("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/#/inviteLoginSZ?code=" + data }), {
  3523. "id": "loginSz",
  3524. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3525. "onresize": function () { }
  3526. }, {
  3527. closecallback: function () { }
  3528. }, { "style": { "height": "36px" } }).form; //创建窗体
  3529. break;
  3530. case "loginSz":
  3531. _formdiv = new U.UF.UI.form(
  3532. "教师登录",
  3533. $$("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://edu.cocorobo.cn/ResourcesLogin" }), {
  3534. "id": "loginSz",
  3535. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function () { }
  3537. }, {
  3538. closecallback: function () { }
  3539. }, { "style": { "height": "36px" } }).form; //创建窗体
  3540. break;
  3541. case "teacher":
  3542. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3543. setTimeout(() => {
  3544. U.MD.U.L.login();
  3545. }, 2000);
  3546. } else {
  3547. _formdiv = new U.UF.UI.form(
  3548. "教师管理",
  3549. $$("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/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3550. "id": "teacher",
  3551. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function () { }
  3553. }, {
  3554. closecallback: function () { }
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. break;
  3557. }
  3558. case "dataBoardSZArea":
  3559. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3560. setTimeout(() => {
  3561. U.MD.U.L.login();
  3562. }, 2000);
  3563. } else {
  3564. _formdiv = new U.UF.UI.form(
  3565. "综合数据看板",
  3566. $$("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/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3567. "id": "dataBoardSZArea",
  3568. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3569. "onresize": function () { }
  3570. }, {
  3571. closecallback: function () { }
  3572. }, { "style": { "height": "36px" } }).form; //创建窗体
  3573. break;
  3574. }
  3575. case "dataBoardSZCity":
  3576. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3577. setTimeout(() => {
  3578. U.MD.U.L.login();
  3579. }, 2000);
  3580. } else {
  3581. _formdiv = new U.UF.UI.form(
  3582. "综合数据看板",
  3583. $$("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/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3584. "id": "dataBoardSZCity",
  3585. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3586. "onresize": function () { }
  3587. }, {
  3588. closecallback: function () { }
  3589. }, { "style": { "height": "36px" } }).form; //创建窗体
  3590. break;
  3591. }
  3592. case "classroom_observation_board":
  3593. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3594. setTimeout(() => {
  3595. U.MD.U.L.login();
  3596. }, 2000);
  3597. } else {
  3598. _formdiv = new U.UF.UI.form(
  3599. "课堂观察",
  3600. $$("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://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_board?tid="+data }), {
  3601. "id": "classroom_observation_board",
  3602. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3603. "onresize": function () { }
  3604. }, {
  3605. closecallback: function () { }
  3606. }, { "style": { "height": "36px" } }).form; //创建窗体
  3607. break;
  3608. }
  3609. }
  3610. }
  3611. U.MD.D.I.openApplication = function (str, obj, info) {
  3612. obj = obj || {};
  3613. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3614. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3615. _userinfo = US.userInfo, //登录用户信息
  3616. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3617. _oid = obj.organizeid || _userinfo.organizeid,
  3618. _type = US.userInfo.type,
  3619. _org = US.userInfo.org,
  3620. _role = US.userInfo.role,
  3621. _classId = US.userInfo.classid,
  3622. _TscreenType = 1
  3623. _screenType = 2,
  3624. _SscreenType = 3;
  3625. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3626. return;
  3627. }
  3628. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3629. switch (str) {
  3630. case "studnetProject": //好友打开
  3631. _formdiv = new U.UF.UI.form(
  3632. "我的项目",
  3633. $$("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 }), {
  3634. "id": "studnetProject",
  3635. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function () { }
  3637. }, {
  3638. closecallback: function () { }
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _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); } }
  3641. break;
  3642. case "studentEvaluate": //好友打开
  3643. _formdiv = new U.UF.UI.form(
  3644. "我的评价",
  3645. $$("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 }), {
  3646. "id": "studentEvaluate",
  3647. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function () { }
  3649. }, {
  3650. closecallback: function () { }
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _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); } }
  3653. break;
  3654. case "my":
  3655. _formdiv = new U.UF.UI.form(
  3656. "我的资料",
  3657. $$("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 }), {
  3658. "id": "my",
  3659. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function () { }
  3661. }, {
  3662. closecallback: function () { }
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _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); } }
  3665. break;
  3666. case "program":
  3667. _formdiv = new U.UF.UI.form(
  3668. "编程平台",
  3669. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3670. "id": "program",
  3671. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _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); } }
  3677. break;
  3678. case "library":
  3679. _formdiv = new U.UF.UI.form(
  3680. "素材库",
  3681. $$("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 }), {
  3682. "id": "library",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _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); } }
  3689. break;
  3690. case "whiteboard":
  3691. _formdiv = new U.UF.UI.form(
  3692. "电子白板",
  3693. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  3694. "id": "whiteboard",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _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); } }
  3701. break;
  3702. case "investigation":
  3703. _formdiv = new U.UF.UI.form(
  3704. "问卷调查",
  3705. $$("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 }), {
  3706. "id": "investigation",
  3707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _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); } }
  3713. break;
  3714. case "note":
  3715. _formdiv = new U.UF.UI.form(
  3716. "便签分类",
  3717. $$("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 }), {
  3718. "id": "note",
  3719. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function () { }
  3721. }, {
  3722. closecallback: function () { }
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _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); } }
  3725. break;
  3726. // case "score":
  3727. // _formdiv = new U.UF.UI.form(
  3728. // "量规评分",
  3729. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3730. // "id": "score",
  3731. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3732. // "onresize": function() {}
  3733. // }, {
  3734. // closecallback: function() {}
  3735. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. // _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); } }
  3737. // break;
  3738. case "mind":
  3739. _formdiv = new U.UF.UI.form(
  3740. "思维导图",
  3741. $$("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"
  3742. "id": "mind",
  3743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function () { }
  3745. }, {
  3746. closecallback: function () { }
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _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); } }
  3749. break;
  3750. case "doc":
  3751. // U.MD.D.I.isRoom();
  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": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3755. "id": "doc",
  3756. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3757. "onresize": function () { }
  3758. }, {
  3759. closecallback: function () { }
  3760. }, { "style": { "height": "36px" } }).form; //创建窗体
  3761. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3762. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3763. // })
  3764. _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); } }
  3765. break;
  3766. case "studentStudy":
  3767. _formdiv = new U.UF.UI.form(
  3768. "课程中心",
  3769. $$("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
  3770. "id": "studentStudy",
  3771. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3772. "onresize": function () { }
  3773. }, {
  3774. closecallback: function () { }
  3775. }, { "style": { "height": "36px" } }).form; //创建窗体
  3776. _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); } }
  3777. break;
  3778. case "train": //好友打开
  3779. _formdiv = new U.UF.UI.form(
  3780. "训练平台",
  3781. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3782. "id": "train",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function () { }
  3785. }, {
  3786. closecallback: function () { }
  3787. }, { "style": { "height": "36px" } }).form; //创建窗体
  3788. _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); } }
  3789. break;
  3790. case "mindNetwork": //好友打开
  3791. _formdiv = new U.UF.UI.form(
  3792. "思维网格",
  3793. $$("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 }), {
  3794. "id": "mindNetwork",
  3795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3796. "onresize": function () { }
  3797. }, {
  3798. closecallback: function () { }
  3799. }, { "style": { "height": "36px" } }).form; //创建窗体
  3800. _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); } }
  3801. break;
  3802. case "studentClassRoom": //好友打开
  3803. _formdiv = new U.UF.UI.form(
  3804. "实时课堂",
  3805. $$("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 }), {
  3806. "id": "studentClassRoom",
  3807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function () { }
  3809. }, {
  3810. closecallback: function () { }
  3811. }, { "style": { "height": "36px" } }).form; //创建窗体
  3812. _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); } }
  3813. setTimeout(() => {
  3814. U.UF.F.windowZooming(_formdiv)
  3815. }, 0);
  3816. break;
  3817. }
  3818. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3819. switch (str) {
  3820. case "studnetProject": //好友打开
  3821. _formdiv = new U.UF.UI.form(
  3822. "我的项目",
  3823. $$("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 }), {
  3824. "id": "studnetProject",
  3825. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3826. "onresize": function () { }
  3827. }, {
  3828. closecallback: function () { }
  3829. }, { "style": { "height": "36px" } }).form; //创建窗体
  3830. _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); } }
  3831. break;
  3832. case "studentEvaluate": //好友打开
  3833. _formdiv = new U.UF.UI.form(
  3834. "我的评价",
  3835. $$("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 }), {
  3836. "id": "studentEvaluate",
  3837. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3838. "onresize": function () { }
  3839. }, {
  3840. closecallback: function () { }
  3841. }, { "style": { "height": "36px" } }).form; //创建窗体
  3842. _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); } }
  3843. break;
  3844. case "my":
  3845. _formdiv = new U.UF.UI.form(
  3846. "我的资料",
  3847. $$("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 }), {
  3848. "id": "my",
  3849. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function () { }
  3851. }, {
  3852. closecallback: function () { }
  3853. }, { "style": { "height": "36px" } }).form; //创建窗体
  3854. _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); } }
  3855. break;
  3856. case "program":
  3857. _formdiv = new U.UF.UI.form(
  3858. "编程平台",
  3859. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3860. "id": "program",
  3861. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3862. "onresize": function () { }
  3863. }, {
  3864. closecallback: function () { }
  3865. }, { "style": { "height": "36px" } }).form; //创建窗体
  3866. _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); } }
  3867. break;
  3868. case "library":
  3869. _formdiv = new U.UF.UI.form(
  3870. "素材库",
  3871. $$("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 }), {
  3872. "id": "library",
  3873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3874. "onresize": function () { }
  3875. }, {
  3876. closecallback: function () { }
  3877. }, { "style": { "height": "36px" } }).form; //创建窗体
  3878. _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); } }
  3879. break;
  3880. case "whiteboard":
  3881. _formdiv = new U.UF.UI.form(
  3882. "电子白板",
  3883. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  3884. "id": "whiteboard",
  3885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3886. "onresize": function () { }
  3887. }, {
  3888. closecallback: function () { }
  3889. }, { "style": { "height": "36px" } }).form; //创建窗体
  3890. _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); } }
  3891. break;
  3892. case "investigation":
  3893. _formdiv = new U.UF.UI.form(
  3894. "问卷调查",
  3895. $$("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 }), {
  3896. "id": "investigation",
  3897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function () { }
  3899. }, {
  3900. closecallback: function () { }
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _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); } }
  3903. break;
  3904. case "note":
  3905. _formdiv = new U.UF.UI.form(
  3906. "便签分类",
  3907. $$("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 }), {
  3908. "id": "note",
  3909. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3910. "onresize": function () { }
  3911. }, {
  3912. closecallback: function () { }
  3913. }, { "style": { "height": "36px" } }).form; //创建窗体
  3914. _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); } }
  3915. break;
  3916. // case "score":
  3917. // _formdiv = new U.UF.UI.form(
  3918. // "量规评分",
  3919. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3920. // "id": "score",
  3921. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3922. // "onresize": function() {}
  3923. // }, {
  3924. // closecallback: function() {}
  3925. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. // _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); } }
  3927. // break;
  3928. case "mind":
  3929. _formdiv = new U.UF.UI.form(
  3930. "思维导图",
  3931. $$("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"
  3932. "id": "mind",
  3933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function () { }
  3935. }, {
  3936. closecallback: function () { }
  3937. }, { "style": { "height": "36px" } }).form; //创建窗体
  3938. _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); } }
  3939. break;
  3940. case "doc":
  3941. // U.MD.D.I.isRoom();
  3942. _formdiv = new U.UF.UI.form(
  3943. "协同文档",
  3944. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3945. "id": "doc",
  3946. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3947. "onresize": function () { }
  3948. }, {
  3949. closecallback: function () { }
  3950. }, { "style": { "height": "36px" } }).form; //创建窗体
  3951. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3952. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3953. })
  3954. _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); } }
  3955. break;
  3956. case "train": //好友打开
  3957. _formdiv = new U.UF.UI.form(
  3958. "训练平台",
  3959. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3960. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3967. break;
  3968. case "studentStudy":
  3969. _formdiv = new U.UF.UI.form(
  3970. "课程中心",
  3971. $$("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
  3972. "id": "studentStudy",
  3973. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3974. "onresize": function () { }
  3975. }, {
  3976. closecallback: function () { }
  3977. }, { "style": { "height": "36px" } }).form; //创建窗体
  3978. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3979. break;
  3980. case "mindNetwork": //好友打开
  3981. _formdiv = new U.UF.UI.form(
  3982. "思维网格",
  3983. $$("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 }), {
  3984. "id": "mindNetwork",
  3985. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3986. "onresize": function () { }
  3987. }, {
  3988. closecallback: function () { }
  3989. }, { "style": { "height": "36px" } }).form; //创建窗体
  3990. _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); } }
  3991. break;
  3992. case "studentClassRoom": //好友打开
  3993. _formdiv = new U.UF.UI.form(
  3994. "实时课堂",
  3995. $$("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 }), {
  3996. "id": "studentClassRoom",
  3997. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3998. "onresize": function () { }
  3999. }, {
  4000. closecallback: function () { }
  4001. }, { "style": { "height": "36px" } }).form; //创建窗体
  4002. _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); } }
  4003. setTimeout(() => {
  4004. U.UF.F.windowZooming(_formdiv)
  4005. }, 0);
  4006. break;
  4007. }
  4008. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4009. //选择应用处理
  4010. switch (str) {
  4011. case "project": //好友打开
  4012. _formdiv = new U.UF.UI.form(
  4013. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  4014. $$("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 }), {
  4015. "id": "project",
  4016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _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); } }
  4022. break;
  4023. case "student":
  4024. _formdiv = new U.UF.UI.form(
  4025. "学生管理",
  4026. $$("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 }), {
  4027. "id": "student",
  4028. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4029. "onresize": function () { }
  4030. }, {
  4031. closecallback: function () { }
  4032. }, { "style": { "height": "36px" } }).form; //创建窗体
  4033. _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); } }
  4034. break;
  4035. case "evaluate":
  4036. _formdiv = new U.UF.UI.form(
  4037. "学生评价",
  4038. $$("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 }), {
  4039. "id": "evaluate",
  4040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4041. "onresize": function () { }
  4042. }, {
  4043. closecallback: function () { }
  4044. }, { "style": { "height": "36px" } }).form; //创建窗体
  4045. _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); } }
  4046. break;
  4047. case "sys":
  4048. _formdiv = new U.UF.UI.form(
  4049. "目标管理",
  4050. $$("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 }), {
  4051. "id": "sys",
  4052. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4053. "onresize": function () { }
  4054. }, {
  4055. closecallback: function () { }
  4056. }, { "style": { "height": "36px" } }).form; //创建窗体
  4057. _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); } }
  4058. break;
  4059. case "courseDesign":
  4060. _formdiv = new U.UF.UI.form(
  4061. "项目设计",
  4062. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4063. "id": "courseDesign",
  4064. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4065. "onresize": function () { }
  4066. }, {
  4067. closecallback: function () { }
  4068. }, { "style": { "height": "36px" } }).form; //创建窗体
  4069. _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); } }
  4070. break;
  4071. case "program":
  4072. _formdiv = new U.UF.UI.form(
  4073. "编程平台",
  4074. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4075. "id": "program",
  4076. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4077. "onresize": function () { }
  4078. }, {
  4079. closecallback: function () { }
  4080. }, { "style": { "height": "36px" } }).form; //创建窗体
  4081. _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); } }
  4082. break;
  4083. case "class":
  4084. _formdiv = new U.UF.UI.form(
  4085. "班级管理",
  4086. $$("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 }), {
  4087. "id": "class",
  4088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4089. "onresize": function () { }
  4090. }, {
  4091. closecallback: function () { }
  4092. }, { "style": { "height": "36px" } }).form; //创建窗体
  4093. _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); } }
  4094. break;
  4095. case "Grade":
  4096. _formdiv = new U.UF.UI.form(
  4097. "年级管理",
  4098. $$("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 }), {
  4099. "id": "Grade",
  4100. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4101. "onresize": function () { }
  4102. }, {
  4103. closecallback: function () { }
  4104. }, { "style": { "height": "36px" } }).form; //创建窗体
  4105. _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); } }
  4106. break;
  4107. case "teacherOffice":
  4108. _formdiv = new U.UF.UI.form(
  4109. "教研室",
  4110. $$("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 }), {
  4111. "id": "teacherOffice",
  4112. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4113. "onresize": function () { }
  4114. }, {
  4115. closecallback: function () { }
  4116. }, { "style": { "height": "36px" } }).form; //创建窗体
  4117. _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); } }
  4118. break;
  4119. case "my":
  4120. _formdiv = new U.UF.UI.form(
  4121. "我的资料",
  4122. $$("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 }), {
  4123. "id": "my",
  4124. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4125. "onresize": function () { }
  4126. }, {
  4127. closecallback: function () { }
  4128. }, { "style": { "height": "36px" } }).form; //创建窗体
  4129. _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); } }
  4130. break;
  4131. case "notice":
  4132. _formdiv = new U.UF.UI.form(
  4133. "通知公告",
  4134. $$("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 }), {
  4135. "id": "notice",
  4136. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4137. "onresize": function () { }
  4138. }, {
  4139. closecallback: function () { }
  4140. }, { "style": { "height": "36px" } }).form; //创建窗体
  4141. _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); } }
  4142. break;
  4143. case "library":
  4144. _formdiv = new U.UF.UI.form(
  4145. "素材库",
  4146. $$("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 }), {
  4147. "id": "library",
  4148. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4149. "onresize": function () { }
  4150. }, {
  4151. closecallback: function () { }
  4152. }, { "style": { "height": "36px" } }).form; //创建窗体
  4153. _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); } }
  4154. break;
  4155. case "whiteboard":
  4156. _formdiv = new U.UF.UI.form(
  4157. "电子白板",
  4158. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4159. "id": "whiteboard",
  4160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4161. "onresize": function () { }
  4162. }, {
  4163. closecallback: function () { }
  4164. }, { "style": { "height": "36px" } }).form; //创建窗体
  4165. _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); } }
  4166. break;
  4167. case "investigation":
  4168. _formdiv = new U.UF.UI.form(
  4169. "问卷调查",
  4170. $$("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 }), {
  4171. "id": "investigation",
  4172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4173. "onresize": function () { }
  4174. }, {
  4175. closecallback: function () { }
  4176. }, { "style": { "height": "36px" } }).form; //创建窗体
  4177. _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); } }
  4178. break;
  4179. case "note":
  4180. _formdiv = new U.UF.UI.form(
  4181. "便签分类",
  4182. $$("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 }), {
  4183. "id": "note",
  4184. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4185. "onresize": function () { }
  4186. }, {
  4187. closecallback: function () { }
  4188. }, { "style": { "height": "36px" } }).form; //创建窗体
  4189. _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); } }
  4190. break;
  4191. // case "score":
  4192. // _formdiv = new U.UF.UI.form(
  4193. // "量规评分",
  4194. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4195. // "id": "score",
  4196. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4197. // "onresize": function() {}
  4198. // }, {
  4199. // closecallback: function() {}
  4200. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4201. // _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); } }
  4202. // break;
  4203. case "mind":
  4204. _formdiv = new U.UF.UI.form(
  4205. "思维导图",
  4206. $$("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"
  4207. "id": "mind",
  4208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _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); } }
  4214. break;
  4215. case "doc":
  4216. // U.MD.D.I.isRoom();
  4217. _formdiv = new U.UF.UI.form(
  4218. "协同文档",
  4219. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4220. "id": "doc",
  4221. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4222. "onresize": function () { }
  4223. }, {
  4224. closecallback: function () { }
  4225. }, { "style": { "height": "36px" } }).form; //创建窗体
  4226. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4227. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4228. })
  4229. _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); } }
  4230. break;
  4231. case "study":
  4232. _formdiv = new U.UF.UI.form(
  4233. "课程中心",
  4234. $$("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
  4235. "id": "study",
  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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4242. break;
  4243. case "mindNetwork": //好友打开
  4244. _formdiv = new U.UF.UI.form(
  4245. "思维网格",
  4246. $$("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 }), {
  4247. "id": "mindNetwork",
  4248. "style": { "width": "90%", "height": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4254. break;
  4255. case "train": //好友打开
  4256. _formdiv = new U.UF.UI.form(
  4257. "训练平台",
  4258. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4259. "id": "mindNetwork",
  4260. "style": { "width": "90%", "height": "90%", "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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4266. break;
  4267. case "teacherClassRoom": //好友打开
  4268. _formdiv = new U.UF.UI.form(
  4269. "实时课堂",
  4270. $$("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 }), {
  4271. "id": "teacherClassRoom",
  4272. "style": { "width": "90%", "height": "90%", "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4278. setTimeout(() => {
  4279. U.UF.F.windowZooming(_formdiv)
  4280. }, 0);
  4281. break;
  4282. }
  4283. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4284. switch (str) {
  4285. case "project": //好友打开
  4286. _formdiv = new U.UF.UI.form(
  4287. "课程管理",
  4288. $$("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 }), {
  4289. "id": "project",
  4290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4291. "onresize": function () { }
  4292. }, {
  4293. closecallback: function () { }
  4294. }, { "style": { "height": "36px" } }).form; //创建窗体
  4295. _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); } }
  4296. break;
  4297. case "evaluate":
  4298. _formdiv = new U.UF.UI.form(
  4299. "学生评价",
  4300. $$("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 }), {
  4301. "id": "evaluate",
  4302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4303. "onresize": function () { }
  4304. }, {
  4305. closecallback: function () { }
  4306. }, { "style": { "height": "36px" } }).form; //创建窗体
  4307. _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); } }
  4308. break;
  4309. case "notice":
  4310. _formdiv = new U.UF.UI.form(
  4311. "通知公告",
  4312. $$("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 }), {
  4313. "id": "notice",
  4314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function () { }
  4316. }, {
  4317. closecallback: function () { }
  4318. }, { "style": { "height": "36px" } }).form; //创建窗体
  4319. _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); } }
  4320. break;
  4321. case "stuLibrary":
  4322. _formdiv = new U.UF.UI.form(
  4323. "学习资料",
  4324. $$("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 }), {
  4325. "id": "stuLibrary",
  4326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4327. "onresize": function () { }
  4328. }, {
  4329. closecallback: function () { }
  4330. }, { "style": { "height": "36px" } }).form; //创建窗体
  4331. _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); } }
  4332. break;
  4333. case "program":
  4334. _formdiv = new U.UF.UI.form(
  4335. "编程平台",
  4336. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4337. "id": "program",
  4338. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4339. "onresize": function () { }
  4340. }, {
  4341. closecallback: function () { }
  4342. }, { "style": { "height": "36px" } }).form; //创建窗体
  4343. _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); } }
  4344. break;
  4345. case "whiteboard":
  4346. _formdiv = new U.UF.UI.form(
  4347. "电子白板",
  4348. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4349. "id": "whiteboard",
  4350. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4351. "onresize": function () { }
  4352. }, {
  4353. closecallback: function () { }
  4354. }, { "style": { "height": "36px" } }).form; //创建窗体
  4355. _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); } }
  4356. break;
  4357. case "investigation":
  4358. _formdiv = new U.UF.UI.form(
  4359. "问卷调查",
  4360. $$("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 }), {
  4361. "id": "investigation",
  4362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4363. "onresize": function () { }
  4364. }, {
  4365. closecallback: function () { }
  4366. }, { "style": { "height": "36px" } }).form; //创建窗体
  4367. _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); } }
  4368. break;
  4369. case "mind":
  4370. _formdiv = new U.UF.UI.form(
  4371. "思维导图",
  4372. $$("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"
  4373. "id": "mind",
  4374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4375. "onresize": function () { }
  4376. }, {
  4377. closecallback: function () { }
  4378. }, { "style": { "height": "36px" } }).form; //创建窗体
  4379. _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); } }
  4380. break;
  4381. case "doc":
  4382. // U.MD.D.I.isRoom();
  4383. _formdiv = new U.UF.UI.form(
  4384. "协同文档",
  4385. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4386. "id": "doc",
  4387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4388. "onresize": function () { }
  4389. }, {
  4390. closecallback: function () { }
  4391. }, { "style": { "height": "36px" } }).form; //创建窗体
  4392. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4393. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4394. })
  4395. _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); } }
  4396. break;
  4397. case "study":
  4398. _formdiv = new U.UF.UI.form(
  4399. "课程中心",
  4400. $$("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
  4401. "id": "study",
  4402. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4403. "onresize": function () { }
  4404. }, {
  4405. closecallback: function () { }
  4406. }, { "style": { "height": "36px" } }).form; //创建窗体
  4407. _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); } }
  4408. break;
  4409. case "mindNetwork": //好友打开
  4410. _formdiv = new U.UF.UI.form(
  4411. "思维网格",
  4412. $$("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 }), {
  4413. "id": "mindNetwork",
  4414. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4415. "onresize": function () { }
  4416. }, {
  4417. closecallback: function () { }
  4418. }, { "style": { "height": "36px" } }).form; //创建窗体
  4419. _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); } }
  4420. break;
  4421. case "train": //好友打开
  4422. _formdiv = new U.UF.UI.form(
  4423. "训练平台",
  4424. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4425. "id": "train",
  4426. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4427. "onresize": function () { }
  4428. }, {
  4429. closecallback: function () { }
  4430. }, { "style": { "height": "36px" } }).form; //创建窗体
  4431. _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); } }
  4432. break;
  4433. case "sys":
  4434. _formdiv = new U.UF.UI.form(
  4435. "目标管理",
  4436. $$("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 }), {
  4437. "id": "sys",
  4438. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4439. "onresize": function () { }
  4440. }, {
  4441. closecallback: function () { }
  4442. }, { "style": { "height": "36px" } }).form; //创建窗体
  4443. _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); } }
  4444. break;
  4445. case "courseDesign":
  4446. _formdiv = new U.UF.UI.form(
  4447. "项目设计",
  4448. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4449. "id": "courseDesign",
  4450. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4451. "onresize": function () { }
  4452. }, {
  4453. closecallback: function () { }
  4454. }, { "style": { "height": "36px" } }).form; //创建窗体
  4455. _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); } }
  4456. break;
  4457. }
  4458. } else if (!_type) {
  4459. switch (str) {
  4460. case "my":
  4461. _formdiv = new U.UF.UI.form(
  4462. "我的资料",
  4463. $$("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 }), {
  4464. "id": "my",
  4465. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4466. "onresize": function () { }
  4467. }, {
  4468. closecallback: function () { }
  4469. }, { "style": { "height": "36px" } }).form; //创建窗体
  4470. _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); } }
  4471. break;
  4472. }
  4473. }
  4474. switch (str) {
  4475. // AIprogram2 AI体验 aihub.cocorobo.cn
  4476. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4477. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4478. case "formulaEdi": //公式编辑
  4479. _formdiv = new U.UF.UI.form(
  4480. "公式编辑",
  4481. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4482. "id": "formulaEdi",
  4483. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4484. "onresize": function () { }
  4485. }, {
  4486. closecallback: function () { }
  4487. }, { "style": { "height": "36px" } }).form; //创建窗体
  4488. _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); } }
  4489. break;
  4490. case "molStr": //分子结构
  4491. _formdiv = new U.UF.UI.form(
  4492. "分子结构",
  4493. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4494. "id": "molStr",
  4495. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4496. "onresize": function () { }
  4497. }, {
  4498. closecallback: function () { }
  4499. }, { "style": { "height": "36px" } }).form; //创建窗体
  4500. _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); } }
  4501. break;
  4502. case "timeAxis": //时间轴
  4503. _formdiv = new U.UF.UI.form(
  4504. "时间轴",
  4505. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4506. "id": "timeAxis",
  4507. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4508. "onresize": function () { }
  4509. }, {
  4510. closecallback: function () { }
  4511. }, { "style": { "height": "36px" } }).form; //创建窗体
  4512. _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); } }
  4513. break;
  4514. case "AIprogram2": //AI体验
  4515. _formdiv = new U.UF.UI.form(
  4516. "AI体验",
  4517. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4518. "id": "AIprogram2",
  4519. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4520. "onresize": function () { }
  4521. }, {
  4522. closecallback: function () { }
  4523. }, { "style": { "height": "36px" } }).form; //创建窗体
  4524. _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); } }
  4525. break;
  4526. case "Pythonprogram": //python编程
  4527. _formdiv = new U.UF.UI.form(
  4528. "Python编程",
  4529. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4530. "id": "Pythonprogram",
  4531. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4532. "onresize": function () { }
  4533. }, {
  4534. closecallback: function () { }
  4535. }, { "style": { "height": "36px" } }).form; //创建窗体
  4536. _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); } }
  4537. break;
  4538. case "AIprogram": //ai编程
  4539. _formdiv = new U.UF.UI.form(
  4540. "AI编程平台",
  4541. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4542. "id": "AIprogram",
  4543. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4544. "onresize": function () { }
  4545. }, {
  4546. closecallback: function () { }
  4547. }, { "style": { "height": "36px" } }).form; //创建窗体
  4548. _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); } }
  4549. break;
  4550. case "CocoPi": //CocoPi
  4551. _formdiv = new U.UF.UI.form(
  4552. "CocoPi",
  4553. $$("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" }), {
  4554. "id": "CocoPi",
  4555. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4556. "onresize": function () { }
  4557. }, {
  4558. closecallback: function () { }
  4559. }, { "style": { "height": "36px" } }).form; //创建窗体
  4560. _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); } }
  4561. break;
  4562. case "Wood": //Wood
  4563. _formdiv = new U.UF.UI.form(
  4564. "海龟编程",
  4565. $$("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/" }), {
  4566. "id": "Wood",
  4567. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4568. "onresize": function () { }
  4569. }, {
  4570. closecallback: function () { }
  4571. }, { "style": { "height": "36px" } }).form; //创建窗体
  4572. _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); } }
  4573. break;
  4574. case "car": //模拟驾驶
  4575. _formdiv = new U.UF.UI.form(
  4576. "模拟驾驶",
  4577. $$("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/" }), {
  4578. "id": "car",
  4579. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4580. "onresize": function () { }
  4581. }, {
  4582. closecallback: function () { }
  4583. }, { "style": { "height": "36px" } }).form; //创建窗体
  4584. _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); } }
  4585. break;
  4586. case "lineSearch": //路径搜索
  4587. _formdiv = new U.UF.UI.form(
  4588. "路径搜索",
  4589. $$("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/" }), {
  4590. "id": "lineSearch",
  4591. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4592. "onresize": function () { }
  4593. }, {
  4594. closecallback: function () { }
  4595. }, { "style": { "height": "36px" } }).form; //创建窗体
  4596. _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); } }
  4597. break;
  4598. case "deepLearning": //深度学习
  4599. _formdiv = new U.UF.UI.form(
  4600. "深度学习",
  4601. $$("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/#" }), {
  4602. "id": "deepLearning",
  4603. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4604. "onresize": function () { }
  4605. }, {
  4606. closecallback: function () { }
  4607. }, { "style": { "height": "36px" } }).form; //创建窗体
  4608. _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); } }
  4609. break;
  4610. case "allHistory": //深度学习
  4611. _formdiv = new U.UF.UI.form(
  4612. "全历史",
  4613. $$("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/" }), {
  4614. "id": "allHistory",
  4615. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4616. "onresize": function () { }
  4617. }, {
  4618. closecallback: function () { }
  4619. }, { "style": { "height": "36px" } }).form; //创建窗体
  4620. _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); } }
  4621. break;
  4622. case "chatPDF": //ai编程
  4623. _formdiv = new U.UF.UI.form(
  4624. "chatPDF",
  4625. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4626. "id": "chatPDF",
  4627. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4628. "onresize": function () { }
  4629. }, {
  4630. closecallback: function () { }
  4631. }, { "style": { "height": "36px" } }).form; //创建窗体
  4632. _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); } }
  4633. break;
  4634. case "resources": //国家教育
  4635. _formdiv = new U.UF.UI.form(
  4636. "国家教育",
  4637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4638. "id": "resources",
  4639. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4640. "onresize": function () { }
  4641. }, {
  4642. closecallback: function () { }
  4643. }, { "style": { "height": "36px" } }).form; //创建窗体
  4644. _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); } }
  4645. break;
  4646. case "codeEdit": //源码编辑
  4647. _formdiv = new U.UF.UI.form(
  4648. "源码编辑",
  4649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4650. "id": "codeEdit",
  4651. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4652. "onresize": function () { }
  4653. }, {
  4654. closecallback: function () { }
  4655. }, { "style": { "height": "36px" } }).form; //创建窗体
  4656. _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); } }
  4657. break; //
  4658. case "MindMap": //MindMap
  4659. _formdiv = new U.UF.UI.form(
  4660. "MindMap",
  4661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4662. "id": "MindMap",
  4663. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4664. "onresize": function () { }
  4665. }, {
  4666. closecallback: function () { }
  4667. }, { "style": { "height": "36px" } }).form; //创建窗体
  4668. _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); } }
  4669. break;
  4670. case "netWorkPanel": //netWorkPanel
  4671. _formdiv = new U.UF.UI.form(
  4672. "netWorkPanel",
  4673. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4674. "id": "netWorkPanel",
  4675. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4676. "onresize": function () { }
  4677. }, {
  4678. closecallback: function () { }
  4679. }, { "style": { "height": "36px" } }).form; //创建窗体
  4680. _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); } }
  4681. break;
  4682. case "GeoGebra": //GeoGebra
  4683. _formdiv = new U.UF.UI.form(
  4684. "GeoGebra",
  4685. $$("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" }), {
  4686. "id": "GeoGebra",
  4687. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4688. "onresize": function () { }
  4689. }, {
  4690. closecallback: function () { }
  4691. }, { "style": { "height": "36px" } }).form; //创建窗体
  4692. _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); } }
  4693. break;
  4694. case "translation": //翻译
  4695. _formdiv = new U.UF.UI.form(
  4696. "翻译",
  4697. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4698. "id": "translation",
  4699. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4700. "onresize": function () { }
  4701. }, {
  4702. closecallback: function () { }
  4703. }, { "style": { "height": "36px" } }).form; //创建窗体
  4704. _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); } }
  4705. break;
  4706. case "mohe": //魔盒
  4707. _formdiv = new U.UF.UI.form(
  4708. "魔盒识字",
  4709. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4710. "id": "mohe",
  4711. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4712. "onresize": function () { }
  4713. }, {
  4714. closecallback: function () { }
  4715. }, { "style": { "height": "36px" } }).form; //创建窗体
  4716. _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); } }
  4717. break;
  4718. case "24game": //24点
  4719. _formdiv = new U.UF.UI.form(
  4720. "24点",
  4721. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4722. "id": "24game",
  4723. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4724. "onresize": function () { }
  4725. }, {
  4726. closecallback: function () { }
  4727. }, { "style": { "height": "36px" } }).form; //创建窗体
  4728. _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); } }
  4729. break;
  4730. case "case":
  4731. _formdiv = new U.UF.UI.form(
  4732. "课程进展",
  4733. $$("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 }), {
  4734. "id": "case",
  4735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, { "style": { "height": "36px" } }).form; //创建窗体
  4740. _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); } }
  4741. break;
  4742. case "snf":
  4743. _formdiv = new U.UF.UI.form(
  4744. "赛诺梵",
  4745. $$("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" }), {
  4746. "id": "snf",
  4747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4748. "onresize": function () { }
  4749. }, {
  4750. closecallback: function () { }
  4751. }, { "style": { "height": "36px" } }).form; //创建窗体
  4752. _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); } }
  4753. break;
  4754. case "hanFamily":
  4755. _formdiv = new U.UF.UI.form(
  4756. "汉字家族",
  4757. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4758. "id": "hanFamily",
  4759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4760. "onresize": function () { }
  4761. }, {
  4762. closecallback: function () { }
  4763. }, { "style": { "height": "36px" } }).form; //创建窗体
  4764. _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); } }
  4765. break;
  4766. case "hanClassics":
  4767. _formdiv = new U.UF.UI.form(
  4768. "国学经典",
  4769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4770. "id": "hanClassics",
  4771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4772. "onresize": function () { }
  4773. }, {
  4774. closecallback: function () { }
  4775. }, { "style": { "height": "36px" } }).form; //创建窗体
  4776. _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); } }
  4777. break;
  4778. case "hanTraining":
  4779. _formdiv = new U.UF.UI.form(
  4780. "笔画训练",
  4781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4782. "id": "hanTraining",
  4783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4784. "onresize": function () { }
  4785. }, {
  4786. closecallback: function () { }
  4787. }, { "style": { "height": "36px" } }).form; //创建窗体
  4788. _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); } }
  4789. break;
  4790. case "hanClass":
  4791. _formdiv = new U.UF.UI.form(
  4792. "书法课堂",
  4793. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4794. "id": "hanClass",
  4795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4796. "onresize": function () { }
  4797. }, {
  4798. closecallback: function () { }
  4799. }, { "style": { "height": "36px" } }).form; //创建窗体
  4800. _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); } }
  4801. break;
  4802. case "han":
  4803. _formdiv = new U.UF.UI.form(
  4804. "汉字宫",
  4805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4806. "id": "han",
  4807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4808. "onresize": function () { }
  4809. }, {
  4810. closecallback: function () { }
  4811. }, { "style": { "height": "36px" } }).form; //创建窗体
  4812. _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); } }
  4813. break;
  4814. case "projectGM": //课程管理
  4815. _formdiv = new U.UF.UI.form(
  4816. "课程管理",
  4817. $$("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 }), {
  4818. "id": "projectGM",
  4819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4820. "onresize": function () { }
  4821. }, {
  4822. closecallback: function () { }
  4823. }, { "style": { "height": "36px" } }).form; //创建窗体
  4824. _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); } }
  4825. break;
  4826. case "studyGM": //课程中心
  4827. _formdiv = new U.UF.UI.form(
  4828. "课程中心",
  4829. $$("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
  4830. "id": "study",
  4831. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4832. "onresize": function () { }
  4833. }, {
  4834. closecallback: function () { }
  4835. }, { "style": { "height": "36px" } }).form; //创建窗体
  4836. _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); } }
  4837. break;
  4838. // studentGM
  4839. case "studentGM": //学生管理
  4840. _formdiv = new U.UF.UI.form(
  4841. "学生管理",
  4842. $$("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 }), {
  4843. "id": "studentGM",
  4844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4845. "onresize": function () { }
  4846. }, {
  4847. closecallback: function () { }
  4848. }, { "style": { "height": "36px" } }).form; //创建窗体
  4849. _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); } }
  4850. break;
  4851. case "evaluateGM": //学生评价
  4852. _formdiv = new U.UF.UI.form(
  4853. "学生评价",
  4854. $$("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 }), {
  4855. "id": "evaluateGM",
  4856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4857. "onresize": function () { }
  4858. }, {
  4859. closecallback: function () { }
  4860. }, { "style": { "height": "36px" } }).form; //创建窗体
  4861. _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); } }
  4862. break;
  4863. // classGM
  4864. case "classGM": //班级管理
  4865. _formdiv = new U.UF.UI.form(
  4866. "班级管理",
  4867. $$("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 }), {
  4868. "id": "classGM",
  4869. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4870. "onresize": function () { }
  4871. }, {
  4872. closecallback: function () { }
  4873. }, { "style": { "height": "36px" } }).form; //创建窗体
  4874. _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); } }
  4875. break;
  4876. // dataGM
  4877. case "dataGM":
  4878. _formdiv = new U.UF.UI.form(
  4879. "我的资料",
  4880. $$("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 }), {
  4881. "id": "dataGM",
  4882. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4883. "onresize": function () { }
  4884. }, {
  4885. closecallback: function () { }
  4886. }, { "style": { "height": "36px" } }).form; //创建窗体
  4887. _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); } }
  4888. break;
  4889. // caseGM
  4890. case "caseGM": //课程进展
  4891. _formdiv = new U.UF.UI.form(
  4892. "课程进展",
  4893. $$("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 }), {
  4894. "id": "caseGM",
  4895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4896. "onresize": function () { }
  4897. }, {
  4898. closecallback: function () { }
  4899. }, { "style": { "height": "36px" } }).form; //创建窗体
  4900. _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); } }
  4901. break;
  4902. // meterialGM
  4903. case "meterialGM": //素材库
  4904. _formdiv = new U.UF.UI.form(
  4905. "素材库",
  4906. $$("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 }), {
  4907. "id": "meterialGM",
  4908. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4909. "onresize": function () { }
  4910. }, {
  4911. closecallback: function () { }
  4912. }, { "style": { "height": "36px" } }).form; //创建窗体
  4913. _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); } }
  4914. break;
  4915. // evaluateSGM
  4916. case "evaluateSGM": //我的评价
  4917. _formdiv = new U.UF.UI.form(
  4918. "我的评价",
  4919. $$("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 }), {
  4920. "id": "evaluateSGM",
  4921. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4922. "onresize": function () { }
  4923. }, {
  4924. closecallback: function () { }
  4925. }, { "style": { "height": "36px" } }).form; //创建窗体
  4926. _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); } }
  4927. break;
  4928. case "jupyter": //jupyter
  4929. _formdiv = new U.UF.UI.form(
  4930. "jupyter",
  4931. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4932. "id": "jupyter",
  4933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4934. "onresize": function () { }
  4935. }, {
  4936. closecallback: function () { }
  4937. }, { "style": { "height": "36px" } }).form; //创建窗体
  4938. _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); } }
  4939. break;
  4940. case "number": //数字实验室
  4941. _formdiv = new U.UF.UI.form(
  4942. "数字实验室",
  4943. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4944. "id": "number",
  4945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4946. "onresize": function () { }
  4947. }, {
  4948. closecallback: function () { }
  4949. }, { "style": { "height": "36px" } }).form; //创建窗体
  4950. _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); } }
  4951. break;
  4952. case "studentCourse": //项目管理 学生
  4953. _formdiv = new U.UF.UI.form(
  4954. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4955. $$("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 }), {
  4956. "id": "studentCourse",
  4957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4958. "onresize": function () { }
  4959. }, {
  4960. closecallback: function () { }
  4961. }, { "style": { "height": "36px" } }).form; //创建窗体
  4962. _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); } }
  4963. break;
  4964. case "studentCourseS": //项目管理 老师
  4965. _formdiv = new U.UF.UI.form(
  4966. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4967. $$("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 }), {
  4968. "id": "studentCourseS",
  4969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4970. "onresize": function () { }
  4971. }, {
  4972. closecallback: function () { }
  4973. }, { "style": { "height": "36px" } }).form; //创建窗体
  4974. _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); } }
  4975. break;
  4976. case "studentIndex": //项目中心
  4977. _formdiv = new U.UF.UI.form(
  4978. "项目中心",
  4979. $$("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 }), {
  4980. "id": "studentIndex",
  4981. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4982. "onresize": function () { }
  4983. }, {
  4984. closecallback: function () { }
  4985. }, { "style": { "height": "36px" } }).form; //创建窗体
  4986. _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); } }
  4987. break;
  4988. case "CaseDesignS":
  4989. _formdiv = new U.UF.UI.form(
  4990. "项目进展",
  4991. $$("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 }), {
  4992. "id": "case",
  4993. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4994. "onresize": function () { }
  4995. }, {
  4996. closecallback: function () { }
  4997. }, { "style": { "height": "36px" } }).form; //创建窗体
  4998. _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); } }
  4999. break;
  5000. case "tcStudent": //腾讯学生管理
  5001. _formdiv = new U.UF.UI.form(
  5002. "学生管理",
  5003. $$("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 }), {
  5004. "id": "tcStudent",
  5005. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5006. "onresize": function () { }
  5007. }, {
  5008. closecallback: function () { }
  5009. }, { "style": { "height": "36px" } }).form; //创建窗体
  5010. _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); } }
  5011. break;
  5012. case "tcSchool": //腾讯学校管理
  5013. _formdiv = new U.UF.UI.form(
  5014. "学校管理",
  5015. $$("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 }), {
  5016. "id": "tcSchool",
  5017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5018. "onresize": function () { }
  5019. }, {
  5020. closecallback: function () { }
  5021. }, { "style": { "height": "36px" } }).form; //创建窗体
  5022. _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); } }
  5023. break;
  5024. case "tcTeacher": //腾讯学校管理
  5025. _formdiv = new U.UF.UI.form(
  5026. "教师管理",
  5027. $$("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 }), {
  5028. "id": "tcTeacher",
  5029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5030. "onresize": function () { }
  5031. }, {
  5032. closecallback: function () { }
  5033. }, { "style": { "height": "36px" } }).form; //创建窗体
  5034. _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); } }
  5035. break;
  5036. case "tcData": //腾讯我的资料
  5037. _formdiv = new U.UF.UI.form(
  5038. "我的资料",
  5039. $$("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 }), {
  5040. "id": "tcData",
  5041. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5042. "onresize": function () { }
  5043. }, {
  5044. closecallback: function () { }
  5045. }, { "style": { "height": "36px" } }).form; //创建窗体
  5046. _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); } }
  5047. break;
  5048. case "tcNotice": //腾讯消息通知
  5049. _formdiv = new U.UF.UI.form(
  5050. "消息通知",
  5051. $$("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 }), {
  5052. "id": "tcNotice",
  5053. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5054. "onresize": function () { }
  5055. }, {
  5056. closecallback: function () { }
  5057. }, { "style": { "height": "36px" } }).form; //创建窗体
  5058. _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); } }
  5059. break;
  5060. case "myReport": //好友打开
  5061. _formdiv = new U.UF.UI.form(
  5062. "我的评价",
  5063. $$("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 }), {
  5064. "id": "myReport",
  5065. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5066. "onresize": function () { }
  5067. }, {
  5068. closecallback: function () { }
  5069. }, { "style": { "height": "36px" } }).form; //创建窗体
  5070. _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); } }
  5071. break;
  5072. case "learnAna": //好友打开
  5073. _formdiv = new U.UF.UI.form(
  5074. "学习分析",
  5075. $$("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 }), {
  5076. "id": "learnAna",
  5077. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5078. "onresize": function () { }
  5079. }, {
  5080. closecallback: function () { }
  5081. }, { "style": { "height": "36px" } }).form; //创建窗体
  5082. _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); } }
  5083. break;
  5084. case "AIChat": //AI共创
  5085. _formdiv = new U.UF.UI.form(
  5086. "AI共创",
  5087. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  5088. "id": "AIChat",
  5089. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5090. "onresize": function () { }
  5091. }, {
  5092. istop: true,
  5093. closecallback: function () { $("#aichat_icon").remove(); },
  5094. narrowcallback: function () {
  5095. if (!$("#aichat_icon")[0]) {
  5096. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5097. }
  5098. },
  5099. }, { "style": { "height": "36px" } }).form; //创建窗体
  5100. _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); } }
  5101. break;
  5102. case "ainew": //AI共创
  5103. _formdiv = new U.UF.UI.form(
  5104. "AI协同",
  5105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  5106. "id": "ainew",
  5107. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5108. "onresize": function () { }
  5109. }, {
  5110. closecallback: function () { }
  5111. }, { "style": { "height": "36px" } }).form; //创建窗体
  5112. _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); } }
  5113. break;
  5114. case "gpt4": //gpt4
  5115. _formdiv = new U.UF.UI.form(
  5116. "AI助手",
  5117. $$("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://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5118. "id": "gpt4",
  5119. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5120. "onresize": function () { }
  5121. }, {
  5122. closecallback: function () { }
  5123. }, { "style": { "height": "36px" } }).form; //创建窗体
  5124. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5125. break;
  5126. case "aigpt": //gpt4
  5127. _formdiv = new U.UF.UI.form(
  5128. "AI助手+",
  5129. $$("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://beta.cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5130. "id": "aigpt",
  5131. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5132. "onresize": function () { }
  5133. }, {
  5134. closecallback: function () { }
  5135. }, { "style": { "height": "36px" } }).form; //创建窗体
  5136. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5137. break;
  5138. case "futureClass": //AI共创
  5139. _formdiv = new U.UF.UI.form(
  5140. "协同建构",
  5141. $$("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://beta.cscl.cocorobo.cn
  5142. "id": "synergyCourse",
  5143. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5144. "onresize": function () { }
  5145. }, {
  5146. closecallback: function () {
  5147. $("iframe", _formdiv)[0].contentWindow.loginout();
  5148. }
  5149. }, { "style": { "height": "36px" } }).form; //创建窗体
  5150. _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); } }
  5151. break;
  5152. case "aiagent": //ai agent
  5153. _formdiv = new U.UF.UI.form(
  5154. "AI Agent",
  5155. $$("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" }), {
  5156. "id": "AIAgent",
  5157. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5158. "onresize": function () { }
  5159. }, {
  5160. closecallback: function () { }
  5161. }, { "style": { "height": "36px" } }).form; //创建窗体
  5162. _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); } }
  5163. break;
  5164. case "dataBoard": //数据看板
  5165. _formdiv = new U.UF.UI.form(
  5166. "数据看板",
  5167. $$("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 }), {
  5168. "id": "dataBoard",
  5169. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5170. "onresize": function () { }
  5171. }, {
  5172. closecallback: function () { }
  5173. }, { "style": { "height": "36px" } }).form; //创建窗体
  5174. _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); } }
  5175. break;
  5176. case "dataBoardSies": //数据融合
  5177. _formdiv = new U.UF.UI.form(
  5178. "数据融合",
  5179. $$("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 }), {
  5180. "id": "dataBoardSies",
  5181. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5182. "onresize": function () { }
  5183. }, {
  5184. closecallback: function () { }
  5185. }, { "style": { "height": "36px" } }).form; //创建窗体
  5186. _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); } }
  5187. break;
  5188. case "dataBoardNew": //数据看板
  5189. _formdiv = new U.UF.UI.form(
  5190. "综合看板",
  5191. $$("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/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5192. "id": "dataBoardNew",
  5193. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5194. "onresize": function () { }
  5195. }, {
  5196. closecallback: function () { }
  5197. }, { "style": { "height": "36px" } }).form; //创建窗体
  5198. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5199. break;
  5200. case "dataBoardTest": //数据看板
  5201. _formdiv = new U.UF.UI.form(
  5202. "评测看板",
  5203. $$("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/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5204. "id": "dataBoardTest",
  5205. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5206. "onresize": function () { }
  5207. }, {
  5208. closecallback: function () { }
  5209. }, { "style": { "height": "36px" } }).form; //创建窗体
  5210. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5211. break;
  5212. case "AIAnalyse": //AI共创
  5213. _formdiv = new U.UF.UI.form(
  5214. "AI分析",
  5215. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5216. "id": "AIAnalyse",
  5217. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5218. "onresize": function () { }
  5219. }, {
  5220. closecallback: function () { }
  5221. }, { "style": { "height": "36px" } }).form; //创建窗体
  5222. _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); } }
  5223. break;
  5224. case "studioCourse": //AI共创
  5225. _formdiv = new U.UF.UI.form(
  5226. "工作管理",
  5227. $$("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 }), {
  5228. "id": "studioCourse",
  5229. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5230. "onresize": function () { }
  5231. }, {
  5232. closecallback: function () { }
  5233. }, { "style": { "height": "36px" } }).form; //创建窗体
  5234. _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); } }
  5235. break;
  5236. case "studioIndex": //AI共创
  5237. _formdiv = new U.UF.UI.form(
  5238. "工作中心",
  5239. $$("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 }), {
  5240. "id": "studioIndex",
  5241. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5242. "onresize": function () { }
  5243. }, {
  5244. closecallback: function () { }
  5245. }, { "style": { "height": "36px" } }).form; //创建窗体
  5246. _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); } }
  5247. break;
  5248. case "source":
  5249. _formdiv = new U.UF.UI.form(
  5250. "教学资源",
  5251. $$("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 }), {
  5252. "id": "source",
  5253. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5254. "onresize": function () { }
  5255. }, {
  5256. closecallback: function () { }
  5257. }, { "style": { "height": "36px" } }).form; //创建窗体
  5258. _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); } }
  5259. break;
  5260. case "testTeacher":
  5261. _formdiv = new U.UF.UI.form(
  5262. "教师管理",
  5263. $$("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 }), {
  5264. "id": "testTeacher",
  5265. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5266. "onresize": function () { }
  5267. }, {
  5268. closecallback: function () { }
  5269. }, { "style": { "height": "36px" } }).form; //创建窗体
  5270. _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); } }
  5271. break;
  5272. case "testStudent":
  5273. _formdiv = new U.UF.UI.form(
  5274. "教师中心",
  5275. $$("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 }), {
  5276. "id": "testStudent",
  5277. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5278. "onresize": function () { }
  5279. }, {
  5280. closecallback: function () { }
  5281. }, { "style": { "height": "36px" } }).form; //创建窗体
  5282. _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); } }
  5283. break;
  5284. case "testTeacherSies":
  5285. _formdiv = new U.UF.UI.form(
  5286. "教师管理",
  5287. $$("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 }), {
  5288. "id": "testTeacherSies",
  5289. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5290. "onresize": function () { }
  5291. }, {
  5292. closecallback: function () { }
  5293. }, { "style": { "height": "36px" } }).form; //创建窗体
  5294. _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); } }
  5295. break;
  5296. case "testStudentSies":
  5297. _formdiv = new U.UF.UI.form(
  5298. "教师中心",
  5299. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  5300. "id": "testStudentSies",
  5301. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5302. "onresize": function () { }
  5303. }, {
  5304. closecallback: function () { }
  5305. }, { "style": { "height": "36px" } }).form; //创建窗体
  5306. _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); } }
  5307. break;
  5308. case "ytpbl": //消息通知
  5309. _formdiv = new U.UF.UI.form(
  5310. "案例征集",
  5311. $$("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://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5312. "id": "ytpbl",
  5313. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5314. "onresize": function () { }
  5315. }, {
  5316. closecallback: function () { }
  5317. }, { "style": { "height": "36px" } }).form; //创建窗体
  5318. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5319. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  5320. break;
  5321. case "aiCourseResource": //人工智能窗体
  5322. _formdiv = new U.UF.UI.form(
  5323. false,
  5324. $$("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://cloud.cocorobo.cn/course_resource/index.html" + window.location.search }), {
  5325. "id": "aiCourseResource",
  5326. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5327. "onresize": function () { },
  5328. "isdrag": false,
  5329. }, {
  5330. closecallback: function () { }
  5331. }, { "style": { "height": "36px" } }).form; //创建窗体
  5332. _taskbar = ''
  5333. break;
  5334. case "szdjgCocooroboX": //图形化编程
  5335. _formdiv = new U.UF.UI.form(
  5336. "图形化编程",
  5337. $$("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://cloud.cocorobo.cn/course_resource/cocoblockly-x/index.html" }), {
  5338. "id": "szdjgCocooroboX",
  5339. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5340. "onresize": function () { }
  5341. }, {
  5342. closecallback: function () { }
  5343. }, { "style": { "height": "36px" } }).form; //创建窗体
  5344. _taskbar = ''
  5345. break;
  5346. case "szdjgPython": //python编程
  5347. _formdiv = new U.UF.UI.form(
  5348. "Python编程",
  5349. $$("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://cloud.cocorobo.cn/course_resource/cocoblockly-x/python/index.html" }), {
  5350. "id": "szdjgPython",
  5351. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5352. "onresize": function () { }
  5353. }, {
  5354. closecallback: function () { }
  5355. }, { "style": { "height": "36px" } }).form; //创建窗体
  5356. _taskbar = ''
  5357. break;
  5358. case "Record":
  5359. _formdiv = new U.UF.UI.form(
  5360. "观察记录",
  5361. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5362. "id": "Record",
  5363. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5364. "onresize": function () { }
  5365. }, {
  5366. closecallback: function () { }
  5367. }, { "style": { "height": "36px" } }).form; //创建窗体
  5368. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "观察记录", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5369. break;
  5370. case "aigptCourse":
  5371. _formdiv = new U.UF.UI.form(
  5372. "AI智能体",
  5373. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role + '#/AgentVue' }), {
  5374. "id": "aigptCourse",
  5375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5376. "onresize": function () { }
  5377. }, {
  5378. closecallback: function () { }
  5379. }, { "style": { "height": "36px" } }).form; //创建窗体
  5380. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "AI智能体", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5381. break;
  5382. case "classroomObservation":
  5383. _formdiv = new U.UF.UI.form(
  5384. "课堂观察",
  5385. $$("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/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5386. "id": "classroomObservation",
  5387. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5388. "onresize": function () { }
  5389. }, {
  5390. closecallback: function () { }
  5391. }, { "style": { "height": "36px" } }).form; //创建窗体
  5392. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classroomObservation.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5393. break;
  5394. case "pblCourse":
  5395. _formdiv = new U.UF.UI.form(
  5396. "学生PBL",
  5397. $$("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/#/pblCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5398. "id": "pblCourse",
  5399. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5400. "onresize": function () { }
  5401. }, {
  5402. closecallback: function () { }
  5403. }, { "style": { "height": "36px" } }).form; //创建窗体
  5404. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/pblCourse.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5405. break;
  5406. }
  5407. //U.MD.D.I.openClick(str);
  5408. //如果有任务栏信息
  5409. if (_taskbar) {
  5410. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5411. }
  5412. }
  5413. // U.MD.D.I.openClick = function(str){
  5414. // var click = '';
  5415. // switch(str){
  5416. // case 'friend':
  5417. // click = '我的好友';
  5418. // break;
  5419. // case 'domain':
  5420. // click = '域名管理';
  5421. // break;
  5422. // case 'disk':
  5423. // click = '我的云盘';
  5424. // break;
  5425. // case 'word':
  5426. // click = 'Word';
  5427. // break;
  5428. // case 'excel':
  5429. // click = 'Execl';
  5430. // break;
  5431. // case 'txt':
  5432. // click = '文本文件';
  5433. // break;
  5434. // case 'lookupFriend':
  5435. // click = '查找好友';
  5436. // break;
  5437. // case 'ftp':
  5438. // click = 'FTP';
  5439. // break;
  5440. // case 'group':
  5441. // click = '群组';
  5442. // break;
  5443. // case 'set':
  5444. // click = '我的设置';
  5445. // break;
  5446. // case 'systemSet':
  5447. // click = '系统设置';
  5448. // break;
  5449. // case 'boomYun':
  5450. // click = '互联办公';
  5451. // break;
  5452. // case 'xz':
  5453. // click = '云端下载';
  5454. // break;
  5455. // case 'client':
  5456. // click = '有思浏览器';
  5457. // break;
  5458. // case 'backEndProgramming':
  5459. // click = '在线后台编程';
  5460. // break;
  5461. // case 'frontEndProgramming':
  5462. // click = '在线前端编程';
  5463. // break;
  5464. // default: break;
  5465. // }
  5466. // if(U.MD.D.I.Ip && click){
  5467. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5468. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5469. // })
  5470. // }
  5471. // }
  5472. /**
  5473. *函数作用:ajax简易函数,使用post格式
  5474. *@param url {data} 后台地址
  5475. *@param data {data} 参数json
  5476. *@param fn {data} 回调函数
  5477. *
  5478. */
  5479. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5480. // var xhr = new XMLHttpRequest();
  5481. // xhr.open("GET",url,true);
  5482. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5483. // xhr.onreadystatechange = function(){
  5484. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5485. // fn.call(this,xhr.responseText);
  5486. // }
  5487. // };
  5488. // xhr.send();
  5489. // }
  5490. /*判断是否是内网IP*/
  5491. // U.MD.D.I.isInnerIPFn = function(str){
  5492. // var curPageUrl = str;
  5493. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5494. // curPageUrl =curPageUrl.replace(reg1,'');
  5495. // // console.log('curPageUrl-1 '+curPageUrl);
  5496. // var reg2 = /\:+/g;//替换冒号为一点
  5497. // curPageUrl =curPageUrl.replace(reg2,'.');
  5498. // // console.log('curPageUrl-2 '+curPageUrl);
  5499. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5500. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5501. // if(curPageUrl[2] != '16'){
  5502. // return ipAddress;
  5503. // }else{
  5504. // return false;
  5505. // }
  5506. // }
  5507. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5508. // //compatibility for firefox and chrome
  5509. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5510. // var pc = new myPeerConnection({
  5511. // iceServers: []
  5512. // }),
  5513. // noop = function() {},
  5514. // localIPs = {},
  5515. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5516. // key;
  5517. // function iterateIP(ip) {
  5518. // if (!localIPs[ip]) onNewIP(ip);
  5519. // localIPs[ip] = true;
  5520. // }
  5521. // //create a bogus data channel
  5522. // pc.createDataChannel("");
  5523. // // create offer and set local description
  5524. // pc.createOffer().then(function(sdp) {
  5525. // sdp.sdp.split('\n').forEach(function(line) {
  5526. // if (line.indexOf('candidate') < 0) return;
  5527. // line.match(ipRegex).forEach(iterateIP);
  5528. // });
  5529. // pc.setLocalDescription(sdp, noop, noop);
  5530. // }).catch(function(reason) {
  5531. // // An error occurred, so handle the failure to connect
  5532. // });
  5533. // //sten for candidate events
  5534. // pc.onicecandidate = function(ice) {
  5535. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5536. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5537. // };
  5538. // }
  5539. // U.MD.D.I.getUserIpBool = function(callback){
  5540. // U.MD.D.I.getUserIP(function(ip){
  5541. // alert("Got IP! :" + ip);
  5542. // });
  5543. //}
  5544. //#endregion
  5545. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5546. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5547. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5548. _userinfo = US.userInfo, //登录用户信息
  5549. _userid = US.userInfo.userid //登录用户id
  5550. let _iframe;
  5551. let _cid = cid,
  5552. _stage = stage,
  5553. _task = task,
  5554. _tool = tool;
  5555. var _jie = $$("div", {
  5556. "style": {
  5557. "position": "absolute",
  5558. "bottom": "50px",
  5559. "right": "50px",
  5560. "zIndex": "9999",
  5561. "backgroundColor": "#2268bc",
  5562. "color": "#fff",
  5563. "padding": "12px 20px",
  5564. "cursor": "pointer",
  5565. "borderRadius": "4px",
  5566. },
  5567. "innerHTML": "提交作业"
  5568. })
  5569. let aTool = ''
  5570. let _loading = document.createElement('div')
  5571. _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;"
  5572. // _loading.id = "";
  5573. let _lchild = document.createElement('div')
  5574. let _limg = document.createElement('img')
  5575. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5576. _limg.style = "width: 26px;margin-right: 10px;"
  5577. _lchild.appendChild(_limg)
  5578. let _lspan = document.createElement('span')
  5579. _lspan.innerHTML = "上传中..."
  5580. _lchild.appendChild(_lspan)
  5581. _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%);"
  5582. _loading.appendChild(_lchild)
  5583. var _box = $$('div', {
  5584. "style": {
  5585. "position": "relative",
  5586. "width": "100%",
  5587. "height": "100%",
  5588. },
  5589. })
  5590. _box.appendChild(_loading)
  5591. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5592. switch (str) {
  5593. case "whiteboard":
  5594. aTool = 1;
  5595. _iframe = $$("iframe", {
  5596. "frameborder": "no",
  5597. "border": "0",
  5598. "scrolling ": "no",
  5599. "style": {
  5600. "cssText": "border:0;width:100%;height:100%"
  5601. },
  5602. "src": "https://beta.iwb.cocorobo.cn/"
  5603. })
  5604. _box.appendChild(_iframe);
  5605. _box.appendChild(_jie);
  5606. _formdiv = new U.UF.UI.form(
  5607. "电子白板",
  5608. _box, {
  5609. "id": "whiteboard" + cid + stage + task + tool,
  5610. "style": {
  5611. "width": "90%",
  5612. "height": "90%",
  5613. "overflow": 'hidden'
  5614. },
  5615. "onresize": function () { }
  5616. }, {
  5617. closecallback: function () { }
  5618. }, {
  5619. "style": {
  5620. "height": "36px"
  5621. }
  5622. }).form; //创建窗体
  5623. _taskbar = {
  5624. "id": str + _formdiv.id,
  5625. "style": {
  5626. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5627. },
  5628. "name": "电子白板",
  5629. "forms": _formdiv,
  5630. "click": function () {
  5631. U.MD.D.I.openApplication(str, obj, info);
  5632. }
  5633. }
  5634. break;
  5635. case "mind":
  5636. aTool = 3;
  5637. _iframe = $$("iframe", {
  5638. "frameborder": "no",
  5639. "border": "0",
  5640. "scrolling ": "no",
  5641. "style": {
  5642. "cssText": "border:0;width:100%;height:100%"
  5643. },
  5644. "src": "/kityminder-editor/dist/index.html"
  5645. })
  5646. _box.appendChild(_iframe);
  5647. _box.appendChild(_jie);
  5648. _formdiv = new U.UF.UI.form(
  5649. "思维导图",
  5650. _box, { //"/jsmind/example/demo.html"
  5651. "id": "mind" + cid + stage + task + tool,
  5652. "style": {
  5653. "width": "90%",
  5654. "height": "90%",
  5655. "overflow": 'hidden'
  5656. },
  5657. "onresize": function () { }
  5658. }, {
  5659. closecallback: function () { }
  5660. }, {
  5661. "style": {
  5662. "height": "36px"
  5663. }
  5664. }).form; //创建窗体
  5665. _taskbar = {
  5666. "id": str + _formdiv.id,
  5667. "style": {
  5668. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5669. },
  5670. "name": "思维导图",
  5671. "forms": _formdiv,
  5672. "click": function () {
  5673. U.MD.D.I.openApplication(str, obj, info);
  5674. }
  5675. }
  5676. break;
  5677. case "MindMap":
  5678. aTool = 3;
  5679. _iframe = $$("iframe", {
  5680. "frameborder": "no",
  5681. "border": "0",
  5682. "scrolling ": "no",
  5683. "style": {
  5684. "cssText": "border:0;width:100%;height:100%"
  5685. },
  5686. "src": "//cloud.cocorobo.cn/mind/"
  5687. })
  5688. _box.appendChild(_iframe);
  5689. _box.appendChild(_jie);
  5690. _formdiv = new U.UF.UI.form(
  5691. "思维导图",
  5692. _box, { //"/jsmind/example/demo.html"
  5693. "id": "mind" + cid + stage + task + tool,
  5694. "style": {
  5695. "width": "90%",
  5696. "height": "90%",
  5697. "overflow": 'hidden'
  5698. },
  5699. "onresize": function () { }
  5700. }, {
  5701. closecallback: function () { }
  5702. }, {
  5703. "style": {
  5704. "height": "36px"
  5705. }
  5706. }).form; //创建窗体
  5707. _taskbar = {
  5708. "id": str + _formdiv.id,
  5709. "style": {
  5710. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5711. },
  5712. "name": "思维导图",
  5713. "forms": _formdiv,
  5714. "click": function () {
  5715. U.MD.D.I.openApplication(str, obj, info);
  5716. }
  5717. }
  5718. break;
  5719. case "doc":
  5720. aTool = 6;
  5721. _iframe = $$("iframe", {
  5722. "frameborder": "no",
  5723. "border": "0",
  5724. "scrolling ": "no",
  5725. "style": {
  5726. "cssText": "border:0;width:100%;height:100%"
  5727. },
  5728. "src": "/Office/Word/WordEditArea.htm"
  5729. })
  5730. _box.appendChild(_iframe);
  5731. _box.appendChild(_jie);
  5732. _formdiv = new U.UF.UI.form(
  5733. "协同文档",
  5734. _box, {
  5735. "id": "doc" + cid + stage + task + tool,
  5736. "style": {
  5737. "width": "90%",
  5738. "height": "90%",
  5739. "overflow": 'hidden'
  5740. },
  5741. "onresize": function () { }
  5742. }, {
  5743. closecallback: function () { }
  5744. }, {
  5745. "style": {
  5746. "height": "36px"
  5747. }
  5748. }).form; //创建窗体
  5749. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5750. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5751. })
  5752. _taskbar = {
  5753. "id": str + _formdiv.id,
  5754. "style": {
  5755. "backgroundImage": "url(/img/icon/doc.png)"
  5756. },
  5757. "name": "协同文档",
  5758. "forms": _formdiv,
  5759. "click": function () {
  5760. U.MD.D.I.openApplication(str, obj, info);
  5761. }
  5762. }
  5763. break;
  5764. case "mindNetwork": //好友打开
  5765. aTool = 7;
  5766. _iframe = $$("iframe", {
  5767. "webkitallowfullscreen": "",
  5768. "mozallowfullscreen": "",
  5769. "allowfullscreen": "",
  5770. "frameborder": "no",
  5771. "border": "0",
  5772. "scrolling ": "no",
  5773. "style": {
  5774. "cssText": "border:0; width:100%; height:100%;"
  5775. },
  5776. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5777. })
  5778. _box.appendChild(_iframe);
  5779. _box.appendChild(_jie);
  5780. _formdiv = new U.UF.UI.form(
  5781. "思维网格",
  5782. _box, {
  5783. "id": "mindNetwork" + cid + stage + task + tool,
  5784. "style": {
  5785. "width": "90%",
  5786. "height": "90%",
  5787. "overflow": 'hidden'
  5788. },
  5789. "onresize": function () { }
  5790. }, {
  5791. closecallback: function () { }
  5792. }, {
  5793. "style": {
  5794. "height": "36px"
  5795. }
  5796. }).form; //创建窗体
  5797. _taskbar = {
  5798. "id": str + _formdiv.id,
  5799. "style": {
  5800. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5801. },
  5802. "name": "思维网格",
  5803. "forms": _formdiv,
  5804. "click": function () {
  5805. U.MD.D.I.openApplication(str, obj, info);
  5806. }
  5807. }
  5808. break;
  5809. case "courseDesign":
  5810. _iframe = $$("iframe", {
  5811. "webkitallowfullscreen": "",
  5812. "mozallowfullscreen": "",
  5813. "allowfullscreen": "",
  5814. "frameborder": "no",
  5815. "border": "0",
  5816. "scrolling ": "no",
  5817. "style": {
  5818. "cssText": "border:0; width:100%; height:100%;"
  5819. },
  5820. "src": "/course-design-vue"
  5821. })
  5822. _box.appendChild(_iframe);
  5823. _box.appendChild(_jie);
  5824. _formdiv = new U.UF.UI.form(
  5825. "项目设计",
  5826. _box, {
  5827. "id": "courseDesign" + cid + stage + task + tool,
  5828. "style": {
  5829. "width": "90%",
  5830. "height": "90%",
  5831. "overflow": 'hidden'
  5832. },
  5833. "onresize": function () { }
  5834. }, {
  5835. closecallback: function () { }
  5836. }, {
  5837. "style": {
  5838. "height": "36px"
  5839. }
  5840. }).form; //创建窗体
  5841. _taskbar = {
  5842. "id": str + _formdiv.id,
  5843. "style": {
  5844. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5845. },
  5846. "name": "项目设计",
  5847. "forms": _formdiv,
  5848. "click": function () {
  5849. U.MD.D.I.openApplication(str, obj, info);
  5850. }
  5851. }
  5852. break;
  5853. }
  5854. const script1 = document.createElement("script");
  5855. script1.type = "text/javascript";
  5856. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5857. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5858. const script2 = document.createElement("script");
  5859. script2.type = "text/javascript";
  5860. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5861. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5862. const script3 = document.createElement("script");
  5863. script3.type = "text/javascript";
  5864. script3.charset = "UTF-8";
  5865. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5866. const script4 = document.createElement("script");
  5867. script4.type = "text/javascript";
  5868. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5869. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5870. if (_iframe) {
  5871. if (str == 'doc') {
  5872. _iframe = _formdiv.querySelector('iframe')
  5873. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5874. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5875. _iframe.contentWindow.document.body.appendChild(script1);
  5876. _iframe.contentWindow.document.body.appendChild(script2);
  5877. // _iframe.contentWindow.document.body.appendChild(script3);
  5878. _iframe.contentWindow.document.body.appendChild(script4);
  5879. })
  5880. if (onloadListener) {
  5881. _iframe.contentDocument.location.reload()
  5882. } else {
  5883. _iframe.contentDocument.location.reload()
  5884. }
  5885. } else if (str == 'courseDesign') {
  5886. U.UF.DL.iframeLoad(_iframe, function () {
  5887. // _iframe.contentWindow.U.MD.O.W.load();
  5888. // _iframe.contentWindow.document.body.appendChild(script1);
  5889. _iframe.contentWindow.document.body.appendChild(script2);
  5890. _iframe.contentWindow.document.body.appendChild(script4);
  5891. })
  5892. } else if (str == 'mind') {
  5893. _iframe = _formdiv.querySelector('iframe')
  5894. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5895. //
  5896. _iframe.contentWindow.document.body.appendChild(script1);
  5897. _iframe.contentWindow.document.body.appendChild(script2);
  5898. _iframe.contentWindow.document.body.appendChild(script4);
  5899. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5900. })
  5901. if (onloadListener) {
  5902. _iframe.contentDocument.location.reload()
  5903. } else {
  5904. _iframe.contentDocument.location.reload()
  5905. }
  5906. } else if (str == 'whiteboard') {
  5907. _iframe = _formdiv.querySelector('iframe')
  5908. let onloadListener = _iframe.onload = () => {
  5909. _iframe.contentWindow.document.body.appendChild(script1);
  5910. _iframe.contentWindow.document.body.appendChild(script2);
  5911. _iframe.contentWindow.document.body.appendChild(script4);
  5912. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5913. };
  5914. if (onloadListener) {
  5915. try {
  5916. _iframe.src += "?cocorobo="+new Date().getTime()
  5917. _iframe.contentWindow.document.location.reload()
  5918. } catch (error) {
  5919. }
  5920. } else {
  5921. _iframe.contentDocument.location.reload()
  5922. }
  5923. } else {
  5924. _iframe.onload = () => {
  5925. _iframe.contentWindow.document.body.appendChild(script1);
  5926. _iframe.contentWindow.document.body.appendChild(script2);
  5927. // _iframe.contentWindow.document.body.appendChild(script3);
  5928. _iframe.contentWindow.document.body.appendChild(script4);
  5929. };
  5930. }
  5931. _jie.onclick = async () => {
  5932. let text = ''
  5933. if (aTool == 1) {
  5934. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5935. } else if (aTool == 6) {
  5936. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5937. } else if (aTool == 3) {
  5938. text = await U.MD.D.I.getEditorContent(_iframe);
  5939. }
  5940. _loading.style.display = 'flex'
  5941. console.log(_loading);
  5942. var _ajs = _iframe.contentWindow.document.createElement("script");
  5943. _ajs.type = "text/javascript";
  5944. _ajs.innerHTML =
  5945. // 'console.log(' + _loading + ');\n' +
  5946. 'var _js = document.createElement("script");\n' +
  5947. '_js.type="text/javascript";\n' +
  5948. '_js.charset="UTF-8";\n' +
  5949. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5950. "_js.onload = function(){\n" +
  5951. ' var a = document.getElementsByTagName("img")\n' +
  5952. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5953. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5954. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5955. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5956. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5957. "beforeUpload_shishi(file," +
  5958. "'" +
  5959. _userid +
  5960. "'" +
  5961. ", " +
  5962. "'" +
  5963. _cid +
  5964. "'" +
  5965. ", " +
  5966. "'" +
  5967. _stage +
  5968. "'" +
  5969. ", " +
  5970. "'" +
  5971. _task +
  5972. "'" +
  5973. ", " +
  5974. "'" +
  5975. _tool +
  5976. "'" +
  5977. ", " +
  5978. "'" +
  5979. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5980. "'" +
  5981. ", " +
  5982. "'" +
  5983. aTool +
  5984. "'" +
  5985. ", " +
  5986. "`" +
  5987. text +
  5988. "`" +
  5989. ")\n" +
  5990. " });\n" +
  5991. "}\n" +
  5992. "document.head.appendChild(_js);\n";
  5993. _iframe.contentWindow.document.head.appendChild(_ajs);
  5994. }
  5995. }
  5996. //U.MD.D.I.openClick(str);
  5997. //如果有任务栏信息
  5998. // if (_taskbar) {
  5999. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6000. // }
  6001. }
  6002. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6003. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6004. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6005. _userinfo = US.userInfo, //登录用户信息
  6006. _userid = US.userInfo.userid //登录用户id
  6007. let _iframe;
  6008. let _cid = cid,
  6009. _stage = stage,
  6010. _task = task,
  6011. _tool = tool;
  6012. var _jie = $$("div", {
  6013. "style": {
  6014. "position": "absolute",
  6015. "bottom": "50px",
  6016. "right": "50px",
  6017. "zIndex": "9999",
  6018. "backgroundColor": "#2268bc",
  6019. "color": "#fff",
  6020. "padding": "12px 20px",
  6021. "cursor": "pointer",
  6022. "borderRadius": "4px",
  6023. },
  6024. "innerHTML": "提交作业"
  6025. })
  6026. let aTool = ''
  6027. let _loading = document.createElement('div')
  6028. _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;"
  6029. // _loading.id = "";
  6030. let _lchild = document.createElement('div')
  6031. let _limg = document.createElement('img')
  6032. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6033. _limg.style = "width: 26px;margin-right: 10px;"
  6034. _lchild.appendChild(_limg)
  6035. let _lspan = document.createElement('span')
  6036. _lspan.innerHTML = "上传中..."
  6037. _lchild.appendChild(_lspan)
  6038. _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%);"
  6039. _loading.appendChild(_lchild)
  6040. var _box = $$('div', {
  6041. "style": {
  6042. "position": "relative",
  6043. "width": "100%",
  6044. "height": "100%",
  6045. },
  6046. })
  6047. _box.appendChild(_loading)
  6048. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6049. switch (str) {
  6050. case "whiteboard":
  6051. aTool = 1;
  6052. _iframe = $$("iframe", {
  6053. "frameborder": "no",
  6054. "border": "0",
  6055. "scrolling ": "no",
  6056. "style": {
  6057. "cssText": "border:0;width:100%;height:100%"
  6058. },
  6059. "src": "https://beta.iwb.cocorobo.cn/"
  6060. })
  6061. _box.appendChild(_iframe);
  6062. _box.appendChild(_jie);
  6063. _formdiv = new U.UF.UI.form(
  6064. "电子白板",
  6065. _box, {
  6066. "id": "whiteboard" + cid + stage + task + tool,
  6067. "style": {
  6068. "width": "90%",
  6069. "height": "90%",
  6070. "overflow": 'hidden'
  6071. },
  6072. "onresize": function () { }
  6073. }, {
  6074. closecallback: function () { }
  6075. }, {
  6076. "style": {
  6077. "height": "36px"
  6078. }
  6079. }).form; //创建窗体
  6080. _taskbar = {
  6081. "id": str + _formdiv.id,
  6082. "style": {
  6083. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6084. },
  6085. "name": "电子白板",
  6086. "forms": _formdiv,
  6087. "click": function () {
  6088. U.MD.D.I.openApplication(str, obj, info);
  6089. }
  6090. }
  6091. break;
  6092. case "mind":
  6093. aTool = 3;
  6094. _iframe = $$("iframe", {
  6095. "frameborder": "no",
  6096. "border": "0",
  6097. "scrolling ": "no",
  6098. "style": {
  6099. "cssText": "border:0;width:100%;height:100%"
  6100. },
  6101. "src": "/kityminder-editor/dist/index.html"
  6102. })
  6103. _box.appendChild(_iframe);
  6104. _box.appendChild(_jie);
  6105. _formdiv = new U.UF.UI.form(
  6106. "思维导图",
  6107. _box, { //"/jsmind/example/demo.html"
  6108. "id": "mind" + cid + stage + task + tool,
  6109. "style": {
  6110. "width": "90%",
  6111. "height": "90%",
  6112. "overflow": 'hidden'
  6113. },
  6114. "onresize": function () { }
  6115. }, {
  6116. closecallback: function () { }
  6117. }, {
  6118. "style": {
  6119. "height": "36px"
  6120. }
  6121. }).form; //创建窗体
  6122. _taskbar = {
  6123. "id": str + _formdiv.id,
  6124. "style": {
  6125. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6126. },
  6127. "name": "思维导图",
  6128. "forms": _formdiv,
  6129. "click": function () {
  6130. U.MD.D.I.openApplication(str, obj, info);
  6131. }
  6132. }
  6133. break;
  6134. case "MindMap":
  6135. aTool = 3;
  6136. _iframe = $$("iframe", {
  6137. "frameborder": "no",
  6138. "border": "0",
  6139. "scrolling ": "no",
  6140. "style": {
  6141. "cssText": "border:0;width:100%;height:100%"
  6142. },
  6143. "src": "//cloud.cocorobo.cn/mind/"
  6144. })
  6145. _box.appendChild(_iframe);
  6146. _box.appendChild(_jie);
  6147. _formdiv = new U.UF.UI.form(
  6148. "思维导图",
  6149. _box, { //"/jsmind/example/demo.html"
  6150. "id": "mind" + cid + stage + task + tool,
  6151. "style": {
  6152. "width": "90%",
  6153. "height": "90%",
  6154. "overflow": 'hidden'
  6155. },
  6156. "onresize": function () { }
  6157. }, {
  6158. closecallback: function () { }
  6159. }, {
  6160. "style": {
  6161. "height": "36px"
  6162. }
  6163. }).form; //创建窗体
  6164. _taskbar = {
  6165. "id": str + _formdiv.id,
  6166. "style": {
  6167. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6168. },
  6169. "name": "思维导图",
  6170. "forms": _formdiv,
  6171. "click": function () {
  6172. U.MD.D.I.openApplication(str, obj, info);
  6173. }
  6174. }
  6175. break;
  6176. case "doc":
  6177. aTool = 6;
  6178. _iframe = $$("iframe", {
  6179. "frameborder": "no",
  6180. "border": "0",
  6181. "scrolling ": "no",
  6182. "style": {
  6183. "cssText": "border:0;width:100%;height:100%"
  6184. },
  6185. "src": "/Office/Word/WordEditArea.htm"
  6186. })
  6187. _box.appendChild(_iframe);
  6188. _box.appendChild(_jie);
  6189. _formdiv = new U.UF.UI.form(
  6190. "协同文档",
  6191. _box, {
  6192. "id": "doc" + cid + stage + task + tool,
  6193. "style": {
  6194. "width": "90%",
  6195. "height": "90%",
  6196. "overflow": 'hidden'
  6197. },
  6198. "onresize": function () { }
  6199. }, {
  6200. closecallback: function () { }
  6201. }, {
  6202. "style": {
  6203. "height": "36px"
  6204. }
  6205. }).form; //创建窗体
  6206. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6207. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6208. })
  6209. _taskbar = {
  6210. "id": str + _formdiv.id,
  6211. "style": {
  6212. "backgroundImage": "url(/img/icon/doc.png)"
  6213. },
  6214. "name": "协同文档",
  6215. "forms": _formdiv,
  6216. "click": function () {
  6217. U.MD.D.I.openApplication(str, obj, info);
  6218. }
  6219. }
  6220. break;
  6221. case "mindNetwork": //好友打开
  6222. aTool = 7;
  6223. _iframe = $$("iframe", {
  6224. "webkitallowfullscreen": "",
  6225. "mozallowfullscreen": "",
  6226. "allowfullscreen": "",
  6227. "frameborder": "no",
  6228. "border": "0",
  6229. "scrolling ": "no",
  6230. "style": {
  6231. "cssText": "border:0; width:100%; height:100%;"
  6232. },
  6233. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6234. })
  6235. _box.appendChild(_iframe);
  6236. _box.appendChild(_jie);
  6237. _formdiv = new U.UF.UI.form(
  6238. "思维网格",
  6239. _box, {
  6240. "id": "mindNetwork" + cid + stage + task + tool,
  6241. "style": {
  6242. "width": "90%",
  6243. "height": "90%",
  6244. "overflow": 'hidden'
  6245. },
  6246. "onresize": function () { }
  6247. }, {
  6248. closecallback: function () { }
  6249. }, {
  6250. "style": {
  6251. "height": "36px"
  6252. }
  6253. }).form; //创建窗体
  6254. _taskbar = {
  6255. "id": str + _formdiv.id,
  6256. "style": {
  6257. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6258. },
  6259. "name": "思维网格",
  6260. "forms": _formdiv,
  6261. "click": function () {
  6262. U.MD.D.I.openApplication(str, obj, info);
  6263. }
  6264. }
  6265. break;
  6266. case "courseDesign":
  6267. _iframe = $$("iframe", {
  6268. "webkitallowfullscreen": "",
  6269. "mozallowfullscreen": "",
  6270. "allowfullscreen": "",
  6271. "frameborder": "no",
  6272. "border": "0",
  6273. "scrolling ": "no",
  6274. "style": {
  6275. "cssText": "border:0; width:100%; height:100%;"
  6276. },
  6277. "src": "/course-design-vue"
  6278. })
  6279. _box.appendChild(_iframe);
  6280. _box.appendChild(_jie);
  6281. _formdiv = new U.UF.UI.form(
  6282. "项目设计",
  6283. _box, {
  6284. "id": "courseDesign" + cid + stage + task + tool,
  6285. "style": {
  6286. "width": "90%",
  6287. "height": "90%",
  6288. "overflow": 'hidden'
  6289. },
  6290. "onresize": function () { }
  6291. }, {
  6292. closecallback: function () { }
  6293. }, {
  6294. "style": {
  6295. "height": "36px"
  6296. }
  6297. }).form; //创建窗体
  6298. _taskbar = {
  6299. "id": str + _formdiv.id,
  6300. "style": {
  6301. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6302. },
  6303. "name": "项目设计",
  6304. "forms": _formdiv,
  6305. "click": function () {
  6306. U.MD.D.I.openApplication(str, obj, info);
  6307. }
  6308. }
  6309. break;
  6310. }
  6311. const script1 = document.createElement("script");
  6312. script1.type = "text/javascript";
  6313. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6314. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6315. const script2 = document.createElement("script");
  6316. script2.type = "text/javascript";
  6317. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6318. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6319. const script3 = document.createElement("script");
  6320. script3.type = "text/javascript";
  6321. script3.charset = "UTF-8";
  6322. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6323. const script4 = document.createElement("script");
  6324. script4.type = "text/javascript";
  6325. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6326. script4.src = window.origin + "/js/Common/jietu2E.js";
  6327. if (_iframe) {
  6328. if (str == 'doc') {
  6329. _iframe = _formdiv.querySelector('iframe')
  6330. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6331. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6332. _iframe.contentWindow.document.body.appendChild(script1);
  6333. _iframe.contentWindow.document.body.appendChild(script2);
  6334. // _iframe.contentWindow.document.body.appendChild(script3);
  6335. _iframe.contentWindow.document.body.appendChild(script4);
  6336. })
  6337. if (onloadListener) {
  6338. _iframe.contentDocument.location.reload()
  6339. } else {
  6340. _iframe.contentDocument.location.reload()
  6341. }
  6342. } else if (str == 'courseDesign') {
  6343. U.UF.DL.iframeLoad(_iframe, function () {
  6344. // _iframe.contentWindow.U.MD.O.W.load();
  6345. // _iframe.contentWindow.document.body.appendChild(script1);
  6346. _iframe.contentWindow.document.body.appendChild(script2);
  6347. _iframe.contentWindow.document.body.appendChild(script4);
  6348. })
  6349. } else if (str == 'mind') {
  6350. _iframe = _formdiv.querySelector('iframe')
  6351. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6352. //
  6353. _iframe.contentWindow.document.body.appendChild(script1);
  6354. _iframe.contentWindow.document.body.appendChild(script2);
  6355. _iframe.contentWindow.document.body.appendChild(script4);
  6356. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6357. })
  6358. if (onloadListener) {
  6359. _iframe.contentDocument.location.reload()
  6360. } else {
  6361. _iframe.contentDocument.location.reload()
  6362. }
  6363. } else if (str == 'whiteboard') {
  6364. _iframe = _formdiv.querySelector('iframe')
  6365. let onloadListener = _iframe.onload = () => {
  6366. _iframe.contentWindow.document.body.appendChild(script1);
  6367. _iframe.contentWindow.document.body.appendChild(script2);
  6368. _iframe.contentWindow.document.body.appendChild(script4);
  6369. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6370. };
  6371. if (onloadListener) {
  6372. try {
  6373. _iframe.src += "?cocorobo="+new Date().getTime()
  6374. _iframe.contentWindow.document.location.reload()
  6375. } catch (error) {
  6376. }
  6377. } else {
  6378. _iframe.contentDocument.location.reload()
  6379. }
  6380. } else {
  6381. _iframe.onload = () => {
  6382. _iframe.contentWindow.document.body.appendChild(script1);
  6383. _iframe.contentWindow.document.body.appendChild(script2);
  6384. // _iframe.contentWindow.document.body.appendChild(script3);
  6385. _iframe.contentWindow.document.body.appendChild(script4);
  6386. };
  6387. }
  6388. _jie.onclick = async () => {
  6389. let text = ''
  6390. if (aTool == 1) {
  6391. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6392. } else if (aTool == 6) {
  6393. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6394. } else if (aTool == 3) {
  6395. text = await U.MD.D.I.getEditorContent(_iframe);
  6396. }
  6397. _loading.style.display = 'flex'
  6398. console.log(_loading);
  6399. var _ajs = _iframe.contentWindow.document.createElement("script");
  6400. _ajs.type = "text/javascript";
  6401. _ajs.innerHTML =
  6402. // 'console.log(' + _loading + ');\n' +
  6403. 'var _js = document.createElement("script");\n' +
  6404. '_js.type="text/javascript";\n' +
  6405. '_js.charset="UTF-8";\n' +
  6406. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6407. "_js.onload = function(){\n" +
  6408. ' var a = document.getElementsByTagName("img")\n' +
  6409. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6410. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6411. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6412. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6413. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6414. "beforeUpload_shishi(file," +
  6415. "'" +
  6416. _userid +
  6417. "'" +
  6418. ", " +
  6419. "'" +
  6420. _cid +
  6421. "'" +
  6422. ", " +
  6423. "'" +
  6424. _stage +
  6425. "'" +
  6426. ", " +
  6427. "'" +
  6428. _task +
  6429. "'" +
  6430. ", " +
  6431. "'" +
  6432. _tool +
  6433. "'" +
  6434. ", " +
  6435. "'" +
  6436. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6437. "'" +
  6438. ", " +
  6439. "'" +
  6440. aTool +
  6441. "'" +
  6442. ", " +
  6443. "`" +
  6444. text +
  6445. "`" +
  6446. ")\n" +
  6447. " });\n" +
  6448. "}\n" +
  6449. "document.head.appendChild(_js);\n";
  6450. _iframe.contentWindow.document.head.appendChild(_ajs);
  6451. }
  6452. }
  6453. //U.MD.D.I.openClick(str);
  6454. //如果有任务栏信息
  6455. // if (_taskbar) {
  6456. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6457. // }
  6458. }
  6459. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6460. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6461. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6462. _userid = student.userid, //登录用户id
  6463. _username = student.student //用户名字
  6464. let _iframe;
  6465. let _cid = cid,
  6466. _stage = stage,
  6467. _task = task,
  6468. _tool = tool;
  6469. var _jie = $$("div", {
  6470. "style": {
  6471. "position": "absolute",
  6472. "bottom": "50px",
  6473. "right": "50px",
  6474. "zIndex": "9999",
  6475. "backgroundColor": "#2268bc",
  6476. "color": "#fff",
  6477. "padding": "12px 20px",
  6478. "cursor": "pointer",
  6479. "borderRadius": "4px",
  6480. },
  6481. "innerHTML": "提交作业"
  6482. })
  6483. let aTool = ''
  6484. let _loading = document.createElement('div')
  6485. _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;"
  6486. // _loading.id = "";
  6487. let _lchild = document.createElement('div')
  6488. let _limg = document.createElement('img')
  6489. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6490. _limg.style = "width: 26px;margin-right: 10px;"
  6491. _lchild.appendChild(_limg)
  6492. let _lspan = document.createElement('span')
  6493. _lspan.innerHTML = "上传中..."
  6494. _lchild.appendChild(_lspan)
  6495. _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%);"
  6496. _loading.appendChild(_lchild)
  6497. var _box = $$('div', {
  6498. "style": {
  6499. "position": "relative",
  6500. "width": "100%",
  6501. "height": "100%",
  6502. },
  6503. })
  6504. _box.appendChild(_loading)
  6505. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6506. switch (str) {
  6507. case "whiteboard":
  6508. aTool = 1;
  6509. _iframe = $$("iframe", {
  6510. "frameborder": "no",
  6511. "border": "0",
  6512. "scrolling ": "no",
  6513. "style": {
  6514. "cssText": "border:0;width:100%;height:100%"
  6515. },
  6516. "src": "https://beta.iwb.cocorobo.cn/"
  6517. })
  6518. _box.appendChild(_iframe);
  6519. _box.appendChild(_jie);
  6520. _formdiv = new U.UF.UI.form(
  6521. "电子白板-" + _username,
  6522. _box, {
  6523. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6524. "style": {
  6525. "width": "90%",
  6526. "height": "90%",
  6527. "overflow": 'hidden'
  6528. },
  6529. "onresize": function () { }
  6530. }, {
  6531. closecallback: function () { }
  6532. }, {
  6533. "style": {
  6534. "height": "36px"
  6535. }
  6536. }).form; //创建窗体
  6537. _taskbar = {
  6538. "id": str + _formdiv.id,
  6539. "style": {
  6540. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6541. },
  6542. "name": "电子白板",
  6543. "forms": _formdiv,
  6544. "click": function () {
  6545. U.MD.D.I.openApplication(str, obj, info);
  6546. }
  6547. }
  6548. break;
  6549. case "mind":
  6550. aTool = 3;
  6551. _iframe = $$("iframe", {
  6552. "frameborder": "no",
  6553. "border": "0",
  6554. "scrolling ": "no",
  6555. "style": {
  6556. "cssText": "border:0;width:100%;height:100%"
  6557. },
  6558. "src": "/kityminder-editor/dist/index.html"
  6559. })
  6560. _box.appendChild(_iframe);
  6561. _box.appendChild(_jie);
  6562. _formdiv = new U.UF.UI.form(
  6563. "思维导图-" + _username,
  6564. _box, { //"/jsmind/example/demo.html"
  6565. "id": "mind" + cid + stage + task + tool + _userid,
  6566. "style": {
  6567. "width": "90%",
  6568. "height": "90%",
  6569. "overflow": 'hidden'
  6570. },
  6571. "onresize": function () { }
  6572. }, {
  6573. closecallback: function () { }
  6574. }, {
  6575. "style": {
  6576. "height": "36px"
  6577. }
  6578. }).form; //创建窗体
  6579. _taskbar = {
  6580. "id": str + _formdiv.id,
  6581. "style": {
  6582. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6583. },
  6584. "name": "思维导图",
  6585. "forms": _formdiv,
  6586. "click": function () {
  6587. U.MD.D.I.openApplication(str, obj, info);
  6588. }
  6589. }
  6590. break;
  6591. case "MindMap":
  6592. aTool = 3;
  6593. _iframe = $$("iframe", {
  6594. "frameborder": "no",
  6595. "border": "0",
  6596. "scrolling ": "no",
  6597. "style": {
  6598. "cssText": "border:0;width:100%;height:100%"
  6599. },
  6600. "src": "//cloud.cocorobo.cn/mind/"
  6601. })
  6602. _box.appendChild(_iframe);
  6603. _box.appendChild(_jie);
  6604. _formdiv = new U.UF.UI.form(
  6605. "思维导图-" + _username,
  6606. _box, { //"/jsmind/example/demo.html"
  6607. "id": "mind" + cid + stage + task + tool + _userid,
  6608. "style": {
  6609. "width": "90%",
  6610. "height": "90%",
  6611. "overflow": 'hidden'
  6612. },
  6613. "onresize": function () { }
  6614. }, {
  6615. closecallback: function () { }
  6616. }, {
  6617. "style": {
  6618. "height": "36px"
  6619. }
  6620. }).form; //创建窗体
  6621. _taskbar = {
  6622. "id": str + _formdiv.id,
  6623. "style": {
  6624. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6625. },
  6626. "name": "思维导图",
  6627. "forms": _formdiv,
  6628. "click": function () {
  6629. U.MD.D.I.openApplication(str, obj, info);
  6630. }
  6631. }
  6632. break;
  6633. case "doc":
  6634. aTool = 6;
  6635. _iframe = $$("iframe", {
  6636. "frameborder": "no",
  6637. "border": "0",
  6638. "scrolling ": "no",
  6639. "style": {
  6640. "cssText": "border:0;width:100%;height:100%"
  6641. },
  6642. "src": "/Office/Word/WordEditArea.htm"
  6643. })
  6644. _box.appendChild(_iframe);
  6645. _box.appendChild(_jie);
  6646. _formdiv = new U.UF.UI.form(
  6647. "协同文档-" + _username,
  6648. _box, {
  6649. "id": "doc" + cid + stage + task + tool + _userid,
  6650. "style": {
  6651. "width": "90%",
  6652. "height": "90%",
  6653. "overflow": 'hidden'
  6654. },
  6655. "onresize": function () { }
  6656. }, {
  6657. closecallback: function () { }
  6658. }, {
  6659. "style": {
  6660. "height": "36px"
  6661. }
  6662. }).form; //创建窗体
  6663. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6664. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6665. })
  6666. _taskbar = {
  6667. "id": str + _formdiv.id,
  6668. "style": {
  6669. "backgroundImage": "url(/img/icon/doc.png)"
  6670. },
  6671. "name": "协同文档",
  6672. "forms": _formdiv,
  6673. "click": function () {
  6674. U.MD.D.I.openApplication(str, obj, info);
  6675. }
  6676. }
  6677. break;
  6678. case "mindNetwork": //好友打开
  6679. aTool = 7;
  6680. _iframe = $$("iframe", {
  6681. "webkitallowfullscreen": "",
  6682. "mozallowfullscreen": "",
  6683. "allowfullscreen": "",
  6684. "frameborder": "no",
  6685. "border": "0",
  6686. "scrolling ": "no",
  6687. "style": {
  6688. "cssText": "border:0; width:100%; height:100%;"
  6689. },
  6690. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6691. })
  6692. _box.appendChild(_iframe);
  6693. _box.appendChild(_jie);
  6694. _formdiv = new U.UF.UI.form(
  6695. "思维网格-" + _username,
  6696. _box, {
  6697. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6698. "style": {
  6699. "width": "90%",
  6700. "height": "90%",
  6701. "overflow": 'hidden'
  6702. },
  6703. "onresize": function () { }
  6704. }, {
  6705. closecallback: function () { }
  6706. }, {
  6707. "style": {
  6708. "height": "36px"
  6709. }
  6710. }).form; //创建窗体
  6711. _taskbar = {
  6712. "id": str + _formdiv.id,
  6713. "style": {
  6714. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6715. },
  6716. "name": "思维网格",
  6717. "forms": _formdiv,
  6718. "click": function () {
  6719. U.MD.D.I.openApplication(str, obj, info);
  6720. }
  6721. }
  6722. break;
  6723. case "courseDesign":
  6724. _iframe = $$("iframe", {
  6725. "webkitallowfullscreen": "",
  6726. "mozallowfullscreen": "",
  6727. "allowfullscreen": "",
  6728. "frameborder": "no",
  6729. "border": "0",
  6730. "scrolling ": "no",
  6731. "style": {
  6732. "cssText": "border:0; width:100%; height:100%;"
  6733. },
  6734. "src": "/course-design-vue"
  6735. })
  6736. _box.appendChild(_iframe);
  6737. _box.appendChild(_jie);
  6738. _formdiv = new U.UF.UI.form(
  6739. "项目设计-" + _username,
  6740. _box, {
  6741. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6742. "style": {
  6743. "width": "90%",
  6744. "height": "90%",
  6745. "overflow": 'hidden'
  6746. },
  6747. "onresize": function () { }
  6748. }, {
  6749. closecallback: function () { }
  6750. }, {
  6751. "style": {
  6752. "height": "36px"
  6753. }
  6754. }).form; //创建窗体
  6755. _taskbar = {
  6756. "id": str + _formdiv.id,
  6757. "style": {
  6758. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6759. },
  6760. "name": "项目设计",
  6761. "forms": _formdiv,
  6762. "click": function () {
  6763. U.MD.D.I.openApplication(str, obj, info);
  6764. }
  6765. }
  6766. break;
  6767. }
  6768. const script1 = document.createElement("script");
  6769. script1.type = "text/javascript";
  6770. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6771. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6772. const script2 = document.createElement("script");
  6773. script2.type = "text/javascript";
  6774. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6775. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6776. const script3 = document.createElement("script");
  6777. script3.type = "text/javascript";
  6778. script3.charset = "UTF-8";
  6779. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6780. const script4 = document.createElement("script");
  6781. script4.type = "text/javascript";
  6782. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6783. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6784. if (_iframe) {
  6785. if (str == 'doc') {
  6786. _iframe = _formdiv.querySelector('iframe')
  6787. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6788. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6789. _iframe.contentWindow.document.body.appendChild(script1);
  6790. _iframe.contentWindow.document.body.appendChild(script2);
  6791. // _iframe.contentWindow.document.body.appendChild(script3);
  6792. _iframe.contentWindow.document.body.appendChild(script4);
  6793. })
  6794. if (onloadListener) {
  6795. _iframe.contentDocument.location.reload()
  6796. } else {
  6797. _iframe.contentDocument.location.reload()
  6798. }
  6799. } else if (str == 'courseDesign') {
  6800. U.UF.DL.iframeLoad(_iframe, function () {
  6801. // _iframe.contentWindow.U.MD.O.W.load();
  6802. // _iframe.contentWindow.document.body.appendChild(script1);
  6803. _iframe.contentWindow.document.body.appendChild(script2);
  6804. _iframe.contentWindow.document.body.appendChild(script4);
  6805. })
  6806. } else if (str == 'mind') {
  6807. _iframe = _formdiv.querySelector('iframe')
  6808. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6809. //
  6810. _iframe.contentWindow.document.body.appendChild(script1);
  6811. _iframe.contentWindow.document.body.appendChild(script2);
  6812. _iframe.contentWindow.document.body.appendChild(script4);
  6813. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6814. })
  6815. if (onloadListener) {
  6816. _iframe.contentDocument.location.reload()
  6817. } else {
  6818. _iframe.contentDocument.location.reload()
  6819. }
  6820. } else if (str == 'whiteboard') {
  6821. _iframe = _formdiv.querySelector('iframe')
  6822. let onloadListener = _iframe.onload = () => {
  6823. _iframe.contentWindow.document.body.appendChild(script1);
  6824. _iframe.contentWindow.document.body.appendChild(script2);
  6825. _iframe.contentWindow.document.body.appendChild(script4);
  6826. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6827. };
  6828. if (onloadListener) {
  6829. try {
  6830. _iframe.src += "?cocorobo="+new Date().getTime()
  6831. _iframe.contentWindow.document.location.reload()
  6832. } catch (error) {
  6833. }
  6834. } else {
  6835. _iframe.contentDocument.location.reload()
  6836. }
  6837. } else {
  6838. _iframe.onload = () => {
  6839. _iframe.contentWindow.document.body.appendChild(script1);
  6840. _iframe.contentWindow.document.body.appendChild(script2);
  6841. // _iframe.contentWindow.document.body.appendChild(script3);
  6842. _iframe.contentWindow.document.body.appendChild(script4);
  6843. };
  6844. }
  6845. _jie.onclick = async () => {
  6846. let text = ''
  6847. if (aTool == 1) {
  6848. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6849. } else if (aTool == 6) {
  6850. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6851. } else if (aTool == 3) {
  6852. text = await U.MD.D.I.getEditorContent(_iframe);
  6853. }
  6854. _loading.style.display = 'flex'
  6855. console.log(_loading);
  6856. var _ajs = _iframe.contentWindow.document.createElement("script");
  6857. _ajs.type = "text/javascript";
  6858. _ajs.innerHTML =
  6859. // 'console.log(' + _loading + ');\n' +
  6860. 'var _js = document.createElement("script");\n' +
  6861. '_js.type="text/javascript";\n' +
  6862. '_js.charset="UTF-8";\n' +
  6863. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6864. "_js.onload = function(){\n" +
  6865. ' var a = document.getElementsByTagName("img")\n' +
  6866. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6867. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6868. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6869. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6870. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6871. "beforeUpload_shishi(file," +
  6872. "'" +
  6873. _userid +
  6874. "'" +
  6875. ", " +
  6876. "'" +
  6877. _cid +
  6878. "'" +
  6879. ", " +
  6880. "'" +
  6881. _stage +
  6882. "'" +
  6883. ", " +
  6884. "'" +
  6885. _task +
  6886. "'" +
  6887. ", " +
  6888. "'" +
  6889. _tool +
  6890. "'" +
  6891. ", " +
  6892. "'" +
  6893. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6894. "'" +
  6895. ", " +
  6896. "'" +
  6897. aTool +
  6898. "'" +
  6899. ", " +
  6900. "`" +
  6901. text +
  6902. "`" +
  6903. ")\n" +
  6904. " });\n" +
  6905. "}\n" +
  6906. "document.head.appendChild(_js);\n";
  6907. _iframe.contentWindow.document.head.appendChild(_ajs);
  6908. }
  6909. }
  6910. }
  6911. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6912. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6913. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6914. _userid = student.userid, //登录用户id
  6915. _username = student.student //用户名字
  6916. let _iframe;
  6917. let _cid = cid,
  6918. _stage = stage,
  6919. _task = task,
  6920. _tool = tool;
  6921. var _jie = $$("div", {
  6922. "style": {
  6923. "position": "absolute",
  6924. "bottom": "50px",
  6925. "right": "50px",
  6926. "zIndex": "9999",
  6927. "backgroundColor": "#2268bc",
  6928. "color": "#fff",
  6929. "padding": "12px 20px",
  6930. "cursor": "pointer",
  6931. "borderRadius": "4px",
  6932. },
  6933. "innerHTML": "提交作业"
  6934. })
  6935. let aTool = ''
  6936. let _loading = document.createElement('div')
  6937. _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;"
  6938. // _loading.id = "";
  6939. let _lchild = document.createElement('div')
  6940. let _limg = document.createElement('img')
  6941. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6942. _limg.style = "width: 26px;margin-right: 10px;"
  6943. _lchild.appendChild(_limg)
  6944. let _lspan = document.createElement('span')
  6945. _lspan.innerHTML = "上传中..."
  6946. _lchild.appendChild(_lspan)
  6947. _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%);"
  6948. _loading.appendChild(_lchild)
  6949. var _box = $$('div', {
  6950. "style": {
  6951. "position": "relative",
  6952. "width": "100%",
  6953. "height": "100%",
  6954. },
  6955. })
  6956. _box.appendChild(_loading)
  6957. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6958. switch (str) {
  6959. case "whiteboard":
  6960. aTool = 1;
  6961. _iframe = $$("iframe", {
  6962. "frameborder": "no",
  6963. "border": "0",
  6964. "scrolling ": "no",
  6965. "style": {
  6966. "cssText": "border:0;width:100%;height:100%"
  6967. },
  6968. "src": "https://beta.iwb.cocorobo.cn/"
  6969. })
  6970. _box.appendChild(_iframe);
  6971. _box.appendChild(_jie);
  6972. _formdiv = new U.UF.UI.form(
  6973. "电子白板-" + _username,
  6974. _box, {
  6975. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6976. "style": {
  6977. "width": "90%",
  6978. "height": "90%",
  6979. "overflow": 'hidden'
  6980. },
  6981. "onresize": function () { }
  6982. }, {
  6983. closecallback: function () { }
  6984. }, {
  6985. "style": {
  6986. "height": "36px"
  6987. }
  6988. }).form; //创建窗体
  6989. _taskbar = {
  6990. "id": str + _formdiv.id,
  6991. "style": {
  6992. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6993. },
  6994. "name": "电子白板",
  6995. "forms": _formdiv,
  6996. "click": function () {
  6997. U.MD.D.I.openApplication(str, obj, info);
  6998. }
  6999. }
  7000. break;
  7001. case "mind":
  7002. aTool = 3;
  7003. _iframe = $$("iframe", {
  7004. "frameborder": "no",
  7005. "border": "0",
  7006. "scrolling ": "no",
  7007. "style": {
  7008. "cssText": "border:0;width:100%;height:100%"
  7009. },
  7010. "src": "/kityminder-editor/dist/index.html"
  7011. })
  7012. _box.appendChild(_iframe);
  7013. _box.appendChild(_jie);
  7014. _formdiv = new U.UF.UI.form(
  7015. "思维导图-" + _username,
  7016. _box, { //"/jsmind/example/demo.html"
  7017. "id": "mind" + cid + stage + task + tool + _userid,
  7018. "style": {
  7019. "width": "90%",
  7020. "height": "90%",
  7021. "overflow": 'hidden'
  7022. },
  7023. "onresize": function () { }
  7024. }, {
  7025. closecallback: function () { }
  7026. }, {
  7027. "style": {
  7028. "height": "36px"
  7029. }
  7030. }).form; //创建窗体
  7031. _taskbar = {
  7032. "id": str + _formdiv.id,
  7033. "style": {
  7034. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7035. },
  7036. "name": "思维导图",
  7037. "forms": _formdiv,
  7038. "click": function () {
  7039. U.MD.D.I.openApplication(str, obj, info);
  7040. }
  7041. }
  7042. break;
  7043. case "MindMap":
  7044. aTool = 3;
  7045. _iframe = $$("iframe", {
  7046. "frameborder": "no",
  7047. "border": "0",
  7048. "scrolling ": "no",
  7049. "style": {
  7050. "cssText": "border:0;width:100%;height:100%"
  7051. },
  7052. "src": "//cloud.cocorobo.cn/mind/"
  7053. })
  7054. _box.appendChild(_iframe);
  7055. _box.appendChild(_jie);
  7056. _formdiv = new U.UF.UI.form(
  7057. "思维导图-" + _username,
  7058. _box, { //"/jsmind/example/demo.html"
  7059. "id": "mind" + cid + stage + task + tool + _userid,
  7060. "style": {
  7061. "width": "90%",
  7062. "height": "90%",
  7063. "overflow": 'hidden'
  7064. },
  7065. "onresize": function () { }
  7066. }, {
  7067. closecallback: function () { }
  7068. }, {
  7069. "style": {
  7070. "height": "36px"
  7071. }
  7072. }).form; //创建窗体
  7073. _taskbar = {
  7074. "id": str + _formdiv.id,
  7075. "style": {
  7076. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7077. },
  7078. "name": "思维导图",
  7079. "forms": _formdiv,
  7080. "click": function () {
  7081. U.MD.D.I.openApplication(str, obj, info);
  7082. }
  7083. }
  7084. break;
  7085. case "doc":
  7086. aTool = 6;
  7087. _iframe = $$("iframe", {
  7088. "frameborder": "no",
  7089. "border": "0",
  7090. "scrolling ": "no",
  7091. "style": {
  7092. "cssText": "border:0;width:100%;height:100%"
  7093. },
  7094. "src": "/Office/Word/WordEditArea.htm"
  7095. })
  7096. _box.appendChild(_iframe);
  7097. _box.appendChild(_jie);
  7098. _formdiv = new U.UF.UI.form(
  7099. "协同文档-" + _username,
  7100. _box, {
  7101. "id": "doc" + cid + stage + task + tool + _userid,
  7102. "style": {
  7103. "width": "90%",
  7104. "height": "90%",
  7105. "overflow": 'hidden'
  7106. },
  7107. "onresize": function () { }
  7108. }, {
  7109. closecallback: function () { }
  7110. }, {
  7111. "style": {
  7112. "height": "36px"
  7113. }
  7114. }).form; //创建窗体
  7115. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7116. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7117. })
  7118. _taskbar = {
  7119. "id": str + _formdiv.id,
  7120. "style": {
  7121. "backgroundImage": "url(/img/icon/doc.png)"
  7122. },
  7123. "name": "协同文档",
  7124. "forms": _formdiv,
  7125. "click": function () {
  7126. U.MD.D.I.openApplication(str, obj, info);
  7127. }
  7128. }
  7129. break;
  7130. case "mindNetwork": //好友打开
  7131. aTool = 7;
  7132. _iframe = $$("iframe", {
  7133. "webkitallowfullscreen": "",
  7134. "mozallowfullscreen": "",
  7135. "allowfullscreen": "",
  7136. "frameborder": "no",
  7137. "border": "0",
  7138. "scrolling ": "no",
  7139. "style": {
  7140. "cssText": "border:0; width:100%; height:100%;"
  7141. },
  7142. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7143. })
  7144. _box.appendChild(_iframe);
  7145. _box.appendChild(_jie);
  7146. _formdiv = new U.UF.UI.form(
  7147. "思维网格-" + _username,
  7148. _box, {
  7149. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7150. "style": {
  7151. "width": "90%",
  7152. "height": "90%",
  7153. "overflow": 'hidden'
  7154. },
  7155. "onresize": function () { }
  7156. }, {
  7157. closecallback: function () { }
  7158. }, {
  7159. "style": {
  7160. "height": "36px"
  7161. }
  7162. }).form; //创建窗体
  7163. _taskbar = {
  7164. "id": str + _formdiv.id,
  7165. "style": {
  7166. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7167. },
  7168. "name": "思维网格",
  7169. "forms": _formdiv,
  7170. "click": function () {
  7171. U.MD.D.I.openApplication(str, obj, info);
  7172. }
  7173. }
  7174. break;
  7175. case "courseDesign":
  7176. _iframe = $$("iframe", {
  7177. "webkitallowfullscreen": "",
  7178. "mozallowfullscreen": "",
  7179. "allowfullscreen": "",
  7180. "frameborder": "no",
  7181. "border": "0",
  7182. "scrolling ": "no",
  7183. "style": {
  7184. "cssText": "border:0; width:100%; height:100%;"
  7185. },
  7186. "src": "/course-design-vue"
  7187. })
  7188. _box.appendChild(_iframe);
  7189. _box.appendChild(_jie);
  7190. _formdiv = new U.UF.UI.form(
  7191. "项目设计-" + _username,
  7192. _box, {
  7193. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7194. "style": {
  7195. "width": "90%",
  7196. "height": "90%",
  7197. "overflow": 'hidden'
  7198. },
  7199. "onresize": function () { }
  7200. }, {
  7201. closecallback: function () { }
  7202. }, {
  7203. "style": {
  7204. "height": "36px"
  7205. }
  7206. }).form; //创建窗体
  7207. _taskbar = {
  7208. "id": str + _formdiv.id,
  7209. "style": {
  7210. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7211. },
  7212. "name": "项目设计",
  7213. "forms": _formdiv,
  7214. "click": function () {
  7215. U.MD.D.I.openApplication(str, obj, info);
  7216. }
  7217. }
  7218. break;
  7219. }
  7220. const script1 = document.createElement("script");
  7221. script1.type = "text/javascript";
  7222. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7223. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7224. const script2 = document.createElement("script");
  7225. script2.type = "text/javascript";
  7226. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7227. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7228. const script3 = document.createElement("script");
  7229. script3.type = "text/javascript";
  7230. script3.charset = "UTF-8";
  7231. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7232. const script4 = document.createElement("script");
  7233. script4.type = "text/javascript";
  7234. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7235. script4.src = window.origin + "/js/Common/jietu2E.js";
  7236. if (_iframe) {
  7237. if (str == 'doc') {
  7238. _iframe = _formdiv.querySelector('iframe')
  7239. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7240. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7241. _iframe.contentWindow.document.body.appendChild(script1);
  7242. _iframe.contentWindow.document.body.appendChild(script2);
  7243. // _iframe.contentWindow.document.body.appendChild(script3);
  7244. _iframe.contentWindow.document.body.appendChild(script4);
  7245. })
  7246. if (onloadListener) {
  7247. _iframe.contentDocument.location.reload()
  7248. } else {
  7249. _iframe.contentDocument.location.reload()
  7250. }
  7251. } else if (str == 'courseDesign') {
  7252. U.UF.DL.iframeLoad(_iframe, function () {
  7253. // _iframe.contentWindow.U.MD.O.W.load();
  7254. // _iframe.contentWindow.document.body.appendChild(script1);
  7255. _iframe.contentWindow.document.body.appendChild(script2);
  7256. _iframe.contentWindow.document.body.appendChild(script4);
  7257. })
  7258. } else if (str == 'mind') {
  7259. _iframe = _formdiv.querySelector('iframe')
  7260. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7261. //
  7262. _iframe.contentWindow.document.body.appendChild(script1);
  7263. _iframe.contentWindow.document.body.appendChild(script2);
  7264. _iframe.contentWindow.document.body.appendChild(script4);
  7265. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7266. })
  7267. if (onloadListener) {
  7268. _iframe.contentDocument.location.reload()
  7269. } else {
  7270. _iframe.contentDocument.location.reload()
  7271. }
  7272. } else if (str == 'whiteboard') {
  7273. _iframe = _formdiv.querySelector('iframe')
  7274. let onloadListener = _iframe.onload = () => {
  7275. _iframe.contentWindow.document.body.appendChild(script1);
  7276. _iframe.contentWindow.document.body.appendChild(script2);
  7277. _iframe.contentWindow.document.body.appendChild(script4);
  7278. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7279. };
  7280. if (onloadListener) {
  7281. try {
  7282. _iframe.src += "?cocorobo="+new Date().getTime()
  7283. _iframe.contentWindow.document.location.reload()
  7284. } catch (error) {
  7285. }
  7286. } else {
  7287. _iframe.contentDocument.location.reload()
  7288. }
  7289. } else {
  7290. _iframe.onload = () => {
  7291. _iframe.contentWindow.document.body.appendChild(script1);
  7292. _iframe.contentWindow.document.body.appendChild(script2);
  7293. // _iframe.contentWindow.document.body.appendChild(script3);
  7294. _iframe.contentWindow.document.body.appendChild(script4);
  7295. };
  7296. }
  7297. _jie.onclick = async () => {
  7298. let text = ''
  7299. if (aTool == 1) {
  7300. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7301. } else if (aTool == 6) {
  7302. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7303. } else if (aTool == 3) {
  7304. text = await U.MD.D.I.getEditorContent(_iframe);
  7305. }
  7306. _loading.style.display = 'flex'
  7307. console.log(_loading);
  7308. var _ajs = _iframe.contentWindow.document.createElement("script");
  7309. _ajs.type = "text/javascript";
  7310. _ajs.innerHTML =
  7311. // 'console.log(' + _loading + ');\n' +
  7312. 'var _js = document.createElement("script");\n' +
  7313. '_js.type="text/javascript";\n' +
  7314. '_js.charset="UTF-8";\n' +
  7315. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7316. "_js.onload = function(){\n" +
  7317. ' var a = document.getElementsByTagName("img")\n' +
  7318. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7319. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7320. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7321. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7322. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7323. "beforeUpload_shishi(file," +
  7324. "'" +
  7325. _userid +
  7326. "'" +
  7327. ", " +
  7328. "'" +
  7329. _cid +
  7330. "'" +
  7331. ", " +
  7332. "'" +
  7333. _stage +
  7334. "'" +
  7335. ", " +
  7336. "'" +
  7337. _task +
  7338. "'" +
  7339. ", " +
  7340. "'" +
  7341. _tool +
  7342. "'" +
  7343. ", " +
  7344. "'" +
  7345. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7346. "'" +
  7347. ", " +
  7348. "'" +
  7349. aTool +
  7350. "'" +
  7351. ", " +
  7352. "`" +
  7353. text +
  7354. "`" +
  7355. ")\n" +
  7356. " });\n" +
  7357. "}\n" +
  7358. "document.head.appendChild(_js);\n";
  7359. _iframe.contentWindow.document.head.appendChild(_ajs);
  7360. }
  7361. }
  7362. }
  7363. U.MD.D.I.getEditorContent = function (iframe) {
  7364. return new Promise((resolve, reject) => {
  7365. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7366. console.log(content);
  7367. resolve(content)
  7368. });
  7369. });
  7370. }
  7371. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7372. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7373. // if (res.value[0].length > 0) {
  7374. // // resolve(res.value[0][0].text);
  7375. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7376. // $(fileInput).val('');
  7377. // });
  7378. // }
  7379. // }, [], { "type": "GET", "withCredentials": true });
  7380. var xmlhttp;
  7381. var Mac, Sn, DeviceId
  7382. if (window.XMLHttpRequest) {
  7383. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7384. xmlhttp = new XMLHttpRequest();
  7385. } else {
  7386. // IE6, IE5 浏览器执行代码
  7387. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7388. }
  7389. xmlhttp.onreadystatechange = function () {
  7390. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7391. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7392. // resolve(res.value[0][0].text);
  7393. if (type == '2') {
  7394. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7395. } else if (type == '3') {
  7396. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7397. }
  7398. } else {
  7399. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7400. }
  7401. }
  7402. }
  7403. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7404. xmlhttp.send();
  7405. }
  7406. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7407. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7408. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7409. _userinfo = US.userInfo, //登录用户信息
  7410. _userid = US.userInfo.userid //登录用户id
  7411. let _iframe;
  7412. let _cid = cid,
  7413. _stage = stage,
  7414. _task = task,
  7415. _tool = tool;
  7416. var _jie = $$("div", {
  7417. "style": {
  7418. "position": "absolute",
  7419. "bottom": "50px",
  7420. "right": "50px",
  7421. "zIndex": "9999",
  7422. "backgroundColor": "#2268bc",
  7423. "color": "#fff",
  7424. "padding": "12px 20px",
  7425. "cursor": "pointer",
  7426. "borderRadius": "4px",
  7427. },
  7428. "innerHTML": "确认并提交"
  7429. })
  7430. let aTool = ''
  7431. let _loading = document.createElement('div')
  7432. _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;"
  7433. // _loading.id = "";
  7434. let _lchild = document.createElement('div')
  7435. let _limg = document.createElement('img')
  7436. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7437. _limg.style = "width: 26px;margin-right: 10px;"
  7438. _lchild.appendChild(_limg)
  7439. let _lspan = document.createElement('span')
  7440. _lspan.innerHTML = "上传中..."
  7441. _lchild.appendChild(_lspan)
  7442. _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%);"
  7443. _loading.appendChild(_lchild)
  7444. var _box = $$('div', {
  7445. "style": {
  7446. "position": "relative",
  7447. "width": "100%",
  7448. "height": "100%",
  7449. },
  7450. })
  7451. _box.appendChild(_loading)
  7452. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7453. switch (str) {
  7454. case "whiteboard":
  7455. aTool = 1;
  7456. _iframe = $$("iframe", {
  7457. "frameborder": "no",
  7458. "border": "0",
  7459. "scrolling ": "no",
  7460. "style": {
  7461. "cssText": "border:0;width:100%;height:100%"
  7462. },
  7463. "src": "https://beta.iwb.cocorobo.cn/"
  7464. })
  7465. _box.appendChild(_iframe);
  7466. _box.appendChild(_jie);
  7467. _formdiv = new U.UF.UI.form(
  7468. "电子白板",
  7469. _box, {
  7470. "id": "whiteboards" + cid + stage + task + tool,
  7471. "style": {
  7472. "width": "90%",
  7473. "height": "90%",
  7474. "overflow": 'hidden'
  7475. },
  7476. "onresize": function () { }
  7477. }, {
  7478. closecallback: function () { }
  7479. }, {
  7480. "style": {
  7481. "height": "36px"
  7482. }
  7483. }).form; //创建窗体
  7484. _taskbar = {
  7485. "id": str + _formdiv.id,
  7486. "style": {
  7487. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7488. },
  7489. "name": "电子白板",
  7490. "forms": _formdiv,
  7491. "click": function () {
  7492. U.MD.D.I.openApplication(str, obj, info);
  7493. }
  7494. }
  7495. break;
  7496. case "mind":
  7497. aTool = 3;
  7498. _iframe = $$("iframe", {
  7499. "frameborder": "no",
  7500. "border": "0",
  7501. "scrolling ": "no",
  7502. "style": {
  7503. "cssText": "border:0;width:100%;height:100%"
  7504. },
  7505. "src": "/kityminder-editor/dist/index.html"
  7506. });
  7507. _box.appendChild(_iframe);
  7508. _box.appendChild(_jie);
  7509. _formdiv = new U.UF.UI.form(
  7510. "思维导图",
  7511. _box, { //"/jsmind/example/demo.html"
  7512. "id": "minds" + cid + stage + task + tool,
  7513. "style": {
  7514. "width": "90%",
  7515. "height": "90%",
  7516. "overflow": 'hidden'
  7517. },
  7518. "onresize": function () { }
  7519. }, {
  7520. closecallback: function () { }
  7521. }, {
  7522. "style": {
  7523. "height": "36px"
  7524. }
  7525. }).form; //创建窗体
  7526. _taskbar = {
  7527. "id": str + _formdiv.id,
  7528. "style": {
  7529. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7530. },
  7531. "name": "思维导图",
  7532. "forms": _formdiv,
  7533. "click": function () {
  7534. U.MD.D.I.openApplication(str, obj, info);
  7535. }
  7536. }
  7537. break;
  7538. case "doc":
  7539. aTool = 6;
  7540. _iframe = $$("iframe", {
  7541. "frameborder": "no",
  7542. "border": "0",
  7543. "scrolling ": "no",
  7544. "style": {
  7545. "cssText": "border:0;width:100%;height:100%"
  7546. },
  7547. "src": "/Office/Word/WordEditArea.htm"
  7548. })
  7549. _box.appendChild(_iframe);
  7550. _box.appendChild(_jie);
  7551. _formdiv = new U.UF.UI.form(
  7552. "协同文档",
  7553. _box, {
  7554. "id": "docs" + cid + stage + task + tool,
  7555. "style": {
  7556. "width": "90%",
  7557. "height": "90%",
  7558. "overflow": 'hidden'
  7559. },
  7560. "onresize": function () { }
  7561. }, {
  7562. closecallback: function () { }
  7563. }, {
  7564. "style": {
  7565. "height": "36px"
  7566. }
  7567. }).form; //创建窗体
  7568. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7569. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7570. })
  7571. _taskbar = {
  7572. "id": str + _formdiv.id,
  7573. "style": {
  7574. "backgroundImage": "url(/img/icon/doc.png)"
  7575. },
  7576. "name": "协同文档",
  7577. "forms": _formdiv,
  7578. "click": function () {
  7579. U.MD.D.I.openApplication(str, obj, info);
  7580. }
  7581. }
  7582. break;
  7583. }
  7584. const script1 = document.createElement("script");
  7585. script1.type = "text/javascript";
  7586. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7587. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7588. const script2 = document.createElement("script");
  7589. script2.type = "text/javascript";
  7590. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7591. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7592. const script3 = document.createElement("script");
  7593. script3.type = "text/javascript";
  7594. script3.charset = "UTF-8";
  7595. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7596. const script4 = document.createElement("script");
  7597. script4.type = "text/javascript";
  7598. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7599. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7600. if (_iframe) {
  7601. if (str == 'doc') {
  7602. _iframe = _formdiv.querySelector('iframe')
  7603. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7604. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7605. _iframe.contentWindow.document.body.appendChild(script1);
  7606. _iframe.contentWindow.document.body.appendChild(script2);
  7607. // _iframe.contentWindow.document.body.appendChild(script3);
  7608. _iframe.contentWindow.document.body.appendChild(script4);
  7609. })
  7610. if (onloadListener) {
  7611. _iframe.contentDocument.location.reload()
  7612. } else {
  7613. _iframe.contentDocument.location.reload()
  7614. }
  7615. } else if (str == 'mind') {
  7616. _iframe = _formdiv.querySelector('iframe')
  7617. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7618. _iframe.contentWindow.document.body.appendChild(script1);
  7619. _iframe.contentWindow.document.body.appendChild(script2);
  7620. _iframe.contentWindow.document.body.appendChild(script4);
  7621. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7622. })
  7623. if (onloadListener) {
  7624. _iframe.contentDocument.location.reload()
  7625. } else {
  7626. _iframe.contentDocument.location.reload()
  7627. }
  7628. } else {
  7629. _iframe.onload = () => {
  7630. _iframe.contentWindow.document.body.appendChild(script1);
  7631. _iframe.contentWindow.document.body.appendChild(script2);
  7632. // _iframe.contentWindow.document.body.appendChild(script3);
  7633. _iframe.contentWindow.document.body.appendChild(script4);
  7634. };
  7635. }
  7636. _jie.onclick = async () => {
  7637. let text = ''
  7638. if (aTool == 6) {
  7639. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7640. } else if (aTool == 3) {
  7641. text = await U.MD.D.I.getEditorContent(_iframe);
  7642. }
  7643. _loading.style.display = 'flex'
  7644. console.log(_loading);
  7645. var _ajs = _iframe.contentWindow.document.createElement("script");
  7646. _ajs.type = "text/javascript";
  7647. _ajs.innerHTML =
  7648. // 'console.log(' + _loading + ');\n' +
  7649. 'var _js = document.createElement("script");\n' +
  7650. '_js.type="text/javascript";\n' +
  7651. '_js.charset="UTF-8";\n' +
  7652. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7653. "_js.onload = function(){\n" +
  7654. ' var a = document.getElementsByTagName("img")\n' +
  7655. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7656. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7657. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7658. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7659. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7660. "beforeUpload_shishi(file," +
  7661. "'" +
  7662. _userid +
  7663. "'" +
  7664. ", " +
  7665. "'" +
  7666. _cid +
  7667. "'" +
  7668. ", " +
  7669. "'" +
  7670. _stage +
  7671. "'" +
  7672. ", " +
  7673. "'" +
  7674. _task +
  7675. "'" +
  7676. ", " +
  7677. "'" +
  7678. _tool +
  7679. "'" +
  7680. ", " +
  7681. "'" +
  7682. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7683. "'" +
  7684. ", " +
  7685. "'" +
  7686. aTool +
  7687. "'" +
  7688. ", " +
  7689. "`" +
  7690. text +
  7691. "`" +
  7692. ")\n" +
  7693. " });\n" +
  7694. "}\n" +
  7695. "document.head.appendChild(_js);\n";
  7696. _iframe.contentWindow.document.head.appendChild(_ajs);
  7697. }
  7698. }
  7699. //U.MD.D.I.openClick(str);
  7700. //如果有任务栏信息
  7701. // if (_taskbar) {
  7702. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7703. // }
  7704. }
  7705. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7706. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7707. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7708. _userinfo = US.userInfo, //登录用户信息
  7709. _userid = US.userInfo.userid //登录用户id
  7710. let _iframe;
  7711. let _cid = cid,
  7712. _stage = stage,
  7713. _task = task,
  7714. _tool = tool;
  7715. var _jie = $$("div", {
  7716. "style": {
  7717. "position": "absolute",
  7718. "bottom": "50px",
  7719. "right": "50px",
  7720. "zIndex": "9999",
  7721. "backgroundColor": "#2268bc",
  7722. "color": "#fff",
  7723. "padding": "12px 20px",
  7724. "cursor": "pointer",
  7725. "borderRadius": "4px",
  7726. },
  7727. "innerHTML": "确认并提交"
  7728. })
  7729. let aTool = ''
  7730. let _loading = document.createElement('div')
  7731. _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;"
  7732. // _loading.id = "";
  7733. let _lchild = document.createElement('div')
  7734. let _limg = document.createElement('img')
  7735. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7736. _limg.style = "width: 26px;margin-right: 10px;"
  7737. _lchild.appendChild(_limg)
  7738. let _lspan = document.createElement('span')
  7739. _lspan.innerHTML = "上传中..."
  7740. _lchild.appendChild(_lspan)
  7741. _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%);"
  7742. _loading.appendChild(_lchild)
  7743. var _box = $$('div', {
  7744. "style": {
  7745. "position": "relative",
  7746. "width": "100%",
  7747. "height": "100%",
  7748. },
  7749. })
  7750. _box.appendChild(_loading)
  7751. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7752. switch (str) {
  7753. case "whiteboard":
  7754. aTool = 1;
  7755. _iframe = $$("iframe", {
  7756. "frameborder": "no",
  7757. "border": "0",
  7758. "scrolling ": "no",
  7759. "style": {
  7760. "cssText": "border:0;width:100%;height:100%"
  7761. },
  7762. "src": "https://beta.iwb.cocorobo.cn/"
  7763. })
  7764. _box.appendChild(_iframe);
  7765. _box.appendChild(_jie);
  7766. _formdiv = new U.UF.UI.form(
  7767. "电子白板",
  7768. _box, {
  7769. "id": "whiteboards" + cid + stage + task + tool,
  7770. "style": {
  7771. "width": "90%",
  7772. "height": "90%",
  7773. "overflow": 'hidden'
  7774. },
  7775. "onresize": function () { }
  7776. }, {
  7777. closecallback: function () { }
  7778. }, {
  7779. "style": {
  7780. "height": "36px"
  7781. }
  7782. }).form; //创建窗体
  7783. _taskbar = {
  7784. "id": str + _formdiv.id,
  7785. "style": {
  7786. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7787. },
  7788. "name": "电子白板",
  7789. "forms": _formdiv,
  7790. "click": function () {
  7791. U.MD.D.I.openApplication(str, obj, info);
  7792. }
  7793. }
  7794. break;
  7795. case "mind":
  7796. aTool = 3;
  7797. _iframe = $$("iframe", {
  7798. "frameborder": "no",
  7799. "border": "0",
  7800. "scrolling ": "no",
  7801. "style": {
  7802. "cssText": "border:0;width:100%;height:100%"
  7803. },
  7804. "src": "/kityminder-editor/dist/index.html"
  7805. });
  7806. _box.appendChild(_iframe);
  7807. _box.appendChild(_jie);
  7808. _formdiv = new U.UF.UI.form(
  7809. "思维导图",
  7810. _box, { //"/jsmind/example/demo.html"
  7811. "id": "minds" + cid + stage + task + tool,
  7812. "style": {
  7813. "width": "90%",
  7814. "height": "90%",
  7815. "overflow": 'hidden'
  7816. },
  7817. "onresize": function () { }
  7818. }, {
  7819. closecallback: function () { }
  7820. }, {
  7821. "style": {
  7822. "height": "36px"
  7823. }
  7824. }).form; //创建窗体
  7825. _taskbar = {
  7826. "id": str + _formdiv.id,
  7827. "style": {
  7828. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7829. },
  7830. "name": "思维导图",
  7831. "forms": _formdiv,
  7832. "click": function () {
  7833. U.MD.D.I.openApplication(str, obj, info);
  7834. }
  7835. }
  7836. break;
  7837. case "doc":
  7838. aTool = 6;
  7839. _iframe = $$("iframe", {
  7840. "frameborder": "no",
  7841. "border": "0",
  7842. "scrolling ": "no",
  7843. "style": {
  7844. "cssText": "border:0;width:100%;height:100%"
  7845. },
  7846. "src": "/Office/Word/WordEditArea.htm"
  7847. })
  7848. _box.appendChild(_iframe);
  7849. _box.appendChild(_jie);
  7850. _formdiv = new U.UF.UI.form(
  7851. "协同文档",
  7852. _box, {
  7853. "id": "docs" + cid + stage + task + tool,
  7854. "style": {
  7855. "width": "90%",
  7856. "height": "90%",
  7857. "overflow": 'hidden'
  7858. },
  7859. "onresize": function () { }
  7860. }, {
  7861. closecallback: function () { }
  7862. }, {
  7863. "style": {
  7864. "height": "36px"
  7865. }
  7866. }).form; //创建窗体
  7867. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7868. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7869. })
  7870. _taskbar = {
  7871. "id": str + _formdiv.id,
  7872. "style": {
  7873. "backgroundImage": "url(/img/icon/doc.png)"
  7874. },
  7875. "name": "协同文档",
  7876. "forms": _formdiv,
  7877. "click": function () {
  7878. U.MD.D.I.openApplication(str, obj, info);
  7879. }
  7880. }
  7881. break;
  7882. }
  7883. const script1 = document.createElement("script");
  7884. script1.type = "text/javascript";
  7885. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7886. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7887. const script2 = document.createElement("script");
  7888. script2.type = "text/javascript";
  7889. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7890. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7891. const script3 = document.createElement("script");
  7892. script3.type = "text/javascript";
  7893. script3.charset = "UTF-8";
  7894. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7895. const script4 = document.createElement("script");
  7896. script4.type = "text/javascript";
  7897. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7898. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7899. if (_iframe) {
  7900. if (str == 'doc') {
  7901. _iframe = _formdiv.querySelector('iframe')
  7902. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7903. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7904. _iframe.contentWindow.document.body.appendChild(script1);
  7905. _iframe.contentWindow.document.body.appendChild(script2);
  7906. // _iframe.contentWindow.document.body.appendChild(script3);
  7907. _iframe.contentWindow.document.body.appendChild(script4);
  7908. })
  7909. if (onloadListener) {
  7910. _iframe.contentDocument.location.reload()
  7911. } else {
  7912. _iframe.contentDocument.location.reload()
  7913. }
  7914. } else if (str == 'mind') {
  7915. _iframe = _formdiv.querySelector('iframe')
  7916. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7917. _iframe.contentWindow.document.body.appendChild(script1);
  7918. _iframe.contentWindow.document.body.appendChild(script2);
  7919. _iframe.contentWindow.document.body.appendChild(script4);
  7920. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7921. })
  7922. if (onloadListener) {
  7923. _iframe.contentDocument.location.reload()
  7924. } else {
  7925. _iframe.contentDocument.location.reload()
  7926. }
  7927. } else {
  7928. _iframe.onload = () => {
  7929. _iframe.contentWindow.document.body.appendChild(script1);
  7930. _iframe.contentWindow.document.body.appendChild(script2);
  7931. // _iframe.contentWindow.document.body.appendChild(script3);
  7932. _iframe.contentWindow.document.body.appendChild(script4);
  7933. };
  7934. }
  7935. _jie.onclick = async () => {
  7936. let text = ''
  7937. if (aTool == 6) {
  7938. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7939. } else if (aTool == 3) {
  7940. text = await U.MD.D.I.getEditorContent(_iframe);
  7941. }
  7942. _loading.style.display = 'flex'
  7943. console.log(_loading);
  7944. var _ajs = _iframe.contentWindow.document.createElement("script");
  7945. _ajs.type = "text/javascript";
  7946. _ajs.innerHTML =
  7947. // 'console.log(' + _loading + ');\n' +
  7948. 'var _js = document.createElement("script");\n' +
  7949. '_js.type="text/javascript";\n' +
  7950. '_js.charset="UTF-8";\n' +
  7951. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7952. "_js.onload = function(){\n" +
  7953. ' var a = document.getElementsByTagName("img")\n' +
  7954. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7955. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7956. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7957. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7958. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7959. "beforeUpload_shishi(file," +
  7960. "'" +
  7961. _userid +
  7962. "'" +
  7963. ", " +
  7964. "'" +
  7965. _cid +
  7966. "'" +
  7967. ", " +
  7968. "'" +
  7969. _stage +
  7970. "'" +
  7971. ", " +
  7972. "'" +
  7973. _task +
  7974. "'" +
  7975. ", " +
  7976. "'" +
  7977. _tool +
  7978. "'" +
  7979. ", " +
  7980. "'" +
  7981. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7982. "'" +
  7983. ", " +
  7984. "'" +
  7985. aTool +
  7986. "'" +
  7987. ", " +
  7988. "`" +
  7989. text +
  7990. "`" +
  7991. ")\n" +
  7992. " });\n" +
  7993. "}\n" +
  7994. "document.head.appendChild(_js);\n";
  7995. _iframe.contentWindow.document.head.appendChild(_ajs);
  7996. }
  7997. }
  7998. //U.MD.D.I.openClick(str);
  7999. //如果有任务栏信息
  8000. // if (_taskbar) {
  8001. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8002. // }
  8003. }
  8004. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8005. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8006. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8007. _userinfo = US.userInfo, //登录用户信息
  8008. _userid = US.userInfo.userid //登录用户id
  8009. let _iframe;
  8010. let _cid = cid,
  8011. _stage = stage,
  8012. _task = task,
  8013. _tool = tool;
  8014. var _jie = $$("div", {
  8015. "style": {
  8016. "position": "absolute",
  8017. "bottom": "50px",
  8018. "right": "50px",
  8019. "zIndex": "9999",
  8020. "backgroundColor": "#2268bc",
  8021. "color": "#fff",
  8022. "padding": "12px 20px",
  8023. "cursor": "pointer",
  8024. "borderRadius": "4px",
  8025. },
  8026. "innerHTML": "上传模板"
  8027. })
  8028. let aTool = ''
  8029. let _loading = document.createElement('div')
  8030. _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;"
  8031. // _loading.id = "";
  8032. let _lchild = document.createElement('div')
  8033. let _limg = document.createElement('img')
  8034. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8035. _limg.style = "width: 26px;margin-right: 10px;"
  8036. _lchild.appendChild(_limg)
  8037. let _lspan = document.createElement('span')
  8038. _lspan.innerHTML = "上传中..."
  8039. _lchild.appendChild(_lspan)
  8040. _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%);"
  8041. _loading.appendChild(_lchild)
  8042. var _box = $$('div', {
  8043. "style": {
  8044. "position": "relative",
  8045. "width": "100%",
  8046. "height": "100%",
  8047. },
  8048. })
  8049. _box.appendChild(_loading)
  8050. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8051. switch (str) {
  8052. case "whiteboard":
  8053. aTool = 1;
  8054. _iframe = $$("iframe", {
  8055. "frameborder": "no",
  8056. "border": "0",
  8057. "scrolling ": "no",
  8058. "style": {
  8059. "cssText": "border:0;width:100%;height:100%"
  8060. },
  8061. "src": "https://beta.iwb.cocorobo.cn/"
  8062. })
  8063. _box.appendChild(_iframe);
  8064. _box.appendChild(_jie);
  8065. _formdiv = new U.UF.UI.form(
  8066. "电子白板",
  8067. _box, {
  8068. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8069. "style": {
  8070. "width": "90%",
  8071. "height": "90%",
  8072. "overflow": 'hidden'
  8073. },
  8074. "onresize": function () { }
  8075. }, {
  8076. closecallback: function () { }
  8077. }, {
  8078. "style": {
  8079. "height": "36px"
  8080. }
  8081. }).form; //创建窗体
  8082. _taskbar = {
  8083. "id": str + _formdiv.id,
  8084. "style": {
  8085. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8086. },
  8087. "name": "电子白板",
  8088. "forms": _formdiv,
  8089. "click": function () {
  8090. U.MD.D.I.openApplication(str, obj, info);
  8091. }
  8092. }
  8093. break;
  8094. case "mind":
  8095. aTool = 3;
  8096. _iframe = $$("iframe", {
  8097. "frameborder": "no",
  8098. "border": "0",
  8099. "scrolling ": "no",
  8100. "style": {
  8101. "cssText": "border:0;width:100%;height:100%"
  8102. },
  8103. "src": "/kityminder-editor/dist/index.html"
  8104. });
  8105. _box.appendChild(_iframe);
  8106. _box.appendChild(_jie);
  8107. _formdiv = new U.UF.UI.form(
  8108. "思维导图",
  8109. _box, { //"/jsmind/example/demo.html"
  8110. "id": "minds_Yu" + cid + stage + task + tool,
  8111. "style": {
  8112. "width": "90%",
  8113. "height": "90%",
  8114. "overflow": 'hidden'
  8115. },
  8116. "onresize": function () { }
  8117. }, {
  8118. closecallback: function () { }
  8119. }, {
  8120. "style": {
  8121. "height": "36px"
  8122. }
  8123. }).form; //创建窗体
  8124. _taskbar = {
  8125. "id": str + _formdiv.id,
  8126. "style": {
  8127. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8128. },
  8129. "name": "思维导图",
  8130. "forms": _formdiv,
  8131. "click": function () {
  8132. U.MD.D.I.openApplication(str, obj, info);
  8133. }
  8134. }
  8135. break;
  8136. case "doc":
  8137. aTool = 6;
  8138. _iframe = $$("iframe", {
  8139. "frameborder": "no",
  8140. "border": "0",
  8141. "scrolling ": "no",
  8142. "style": {
  8143. "cssText": "border:0;width:100%;height:100%"
  8144. },
  8145. "src": "/Office/Word/WordEditArea.htm"
  8146. })
  8147. _box.appendChild(_iframe);
  8148. _box.appendChild(_jie);
  8149. _formdiv = new U.UF.UI.form(
  8150. "协同文档",
  8151. _box, {
  8152. "id": "docs_Yu" + cid + stage + task + tool,
  8153. "style": {
  8154. "width": "90%",
  8155. "height": "90%",
  8156. "overflow": 'hidden'
  8157. },
  8158. "onresize": function () { }
  8159. }, {
  8160. closecallback: function () { }
  8161. }, {
  8162. "style": {
  8163. "height": "36px"
  8164. }
  8165. }).form; //创建窗体
  8166. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8167. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8168. })
  8169. _taskbar = {
  8170. "id": str + _formdiv.id,
  8171. "style": {
  8172. "backgroundImage": "url(/img/icon/doc.png)"
  8173. },
  8174. "name": "协同文档",
  8175. "forms": _formdiv,
  8176. "click": function () {
  8177. U.MD.D.I.openApplication(str, obj, info);
  8178. }
  8179. }
  8180. break;
  8181. case "CocoPi":
  8182. aTool = 57;
  8183. _iframe = $$("iframe", {
  8184. "allowpaymentrequest": "allowpaymentrequest",
  8185. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8186. "webkitallowfullscreen": "",
  8187. "mozallowfullscreen": "",
  8188. "frameborder": "no",
  8189. "border": "0",
  8190. "scrolling ": "no",
  8191. "style": {
  8192. "cssText": "border:0;width:100%;height:100%"
  8193. },
  8194. "src": "https://pi.cocorobo.cn/"
  8195. })
  8196. _box.appendChild(_iframe);
  8197. _box.appendChild(_jie);
  8198. _formdiv = new U.UF.UI.form(
  8199. "CocoPi",
  8200. _box, {
  8201. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8202. "style": {
  8203. "width": "90%",
  8204. "height": "90%",
  8205. "overflow": 'hidden'
  8206. },
  8207. "onresize": function () { }
  8208. }, {
  8209. closecallback: function () { }
  8210. }, {
  8211. "style": {
  8212. "height": "36px"
  8213. }
  8214. }).form; //创建窗体
  8215. _taskbar = {
  8216. "id": str + _formdiv.id,
  8217. "style": {
  8218. "backgroundImage": "url(/img/icon/cocopi.png)"
  8219. },
  8220. "name": "CocoPi",
  8221. "forms": _formdiv,
  8222. "click": function () {
  8223. U.MD.D.I.openApplication(str, obj, info);
  8224. }
  8225. }
  8226. break;
  8227. }
  8228. if (_iframe) {
  8229. if (str == 'doc') {
  8230. _iframe = _formdiv.querySelector('iframe')
  8231. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8232. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8233. })
  8234. if (onloadListener) {
  8235. _iframe.contentDocument.location.reload()
  8236. } else {
  8237. _iframe.contentDocument.location.reload()
  8238. }
  8239. } else if (str == 'mind') {
  8240. _iframe = _formdiv.querySelector('iframe')
  8241. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8242. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8243. })
  8244. if (onloadListener) {
  8245. _iframe.contentDocument.location.reload()
  8246. } else {
  8247. _iframe.contentDocument.location.reload()
  8248. }
  8249. } else if (str == 'whiteboard') {
  8250. _iframe = _formdiv.querySelector('iframe')
  8251. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8252. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8253. })
  8254. if (onloadListener) {
  8255. try {
  8256. _iframe.src += "?cocorobo="+new Date().getTime()
  8257. _iframe.contentWindow.document.location.reload()
  8258. } catch (error) {
  8259. }
  8260. } else {
  8261. _iframe.contentDocument.location.reload()
  8262. }
  8263. } else if (str == 'CocoPi') {
  8264. _iframe = _formdiv.querySelector('iframe')
  8265. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8266. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8267. })
  8268. if (onloadListener) {
  8269. _iframe.contentDocument.location.reload()
  8270. } else {
  8271. _iframe.contentDocument.location.reload()
  8272. }
  8273. } else {
  8274. _iframe.onload = () => { };
  8275. }
  8276. _jie.onclick = async () => {
  8277. let text = ''
  8278. let type = '2'
  8279. if (aTool == 1) {
  8280. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8281. type = '3'
  8282. } else if (aTool == 6) {
  8283. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8284. type = '1'
  8285. } else if (aTool == 3) {
  8286. text = await U.MD.D.I.getEditorContent(_iframe);
  8287. type = '2'
  8288. } else if (aTool == 57) {
  8289. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8290. type = '4'
  8291. }
  8292. _loading.style.display = 'flex'
  8293. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8294. }
  8295. }
  8296. //U.MD.D.I.openClick(str);
  8297. //如果有任务栏信息
  8298. // if (_taskbar) {
  8299. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8300. // }
  8301. }
  8302. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8303. var xmlhttp;
  8304. var Mac, Sn, DeviceId
  8305. if (window.XMLHttpRequest) {
  8306. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8307. xmlhttp = new XMLHttpRequest();
  8308. } else {
  8309. // IE6, IE5 浏览器执行代码
  8310. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8311. }
  8312. xmlhttp.onreadystatechange = function () {
  8313. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8314. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8315. // resolve(res.value[0][0].text);
  8316. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8317. }
  8318. }
  8319. }
  8320. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8321. xmlhttp.send();
  8322. }
  8323. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8324. var xmlhttp;
  8325. var Mac, Sn, DeviceId
  8326. if (window.XMLHttpRequest) {
  8327. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8328. xmlhttp = new XMLHttpRequest();
  8329. } else {
  8330. // IE6, IE5 浏览器执行代码
  8331. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8332. }
  8333. xmlhttp.onreadystatechange = function () {
  8334. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8335. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8336. // resolve(res.value[0][0].text);
  8337. if (type == '2') {
  8338. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8339. } else if (type == '3') {
  8340. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8341. } else if (type == '4') {
  8342. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8343. }
  8344. } else {
  8345. if (type == '2') {
  8346. iframe.contentWindow.editor.minder.importData('json', '')
  8347. } else if (type == '3') {
  8348. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8349. } else if (type == '4') {
  8350. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8351. }
  8352. }
  8353. }
  8354. }
  8355. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8356. xmlhttp.send();
  8357. }
  8358. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8359. var xmlhttp;
  8360. var Mac, Sn, DeviceId
  8361. if (window.XMLHttpRequest) {
  8362. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8363. xmlhttp = new XMLHttpRequest();
  8364. } else {
  8365. // IE6, IE5 浏览器执行代码
  8366. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8367. }
  8368. xmlhttp.onreadystatechange = function () {
  8369. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8370. if (xmlhttp.response) {
  8371. // resolve(res.value[0][0].text);
  8372. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8373. // $(fileInput).val('');
  8374. // });
  8375. span.innerHTML = '上传成功'
  8376. setTimeout(() => {
  8377. loading.style.display = 'none'
  8378. }, 1000);
  8379. }
  8380. }
  8381. }
  8382. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8383. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8384. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8385. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8386. // 设置请求头,表示请求体的编码格式
  8387. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8388. // 设置请求体,使用url-encoded格式的数据
  8389. }
  8390. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8391. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8392. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8393. _userinfo = US.userInfo, //登录用户信息
  8394. _userid = US.userInfo.userid //登录用户id
  8395. let _iframe;
  8396. let _cid = cid,
  8397. _stage = stage,
  8398. _task = task,
  8399. _tool = tool;
  8400. var _jie = $$("div", {
  8401. "style": {
  8402. "position": "absolute",
  8403. "bottom": "50px",
  8404. "right": "50px",
  8405. "zIndex": "9999",
  8406. "backgroundColor": "#2268bc",
  8407. "color": "#fff",
  8408. "padding": "12px 20px",
  8409. "cursor": "pointer",
  8410. "borderRadius": "4px",
  8411. },
  8412. "innerHTML": "提交作业"
  8413. })
  8414. let aTool = ''
  8415. let _loading = document.createElement('div')
  8416. _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;"
  8417. // _loading.id = "";
  8418. let _lchild = document.createElement('div')
  8419. let _limg = document.createElement('img')
  8420. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8421. _limg.style = "width: 26px;margin-right: 10px;"
  8422. _lchild.appendChild(_limg)
  8423. let _lspan = document.createElement('span')
  8424. _lspan.innerHTML = "上传中..."
  8425. _lchild.appendChild(_lspan)
  8426. _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%);"
  8427. _loading.appendChild(_lchild)
  8428. var _box = $$('div', {
  8429. "style": {
  8430. "position": "relative",
  8431. "width": "100%",
  8432. "height": "100%",
  8433. },
  8434. })
  8435. _box.appendChild(_loading)
  8436. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8437. switch (str) {
  8438. case "CocoPi":
  8439. aTool = 57;
  8440. _iframe = $$("iframe", {
  8441. "allowpaymentrequest": "allowpaymentrequest",
  8442. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8443. "webkitallowfullscreen": "",
  8444. "mozallowfullscreen": "",
  8445. "frameborder": "no",
  8446. "border": "0",
  8447. "scrolling ": "no",
  8448. "style": {
  8449. "cssText": "border:0;width:100%;height:100%"
  8450. },
  8451. "src": "https://pi.cocorobo.cn/"
  8452. })
  8453. _box.appendChild(_iframe);
  8454. _box.appendChild(_jie);
  8455. _formdiv = new U.UF.UI.form(
  8456. "CocoPi",
  8457. _box, {
  8458. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8459. "style": {
  8460. "width": "90%",
  8461. "height": "90%",
  8462. "overflow": 'hidden'
  8463. },
  8464. "onresize": function () { }
  8465. }, {
  8466. closecallback: function () { }
  8467. }, {
  8468. "style": {
  8469. "height": "36px"
  8470. }
  8471. }).form; //创建窗体
  8472. _taskbar = {
  8473. "id": str + _formdiv.id,
  8474. "style": {
  8475. "backgroundImage": "url(/img/icon/cocopi.png)"
  8476. },
  8477. "name": "CocoPi",
  8478. "forms": _formdiv,
  8479. "click": function () {
  8480. U.MD.D.I.openApplication(str, obj, info);
  8481. }
  8482. }
  8483. break;
  8484. }
  8485. if (_iframe) {
  8486. if (str == 'CocoPi') {
  8487. _iframe = _formdiv.querySelector('iframe')
  8488. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8489. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8490. })
  8491. if (onloadListener) {
  8492. _iframe.contentDocument.location.reload()
  8493. } else {
  8494. _iframe.contentDocument.location.reload()
  8495. }
  8496. }
  8497. _jie.onclick = async () => {
  8498. let text = ''
  8499. if (aTool == 57) {
  8500. text = _iframe.contentWindow.getLoadXmlStr()
  8501. }
  8502. _loading.style.display = 'flex'
  8503. console.log(_loading);
  8504. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8505. _loading.style.display = 'none'
  8506. let _div = document.createElement('div')
  8507. _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;"
  8508. let _inner = document.createElement('div')
  8509. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8510. _inner.innerHTML = "上传成功"
  8511. _div.appendChild(_inner)
  8512. _iframe.contentWindow.window.document.body.appendChild(_div)
  8513. _div.onclick = () => {
  8514. _iframe.contentWindow.window.document.body.removeChild(_div)
  8515. }
  8516. setTimeout(() => {
  8517. _iframe.contentWindow.window.document.body.removeChild(_div)
  8518. }, 1000);
  8519. }, [], { "type": "POST", "withCredentials": true });
  8520. }
  8521. }
  8522. }
  8523. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8524. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8525. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8526. _userid = student.userid, //登录用户id
  8527. _username = student.student //用户名字
  8528. let _iframe;
  8529. let _cid = cid,
  8530. _stage = stage,
  8531. _task = task,
  8532. _tool = tool;
  8533. var _jie = $$("div", {
  8534. "style": {
  8535. "position": "absolute",
  8536. "bottom": "50px",
  8537. "right": "50px",
  8538. "zIndex": "9999",
  8539. "backgroundColor": "#2268bc",
  8540. "color": "#fff",
  8541. "padding": "12px 20px",
  8542. "cursor": "pointer",
  8543. "borderRadius": "4px",
  8544. },
  8545. "innerHTML": "提交作业"
  8546. })
  8547. let aTool = ''
  8548. let _loading = document.createElement('div')
  8549. _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;"
  8550. // _loading.id = "";
  8551. let _lchild = document.createElement('div')
  8552. let _limg = document.createElement('img')
  8553. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8554. _limg.style = "width: 26px;margin-right: 10px;"
  8555. _lchild.appendChild(_limg)
  8556. let _lspan = document.createElement('span')
  8557. _lspan.innerHTML = "上传中..."
  8558. _lchild.appendChild(_lspan)
  8559. _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%);"
  8560. _loading.appendChild(_lchild)
  8561. var _box = $$('div', {
  8562. "style": {
  8563. "position": "relative",
  8564. "width": "100%",
  8565. "height": "100%",
  8566. },
  8567. })
  8568. _box.appendChild(_loading)
  8569. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8570. switch (str) {
  8571. case "CocoPi":
  8572. aTool = 57;
  8573. _iframe = $$("iframe", {
  8574. "allowpaymentrequest": "allowpaymentrequest",
  8575. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8576. "webkitallowfullscreen": "",
  8577. "mozallowfullscreen": "",
  8578. "frameborder": "no",
  8579. "border": "0",
  8580. "scrolling ": "no",
  8581. "style": {
  8582. "cssText": "border:0;width:100%;height:100%"
  8583. },
  8584. "src": "https://pi.cocorobo.cn/"
  8585. })
  8586. _box.appendChild(_iframe);
  8587. _box.appendChild(_jie);
  8588. _formdiv = new U.UF.UI.form(
  8589. "CocoPi-" + _username,
  8590. _box, {
  8591. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8592. "style": {
  8593. "width": "90%",
  8594. "height": "90%",
  8595. "overflow": 'hidden'
  8596. },
  8597. "onresize": function () { }
  8598. }, {
  8599. closecallback: function () { }
  8600. }, {
  8601. "style": {
  8602. "height": "36px"
  8603. }
  8604. }).form; //创建窗体
  8605. _taskbar = {
  8606. "id": str + _formdiv.id,
  8607. "style": {
  8608. "backgroundImage": "url(/img/icon/cocopi.png)"
  8609. },
  8610. "name": "CocoPi",
  8611. "forms": _formdiv,
  8612. "click": function () {
  8613. U.MD.D.I.openApplication(str, obj, info);
  8614. }
  8615. }
  8616. break;
  8617. }
  8618. if (_iframe) {
  8619. if (str == 'CocoPi') {
  8620. _iframe = _formdiv.querySelector('iframe')
  8621. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8622. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8623. })
  8624. if (onloadListener) {
  8625. _iframe.contentDocument.location.reload()
  8626. } else {
  8627. _iframe.contentDocument.location.reload()
  8628. }
  8629. }
  8630. _jie.onclick = async () => {
  8631. let text = ''
  8632. if (aTool == 57) {
  8633. text = _iframe.contentWindow.getLoadXmlStr()
  8634. }
  8635. _loading.style.display = 'flex'
  8636. console.log(_loading);
  8637. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8638. _loading.style.display = 'none'
  8639. let _div = document.createElement('div')
  8640. _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;"
  8641. let _inner = document.createElement('div')
  8642. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8643. _inner.innerHTML = "上传成功"
  8644. _div.appendChild(_inner)
  8645. _iframe.contentWindow.window.document.body.appendChild(_div)
  8646. _div.onclick = () => {
  8647. _iframe.contentWindow.window.document.body.removeChild(_div)
  8648. }
  8649. setTimeout(() => {
  8650. _iframe.contentWindow.window.document.body.removeChild(_div)
  8651. }, 1000);
  8652. }, [], { "type": "POST", "withCredentials": true });
  8653. }
  8654. }
  8655. }
  8656. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8657. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8658. if (res.value[0].length > 0) {
  8659. if (atool == 57) {
  8660. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8661. }
  8662. } else {
  8663. if (atool == 57) {
  8664. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8665. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8666. }
  8667. }
  8668. }, [], { "type": "POST", "withCredentials": true });
  8669. }