DeskTop.js 547 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980
  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. _content = $$("div", {
  2720. className: "U_MD_D_KO",
  2721. "onmousedown": U.UF.C.closure(function (obj) {
  2722. //防止拖动图标即打开了桌面应用
  2723. U.MD.D.click(this, obj);
  2724. }, [_teacherDesktopIconInfo[i]]),
  2725. "onclick": U.UF.C.closure(function (obj) {
  2726. //防止拖动图标即打开了桌面应用
  2727. U.MD.D.click(this, obj);
  2728. }, [_teacherDesktopIconInfo[i]])
  2729. }, _frag); //
  2730. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2731. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2732. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2733. }
  2734. }
  2735. } else {
  2736. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2737. _content = $$("div", {
  2738. className: "U_MD_D_KO",
  2739. style: { 'width': '124px', 'height': '145px' },
  2740. "onmousedown": U.UF.C.closure(function (obj) {
  2741. //防止拖动图标即打开了桌面应用
  2742. U.MD.D.click(this, obj);
  2743. }, [_easyDesktopIconInfo[i]]),
  2744. "onclick": U.UF.C.closure(function (obj) {
  2745. //防止拖动图标即打开了桌面应用
  2746. U.MD.D.click(this, obj);
  2747. }, [_easyDesktopIconInfo[i]])
  2748. }, _frag); //
  2749. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2752. }
  2753. }
  2754. if (type == 1) {
  2755. //加载好后给图标定位
  2756. U.MD.D.iconPostion($(_frag).Child());
  2757. } else {
  2758. //加载好后给图标定位
  2759. U.MD.D.iconPostion2($(_frag).Child());
  2760. }
  2761. //把图标加载到页面
  2762. el.appendChild(_frag);
  2763. }
  2764. /**
  2765. * 显示任务栏
  2766. *
  2767. * @param {element} 桌面元素
  2768. */
  2769. U.MD.D.I.displayTaskbar = function (el) {
  2770. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2771. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2772. //任务栏位置变化
  2773. U.selectEl(el).css({ "bottom": "0px" });
  2774. //桌面位置变话
  2775. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2776. }
  2777. }
  2778. //#region 桌面图标拖动逻辑
  2779. /**
  2780. * 桌面排列图标
  2781. *
  2782. * @param {element} 桌面元素
  2783. * @param {object} 上下相距的距离
  2784. * @param {object} 左右相距的距离
  2785. * @return {object} 命名空间
  2786. */
  2787. U.MD.D.iconPostion = function (childs, top, left) {
  2788. var i; //用于循环处理
  2789. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2790. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2791. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2792. for (i = 0; i < childs.length; i++) {
  2793. //如果竖排top超过了范围处理
  2794. if (top + 95 > US.height - 10) {
  2795. //left超过了页面范围处理,则向上重叠打印处理
  2796. if ((left + 180) > US.width) {
  2797. top -= 110;
  2798. left -= 90;
  2799. }
  2800. //没有超过范围,那么left+90添加到下一个竖排打印
  2801. else {
  2802. left += 90;
  2803. top = 15;
  2804. };
  2805. }
  2806. //给图标的位置赋值
  2807. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2808. if (i < childs.length - 1) {
  2809. //页面图标每次向下加95
  2810. top += 95;
  2811. }
  2812. }
  2813. //返回最后调用的图标的位置
  2814. return [top, left];
  2815. }
  2816. /**
  2817. * 桌面排列图标
  2818. *
  2819. * @param {element} 桌面元素
  2820. * @param {object} 上下相距的距离
  2821. * @param {object} 左右相距的距离
  2822. * @return {object} 命名空间
  2823. */
  2824. U.MD.D.iconPostion2 = function (childs, top, left) {
  2825. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2826. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2827. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2828. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2829. for (i = 0; i < childs.length; i++) {
  2830. //如果竖排top超过了范围处理
  2831. if (left + 150 > US.width - 10) {
  2832. //left超过了页面范围处理,则向上重叠打印处理
  2833. if ((top + 180) > US.Height) {
  2834. top -= 150;
  2835. left -= 150;
  2836. }
  2837. //没有超过范围,那么left+90添加到下一个竖排打印
  2838. else {
  2839. top += 150;
  2840. left = ol;
  2841. };
  2842. }
  2843. //给图标的位置赋值
  2844. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2845. if (i < childs.length - 1) {
  2846. //页面图标每次向下加95
  2847. left += 150;
  2848. }
  2849. }
  2850. //返回最后调用的图标的位置
  2851. return [top, left];
  2852. }
  2853. /**
  2854. * 桌面点击事件逻辑
  2855. *
  2856. * @param {element} 桌面元素
  2857. * @param {object} 上下相距的距离
  2858. * @param {object} 左右相距的距离
  2859. * @return {object} 命名空间
  2860. */
  2861. U.MD.D.click = function (el, obj) {
  2862. var _buttonnumber = event.button; //点击的按钮的事件值
  2863. var _userinfo = US.userInfo;
  2864. U.UF.EV.stopBubble(); //阻止向上冒泡
  2865. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2866. if (_buttonnumber < 2) {
  2867. //如果是click事件的处理
  2868. if (event.type == "click") {
  2869. //如果元素在mousemove事件中没有移动则出发click事件
  2870. if (!U.MD.D.I.IsDrag) {
  2871. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2872. U.alert("请先登录您的账号!");
  2873. setTimeout(() => {
  2874. U.MD.U.L.login();
  2875. }, 2000);
  2876. } else {
  2877. //打开应用处理
  2878. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2879. }
  2880. }
  2881. }
  2882. //如果是mouse事件的处理
  2883. else {
  2884. if (US.Config.type == '1') {
  2885. //拖动处理,添加拖动和拖动结束事件
  2886. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2887. }
  2888. }
  2889. U.MD.D.I.IsDrag = false;
  2890. }
  2891. }
  2892. /**
  2893. * 拖动的处理
  2894. *
  2895. */
  2896. U.MD.D.iconMove = function () {
  2897. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2898. U.MD.D.I.IsDrag = true;
  2899. }
  2900. /**
  2901. * 拖动结束后,这里是定位处理,以网状的形式定位
  2902. *
  2903. * @param {element} 拖动的元素
  2904. * @return {object} 命名空间
  2905. */
  2906. U.MD.D.iconUp = function (el) {
  2907. var _top = 15,
  2908. _left = 20,
  2909. _margin,
  2910. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2911. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2912. if (_positioninfo["OT"] > 15) {
  2913. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2914. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2915. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2916. }
  2917. if (_positioninfo["OL"] > 20) {
  2918. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2919. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2920. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2921. }
  2922. //while循环判断么一个重叠的元素
  2923. do {
  2924. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2925. _top = _positioninfo[0] + 95; //得到定位后的top
  2926. _left = _positioninfo[1]; //得到定位后的left
  2927. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2928. }
  2929. /**
  2930. * 判断拖动后图标是否重叠
  2931. *
  2932. * @param {element} 拖动的元素
  2933. * @param {element} 桌面所有的元素
  2934. * @param {array} 拖动元素的位置
  2935. ----------[0] 上 top
  2936. ----------[1] 左 left
  2937. * @return {object} 命名空间
  2938. */
  2939. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2940. //循环所有的图标
  2941. for (var i = 0; i < childs.length; i++) {
  2942. //判断有没有和该图标诶子重叠的元素
  2943. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2944. return childs[i]; //如果有返回
  2945. }
  2946. }
  2947. }
  2948. //#endregion
  2949. //#endregion
  2950. //#region 桌面应用
  2951. /**
  2952. * 打开应用
  2953. *
  2954. * @param {string} 类型
  2955. -----------------Disk 网盘系统
  2956. -----------------PDisk 学习系统网盘
  2957. -----------------Poto 图片
  2958. -----------------Video 视频
  2959. -----------------Music 音乐
  2960. -----------------Word word
  2961. -----------------Excel excel
  2962. -----------------Txt 记事本
  2963. -----------------PB 学习系统
  2964. -----------------Blog 朋友圈系统
  2965. -----------------FTP ftp系统
  2966. -----------------Group 好友群
  2967. -----------------SY 首页系统
  2968. -----------------Set 个人设置
  2969. -----------------XSet 系统设置
  2970. -----------------App 我们所有的app
  2971. -----------------BC c.1473.cn 平台
  2972. -----------------CWeb d.1473.cn 变成平台
  2973. -----------------其他的外联系统 我们统一用iframe打开
  2974. * @param {array} 类型
  2975. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2976. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2977. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2978. 如果第一个参数为其他,则无第二个参数
  2979. * @returns {array}
  2980. */
  2981. window.addEventListener('message', function (e) { // 监听 message 事件
  2982. // alert(e.data.type);
  2983. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2984. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2985. //3是展示全部阶段 2学生 1老师 4专家
  2986. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2987. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2988. //3是展示全部阶段 2学生 1老师 4专家
  2989. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2990. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2991. //3是展示全部阶段 2学生 1老师 4专家
  2992. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2993. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2994. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2995. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2996. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2997. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2998. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2999. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3000. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  3001. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3002. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  3003. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3004. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  3005. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3006. //3是展示全部阶段 2学生 1老师 4专家
  3007. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  3008. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3009. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  3010. U.MD.D.I.selectUser();
  3011. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3012. var _formel = document.getElementById("study");
  3013. U.UF.F.windowZooming(_formel);
  3014. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3015. var _formel = document.getElementById("studyDetail");
  3016. U.UF.F.windowZooming(_formel);
  3017. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3018. var _formel = document.getElementById("studyDetail");
  3019. U.UF.F.windowZooming(_formel);
  3020. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3021. var _formel = document.getElementById("studentStudy");
  3022. U.UF.F.windowZooming(_formel);
  3023. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3024. // var _formel = document.getElementById("study");
  3025. //如果最大化了,那么就把他缩小
  3026. // if (_formel.ismaximize) {
  3027. // return;
  3028. // }
  3029. // U.UF.F.windowZooming(_formel);
  3030. // U.UF.F.topWindow(_formel);
  3031. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3032. // var _formel = document.getElementById("studyDetail");
  3033. //如果最大化了,那么就把他缩小
  3034. // if (_formel.ismaximize) {
  3035. // return;
  3036. // }
  3037. // U.UF.F.windowZooming(_formel);
  3038. // U.UF.F.topWindow(_formel);
  3039. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3040. // var _formel = document.getElementById("studentStudy");
  3041. // if (_formel.ismaximize) {
  3042. // return;
  3043. // }
  3044. // U.UF.F.windowZooming(_formel);
  3045. // U.UF.F.topWindow(_formel);
  3046. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3047. var _formel = document.getElementById("study");
  3048. // if (_formel.ismaximize) {
  3049. // return;
  3050. // }
  3051. // U.UF.F.windowZooming(_formel);
  3052. U.UF.F.topWindow(_formel);
  3053. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3054. var _formel = document.getElementById("studentIndex");
  3055. U.UF.F.windowZooming(_formel);
  3056. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3057. var _formel = document.getElementById("studyDetailS");
  3058. U.UF.F.windowZooming(_formel);
  3059. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3060. var _formel = document.getElementById("studioIndex");
  3061. U.UF.F.windowZooming(_formel);
  3062. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3063. var _formel = document.getElementById("studyDetailStudio");
  3064. U.UF.F.windowZooming(_formel);
  3065. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3066. var _formel = document.getElementById("studyDetailStudio");
  3067. U.UF.F.windowZooming(_formel);
  3068. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3069. var _formel = document.getElementById("studyDetailNT");
  3070. U.UF.F.windowZooming(_formel);
  3071. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3072. var _formel = document.getElementById("studyDetailS");
  3073. U.UF.F.windowZooming(_formel);
  3074. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3075. var _formel = document.getElementById("studyDetailS");
  3076. U.UF.F.topWindow(_formel);
  3077. } else if (e.data.tools && e.data.tools == "1") {
  3078. // U.MD.D.I.openApplication("whiteboard")
  3079. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3080. } else if (e.data.tools && e.data.tools == "2") {
  3081. U.MD.D.I.openApplication("note")
  3082. } else if (e.data.tools && e.data.tools == "3") {
  3083. // U.MD.D.I.openApplication("mind")
  3084. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3085. } else if (e.data.tools && e.data.tools == "4") {
  3086. U.MD.D.I.openApplication("investigation")
  3087. } else if (e.data.tools && e.data.tools == "6") {
  3088. // U.MD.D.I.openApplication("doc")
  3089. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3090. } else if (e.data.tools && e.data.tools == "7") {
  3091. // U.MD.D.I.openApplication("mindNetwork")
  3092. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3093. } else if (e.data.tools && e.data.tools == "8") {
  3094. U.MD.D.I.openApplication("library")
  3095. } else if (e.data.tools && e.data.tools == "17") {
  3096. U.MD.D.I.openApplication("stuLibrary")
  3097. } else if (e.data.tools && e.data.tools == "18") {
  3098. U.MD.D.I.openApplication("train")
  3099. } else if (e.data.tools && e.data.tools == "21") {
  3100. U.MD.D.I.openApplication("program")
  3101. } else if (e.data.tools && e.data.tools == "22") {
  3102. U.MD.D.I.openApplication("AIprogram2")
  3103. } else if (e.data.tools && e.data.tools == "23") {
  3104. U.MD.D.I.openApplication("Pythonprogram")
  3105. } else if (e.data.tools && e.data.tools == "24") {
  3106. U.MD.D.I.openApplication("AIprogram")
  3107. } else if (e.data.tools && e.data.tools == "25") {
  3108. U.MD.D.I.openApplication("sys")
  3109. } else if (e.data.tools && e.data.tools == "26") {
  3110. // U.MD.D.I.openApplication("courseDesign")
  3111. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3112. } else if (e.data.tools && e.data.tools == "31") {
  3113. U.MD.D.I.openApplication("netWorkPanel")
  3114. } else if (e.data.tools && e.data.tools == "32") {
  3115. U.MD.D.I.openApplication("codeEdit")
  3116. } else if (e.data.tools && e.data.tools == "57") {
  3117. U.MD.D.I.openApplication("CocoPi")
  3118. } else if (e.data.tools && e.data.tools == "63") {
  3119. U.MD.D.I.openApplication("Wood")
  3120. } else if (e.data.tools && e.data.tools == "58") {
  3121. U.MD.D.I.openApplication("car")
  3122. } else if (e.data.tools && e.data.tools == "59") {
  3123. U.MD.D.I.openApplication("lineSearch")
  3124. } else if (e.data.tools && e.data.tools == "60") {
  3125. U.MD.D.I.openApplication("deepLearning")
  3126. } else if (e.data.tools && e.data.tools == "61") {
  3127. U.MD.D.I.openApplication("allHistory")
  3128. } else if (e.data.tools && e.data.tools == "28") {
  3129. U.MD.D.I.openApplication("translation")
  3130. } else if (e.data.tools && e.data.tools == "37") {
  3131. U.MD.D.I.openApplication("mohe")
  3132. } else if (e.data.tools && e.data.tools == "38") {
  3133. U.MD.D.I.openApplication("24game")
  3134. } else if (e.data.tools && e.data.tools == "39") {
  3135. U.MD.D.I.openApplication("GeoGebra")
  3136. } else if (e.data.tools && e.data.tools == "43") {
  3137. U.MD.D.I.openApplication("studentEvaluate")
  3138. } else if (e.data.tools && e.data.tools == "44") {
  3139. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3140. } else if (e.data.tools && e.data.tools == "46") {
  3141. U.MD.D.I.openApplication("project")
  3142. } else if (e.data.tools && e.data.tools == "71") {
  3143. U.MD.D.I.openApplication("aigptCourse")
  3144. } else if (e.data.tools && e.data.tools == "1s") {
  3145. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3146. } else if (e.data.tools && e.data.tools == "3s") {
  3147. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3148. } else if (e.data.tools && e.data.tools == "6s") {
  3149. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3150. } else if (e.data.tools && e.data.tools == "1studio") {
  3151. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3152. } else if (e.data.tools && e.data.tools == "3studio") {
  3153. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3154. } else if (e.data.tools && e.data.tools == "6studio") {
  3155. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3156. } else if (e.data.tools && e.data.tools == "3y") {
  3157. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3158. } else if (e.data.tools && e.data.tools == "1y") {
  3159. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3160. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3161. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3162. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3163. U.MD.D.I.openApplication("AIAnalyse")
  3164. } else if (e.data.tools && e.data.tools == "1teacher") {
  3165. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3166. } else if (e.data.tools && e.data.tools == "3teacher") {
  3167. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3168. } else if (e.data.tools && e.data.tools == "7teacher") {
  3169. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3170. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3171. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3172. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3173. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3174. } else if (e.data.tools && e.data.tools == "1E") {
  3175. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3176. } else if (e.data.tools && e.data.tools == "3E") {
  3177. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3178. } else if (e.data.tools && e.data.tools == "57y") {
  3179. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3180. } else if (e.data.tools && e.data.tools == "57u") {
  3181. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3182. } else if (e.data.tools && e.data.tools == "57teacher") {
  3183. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3184. } else if (e.data.tools && e.data.tools == "64") {
  3185. U.MD.D.I.openApplication("AIChat")
  3186. } else if (e.data.tools && e.data.tools == "66") {
  3187. U.MD.D.I.openApplication("formulaEdi")
  3188. } else if (e.data.tools && e.data.tools == "67") {
  3189. U.MD.D.I.openApplication("molStr")
  3190. } else if (e.data.tools && e.data.tools == "68") {
  3191. U.MD.D.I.openApplication("timeAxis")
  3192. } else if (e.data.tools && e.data.tools == "openCourse") {
  3193. let _data = {
  3194. typea: e.data.typea || '',
  3195. typeb: e.data.typeb || '',
  3196. typed: e.data.typed || '',
  3197. }
  3198. U.MD.D.I.openInApplication("index", _data)
  3199. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3200. let _data = {
  3201. classid: e.data.classid || '',
  3202. }
  3203. U.MD.D.I.openInApplication("dataClass", _data)
  3204. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3205. let _data = {
  3206. cid: e.data.cid || '',
  3207. gid: e.data.gid || '',
  3208. }
  3209. U.MD.D.I.openInApplication("opencCscl", _data)
  3210. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3211. U.MD.D.I.openApplication("dataBoardTest")
  3212. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3213. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3214. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3215. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3216. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3217. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3218. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3219. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3220. }else if (e.data.tools && e.data.tools == "loginSz") {
  3221. U.MD.D.I.openInApplication("loginSz")
  3222. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3223. if($('#classroom_observation_board')[0]){
  3224. // U.UF.F.closeWindow($('#classroom_observation_board'))
  3225. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  3226. }
  3227. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3228. }
  3229. });
  3230. U.MD.D.I.selectUser = function () {
  3231. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3232. if (res.value[0].length > 0) {
  3233. US.userInfo = res.value[0][0];
  3234. $(".userName")[0].innerHTML = US.userInfo.username;
  3235. }
  3236. }, [], { "type": "GET", "withCredentials": true });
  3237. }
  3238. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3239. var _userinfo = US.userInfo, //登录用户信息
  3240. _userid = US.userInfo.userid, //登录用户id
  3241. _oid = _userinfo.organizeid,
  3242. _type = US.userInfo.type,
  3243. _org = US.userInfo.org,
  3244. _role = US.userInfo.role,
  3245. _classId = US.userInfo.classid;
  3246. if (_type == 4) {
  3247. tType = 4
  3248. }
  3249. switch (str) {
  3250. case "studyDetailNT": //无终端模式
  3251. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3252. setTimeout(() => {
  3253. U.MD.U.L.login();
  3254. }, 2000);
  3255. } else {
  3256. _formdiv = new U.UF.UI.form(
  3257. "课程详情",
  3258. $$("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 }), {
  3259. "id": "studyDetailNT",
  3260. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3261. "onresize": function () { }
  3262. }, {
  3263. closecallback: function () { }
  3264. }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. _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); } }
  3266. break;
  3267. }
  3268. case "studyDetail":
  3269. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3270. setTimeout(() => {
  3271. U.MD.U.L.login();
  3272. }, 2000);
  3273. } else {
  3274. _formdiv = new U.UF.UI.form(
  3275. "课程详情",
  3276. $$("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 }), {
  3277. "id": "studyDetail",
  3278. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3279. "onresize": function () { }
  3280. }, {
  3281. closecallback: function () { }
  3282. }, { "style": { "height": "36px" } }).form; //创建窗体
  3283. _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); } }
  3284. break;
  3285. }
  3286. case "studyDetailTrain":
  3287. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3288. setTimeout(() => {
  3289. U.MD.U.L.login();
  3290. }, 2000);
  3291. } else {
  3292. _formdiv = new U.UF.UI.form(
  3293. "培训详情",
  3294. $$("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 }), {
  3295. "id": "studyDetailTrain",
  3296. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3297. "onresize": function () { }
  3298. }, {
  3299. closecallback: function () { }
  3300. }, { "style": { "height": "36px" } }).form; //创建窗体
  3301. _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); } }
  3302. break;
  3303. }
  3304. case "studyDetailS":
  3305. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3306. setTimeout(() => {
  3307. U.MD.U.L.login();
  3308. }, 2000);
  3309. } else {
  3310. _formdiv = new U.UF.UI.form(
  3311. "项目详情",
  3312. $$("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 }), {
  3313. "id": "studyDetailS",
  3314. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3315. "onresize": function () { }
  3316. }, {
  3317. closecallback: function () { }
  3318. }, { "style": { "height": "36px" } }).form; //创建窗体
  3319. _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); } }
  3320. break;
  3321. }
  3322. case "studyDetailStudio":
  3323. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3324. setTimeout(() => {
  3325. U.MD.U.L.login();
  3326. }, 2000);
  3327. } else {
  3328. _formdiv = new U.UF.UI.form(
  3329. "工作详情",
  3330. $$("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 }), {
  3331. "id": "studyDetailStudio",
  3332. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3333. "onresize": function () { }
  3334. }, {
  3335. closecallback: function () { }
  3336. }, { "style": { "height": "36px" } }).form; //创建窗体
  3337. _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); } }
  3338. break;
  3339. }
  3340. case "studyDetailS5":
  3341. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3342. setTimeout(() => {
  3343. U.MD.U.L.login();
  3344. }, 2000);
  3345. } else {
  3346. _formdiv = new U.UF.UI.form(
  3347. "项目详情",
  3348. $$("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 }), {
  3349. "id": "studyDetailS",
  3350. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3351. "onresize": function () { }
  3352. }, {
  3353. closecallback: function () { }
  3354. }, { "style": { "height": "36px" } }).form; //创建窗体
  3355. _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); } }
  3356. break;
  3357. }
  3358. case "studyDetailGM":
  3359. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3360. setTimeout(() => {
  3361. U.MD.U.L.login();
  3362. }, 2000);
  3363. } else {
  3364. _formdiv = new U.UF.UI.form(
  3365. "课程详情",
  3366. $$("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 }), {
  3367. "id": "studyDetail",
  3368. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3369. "onresize": function () { }
  3370. }, {
  3371. closecallback: function () { }
  3372. }, { "style": { "height": "36px" } }).form; //创建窗体
  3373. _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); } }
  3374. break;
  3375. }
  3376. case "hanUrl":
  3377. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3378. setTimeout(() => {
  3379. U.MD.U.L.login();
  3380. }, 2000);
  3381. } else {
  3382. _formdiv = new U.UF.UI.form(
  3383. "汉字宫",
  3384. $$("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" }), {
  3385. "id": "hanUrl",
  3386. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3387. "onresize": function () { }
  3388. }, {
  3389. closecallback: function () { }
  3390. }, { "style": { "height": "36px" } }).form; //创建窗体
  3391. _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); } }
  3392. break;
  3393. }
  3394. case "index":
  3395. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3396. setTimeout(() => {
  3397. U.MD.U.L.login();
  3398. }, 2000);
  3399. } else {
  3400. _formdiv = new U.UF.UI.form(
  3401. "课程中心",
  3402. $$("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 }), {
  3403. "id": "study",
  3404. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3405. "onresize": function () { }
  3406. }, {
  3407. closecallback: function () { }
  3408. }, { "style": { "height": "36px" } }).form; //创建窗体
  3409. _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); } }
  3410. break;
  3411. }
  3412. case "dataClass":
  3413. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3414. setTimeout(() => {
  3415. U.MD.U.L.login();
  3416. }, 2000);
  3417. } else {
  3418. _formdiv = new U.UF.UI.form(
  3419. "数据报告",
  3420. $$("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 }), {
  3421. "id": "dataClass",
  3422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3423. "onresize": function () { }
  3424. }, {
  3425. closecallback: function () { }
  3426. }, { "style": { "height": "36px" } }).form; //创建窗体
  3427. _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); } }
  3428. break;
  3429. }
  3430. case "opencCscl":
  3431. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3432. setTimeout(() => {
  3433. U.MD.U.L.login();
  3434. }, 2000);
  3435. } else {
  3436. _formdiv = new U.UF.UI.form(
  3437. "协同建构",
  3438. $$("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 }), {
  3439. "id": "futureClass",
  3440. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3441. "onresize": function () { }
  3442. }, {
  3443. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3444. }, { "style": { "height": "36px" } }).form; //创建窗体
  3445. _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); } }
  3446. break;
  3447. }
  3448. case "openCourseUpdate":
  3449. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3450. setTimeout(() => {
  3451. U.MD.U.L.login();
  3452. }, 2000);
  3453. } else {
  3454. _formdiv = new U.UF.UI.form(
  3455. "课程管理",
  3456. $$("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 }), {
  3457. "id": "openCourseUpdate",
  3458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3459. "onresize": function () { }
  3460. }, {
  3461. closecallback: function () { }
  3462. }, { "style": { "height": "36px" } }).form; //创建窗体
  3463. break;
  3464. }
  3465. case "openNewCourseUpdate":
  3466. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3467. setTimeout(() => {
  3468. U.MD.U.L.login();
  3469. }, 2000);
  3470. } else {
  3471. _formdiv = new U.UF.UI.form(
  3472. "课程管理",
  3473. $$("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 }), {
  3474. "id": "openCourseUpdate",
  3475. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3476. "onresize": function () { }
  3477. }, {
  3478. closecallback: function () { }
  3479. }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. break;
  3481. }
  3482. case "openCourseEUpdate":
  3483. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3484. setTimeout(() => {
  3485. U.MD.U.L.login();
  3486. }, 2000);
  3487. } else {
  3488. _formdiv = new U.UF.UI.form(
  3489. "课程管理",
  3490. $$("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 }), {
  3491. "id": "openCourseUpdate",
  3492. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3493. "onresize": function () { }
  3494. }, {
  3495. closecallback: function () { }
  3496. }, { "style": { "height": "36px" } }).form; //创建窗体
  3497. break;
  3498. }
  3499. case "openCourseNewUpdate":
  3500. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3501. setTimeout(() => {
  3502. U.MD.U.L.login();
  3503. }, 2000);
  3504. } else {
  3505. _formdiv = new U.UF.UI.form(
  3506. "课程管理",
  3507. $$("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 }), {
  3508. "id": "openCourseUpdate",
  3509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3510. "onresize": function () { }
  3511. }, {
  3512. closecallback: function () { }
  3513. }, { "style": { "height": "36px" } }).form; //创建窗体
  3514. break;
  3515. }
  3516. case "inviteLoginSz":
  3517. _formdiv = new U.UF.UI.form(
  3518. "随机码登录",
  3519. $$("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 }), {
  3520. "id": "loginSz",
  3521. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3522. "onresize": function () { }
  3523. }, {
  3524. closecallback: function () { }
  3525. }, { "style": { "height": "36px" } }).form; //创建窗体
  3526. break;
  3527. case "loginSz":
  3528. _formdiv = new U.UF.UI.form(
  3529. "教师登录",
  3530. $$("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" }), {
  3531. "id": "loginSz",
  3532. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3533. "onresize": function () { }
  3534. }, {
  3535. closecallback: function () { }
  3536. }, { "style": { "height": "36px" } }).form; //创建窗体
  3537. break;
  3538. case "teacher":
  3539. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3540. setTimeout(() => {
  3541. U.MD.U.L.login();
  3542. }, 2000);
  3543. } else {
  3544. _formdiv = new U.UF.UI.form(
  3545. "教师管理",
  3546. $$("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 }), {
  3547. "id": "teacher",
  3548. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3549. "onresize": function () { }
  3550. }, {
  3551. closecallback: function () { }
  3552. }, { "style": { "height": "36px" } }).form; //创建窗体
  3553. break;
  3554. }
  3555. case "dataBoardSZArea":
  3556. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3557. setTimeout(() => {
  3558. U.MD.U.L.login();
  3559. }, 2000);
  3560. } else {
  3561. _formdiv = new U.UF.UI.form(
  3562. "综合数据看板",
  3563. $$("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 }), {
  3564. "id": "dataBoardSZArea",
  3565. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3566. "onresize": function () { }
  3567. }, {
  3568. closecallback: function () { }
  3569. }, { "style": { "height": "36px" } }).form; //创建窗体
  3570. break;
  3571. }
  3572. case "dataBoardSZCity":
  3573. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3574. setTimeout(() => {
  3575. U.MD.U.L.login();
  3576. }, 2000);
  3577. } else {
  3578. _formdiv = new U.UF.UI.form(
  3579. "综合数据看板",
  3580. $$("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 }), {
  3581. "id": "dataBoardSZCity",
  3582. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3583. "onresize": function () { }
  3584. }, {
  3585. closecallback: function () { }
  3586. }, { "style": { "height": "36px" } }).form; //创建窗体
  3587. break;
  3588. }
  3589. case "classroom_observation_board":
  3590. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3591. setTimeout(() => {
  3592. U.MD.U.L.login();
  3593. }, 2000);
  3594. } else {
  3595. _formdiv = new U.UF.UI.form(
  3596. "课堂观察",
  3597. $$("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 }), {
  3598. "id": "classroom_observation_board",
  3599. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3600. "onresize": function () { }
  3601. }, {
  3602. closecallback: function () { }
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. break;
  3605. }
  3606. }
  3607. }
  3608. U.MD.D.I.openApplication = function (str, obj, info) {
  3609. obj = obj || {};
  3610. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3611. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3612. _userinfo = US.userInfo, //登录用户信息
  3613. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3614. _oid = obj.organizeid || _userinfo.organizeid,
  3615. _type = US.userInfo.type,
  3616. _org = US.userInfo.org,
  3617. _role = US.userInfo.role,
  3618. _classId = US.userInfo.classid,
  3619. _TscreenType = 1
  3620. _screenType = 2,
  3621. _SscreenType = 3;
  3622. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3623. return;
  3624. }
  3625. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3626. switch (str) {
  3627. case "studnetProject": //好友打开
  3628. _formdiv = new U.UF.UI.form(
  3629. "我的项目",
  3630. $$("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 }), {
  3631. "id": "studnetProject",
  3632. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3633. "onresize": function () { }
  3634. }, {
  3635. closecallback: function () { }
  3636. }, { "style": { "height": "36px" } }).form; //创建窗体
  3637. _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); } }
  3638. break;
  3639. case "studentEvaluate": //好友打开
  3640. _formdiv = new U.UF.UI.form(
  3641. "我的评价",
  3642. $$("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 }), {
  3643. "id": "studentEvaluate",
  3644. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //创建窗体
  3649. _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); } }
  3650. break;
  3651. case "my":
  3652. _formdiv = new U.UF.UI.form(
  3653. "我的资料",
  3654. $$("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 }), {
  3655. "id": "my",
  3656. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function () { }
  3658. }, {
  3659. closecallback: function () { }
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. _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); } }
  3662. break;
  3663. case "program":
  3664. _formdiv = new U.UF.UI.form(
  3665. "编程平台",
  3666. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3667. "id": "program",
  3668. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function () { }
  3670. }, {
  3671. closecallback: function () { }
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _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); } }
  3674. break;
  3675. case "library":
  3676. _formdiv = new U.UF.UI.form(
  3677. "素材库",
  3678. $$("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 }), {
  3679. "id": "library",
  3680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function () { }
  3682. }, {
  3683. closecallback: function () { }
  3684. }, { "style": { "height": "36px" } }).form; //创建窗体
  3685. _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); } }
  3686. break;
  3687. case "whiteboard":
  3688. _formdiv = new U.UF.UI.form(
  3689. "电子白板",
  3690. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  3691. "id": "whiteboard",
  3692. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function () { }
  3694. }, {
  3695. closecallback: function () { }
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. _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); } }
  3698. break;
  3699. case "investigation":
  3700. _formdiv = new U.UF.UI.form(
  3701. "问卷调查",
  3702. $$("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 }), {
  3703. "id": "investigation",
  3704. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3705. "onresize": function () { }
  3706. }, {
  3707. closecallback: function () { }
  3708. }, { "style": { "height": "36px" } }).form; //创建窗体
  3709. _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); } }
  3710. break;
  3711. case "note":
  3712. _formdiv = new U.UF.UI.form(
  3713. "便签分类",
  3714. $$("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 }), {
  3715. "id": "note",
  3716. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3717. "onresize": function () { }
  3718. }, {
  3719. closecallback: function () { }
  3720. }, { "style": { "height": "36px" } }).form; //创建窗体
  3721. _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); } }
  3722. break;
  3723. // case "score":
  3724. // _formdiv = new U.UF.UI.form(
  3725. // "量规评分",
  3726. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3727. // "id": "score",
  3728. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3729. // "onresize": function() {}
  3730. // }, {
  3731. // closecallback: function() {}
  3732. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3733. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3734. // break;
  3735. case "mind":
  3736. _formdiv = new U.UF.UI.form(
  3737. "思维导图",
  3738. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3739. "id": "mind",
  3740. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3741. "onresize": function () { }
  3742. }, {
  3743. closecallback: function () { }
  3744. }, { "style": { "height": "36px" } }).form; //创建窗体
  3745. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3746. break;
  3747. case "doc":
  3748. // U.MD.D.I.isRoom();
  3749. _formdiv = new U.UF.UI.form(
  3750. "协同文档",
  3751. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3752. "id": "doc",
  3753. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3754. "onresize": function () { }
  3755. }, {
  3756. closecallback: function () { }
  3757. }, { "style": { "height": "36px" } }).form; //创建窗体
  3758. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3759. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3760. // })
  3761. _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); } }
  3762. break;
  3763. case "studentStudy":
  3764. _formdiv = new U.UF.UI.form(
  3765. "课程中心",
  3766. $$("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
  3767. "id": "studentStudy",
  3768. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3769. "onresize": function () { }
  3770. }, {
  3771. closecallback: function () { }
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3774. break;
  3775. case "train": //好友打开
  3776. _formdiv = new U.UF.UI.form(
  3777. "训练平台",
  3778. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3779. "id": "train",
  3780. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function () { }
  3782. }, {
  3783. closecallback: function () { }
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3786. break;
  3787. case "mindNetwork": //好友打开
  3788. _formdiv = new U.UF.UI.form(
  3789. "思维网格",
  3790. $$("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 }), {
  3791. "id": "mindNetwork",
  3792. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3793. "onresize": function () { }
  3794. }, {
  3795. closecallback: function () { }
  3796. }, { "style": { "height": "36px" } }).form; //创建窗体
  3797. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3798. break;
  3799. case "studentClassRoom": //好友打开
  3800. _formdiv = new U.UF.UI.form(
  3801. "实时课堂",
  3802. $$("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 }), {
  3803. "id": "studentClassRoom",
  3804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function () { }
  3806. }, {
  3807. closecallback: function () { }
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3810. setTimeout(() => {
  3811. U.UF.F.windowZooming(_formdiv)
  3812. }, 0);
  3813. break;
  3814. }
  3815. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3816. switch (str) {
  3817. case "studnetProject": //好友打开
  3818. _formdiv = new U.UF.UI.form(
  3819. "我的项目",
  3820. $$("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 }), {
  3821. "id": "studnetProject",
  3822. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3823. "onresize": function () { }
  3824. }, {
  3825. closecallback: function () { }
  3826. }, { "style": { "height": "36px" } }).form; //创建窗体
  3827. _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); } }
  3828. break;
  3829. case "studentEvaluate": //好友打开
  3830. _formdiv = new U.UF.UI.form(
  3831. "我的评价",
  3832. $$("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 }), {
  3833. "id": "studentEvaluate",
  3834. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3835. "onresize": function () { }
  3836. }, {
  3837. closecallback: function () { }
  3838. }, { "style": { "height": "36px" } }).form; //创建窗体
  3839. _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); } }
  3840. break;
  3841. case "my":
  3842. _formdiv = new U.UF.UI.form(
  3843. "我的资料",
  3844. $$("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 }), {
  3845. "id": "my",
  3846. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3847. "onresize": function () { }
  3848. }, {
  3849. closecallback: function () { }
  3850. }, { "style": { "height": "36px" } }).form; //创建窗体
  3851. _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); } }
  3852. break;
  3853. case "program":
  3854. _formdiv = new U.UF.UI.form(
  3855. "编程平台",
  3856. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3857. "id": "program",
  3858. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3859. "onresize": function () { }
  3860. }, {
  3861. closecallback: function () { }
  3862. }, { "style": { "height": "36px" } }).form; //创建窗体
  3863. _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); } }
  3864. break;
  3865. case "library":
  3866. _formdiv = new U.UF.UI.form(
  3867. "素材库",
  3868. $$("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 }), {
  3869. "id": "library",
  3870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3871. "onresize": function () { }
  3872. }, {
  3873. closecallback: function () { }
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _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); } }
  3876. break;
  3877. case "whiteboard":
  3878. _formdiv = new U.UF.UI.form(
  3879. "电子白板",
  3880. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  3881. "id": "whiteboard",
  3882. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3883. "onresize": function () { }
  3884. }, {
  3885. closecallback: function () { }
  3886. }, { "style": { "height": "36px" } }).form; //创建窗体
  3887. _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); } }
  3888. break;
  3889. case "investigation":
  3890. _formdiv = new U.UF.UI.form(
  3891. "问卷调查",
  3892. $$("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 }), {
  3893. "id": "investigation",
  3894. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3895. "onresize": function () { }
  3896. }, {
  3897. closecallback: function () { }
  3898. }, { "style": { "height": "36px" } }).form; //创建窗体
  3899. _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); } }
  3900. break;
  3901. case "note":
  3902. _formdiv = new U.UF.UI.form(
  3903. "便签分类",
  3904. $$("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 }), {
  3905. "id": "note",
  3906. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3907. "onresize": function () { }
  3908. }, {
  3909. closecallback: function () { }
  3910. }, { "style": { "height": "36px" } }).form; //创建窗体
  3911. _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); } }
  3912. break;
  3913. // case "score":
  3914. // _formdiv = new U.UF.UI.form(
  3915. // "量规评分",
  3916. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3917. // "id": "score",
  3918. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3919. // "onresize": function() {}
  3920. // }, {
  3921. // closecallback: function() {}
  3922. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3923. // _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); } }
  3924. // break;
  3925. case "mind":
  3926. _formdiv = new U.UF.UI.form(
  3927. "思维导图",
  3928. $$("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"
  3929. "id": "mind",
  3930. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function () { }
  3932. }, {
  3933. closecallback: function () { }
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _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); } }
  3936. break;
  3937. case "doc":
  3938. // U.MD.D.I.isRoom();
  3939. _formdiv = new U.UF.UI.form(
  3940. "协同文档",
  3941. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3942. "id": "doc",
  3943. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3944. "onresize": function () { }
  3945. }, {
  3946. closecallback: function () { }
  3947. }, { "style": { "height": "36px" } }).form; //创建窗体
  3948. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3949. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3950. })
  3951. _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); } }
  3952. break;
  3953. case "train": //好友打开
  3954. _formdiv = new U.UF.UI.form(
  3955. "训练平台",
  3956. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3957. "id": "train",
  3958. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3959. "onresize": function () { }
  3960. }, {
  3961. closecallback: function () { }
  3962. }, { "style": { "height": "36px" } }).form; //创建窗体
  3963. _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); } }
  3964. break;
  3965. case "studentStudy":
  3966. _formdiv = new U.UF.UI.form(
  3967. "课程中心",
  3968. $$("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
  3969. "id": "studentStudy",
  3970. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3971. "onresize": function () { }
  3972. }, {
  3973. closecallback: function () { }
  3974. }, { "style": { "height": "36px" } }).form; //创建窗体
  3975. _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); } }
  3976. break;
  3977. case "mindNetwork": //好友打开
  3978. _formdiv = new U.UF.UI.form(
  3979. "思维网格",
  3980. $$("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 }), {
  3981. "id": "mindNetwork",
  3982. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3983. "onresize": function () { }
  3984. }, {
  3985. closecallback: function () { }
  3986. }, { "style": { "height": "36px" } }).form; //创建窗体
  3987. _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); } }
  3988. break;
  3989. case "studentClassRoom": //好友打开
  3990. _formdiv = new U.UF.UI.form(
  3991. "实时课堂",
  3992. $$("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 }), {
  3993. "id": "studentClassRoom",
  3994. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3995. "onresize": function () { }
  3996. }, {
  3997. closecallback: function () { }
  3998. }, { "style": { "height": "36px" } }).form; //创建窗体
  3999. _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); } }
  4000. setTimeout(() => {
  4001. U.UF.F.windowZooming(_formdiv)
  4002. }, 0);
  4003. break;
  4004. }
  4005. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4006. //选择应用处理
  4007. switch (str) {
  4008. case "project": //好友打开
  4009. _formdiv = new U.UF.UI.form(
  4010. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  4011. $$("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 }), {
  4012. "id": "project",
  4013. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _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); } }
  4019. break;
  4020. case "student":
  4021. _formdiv = new U.UF.UI.form(
  4022. "学生管理",
  4023. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  4024. "id": "student",
  4025. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4031. break;
  4032. case "evaluate":
  4033. _formdiv = new U.UF.UI.form(
  4034. "学生评价",
  4035. $$("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 }), {
  4036. "id": "evaluate",
  4037. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _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); } }
  4043. break;
  4044. case "sys":
  4045. _formdiv = new U.UF.UI.form(
  4046. "目标管理",
  4047. $$("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 }), {
  4048. "id": "sys",
  4049. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4050. "onresize": function () { }
  4051. }, {
  4052. closecallback: function () { }
  4053. }, { "style": { "height": "36px" } }).form; //创建窗体
  4054. _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); } }
  4055. break;
  4056. case "courseDesign":
  4057. _formdiv = new U.UF.UI.form(
  4058. "项目设计",
  4059. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4060. "id": "courseDesign",
  4061. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //创建窗体
  4066. _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); } }
  4067. break;
  4068. case "program":
  4069. _formdiv = new U.UF.UI.form(
  4070. "编程平台",
  4071. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4072. "id": "program",
  4073. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function () { }
  4075. }, {
  4076. closecallback: function () { }
  4077. }, { "style": { "height": "36px" } }).form; //创建窗体
  4078. _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); } }
  4079. break;
  4080. case "class":
  4081. _formdiv = new U.UF.UI.form(
  4082. "班级管理",
  4083. $$("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 }), {
  4084. "id": "class",
  4085. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //创建窗体
  4090. _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); } }
  4091. break;
  4092. case "Grade":
  4093. _formdiv = new U.UF.UI.form(
  4094. "年级管理",
  4095. $$("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 }), {
  4096. "id": "Grade",
  4097. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //创建窗体
  4102. _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); } }
  4103. break;
  4104. case "teacherOffice":
  4105. _formdiv = new U.UF.UI.form(
  4106. "教研室",
  4107. $$("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 }), {
  4108. "id": "teacherOffice",
  4109. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function () { }
  4111. }, {
  4112. closecallback: function () { }
  4113. }, { "style": { "height": "36px" } }).form; //创建窗体
  4114. _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); } }
  4115. break;
  4116. case "my":
  4117. _formdiv = new U.UF.UI.form(
  4118. "我的资料",
  4119. $$("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 }), {
  4120. "id": "my",
  4121. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function () { }
  4123. }, {
  4124. closecallback: function () { }
  4125. }, { "style": { "height": "36px" } }).form; //创建窗体
  4126. _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); } }
  4127. break;
  4128. case "notice":
  4129. _formdiv = new U.UF.UI.form(
  4130. "通知公告",
  4131. $$("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 }), {
  4132. "id": "notice",
  4133. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //创建窗体
  4138. _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); } }
  4139. break;
  4140. case "library":
  4141. _formdiv = new U.UF.UI.form(
  4142. "素材库",
  4143. $$("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 }), {
  4144. "id": "library",
  4145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //创建窗体
  4150. _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); } }
  4151. break;
  4152. case "whiteboard":
  4153. _formdiv = new U.UF.UI.form(
  4154. "电子白板",
  4155. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4156. "id": "whiteboard",
  4157. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //创建窗体
  4162. _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); } }
  4163. break;
  4164. case "investigation":
  4165. _formdiv = new U.UF.UI.form(
  4166. "问卷调查",
  4167. $$("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 }), {
  4168. "id": "investigation",
  4169. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _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); } }
  4175. break;
  4176. case "note":
  4177. _formdiv = new U.UF.UI.form(
  4178. "便签分类",
  4179. $$("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 }), {
  4180. "id": "note",
  4181. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4182. "onresize": function () { }
  4183. }, {
  4184. closecallback: function () { }
  4185. }, { "style": { "height": "36px" } }).form; //创建窗体
  4186. _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); } }
  4187. break;
  4188. // case "score":
  4189. // _formdiv = new U.UF.UI.form(
  4190. // "量规评分",
  4191. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4192. // "id": "score",
  4193. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4194. // "onresize": function() {}
  4195. // }, {
  4196. // closecallback: function() {}
  4197. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4198. // _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); } }
  4199. // break;
  4200. case "mind":
  4201. _formdiv = new U.UF.UI.form(
  4202. "思维导图",
  4203. $$("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"
  4204. "id": "mind",
  4205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4206. "onresize": function () { }
  4207. }, {
  4208. closecallback: function () { }
  4209. }, { "style": { "height": "36px" } }).form; //创建窗体
  4210. _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); } }
  4211. break;
  4212. case "doc":
  4213. // U.MD.D.I.isRoom();
  4214. _formdiv = new U.UF.UI.form(
  4215. "协同文档",
  4216. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4217. "id": "doc",
  4218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4219. "onresize": function () { }
  4220. }, {
  4221. closecallback: function () { }
  4222. }, { "style": { "height": "36px" } }).form; //创建窗体
  4223. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4224. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4225. })
  4226. _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); } }
  4227. break;
  4228. case "study":
  4229. _formdiv = new U.UF.UI.form(
  4230. "课程中心",
  4231. $$("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
  4232. "id": "study",
  4233. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4234. "onresize": function () { }
  4235. }, {
  4236. closecallback: function () { }
  4237. }, { "style": { "height": "36px" } }).form; //创建窗体
  4238. _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); } }
  4239. break;
  4240. case "mindNetwork": //好友打开
  4241. _formdiv = new U.UF.UI.form(
  4242. "思维网格",
  4243. $$("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 }), {
  4244. "id": "mindNetwork",
  4245. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4246. "onresize": function () { }
  4247. }, {
  4248. closecallback: function () { }
  4249. }, { "style": { "height": "36px" } }).form; //创建窗体
  4250. _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); } }
  4251. break;
  4252. case "train": //好友打开
  4253. _formdiv = new U.UF.UI.form(
  4254. "训练平台",
  4255. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4256. "id": "mindNetwork",
  4257. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4258. "onresize": function () { }
  4259. }, {
  4260. closecallback: function () { }
  4261. }, { "style": { "height": "36px" } }).form; //创建窗体
  4262. _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); } }
  4263. break;
  4264. case "teacherClassRoom": //好友打开
  4265. _formdiv = new U.UF.UI.form(
  4266. "实时课堂",
  4267. $$("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 }), {
  4268. "id": "teacherClassRoom",
  4269. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4270. "onresize": function () { }
  4271. }, {
  4272. closecallback: function () { }
  4273. }, { "style": { "height": "36px" } }).form; //创建窗体
  4274. _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); } }
  4275. setTimeout(() => {
  4276. U.UF.F.windowZooming(_formdiv)
  4277. }, 0);
  4278. break;
  4279. }
  4280. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4281. switch (str) {
  4282. case "project": //好友打开
  4283. _formdiv = new U.UF.UI.form(
  4284. "课程管理",
  4285. $$("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 }), {
  4286. "id": "project",
  4287. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4288. "onresize": function () { }
  4289. }, {
  4290. closecallback: function () { }
  4291. }, { "style": { "height": "36px" } }).form; //创建窗体
  4292. _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); } }
  4293. break;
  4294. case "evaluate":
  4295. _formdiv = new U.UF.UI.form(
  4296. "学生评价",
  4297. $$("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 }), {
  4298. "id": "evaluate",
  4299. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4300. "onresize": function () { }
  4301. }, {
  4302. closecallback: function () { }
  4303. }, { "style": { "height": "36px" } }).form; //创建窗体
  4304. _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); } }
  4305. break;
  4306. case "notice":
  4307. _formdiv = new U.UF.UI.form(
  4308. "通知公告",
  4309. $$("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 }), {
  4310. "id": "notice",
  4311. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4312. "onresize": function () { }
  4313. }, {
  4314. closecallback: function () { }
  4315. }, { "style": { "height": "36px" } }).form; //创建窗体
  4316. _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); } }
  4317. break;
  4318. case "stuLibrary":
  4319. _formdiv = new U.UF.UI.form(
  4320. "学习资料",
  4321. $$("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 }), {
  4322. "id": "stuLibrary",
  4323. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4324. "onresize": function () { }
  4325. }, {
  4326. closecallback: function () { }
  4327. }, { "style": { "height": "36px" } }).form; //创建窗体
  4328. _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); } }
  4329. break;
  4330. case "program":
  4331. _formdiv = new U.UF.UI.form(
  4332. "编程平台",
  4333. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4334. "id": "program",
  4335. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4336. "onresize": function () { }
  4337. }, {
  4338. closecallback: function () { }
  4339. }, { "style": { "height": "36px" } }).form; //创建窗体
  4340. _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); } }
  4341. break;
  4342. case "whiteboard":
  4343. _formdiv = new U.UF.UI.form(
  4344. "电子白板",
  4345. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4346. "id": "whiteboard",
  4347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4348. "onresize": function () { }
  4349. }, {
  4350. closecallback: function () { }
  4351. }, { "style": { "height": "36px" } }).form; //创建窗体
  4352. _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); } }
  4353. break;
  4354. case "investigation":
  4355. _formdiv = new U.UF.UI.form(
  4356. "问卷调查",
  4357. $$("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 }), {
  4358. "id": "investigation",
  4359. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4360. "onresize": function () { }
  4361. }, {
  4362. closecallback: function () { }
  4363. }, { "style": { "height": "36px" } }).form; //创建窗体
  4364. _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); } }
  4365. break;
  4366. case "mind":
  4367. _formdiv = new U.UF.UI.form(
  4368. "思维导图",
  4369. $$("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"
  4370. "id": "mind",
  4371. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4372. "onresize": function () { }
  4373. }, {
  4374. closecallback: function () { }
  4375. }, { "style": { "height": "36px" } }).form; //创建窗体
  4376. _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); } }
  4377. break;
  4378. case "doc":
  4379. // U.MD.D.I.isRoom();
  4380. _formdiv = new U.UF.UI.form(
  4381. "协同文档",
  4382. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4383. "id": "doc",
  4384. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4385. "onresize": function () { }
  4386. }, {
  4387. closecallback: function () { }
  4388. }, { "style": { "height": "36px" } }).form; //创建窗体
  4389. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4390. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4391. })
  4392. _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); } }
  4393. break;
  4394. case "study":
  4395. _formdiv = new U.UF.UI.form(
  4396. "课程中心",
  4397. $$("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
  4398. "id": "study",
  4399. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4400. "onresize": function () { }
  4401. }, {
  4402. closecallback: function () { }
  4403. }, { "style": { "height": "36px" } }).form; //创建窗体
  4404. _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); } }
  4405. break;
  4406. case "mindNetwork": //好友打开
  4407. _formdiv = new U.UF.UI.form(
  4408. "思维网格",
  4409. $$("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 }), {
  4410. "id": "mindNetwork",
  4411. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4412. "onresize": function () { }
  4413. }, {
  4414. closecallback: function () { }
  4415. }, { "style": { "height": "36px" } }).form; //创建窗体
  4416. _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); } }
  4417. break;
  4418. case "train": //好友打开
  4419. _formdiv = new U.UF.UI.form(
  4420. "训练平台",
  4421. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4422. "id": "train",
  4423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4424. "onresize": function () { }
  4425. }, {
  4426. closecallback: function () { }
  4427. }, { "style": { "height": "36px" } }).form; //创建窗体
  4428. _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); } }
  4429. break;
  4430. case "sys":
  4431. _formdiv = new U.UF.UI.form(
  4432. "目标管理",
  4433. $$("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 }), {
  4434. "id": "sys",
  4435. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4436. "onresize": function () { }
  4437. }, {
  4438. closecallback: function () { }
  4439. }, { "style": { "height": "36px" } }).form; //创建窗体
  4440. _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); } }
  4441. break;
  4442. case "courseDesign":
  4443. _formdiv = new U.UF.UI.form(
  4444. "项目设计",
  4445. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4446. "id": "courseDesign",
  4447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4448. "onresize": function () { }
  4449. }, {
  4450. closecallback: function () { }
  4451. }, { "style": { "height": "36px" } }).form; //创建窗体
  4452. _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); } }
  4453. break;
  4454. }
  4455. } else if (!_type) {
  4456. switch (str) {
  4457. case "my":
  4458. _formdiv = new U.UF.UI.form(
  4459. "我的资料",
  4460. $$("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 }), {
  4461. "id": "my",
  4462. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4463. "onresize": function () { }
  4464. }, {
  4465. closecallback: function () { }
  4466. }, { "style": { "height": "36px" } }).form; //创建窗体
  4467. _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); } }
  4468. break;
  4469. }
  4470. }
  4471. switch (str) {
  4472. // AIprogram2 AI体验 aihub.cocorobo.cn
  4473. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4474. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4475. case "formulaEdi": //公式编辑
  4476. _formdiv = new U.UF.UI.form(
  4477. "公式编辑",
  4478. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4479. "id": "formulaEdi",
  4480. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4481. "onresize": function () { }
  4482. }, {
  4483. closecallback: function () { }
  4484. }, { "style": { "height": "36px" } }).form; //创建窗体
  4485. _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); } }
  4486. break;
  4487. case "molStr": //分子结构
  4488. _formdiv = new U.UF.UI.form(
  4489. "分子结构",
  4490. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4491. "id": "molStr",
  4492. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4493. "onresize": function () { }
  4494. }, {
  4495. closecallback: function () { }
  4496. }, { "style": { "height": "36px" } }).form; //创建窗体
  4497. _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); } }
  4498. break;
  4499. case "timeAxis": //时间轴
  4500. _formdiv = new U.UF.UI.form(
  4501. "时间轴",
  4502. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4503. "id": "timeAxis",
  4504. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4505. "onresize": function () { }
  4506. }, {
  4507. closecallback: function () { }
  4508. }, { "style": { "height": "36px" } }).form; //创建窗体
  4509. _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); } }
  4510. break;
  4511. case "AIprogram2": //AI体验
  4512. _formdiv = new U.UF.UI.form(
  4513. "AI体验",
  4514. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4515. "id": "AIprogram2",
  4516. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4517. "onresize": function () { }
  4518. }, {
  4519. closecallback: function () { }
  4520. }, { "style": { "height": "36px" } }).form; //创建窗体
  4521. _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); } }
  4522. break;
  4523. case "Pythonprogram": //python编程
  4524. _formdiv = new U.UF.UI.form(
  4525. "Python编程",
  4526. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4527. "id": "Pythonprogram",
  4528. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4529. "onresize": function () { }
  4530. }, {
  4531. closecallback: function () { }
  4532. }, { "style": { "height": "36px" } }).form; //创建窗体
  4533. _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); } }
  4534. break;
  4535. case "AIprogram": //ai编程
  4536. _formdiv = new U.UF.UI.form(
  4537. "AI编程平台",
  4538. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4539. "id": "AIprogram",
  4540. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4541. "onresize": function () { }
  4542. }, {
  4543. closecallback: function () { }
  4544. }, { "style": { "height": "36px" } }).form; //创建窗体
  4545. _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); } }
  4546. break;
  4547. case "CocoPi": //CocoPi
  4548. _formdiv = new U.UF.UI.form(
  4549. "CocoPi",
  4550. $$("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" }), {
  4551. "id": "CocoPi",
  4552. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4553. "onresize": function () { }
  4554. }, {
  4555. closecallback: function () { }
  4556. }, { "style": { "height": "36px" } }).form; //创建窗体
  4557. _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); } }
  4558. break;
  4559. case "Wood": //Wood
  4560. _formdiv = new U.UF.UI.form(
  4561. "海龟编程",
  4562. $$("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/" }), {
  4563. "id": "Wood",
  4564. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4565. "onresize": function () { }
  4566. }, {
  4567. closecallback: function () { }
  4568. }, { "style": { "height": "36px" } }).form; //创建窗体
  4569. _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); } }
  4570. break;
  4571. case "car": //模拟驾驶
  4572. _formdiv = new U.UF.UI.form(
  4573. "模拟驾驶",
  4574. $$("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/" }), {
  4575. "id": "car",
  4576. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4577. "onresize": function () { }
  4578. }, {
  4579. closecallback: function () { }
  4580. }, { "style": { "height": "36px" } }).form; //创建窗体
  4581. _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); } }
  4582. break;
  4583. case "lineSearch": //路径搜索
  4584. _formdiv = new U.UF.UI.form(
  4585. "路径搜索",
  4586. $$("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/" }), {
  4587. "id": "lineSearch",
  4588. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4589. "onresize": function () { }
  4590. }, {
  4591. closecallback: function () { }
  4592. }, { "style": { "height": "36px" } }).form; //创建窗体
  4593. _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); } }
  4594. break;
  4595. case "deepLearning": //深度学习
  4596. _formdiv = new U.UF.UI.form(
  4597. "深度学习",
  4598. $$("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/#" }), {
  4599. "id": "deepLearning",
  4600. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4601. "onresize": function () { }
  4602. }, {
  4603. closecallback: function () { }
  4604. }, { "style": { "height": "36px" } }).form; //创建窗体
  4605. _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); } }
  4606. break;
  4607. case "allHistory": //深度学习
  4608. _formdiv = new U.UF.UI.form(
  4609. "全历史",
  4610. $$("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/" }), {
  4611. "id": "allHistory",
  4612. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4613. "onresize": function () { }
  4614. }, {
  4615. closecallback: function () { }
  4616. }, { "style": { "height": "36px" } }).form; //创建窗体
  4617. _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); } }
  4618. break;
  4619. case "chatPDF": //ai编程
  4620. _formdiv = new U.UF.UI.form(
  4621. "chatPDF",
  4622. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4623. "id": "chatPDF",
  4624. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4625. "onresize": function () { }
  4626. }, {
  4627. closecallback: function () { }
  4628. }, { "style": { "height": "36px" } }).form; //创建窗体
  4629. _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); } }
  4630. break;
  4631. case "resources": //国家教育
  4632. _formdiv = new U.UF.UI.form(
  4633. "国家教育",
  4634. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4635. "id": "resources",
  4636. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4637. "onresize": function () { }
  4638. }, {
  4639. closecallback: function () { }
  4640. }, { "style": { "height": "36px" } }).form; //创建窗体
  4641. _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); } }
  4642. break;
  4643. case "codeEdit": //源码编辑
  4644. _formdiv = new U.UF.UI.form(
  4645. "源码编辑",
  4646. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4647. "id": "codeEdit",
  4648. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4649. "onresize": function () { }
  4650. }, {
  4651. closecallback: function () { }
  4652. }, { "style": { "height": "36px" } }).form; //创建窗体
  4653. _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); } }
  4654. break; //
  4655. case "MindMap": //MindMap
  4656. _formdiv = new U.UF.UI.form(
  4657. "MindMap",
  4658. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4659. "id": "MindMap",
  4660. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4661. "onresize": function () { }
  4662. }, {
  4663. closecallback: function () { }
  4664. }, { "style": { "height": "36px" } }).form; //创建窗体
  4665. _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); } }
  4666. break;
  4667. case "netWorkPanel": //netWorkPanel
  4668. _formdiv = new U.UF.UI.form(
  4669. "netWorkPanel",
  4670. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4671. "id": "netWorkPanel",
  4672. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4673. "onresize": function () { }
  4674. }, {
  4675. closecallback: function () { }
  4676. }, { "style": { "height": "36px" } }).form; //创建窗体
  4677. _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); } }
  4678. break;
  4679. case "GeoGebra": //GeoGebra
  4680. _formdiv = new U.UF.UI.form(
  4681. "GeoGebra",
  4682. $$("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" }), {
  4683. "id": "GeoGebra",
  4684. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4685. "onresize": function () { }
  4686. }, {
  4687. closecallback: function () { }
  4688. }, { "style": { "height": "36px" } }).form; //创建窗体
  4689. _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); } }
  4690. break;
  4691. case "translation": //翻译
  4692. _formdiv = new U.UF.UI.form(
  4693. "翻译",
  4694. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4695. "id": "translation",
  4696. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4697. "onresize": function () { }
  4698. }, {
  4699. closecallback: function () { }
  4700. }, { "style": { "height": "36px" } }).form; //创建窗体
  4701. _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); } }
  4702. break;
  4703. case "mohe": //魔盒
  4704. _formdiv = new U.UF.UI.form(
  4705. "魔盒识字",
  4706. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4707. "id": "mohe",
  4708. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4709. "onresize": function () { }
  4710. }, {
  4711. closecallback: function () { }
  4712. }, { "style": { "height": "36px" } }).form; //创建窗体
  4713. _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); } }
  4714. break;
  4715. case "24game": //24点
  4716. _formdiv = new U.UF.UI.form(
  4717. "24点",
  4718. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4719. "id": "24game",
  4720. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4721. "onresize": function () { }
  4722. }, {
  4723. closecallback: function () { }
  4724. }, { "style": { "height": "36px" } }).form; //创建窗体
  4725. _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); } }
  4726. break;
  4727. case "case":
  4728. _formdiv = new U.UF.UI.form(
  4729. "课程进展",
  4730. $$("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 }), {
  4731. "id": "case",
  4732. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4733. "onresize": function () { }
  4734. }, {
  4735. closecallback: function () { }
  4736. }, { "style": { "height": "36px" } }).form; //创建窗体
  4737. _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); } }
  4738. break;
  4739. case "snf":
  4740. _formdiv = new U.UF.UI.form(
  4741. "赛诺梵",
  4742. $$("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" }), {
  4743. "id": "snf",
  4744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4745. "onresize": function () { }
  4746. }, {
  4747. closecallback: function () { }
  4748. }, { "style": { "height": "36px" } }).form; //创建窗体
  4749. _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); } }
  4750. break;
  4751. case "hanFamily":
  4752. _formdiv = new U.UF.UI.form(
  4753. "汉字家族",
  4754. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4755. "id": "hanFamily",
  4756. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4757. "onresize": function () { }
  4758. }, {
  4759. closecallback: function () { }
  4760. }, { "style": { "height": "36px" } }).form; //创建窗体
  4761. _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); } }
  4762. break;
  4763. case "hanClassics":
  4764. _formdiv = new U.UF.UI.form(
  4765. "国学经典",
  4766. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4767. "id": "hanClassics",
  4768. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4769. "onresize": function () { }
  4770. }, {
  4771. closecallback: function () { }
  4772. }, { "style": { "height": "36px" } }).form; //创建窗体
  4773. _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); } }
  4774. break;
  4775. case "hanTraining":
  4776. _formdiv = new U.UF.UI.form(
  4777. "笔画训练",
  4778. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4779. "id": "hanTraining",
  4780. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4781. "onresize": function () { }
  4782. }, {
  4783. closecallback: function () { }
  4784. }, { "style": { "height": "36px" } }).form; //创建窗体
  4785. _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); } }
  4786. break;
  4787. case "hanClass":
  4788. _formdiv = new U.UF.UI.form(
  4789. "书法课堂",
  4790. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4791. "id": "hanClass",
  4792. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4793. "onresize": function () { }
  4794. }, {
  4795. closecallback: function () { }
  4796. }, { "style": { "height": "36px" } }).form; //创建窗体
  4797. _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); } }
  4798. break;
  4799. case "han":
  4800. _formdiv = new U.UF.UI.form(
  4801. "汉字宫",
  4802. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4803. "id": "han",
  4804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4805. "onresize": function () { }
  4806. }, {
  4807. closecallback: function () { }
  4808. }, { "style": { "height": "36px" } }).form; //创建窗体
  4809. _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); } }
  4810. break;
  4811. case "projectGM": //课程管理
  4812. _formdiv = new U.UF.UI.form(
  4813. "课程管理",
  4814. $$("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 }), {
  4815. "id": "projectGM",
  4816. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4817. "onresize": function () { }
  4818. }, {
  4819. closecallback: function () { }
  4820. }, { "style": { "height": "36px" } }).form; //创建窗体
  4821. _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); } }
  4822. break;
  4823. case "studyGM": //课程中心
  4824. _formdiv = new U.UF.UI.form(
  4825. "课程中心",
  4826. $$("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
  4827. "id": "study",
  4828. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4829. "onresize": function () { }
  4830. }, {
  4831. closecallback: function () { }
  4832. }, { "style": { "height": "36px" } }).form; //创建窗体
  4833. _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); } }
  4834. break;
  4835. // studentGM
  4836. case "studentGM": //学生管理
  4837. _formdiv = new U.UF.UI.form(
  4838. "学生管理",
  4839. $$("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 }), {
  4840. "id": "studentGM",
  4841. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4842. "onresize": function () { }
  4843. }, {
  4844. closecallback: function () { }
  4845. }, { "style": { "height": "36px" } }).form; //创建窗体
  4846. _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); } }
  4847. break;
  4848. case "evaluateGM": //学生评价
  4849. _formdiv = new U.UF.UI.form(
  4850. "学生评价",
  4851. $$("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 }), {
  4852. "id": "evaluateGM",
  4853. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4854. "onresize": function () { }
  4855. }, {
  4856. closecallback: function () { }
  4857. }, { "style": { "height": "36px" } }).form; //创建窗体
  4858. _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); } }
  4859. break;
  4860. // classGM
  4861. case "classGM": //班级管理
  4862. _formdiv = new U.UF.UI.form(
  4863. "班级管理",
  4864. $$("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 }), {
  4865. "id": "classGM",
  4866. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4867. "onresize": function () { }
  4868. }, {
  4869. closecallback: function () { }
  4870. }, { "style": { "height": "36px" } }).form; //创建窗体
  4871. _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); } }
  4872. break;
  4873. // dataGM
  4874. case "dataGM":
  4875. _formdiv = new U.UF.UI.form(
  4876. "我的资料",
  4877. $$("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 }), {
  4878. "id": "dataGM",
  4879. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4880. "onresize": function () { }
  4881. }, {
  4882. closecallback: function () { }
  4883. }, { "style": { "height": "36px" } }).form; //创建窗体
  4884. _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); } }
  4885. break;
  4886. // caseGM
  4887. case "caseGM": //课程进展
  4888. _formdiv = new U.UF.UI.form(
  4889. "课程进展",
  4890. $$("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 }), {
  4891. "id": "caseGM",
  4892. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4893. "onresize": function () { }
  4894. }, {
  4895. closecallback: function () { }
  4896. }, { "style": { "height": "36px" } }).form; //创建窗体
  4897. _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); } }
  4898. break;
  4899. // meterialGM
  4900. case "meterialGM": //素材库
  4901. _formdiv = new U.UF.UI.form(
  4902. "素材库",
  4903. $$("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 }), {
  4904. "id": "meterialGM",
  4905. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4906. "onresize": function () { }
  4907. }, {
  4908. closecallback: function () { }
  4909. }, { "style": { "height": "36px" } }).form; //创建窗体
  4910. _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); } }
  4911. break;
  4912. // evaluateSGM
  4913. case "evaluateSGM": //我的评价
  4914. _formdiv = new U.UF.UI.form(
  4915. "我的评价",
  4916. $$("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 }), {
  4917. "id": "evaluateSGM",
  4918. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4919. "onresize": function () { }
  4920. }, {
  4921. closecallback: function () { }
  4922. }, { "style": { "height": "36px" } }).form; //创建窗体
  4923. _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); } }
  4924. break;
  4925. case "jupyter": //jupyter
  4926. _formdiv = new U.UF.UI.form(
  4927. "jupyter",
  4928. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4929. "id": "jupyter",
  4930. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4931. "onresize": function () { }
  4932. }, {
  4933. closecallback: function () { }
  4934. }, { "style": { "height": "36px" } }).form; //创建窗体
  4935. _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); } }
  4936. break;
  4937. case "number": //数字实验室
  4938. _formdiv = new U.UF.UI.form(
  4939. "数字实验室",
  4940. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4941. "id": "number",
  4942. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4943. "onresize": function () { }
  4944. }, {
  4945. closecallback: function () { }
  4946. }, { "style": { "height": "36px" } }).form; //创建窗体
  4947. _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); } }
  4948. break;
  4949. case "studentCourse": //项目管理 学生
  4950. _formdiv = new U.UF.UI.form(
  4951. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4952. $$("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 }), {
  4953. "id": "studentCourse",
  4954. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4955. "onresize": function () { }
  4956. }, {
  4957. closecallback: function () { }
  4958. }, { "style": { "height": "36px" } }).form; //创建窗体
  4959. _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); } }
  4960. break;
  4961. case "studentCourseS": //项目管理 老师
  4962. _formdiv = new U.UF.UI.form(
  4963. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4964. $$("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 }), {
  4965. "id": "studentCourseS",
  4966. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4967. "onresize": function () { }
  4968. }, {
  4969. closecallback: function () { }
  4970. }, { "style": { "height": "36px" } }).form; //创建窗体
  4971. _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); } }
  4972. break;
  4973. case "studentIndex": //项目中心
  4974. _formdiv = new U.UF.UI.form(
  4975. "项目中心",
  4976. $$("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 }), {
  4977. "id": "studentIndex",
  4978. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4979. "onresize": function () { }
  4980. }, {
  4981. closecallback: function () { }
  4982. }, { "style": { "height": "36px" } }).form; //创建窗体
  4983. _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); } }
  4984. break;
  4985. case "CaseDesignS":
  4986. _formdiv = new U.UF.UI.form(
  4987. "项目进展",
  4988. $$("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 }), {
  4989. "id": "case",
  4990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4991. "onresize": function () { }
  4992. }, {
  4993. closecallback: function () { }
  4994. }, { "style": { "height": "36px" } }).form; //创建窗体
  4995. _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); } }
  4996. break;
  4997. case "tcStudent": //腾讯学生管理
  4998. _formdiv = new U.UF.UI.form(
  4999. "学生管理",
  5000. $$("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 }), {
  5001. "id": "tcStudent",
  5002. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5003. "onresize": function () { }
  5004. }, {
  5005. closecallback: function () { }
  5006. }, { "style": { "height": "36px" } }).form; //创建窗体
  5007. _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); } }
  5008. break;
  5009. case "tcSchool": //腾讯学校管理
  5010. _formdiv = new U.UF.UI.form(
  5011. "学校管理",
  5012. $$("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 }), {
  5013. "id": "tcSchool",
  5014. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5015. "onresize": function () { }
  5016. }, {
  5017. closecallback: function () { }
  5018. }, { "style": { "height": "36px" } }).form; //创建窗体
  5019. _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); } }
  5020. break;
  5021. case "tcTeacher": //腾讯学校管理
  5022. _formdiv = new U.UF.UI.form(
  5023. "教师管理",
  5024. $$("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 }), {
  5025. "id": "tcTeacher",
  5026. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5027. "onresize": function () { }
  5028. }, {
  5029. closecallback: function () { }
  5030. }, { "style": { "height": "36px" } }).form; //创建窗体
  5031. _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); } }
  5032. break;
  5033. case "tcData": //腾讯我的资料
  5034. _formdiv = new U.UF.UI.form(
  5035. "我的资料",
  5036. $$("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 }), {
  5037. "id": "tcData",
  5038. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5039. "onresize": function () { }
  5040. }, {
  5041. closecallback: function () { }
  5042. }, { "style": { "height": "36px" } }).form; //创建窗体
  5043. _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); } }
  5044. break;
  5045. case "tcNotice": //腾讯消息通知
  5046. _formdiv = new U.UF.UI.form(
  5047. "消息通知",
  5048. $$("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 }), {
  5049. "id": "tcNotice",
  5050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5051. "onresize": function () { }
  5052. }, {
  5053. closecallback: function () { }
  5054. }, { "style": { "height": "36px" } }).form; //创建窗体
  5055. _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); } }
  5056. break;
  5057. case "myReport": //好友打开
  5058. _formdiv = new U.UF.UI.form(
  5059. "我的评价",
  5060. $$("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 }), {
  5061. "id": "myReport",
  5062. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5063. "onresize": function () { }
  5064. }, {
  5065. closecallback: function () { }
  5066. }, { "style": { "height": "36px" } }).form; //创建窗体
  5067. _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); } }
  5068. break;
  5069. case "learnAna": //好友打开
  5070. _formdiv = new U.UF.UI.form(
  5071. "学习分析",
  5072. $$("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 }), {
  5073. "id": "learnAna",
  5074. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5075. "onresize": function () { }
  5076. }, {
  5077. closecallback: function () { }
  5078. }, { "style": { "height": "36px" } }).form; //创建窗体
  5079. _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); } }
  5080. break;
  5081. case "AIChat": //AI共创
  5082. _formdiv = new U.UF.UI.form(
  5083. "AI共创",
  5084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  5085. "id": "AIChat",
  5086. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5087. "onresize": function () { }
  5088. }, {
  5089. istop: true,
  5090. closecallback: function () { $("#aichat_icon").remove(); },
  5091. narrowcallback: function () {
  5092. if (!$("#aichat_icon")[0]) {
  5093. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5094. }
  5095. },
  5096. }, { "style": { "height": "36px" } }).form; //创建窗体
  5097. _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); } }
  5098. break;
  5099. case "ainew": //AI共创
  5100. _formdiv = new U.UF.UI.form(
  5101. "AI协同",
  5102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  5103. "id": "ainew",
  5104. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5105. "onresize": function () { }
  5106. }, {
  5107. closecallback: function () { }
  5108. }, { "style": { "height": "36px" } }).form; //创建窗体
  5109. _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); } }
  5110. break;
  5111. case "gpt4": //gpt4
  5112. _formdiv = new U.UF.UI.form(
  5113. "AI助手",
  5114. $$("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 }), {
  5115. "id": "gpt4",
  5116. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5117. "onresize": function () { }
  5118. }, {
  5119. closecallback: function () { }
  5120. }, { "style": { "height": "36px" } }).form; //创建窗体
  5121. _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); } }
  5122. break;
  5123. case "aigpt": //gpt4
  5124. _formdiv = new U.UF.UI.form(
  5125. "AI助手+",
  5126. $$("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 }), {
  5127. "id": "aigpt",
  5128. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5129. "onresize": function () { }
  5130. }, {
  5131. closecallback: function () { }
  5132. }, { "style": { "height": "36px" } }).form; //创建窗体
  5133. _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); } }
  5134. break;
  5135. case "futureClass": //AI共创
  5136. _formdiv = new U.UF.UI.form(
  5137. "协同建构",
  5138. $$("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
  5139. "id": "synergyCourse",
  5140. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5141. "onresize": function () { }
  5142. }, {
  5143. closecallback: function () {
  5144. $("iframe", _formdiv)[0].contentWindow.loginout();
  5145. }
  5146. }, { "style": { "height": "36px" } }).form; //创建窗体
  5147. _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); } }
  5148. break;
  5149. case "aiagent": //ai agent
  5150. _formdiv = new U.UF.UI.form(
  5151. "AI Agent",
  5152. $$("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" }), {
  5153. "id": "AIAgent",
  5154. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5155. "onresize": function () { }
  5156. }, {
  5157. closecallback: function () { }
  5158. }, { "style": { "height": "36px" } }).form; //创建窗体
  5159. _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); } }
  5160. break;
  5161. case "dataBoard": //数据看板
  5162. _formdiv = new U.UF.UI.form(
  5163. "数据看板",
  5164. $$("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 }), {
  5165. "id": "dataBoard",
  5166. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5167. "onresize": function () { }
  5168. }, {
  5169. closecallback: function () { }
  5170. }, { "style": { "height": "36px" } }).form; //创建窗体
  5171. _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); } }
  5172. break;
  5173. case "dataBoardSies": //数据融合
  5174. _formdiv = new U.UF.UI.form(
  5175. "数据融合",
  5176. $$("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 }), {
  5177. "id": "dataBoardSies",
  5178. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5179. "onresize": function () { }
  5180. }, {
  5181. closecallback: function () { }
  5182. }, { "style": { "height": "36px" } }).form; //创建窗体
  5183. _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); } }
  5184. break;
  5185. case "dataBoardNew": //数据看板
  5186. _formdiv = new U.UF.UI.form(
  5187. "综合看板",
  5188. $$("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 }), {
  5189. "id": "dataBoardNew",
  5190. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5191. "onresize": function () { }
  5192. }, {
  5193. closecallback: function () { }
  5194. }, { "style": { "height": "36px" } }).form; //创建窗体
  5195. _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); } }
  5196. break;
  5197. case "dataBoardTest": //数据看板
  5198. _formdiv = new U.UF.UI.form(
  5199. "评测看板",
  5200. $$("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 }), {
  5201. "id": "dataBoardTest",
  5202. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5203. "onresize": function () { }
  5204. }, {
  5205. closecallback: function () { }
  5206. }, { "style": { "height": "36px" } }).form; //创建窗体
  5207. _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); } }
  5208. break;
  5209. case "AIAnalyse": //AI共创
  5210. _formdiv = new U.UF.UI.form(
  5211. "AI分析",
  5212. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5213. "id": "AIAnalyse",
  5214. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5215. "onresize": function () { }
  5216. }, {
  5217. closecallback: function () { }
  5218. }, { "style": { "height": "36px" } }).form; //创建窗体
  5219. _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); } }
  5220. break;
  5221. case "studioCourse": //AI共创
  5222. _formdiv = new U.UF.UI.form(
  5223. "工作管理",
  5224. $$("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 }), {
  5225. "id": "studioCourse",
  5226. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5227. "onresize": function () { }
  5228. }, {
  5229. closecallback: function () { }
  5230. }, { "style": { "height": "36px" } }).form; //创建窗体
  5231. _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); } }
  5232. break;
  5233. case "studioIndex": //AI共创
  5234. _formdiv = new U.UF.UI.form(
  5235. "工作中心",
  5236. $$("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 }), {
  5237. "id": "studioIndex",
  5238. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5239. "onresize": function () { }
  5240. }, {
  5241. closecallback: function () { }
  5242. }, { "style": { "height": "36px" } }).form; //创建窗体
  5243. _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); } }
  5244. break;
  5245. case "source":
  5246. _formdiv = new U.UF.UI.form(
  5247. "教学资源",
  5248. $$("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 }), {
  5249. "id": "source",
  5250. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5251. "onresize": function () { }
  5252. }, {
  5253. closecallback: function () { }
  5254. }, { "style": { "height": "36px" } }).form; //创建窗体
  5255. _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); } }
  5256. break;
  5257. case "testTeacher":
  5258. _formdiv = new U.UF.UI.form(
  5259. "教师管理",
  5260. $$("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 }), {
  5261. "id": "testTeacher",
  5262. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5263. "onresize": function () { }
  5264. }, {
  5265. closecallback: function () { }
  5266. }, { "style": { "height": "36px" } }).form; //创建窗体
  5267. _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); } }
  5268. break;
  5269. case "testStudent":
  5270. _formdiv = new U.UF.UI.form(
  5271. "教师中心",
  5272. $$("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 }), {
  5273. "id": "testStudent",
  5274. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5275. "onresize": function () { }
  5276. }, {
  5277. closecallback: function () { }
  5278. }, { "style": { "height": "36px" } }).form; //创建窗体
  5279. _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); } }
  5280. break;
  5281. case "testTeacherSies":
  5282. _formdiv = new U.UF.UI.form(
  5283. "教师管理",
  5284. $$("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 }), {
  5285. "id": "testTeacherSies",
  5286. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5287. "onresize": function () { }
  5288. }, {
  5289. closecallback: function () { }
  5290. }, { "style": { "height": "36px" } }).form; //创建窗体
  5291. _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); } }
  5292. break;
  5293. case "testStudentSies":
  5294. _formdiv = new U.UF.UI.form(
  5295. "教师中心",
  5296. $$("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 }), {
  5297. "id": "testStudentSies",
  5298. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5299. "onresize": function () { }
  5300. }, {
  5301. closecallback: function () { }
  5302. }, { "style": { "height": "36px" } }).form; //创建窗体
  5303. _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); } }
  5304. break;
  5305. case "ytpbl": //消息通知
  5306. _formdiv = new U.UF.UI.form(
  5307. "案例征集",
  5308. $$("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 }), {
  5309. "id": "ytpbl",
  5310. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5311. "onresize": function () { }
  5312. }, {
  5313. closecallback: function () { }
  5314. }, { "style": { "height": "36px" } }).form; //创建窗体
  5315. _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); } }
  5316. // 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");
  5317. break;
  5318. case "aiCourseResource": //人工智能窗体
  5319. _formdiv = new U.UF.UI.form(
  5320. false,
  5321. $$("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 }), {
  5322. "id": "aiCourseResource",
  5323. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5324. "onresize": function () { },
  5325. "isdrag": false,
  5326. }, {
  5327. closecallback: function () { }
  5328. }, { "style": { "height": "36px" } }).form; //创建窗体
  5329. _taskbar = ''
  5330. break;
  5331. case "szdjgCocooroboX": //图形化编程
  5332. _formdiv = new U.UF.UI.form(
  5333. "图形化编程",
  5334. $$("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" }), {
  5335. "id": "szdjgCocooroboX",
  5336. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5337. "onresize": function () { }
  5338. }, {
  5339. closecallback: function () { }
  5340. }, { "style": { "height": "36px" } }).form; //创建窗体
  5341. _taskbar = ''
  5342. break;
  5343. case "szdjgPython": //python编程
  5344. _formdiv = new U.UF.UI.form(
  5345. "Python编程",
  5346. $$("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" }), {
  5347. "id": "szdjgPython",
  5348. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5349. "onresize": function () { }
  5350. }, {
  5351. closecallback: function () { }
  5352. }, { "style": { "height": "36px" } }).form; //创建窗体
  5353. _taskbar = ''
  5354. break;
  5355. case "Record":
  5356. _formdiv = new U.UF.UI.form(
  5357. "观察记录",
  5358. $$("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 }), {
  5359. "id": "Record",
  5360. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5361. "onresize": function () { }
  5362. }, {
  5363. closecallback: function () { }
  5364. }, { "style": { "height": "36px" } }).form; //创建窗体
  5365. _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); } }
  5366. break;
  5367. case "aigptCourse":
  5368. _formdiv = new U.UF.UI.form(
  5369. "AI智能体",
  5370. $$("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' }), {
  5371. "id": "aigptCourse",
  5372. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5373. "onresize": function () { }
  5374. }, {
  5375. closecallback: function () { }
  5376. }, { "style": { "height": "36px" } }).form; //创建窗体
  5377. _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); } }
  5378. break;
  5379. case "classroomObservation":
  5380. _formdiv = new U.UF.UI.form(
  5381. "课堂观察",
  5382. $$("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 }), {
  5383. "id": "classroomObservation",
  5384. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5385. "onresize": function () { }
  5386. }, {
  5387. closecallback: function () { }
  5388. }, { "style": { "height": "36px" } }).form; //创建窗体
  5389. _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); } }
  5390. break;
  5391. case "pblCourse":
  5392. _formdiv = new U.UF.UI.form(
  5393. "学生PBL",
  5394. $$("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 }), {
  5395. "id": "pblCourse",
  5396. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5397. "onresize": function () { }
  5398. }, {
  5399. closecallback: function () { }
  5400. }, { "style": { "height": "36px" } }).form; //创建窗体
  5401. _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); } }
  5402. break;
  5403. }
  5404. //U.MD.D.I.openClick(str);
  5405. //如果有任务栏信息
  5406. if (_taskbar) {
  5407. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5408. }
  5409. }
  5410. // U.MD.D.I.openClick = function(str){
  5411. // var click = '';
  5412. // switch(str){
  5413. // case 'friend':
  5414. // click = '我的好友';
  5415. // break;
  5416. // case 'domain':
  5417. // click = '域名管理';
  5418. // break;
  5419. // case 'disk':
  5420. // click = '我的云盘';
  5421. // break;
  5422. // case 'word':
  5423. // click = 'Word';
  5424. // break;
  5425. // case 'excel':
  5426. // click = 'Execl';
  5427. // break;
  5428. // case 'txt':
  5429. // click = '文本文件';
  5430. // break;
  5431. // case 'lookupFriend':
  5432. // click = '查找好友';
  5433. // break;
  5434. // case 'ftp':
  5435. // click = 'FTP';
  5436. // break;
  5437. // case 'group':
  5438. // click = '群组';
  5439. // break;
  5440. // case 'set':
  5441. // click = '我的设置';
  5442. // break;
  5443. // case 'systemSet':
  5444. // click = '系统设置';
  5445. // break;
  5446. // case 'boomYun':
  5447. // click = '互联办公';
  5448. // break;
  5449. // case 'xz':
  5450. // click = '云端下载';
  5451. // break;
  5452. // case 'client':
  5453. // click = '有思浏览器';
  5454. // break;
  5455. // case 'backEndProgramming':
  5456. // click = '在线后台编程';
  5457. // break;
  5458. // case 'frontEndProgramming':
  5459. // click = '在线前端编程';
  5460. // break;
  5461. // default: break;
  5462. // }
  5463. // if(U.MD.D.I.Ip && click){
  5464. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5465. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5466. // })
  5467. // }
  5468. // }
  5469. /**
  5470. *函数作用:ajax简易函数,使用post格式
  5471. *@param url {data} 后台地址
  5472. *@param data {data} 参数json
  5473. *@param fn {data} 回调函数
  5474. *
  5475. */
  5476. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5477. // var xhr = new XMLHttpRequest();
  5478. // xhr.open("GET",url,true);
  5479. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5480. // xhr.onreadystatechange = function(){
  5481. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5482. // fn.call(this,xhr.responseText);
  5483. // }
  5484. // };
  5485. // xhr.send();
  5486. // }
  5487. /*判断是否是内网IP*/
  5488. // U.MD.D.I.isInnerIPFn = function(str){
  5489. // var curPageUrl = str;
  5490. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5491. // curPageUrl =curPageUrl.replace(reg1,'');
  5492. // // console.log('curPageUrl-1 '+curPageUrl);
  5493. // var reg2 = /\:+/g;//替换冒号为一点
  5494. // curPageUrl =curPageUrl.replace(reg2,'.');
  5495. // // console.log('curPageUrl-2 '+curPageUrl);
  5496. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5497. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5498. // if(curPageUrl[2] != '16'){
  5499. // return ipAddress;
  5500. // }else{
  5501. // return false;
  5502. // }
  5503. // }
  5504. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5505. // //compatibility for firefox and chrome
  5506. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5507. // var pc = new myPeerConnection({
  5508. // iceServers: []
  5509. // }),
  5510. // noop = function() {},
  5511. // localIPs = {},
  5512. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5513. // key;
  5514. // function iterateIP(ip) {
  5515. // if (!localIPs[ip]) onNewIP(ip);
  5516. // localIPs[ip] = true;
  5517. // }
  5518. // //create a bogus data channel
  5519. // pc.createDataChannel("");
  5520. // // create offer and set local description
  5521. // pc.createOffer().then(function(sdp) {
  5522. // sdp.sdp.split('\n').forEach(function(line) {
  5523. // if (line.indexOf('candidate') < 0) return;
  5524. // line.match(ipRegex).forEach(iterateIP);
  5525. // });
  5526. // pc.setLocalDescription(sdp, noop, noop);
  5527. // }).catch(function(reason) {
  5528. // // An error occurred, so handle the failure to connect
  5529. // });
  5530. // //sten for candidate events
  5531. // pc.onicecandidate = function(ice) {
  5532. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5533. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5534. // };
  5535. // }
  5536. // U.MD.D.I.getUserIpBool = function(callback){
  5537. // U.MD.D.I.getUserIP(function(ip){
  5538. // alert("Got IP! :" + ip);
  5539. // });
  5540. //}
  5541. //#endregion
  5542. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5543. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5544. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5545. _userinfo = US.userInfo, //登录用户信息
  5546. _userid = US.userInfo.userid //登录用户id
  5547. let _iframe;
  5548. let _cid = cid,
  5549. _stage = stage,
  5550. _task = task,
  5551. _tool = tool;
  5552. var _jie = $$("div", {
  5553. "style": {
  5554. "position": "absolute",
  5555. "bottom": "50px",
  5556. "right": "50px",
  5557. "zIndex": "9999",
  5558. "backgroundColor": "#2268bc",
  5559. "color": "#fff",
  5560. "padding": "12px 20px",
  5561. "cursor": "pointer",
  5562. "borderRadius": "4px",
  5563. },
  5564. "innerHTML": "提交作业"
  5565. })
  5566. let aTool = ''
  5567. let _loading = document.createElement('div')
  5568. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  5569. // _loading.id = "";
  5570. let _lchild = document.createElement('div')
  5571. let _limg = document.createElement('img')
  5572. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5573. _limg.style = "width: 26px;margin-right: 10px;"
  5574. _lchild.appendChild(_limg)
  5575. let _lspan = document.createElement('span')
  5576. _lspan.innerHTML = "上传中..."
  5577. _lchild.appendChild(_lspan)
  5578. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  5579. _loading.appendChild(_lchild)
  5580. var _box = $$('div', {
  5581. "style": {
  5582. "position": "relative",
  5583. "width": "100%",
  5584. "height": "100%",
  5585. },
  5586. })
  5587. _box.appendChild(_loading)
  5588. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5589. switch (str) {
  5590. case "whiteboard":
  5591. aTool = 1;
  5592. _iframe = $$("iframe", {
  5593. "frameborder": "no",
  5594. "border": "0",
  5595. "scrolling ": "no",
  5596. "style": {
  5597. "cssText": "border:0;width:100%;height:100%"
  5598. },
  5599. "src": "https://beta.iwb.cocorobo.cn/"
  5600. })
  5601. _box.appendChild(_iframe);
  5602. _box.appendChild(_jie);
  5603. _formdiv = new U.UF.UI.form(
  5604. "电子白板",
  5605. _box, {
  5606. "id": "whiteboard" + cid + stage + task + tool,
  5607. "style": {
  5608. "width": "90%",
  5609. "height": "90%",
  5610. "overflow": 'hidden'
  5611. },
  5612. "onresize": function () { }
  5613. }, {
  5614. closecallback: function () { }
  5615. }, {
  5616. "style": {
  5617. "height": "36px"
  5618. }
  5619. }).form; //创建窗体
  5620. _taskbar = {
  5621. "id": str + _formdiv.id,
  5622. "style": {
  5623. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5624. },
  5625. "name": "电子白板",
  5626. "forms": _formdiv,
  5627. "click": function () {
  5628. U.MD.D.I.openApplication(str, obj, info);
  5629. }
  5630. }
  5631. break;
  5632. case "mind":
  5633. aTool = 3;
  5634. _iframe = $$("iframe", {
  5635. "frameborder": "no",
  5636. "border": "0",
  5637. "scrolling ": "no",
  5638. "style": {
  5639. "cssText": "border:0;width:100%;height:100%"
  5640. },
  5641. "src": "/kityminder-editor/dist/index.html"
  5642. })
  5643. _box.appendChild(_iframe);
  5644. _box.appendChild(_jie);
  5645. _formdiv = new U.UF.UI.form(
  5646. "思维导图",
  5647. _box, { //"/jsmind/example/demo.html"
  5648. "id": "mind" + cid + stage + task + tool,
  5649. "style": {
  5650. "width": "90%",
  5651. "height": "90%",
  5652. "overflow": 'hidden'
  5653. },
  5654. "onresize": function () { }
  5655. }, {
  5656. closecallback: function () { }
  5657. }, {
  5658. "style": {
  5659. "height": "36px"
  5660. }
  5661. }).form; //创建窗体
  5662. _taskbar = {
  5663. "id": str + _formdiv.id,
  5664. "style": {
  5665. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5666. },
  5667. "name": "思维导图",
  5668. "forms": _formdiv,
  5669. "click": function () {
  5670. U.MD.D.I.openApplication(str, obj, info);
  5671. }
  5672. }
  5673. break;
  5674. case "MindMap":
  5675. aTool = 3;
  5676. _iframe = $$("iframe", {
  5677. "frameborder": "no",
  5678. "border": "0",
  5679. "scrolling ": "no",
  5680. "style": {
  5681. "cssText": "border:0;width:100%;height:100%"
  5682. },
  5683. "src": "//cloud.cocorobo.cn/mind/"
  5684. })
  5685. _box.appendChild(_iframe);
  5686. _box.appendChild(_jie);
  5687. _formdiv = new U.UF.UI.form(
  5688. "思维导图",
  5689. _box, { //"/jsmind/example/demo.html"
  5690. "id": "mind" + cid + stage + task + tool,
  5691. "style": {
  5692. "width": "90%",
  5693. "height": "90%",
  5694. "overflow": 'hidden'
  5695. },
  5696. "onresize": function () { }
  5697. }, {
  5698. closecallback: function () { }
  5699. }, {
  5700. "style": {
  5701. "height": "36px"
  5702. }
  5703. }).form; //创建窗体
  5704. _taskbar = {
  5705. "id": str + _formdiv.id,
  5706. "style": {
  5707. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5708. },
  5709. "name": "思维导图",
  5710. "forms": _formdiv,
  5711. "click": function () {
  5712. U.MD.D.I.openApplication(str, obj, info);
  5713. }
  5714. }
  5715. break;
  5716. case "doc":
  5717. aTool = 6;
  5718. _iframe = $$("iframe", {
  5719. "frameborder": "no",
  5720. "border": "0",
  5721. "scrolling ": "no",
  5722. "style": {
  5723. "cssText": "border:0;width:100%;height:100%"
  5724. },
  5725. "src": "/Office/Word/WordEditArea.htm"
  5726. })
  5727. _box.appendChild(_iframe);
  5728. _box.appendChild(_jie);
  5729. _formdiv = new U.UF.UI.form(
  5730. "协同文档",
  5731. _box, {
  5732. "id": "doc" + cid + stage + task + tool,
  5733. "style": {
  5734. "width": "90%",
  5735. "height": "90%",
  5736. "overflow": 'hidden'
  5737. },
  5738. "onresize": function () { }
  5739. }, {
  5740. closecallback: function () { }
  5741. }, {
  5742. "style": {
  5743. "height": "36px"
  5744. }
  5745. }).form; //创建窗体
  5746. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5747. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5748. })
  5749. _taskbar = {
  5750. "id": str + _formdiv.id,
  5751. "style": {
  5752. "backgroundImage": "url(/img/icon/doc.png)"
  5753. },
  5754. "name": "协同文档",
  5755. "forms": _formdiv,
  5756. "click": function () {
  5757. U.MD.D.I.openApplication(str, obj, info);
  5758. }
  5759. }
  5760. break;
  5761. case "mindNetwork": //好友打开
  5762. aTool = 7;
  5763. _iframe = $$("iframe", {
  5764. "webkitallowfullscreen": "",
  5765. "mozallowfullscreen": "",
  5766. "allowfullscreen": "",
  5767. "frameborder": "no",
  5768. "border": "0",
  5769. "scrolling ": "no",
  5770. "style": {
  5771. "cssText": "border:0; width:100%; height:100%;"
  5772. },
  5773. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5774. })
  5775. _box.appendChild(_iframe);
  5776. _box.appendChild(_jie);
  5777. _formdiv = new U.UF.UI.form(
  5778. "思维网格",
  5779. _box, {
  5780. "id": "mindNetwork" + cid + stage + task + tool,
  5781. "style": {
  5782. "width": "90%",
  5783. "height": "90%",
  5784. "overflow": 'hidden'
  5785. },
  5786. "onresize": function () { }
  5787. }, {
  5788. closecallback: function () { }
  5789. }, {
  5790. "style": {
  5791. "height": "36px"
  5792. }
  5793. }).form; //创建窗体
  5794. _taskbar = {
  5795. "id": str + _formdiv.id,
  5796. "style": {
  5797. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5798. },
  5799. "name": "思维网格",
  5800. "forms": _formdiv,
  5801. "click": function () {
  5802. U.MD.D.I.openApplication(str, obj, info);
  5803. }
  5804. }
  5805. break;
  5806. case "courseDesign":
  5807. _iframe = $$("iframe", {
  5808. "webkitallowfullscreen": "",
  5809. "mozallowfullscreen": "",
  5810. "allowfullscreen": "",
  5811. "frameborder": "no",
  5812. "border": "0",
  5813. "scrolling ": "no",
  5814. "style": {
  5815. "cssText": "border:0; width:100%; height:100%;"
  5816. },
  5817. "src": "/course-design-vue"
  5818. })
  5819. _box.appendChild(_iframe);
  5820. _box.appendChild(_jie);
  5821. _formdiv = new U.UF.UI.form(
  5822. "项目设计",
  5823. _box, {
  5824. "id": "courseDesign" + cid + stage + task + tool,
  5825. "style": {
  5826. "width": "90%",
  5827. "height": "90%",
  5828. "overflow": 'hidden'
  5829. },
  5830. "onresize": function () { }
  5831. }, {
  5832. closecallback: function () { }
  5833. }, {
  5834. "style": {
  5835. "height": "36px"
  5836. }
  5837. }).form; //创建窗体
  5838. _taskbar = {
  5839. "id": str + _formdiv.id,
  5840. "style": {
  5841. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5842. },
  5843. "name": "项目设计",
  5844. "forms": _formdiv,
  5845. "click": function () {
  5846. U.MD.D.I.openApplication(str, obj, info);
  5847. }
  5848. }
  5849. break;
  5850. }
  5851. const script1 = document.createElement("script");
  5852. script1.type = "text/javascript";
  5853. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5854. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5855. const script2 = document.createElement("script");
  5856. script2.type = "text/javascript";
  5857. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5858. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5859. const script3 = document.createElement("script");
  5860. script3.type = "text/javascript";
  5861. script3.charset = "UTF-8";
  5862. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5863. const script4 = document.createElement("script");
  5864. script4.type = "text/javascript";
  5865. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5866. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5867. if (_iframe) {
  5868. if (str == 'doc') {
  5869. _iframe = _formdiv.querySelector('iframe')
  5870. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5871. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5872. _iframe.contentWindow.document.body.appendChild(script1);
  5873. _iframe.contentWindow.document.body.appendChild(script2);
  5874. // _iframe.contentWindow.document.body.appendChild(script3);
  5875. _iframe.contentWindow.document.body.appendChild(script4);
  5876. })
  5877. if (onloadListener) {
  5878. _iframe.contentDocument.location.reload()
  5879. } else {
  5880. _iframe.contentDocument.location.reload()
  5881. }
  5882. } else if (str == 'courseDesign') {
  5883. U.UF.DL.iframeLoad(_iframe, function () {
  5884. // _iframe.contentWindow.U.MD.O.W.load();
  5885. // _iframe.contentWindow.document.body.appendChild(script1);
  5886. _iframe.contentWindow.document.body.appendChild(script2);
  5887. _iframe.contentWindow.document.body.appendChild(script4);
  5888. })
  5889. } else if (str == 'mind') {
  5890. _iframe = _formdiv.querySelector('iframe')
  5891. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5892. //
  5893. _iframe.contentWindow.document.body.appendChild(script1);
  5894. _iframe.contentWindow.document.body.appendChild(script2);
  5895. _iframe.contentWindow.document.body.appendChild(script4);
  5896. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5897. })
  5898. if (onloadListener) {
  5899. _iframe.contentDocument.location.reload()
  5900. } else {
  5901. _iframe.contentDocument.location.reload()
  5902. }
  5903. } else if (str == 'whiteboard') {
  5904. _iframe = _formdiv.querySelector('iframe')
  5905. let onloadListener = _iframe.onload = () => {
  5906. _iframe.contentWindow.document.body.appendChild(script1);
  5907. _iframe.contentWindow.document.body.appendChild(script2);
  5908. _iframe.contentWindow.document.body.appendChild(script4);
  5909. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5910. };
  5911. if (onloadListener) {
  5912. try {
  5913. _iframe.src += "?cocorobo="+new Date().getTime()
  5914. _iframe.contentWindow.document.location.reload()
  5915. } catch (error) {
  5916. }
  5917. } else {
  5918. _iframe.contentDocument.location.reload()
  5919. }
  5920. } else {
  5921. _iframe.onload = () => {
  5922. _iframe.contentWindow.document.body.appendChild(script1);
  5923. _iframe.contentWindow.document.body.appendChild(script2);
  5924. // _iframe.contentWindow.document.body.appendChild(script3);
  5925. _iframe.contentWindow.document.body.appendChild(script4);
  5926. };
  5927. }
  5928. _jie.onclick = async () => {
  5929. let text = ''
  5930. if (aTool == 1) {
  5931. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5932. } else if (aTool == 6) {
  5933. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5934. } else if (aTool == 3) {
  5935. text = await U.MD.D.I.getEditorContent(_iframe);
  5936. }
  5937. _loading.style.display = 'flex'
  5938. console.log(_loading);
  5939. var _ajs = _iframe.contentWindow.document.createElement("script");
  5940. _ajs.type = "text/javascript";
  5941. _ajs.innerHTML =
  5942. // 'console.log(' + _loading + ');\n' +
  5943. 'var _js = document.createElement("script");\n' +
  5944. '_js.type="text/javascript";\n' +
  5945. '_js.charset="UTF-8";\n' +
  5946. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5947. "_js.onload = function(){\n" +
  5948. ' var a = document.getElementsByTagName("img")\n' +
  5949. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5950. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5951. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5952. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5953. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5954. "beforeUpload_shishi(file," +
  5955. "'" +
  5956. _userid +
  5957. "'" +
  5958. ", " +
  5959. "'" +
  5960. _cid +
  5961. "'" +
  5962. ", " +
  5963. "'" +
  5964. _stage +
  5965. "'" +
  5966. ", " +
  5967. "'" +
  5968. _task +
  5969. "'" +
  5970. ", " +
  5971. "'" +
  5972. _tool +
  5973. "'" +
  5974. ", " +
  5975. "'" +
  5976. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5977. "'" +
  5978. ", " +
  5979. "'" +
  5980. aTool +
  5981. "'" +
  5982. ", " +
  5983. "`" +
  5984. text +
  5985. "`" +
  5986. ")\n" +
  5987. " });\n" +
  5988. "}\n" +
  5989. "document.head.appendChild(_js);\n";
  5990. _iframe.contentWindow.document.head.appendChild(_ajs);
  5991. }
  5992. }
  5993. //U.MD.D.I.openClick(str);
  5994. //如果有任务栏信息
  5995. // if (_taskbar) {
  5996. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5997. // }
  5998. }
  5999. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6000. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6001. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6002. _userinfo = US.userInfo, //登录用户信息
  6003. _userid = US.userInfo.userid //登录用户id
  6004. let _iframe;
  6005. let _cid = cid,
  6006. _stage = stage,
  6007. _task = task,
  6008. _tool = tool;
  6009. var _jie = $$("div", {
  6010. "style": {
  6011. "position": "absolute",
  6012. "bottom": "50px",
  6013. "right": "50px",
  6014. "zIndex": "9999",
  6015. "backgroundColor": "#2268bc",
  6016. "color": "#fff",
  6017. "padding": "12px 20px",
  6018. "cursor": "pointer",
  6019. "borderRadius": "4px",
  6020. },
  6021. "innerHTML": "提交作业"
  6022. })
  6023. let aTool = ''
  6024. let _loading = document.createElement('div')
  6025. _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;"
  6026. // _loading.id = "";
  6027. let _lchild = document.createElement('div')
  6028. let _limg = document.createElement('img')
  6029. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6030. _limg.style = "width: 26px;margin-right: 10px;"
  6031. _lchild.appendChild(_limg)
  6032. let _lspan = document.createElement('span')
  6033. _lspan.innerHTML = "上传中..."
  6034. _lchild.appendChild(_lspan)
  6035. _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%);"
  6036. _loading.appendChild(_lchild)
  6037. var _box = $$('div', {
  6038. "style": {
  6039. "position": "relative",
  6040. "width": "100%",
  6041. "height": "100%",
  6042. },
  6043. })
  6044. _box.appendChild(_loading)
  6045. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6046. switch (str) {
  6047. case "whiteboard":
  6048. aTool = 1;
  6049. _iframe = $$("iframe", {
  6050. "frameborder": "no",
  6051. "border": "0",
  6052. "scrolling ": "no",
  6053. "style": {
  6054. "cssText": "border:0;width:100%;height:100%"
  6055. },
  6056. "src": "https://beta.iwb.cocorobo.cn/"
  6057. })
  6058. _box.appendChild(_iframe);
  6059. _box.appendChild(_jie);
  6060. _formdiv = new U.UF.UI.form(
  6061. "电子白板",
  6062. _box, {
  6063. "id": "whiteboard" + cid + stage + task + tool,
  6064. "style": {
  6065. "width": "90%",
  6066. "height": "90%",
  6067. "overflow": 'hidden'
  6068. },
  6069. "onresize": function () { }
  6070. }, {
  6071. closecallback: function () { }
  6072. }, {
  6073. "style": {
  6074. "height": "36px"
  6075. }
  6076. }).form; //创建窗体
  6077. _taskbar = {
  6078. "id": str + _formdiv.id,
  6079. "style": {
  6080. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6081. },
  6082. "name": "电子白板",
  6083. "forms": _formdiv,
  6084. "click": function () {
  6085. U.MD.D.I.openApplication(str, obj, info);
  6086. }
  6087. }
  6088. break;
  6089. case "mind":
  6090. aTool = 3;
  6091. _iframe = $$("iframe", {
  6092. "frameborder": "no",
  6093. "border": "0",
  6094. "scrolling ": "no",
  6095. "style": {
  6096. "cssText": "border:0;width:100%;height:100%"
  6097. },
  6098. "src": "/kityminder-editor/dist/index.html"
  6099. })
  6100. _box.appendChild(_iframe);
  6101. _box.appendChild(_jie);
  6102. _formdiv = new U.UF.UI.form(
  6103. "思维导图",
  6104. _box, { //"/jsmind/example/demo.html"
  6105. "id": "mind" + cid + stage + task + tool,
  6106. "style": {
  6107. "width": "90%",
  6108. "height": "90%",
  6109. "overflow": 'hidden'
  6110. },
  6111. "onresize": function () { }
  6112. }, {
  6113. closecallback: function () { }
  6114. }, {
  6115. "style": {
  6116. "height": "36px"
  6117. }
  6118. }).form; //创建窗体
  6119. _taskbar = {
  6120. "id": str + _formdiv.id,
  6121. "style": {
  6122. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6123. },
  6124. "name": "思维导图",
  6125. "forms": _formdiv,
  6126. "click": function () {
  6127. U.MD.D.I.openApplication(str, obj, info);
  6128. }
  6129. }
  6130. break;
  6131. case "MindMap":
  6132. aTool = 3;
  6133. _iframe = $$("iframe", {
  6134. "frameborder": "no",
  6135. "border": "0",
  6136. "scrolling ": "no",
  6137. "style": {
  6138. "cssText": "border:0;width:100%;height:100%"
  6139. },
  6140. "src": "//cloud.cocorobo.cn/mind/"
  6141. })
  6142. _box.appendChild(_iframe);
  6143. _box.appendChild(_jie);
  6144. _formdiv = new U.UF.UI.form(
  6145. "思维导图",
  6146. _box, { //"/jsmind/example/demo.html"
  6147. "id": "mind" + cid + stage + task + tool,
  6148. "style": {
  6149. "width": "90%",
  6150. "height": "90%",
  6151. "overflow": 'hidden'
  6152. },
  6153. "onresize": function () { }
  6154. }, {
  6155. closecallback: function () { }
  6156. }, {
  6157. "style": {
  6158. "height": "36px"
  6159. }
  6160. }).form; //创建窗体
  6161. _taskbar = {
  6162. "id": str + _formdiv.id,
  6163. "style": {
  6164. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6165. },
  6166. "name": "思维导图",
  6167. "forms": _formdiv,
  6168. "click": function () {
  6169. U.MD.D.I.openApplication(str, obj, info);
  6170. }
  6171. }
  6172. break;
  6173. case "doc":
  6174. aTool = 6;
  6175. _iframe = $$("iframe", {
  6176. "frameborder": "no",
  6177. "border": "0",
  6178. "scrolling ": "no",
  6179. "style": {
  6180. "cssText": "border:0;width:100%;height:100%"
  6181. },
  6182. "src": "/Office/Word/WordEditArea.htm"
  6183. })
  6184. _box.appendChild(_iframe);
  6185. _box.appendChild(_jie);
  6186. _formdiv = new U.UF.UI.form(
  6187. "协同文档",
  6188. _box, {
  6189. "id": "doc" + cid + stage + task + tool,
  6190. "style": {
  6191. "width": "90%",
  6192. "height": "90%",
  6193. "overflow": 'hidden'
  6194. },
  6195. "onresize": function () { }
  6196. }, {
  6197. closecallback: function () { }
  6198. }, {
  6199. "style": {
  6200. "height": "36px"
  6201. }
  6202. }).form; //创建窗体
  6203. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6204. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6205. })
  6206. _taskbar = {
  6207. "id": str + _formdiv.id,
  6208. "style": {
  6209. "backgroundImage": "url(/img/icon/doc.png)"
  6210. },
  6211. "name": "协同文档",
  6212. "forms": _formdiv,
  6213. "click": function () {
  6214. U.MD.D.I.openApplication(str, obj, info);
  6215. }
  6216. }
  6217. break;
  6218. case "mindNetwork": //好友打开
  6219. aTool = 7;
  6220. _iframe = $$("iframe", {
  6221. "webkitallowfullscreen": "",
  6222. "mozallowfullscreen": "",
  6223. "allowfullscreen": "",
  6224. "frameborder": "no",
  6225. "border": "0",
  6226. "scrolling ": "no",
  6227. "style": {
  6228. "cssText": "border:0; width:100%; height:100%;"
  6229. },
  6230. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6231. })
  6232. _box.appendChild(_iframe);
  6233. _box.appendChild(_jie);
  6234. _formdiv = new U.UF.UI.form(
  6235. "思维网格",
  6236. _box, {
  6237. "id": "mindNetwork" + cid + stage + task + tool,
  6238. "style": {
  6239. "width": "90%",
  6240. "height": "90%",
  6241. "overflow": 'hidden'
  6242. },
  6243. "onresize": function () { }
  6244. }, {
  6245. closecallback: function () { }
  6246. }, {
  6247. "style": {
  6248. "height": "36px"
  6249. }
  6250. }).form; //创建窗体
  6251. _taskbar = {
  6252. "id": str + _formdiv.id,
  6253. "style": {
  6254. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6255. },
  6256. "name": "思维网格",
  6257. "forms": _formdiv,
  6258. "click": function () {
  6259. U.MD.D.I.openApplication(str, obj, info);
  6260. }
  6261. }
  6262. break;
  6263. case "courseDesign":
  6264. _iframe = $$("iframe", {
  6265. "webkitallowfullscreen": "",
  6266. "mozallowfullscreen": "",
  6267. "allowfullscreen": "",
  6268. "frameborder": "no",
  6269. "border": "0",
  6270. "scrolling ": "no",
  6271. "style": {
  6272. "cssText": "border:0; width:100%; height:100%;"
  6273. },
  6274. "src": "/course-design-vue"
  6275. })
  6276. _box.appendChild(_iframe);
  6277. _box.appendChild(_jie);
  6278. _formdiv = new U.UF.UI.form(
  6279. "项目设计",
  6280. _box, {
  6281. "id": "courseDesign" + cid + stage + task + tool,
  6282. "style": {
  6283. "width": "90%",
  6284. "height": "90%",
  6285. "overflow": 'hidden'
  6286. },
  6287. "onresize": function () { }
  6288. }, {
  6289. closecallback: function () { }
  6290. }, {
  6291. "style": {
  6292. "height": "36px"
  6293. }
  6294. }).form; //创建窗体
  6295. _taskbar = {
  6296. "id": str + _formdiv.id,
  6297. "style": {
  6298. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6299. },
  6300. "name": "项目设计",
  6301. "forms": _formdiv,
  6302. "click": function () {
  6303. U.MD.D.I.openApplication(str, obj, info);
  6304. }
  6305. }
  6306. break;
  6307. }
  6308. const script1 = document.createElement("script");
  6309. script1.type = "text/javascript";
  6310. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6311. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6312. const script2 = document.createElement("script");
  6313. script2.type = "text/javascript";
  6314. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6315. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6316. const script3 = document.createElement("script");
  6317. script3.type = "text/javascript";
  6318. script3.charset = "UTF-8";
  6319. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6320. const script4 = document.createElement("script");
  6321. script4.type = "text/javascript";
  6322. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6323. script4.src = window.origin + "/js/Common/jietu2E.js";
  6324. if (_iframe) {
  6325. if (str == 'doc') {
  6326. _iframe = _formdiv.querySelector('iframe')
  6327. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6328. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6329. _iframe.contentWindow.document.body.appendChild(script1);
  6330. _iframe.contentWindow.document.body.appendChild(script2);
  6331. // _iframe.contentWindow.document.body.appendChild(script3);
  6332. _iframe.contentWindow.document.body.appendChild(script4);
  6333. })
  6334. if (onloadListener) {
  6335. _iframe.contentDocument.location.reload()
  6336. } else {
  6337. _iframe.contentDocument.location.reload()
  6338. }
  6339. } else if (str == 'courseDesign') {
  6340. U.UF.DL.iframeLoad(_iframe, function () {
  6341. // _iframe.contentWindow.U.MD.O.W.load();
  6342. // _iframe.contentWindow.document.body.appendChild(script1);
  6343. _iframe.contentWindow.document.body.appendChild(script2);
  6344. _iframe.contentWindow.document.body.appendChild(script4);
  6345. })
  6346. } else if (str == 'mind') {
  6347. _iframe = _formdiv.querySelector('iframe')
  6348. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6349. //
  6350. _iframe.contentWindow.document.body.appendChild(script1);
  6351. _iframe.contentWindow.document.body.appendChild(script2);
  6352. _iframe.contentWindow.document.body.appendChild(script4);
  6353. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6354. })
  6355. if (onloadListener) {
  6356. _iframe.contentDocument.location.reload()
  6357. } else {
  6358. _iframe.contentDocument.location.reload()
  6359. }
  6360. } else if (str == 'whiteboard') {
  6361. _iframe = _formdiv.querySelector('iframe')
  6362. let onloadListener = _iframe.onload = () => {
  6363. _iframe.contentWindow.document.body.appendChild(script1);
  6364. _iframe.contentWindow.document.body.appendChild(script2);
  6365. _iframe.contentWindow.document.body.appendChild(script4);
  6366. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6367. };
  6368. if (onloadListener) {
  6369. try {
  6370. _iframe.src += "?cocorobo="+new Date().getTime()
  6371. _iframe.contentWindow.document.location.reload()
  6372. } catch (error) {
  6373. }
  6374. } else {
  6375. _iframe.contentDocument.location.reload()
  6376. }
  6377. } else {
  6378. _iframe.onload = () => {
  6379. _iframe.contentWindow.document.body.appendChild(script1);
  6380. _iframe.contentWindow.document.body.appendChild(script2);
  6381. // _iframe.contentWindow.document.body.appendChild(script3);
  6382. _iframe.contentWindow.document.body.appendChild(script4);
  6383. };
  6384. }
  6385. _jie.onclick = async () => {
  6386. let text = ''
  6387. if (aTool == 1) {
  6388. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6389. } else if (aTool == 6) {
  6390. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6391. } else if (aTool == 3) {
  6392. text = await U.MD.D.I.getEditorContent(_iframe);
  6393. }
  6394. _loading.style.display = 'flex'
  6395. console.log(_loading);
  6396. var _ajs = _iframe.contentWindow.document.createElement("script");
  6397. _ajs.type = "text/javascript";
  6398. _ajs.innerHTML =
  6399. // 'console.log(' + _loading + ');\n' +
  6400. 'var _js = document.createElement("script");\n' +
  6401. '_js.type="text/javascript";\n' +
  6402. '_js.charset="UTF-8";\n' +
  6403. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6404. "_js.onload = function(){\n" +
  6405. ' var a = document.getElementsByTagName("img")\n' +
  6406. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6407. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6408. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6409. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6410. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6411. "beforeUpload_shishi(file," +
  6412. "'" +
  6413. _userid +
  6414. "'" +
  6415. ", " +
  6416. "'" +
  6417. _cid +
  6418. "'" +
  6419. ", " +
  6420. "'" +
  6421. _stage +
  6422. "'" +
  6423. ", " +
  6424. "'" +
  6425. _task +
  6426. "'" +
  6427. ", " +
  6428. "'" +
  6429. _tool +
  6430. "'" +
  6431. ", " +
  6432. "'" +
  6433. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6434. "'" +
  6435. ", " +
  6436. "'" +
  6437. aTool +
  6438. "'" +
  6439. ", " +
  6440. "`" +
  6441. text +
  6442. "`" +
  6443. ")\n" +
  6444. " });\n" +
  6445. "}\n" +
  6446. "document.head.appendChild(_js);\n";
  6447. _iframe.contentWindow.document.head.appendChild(_ajs);
  6448. }
  6449. }
  6450. //U.MD.D.I.openClick(str);
  6451. //如果有任务栏信息
  6452. // if (_taskbar) {
  6453. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6454. // }
  6455. }
  6456. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6457. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6458. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6459. _userid = student.userid, //登录用户id
  6460. _username = student.student //用户名字
  6461. let _iframe;
  6462. let _cid = cid,
  6463. _stage = stage,
  6464. _task = task,
  6465. _tool = tool;
  6466. var _jie = $$("div", {
  6467. "style": {
  6468. "position": "absolute",
  6469. "bottom": "50px",
  6470. "right": "50px",
  6471. "zIndex": "9999",
  6472. "backgroundColor": "#2268bc",
  6473. "color": "#fff",
  6474. "padding": "12px 20px",
  6475. "cursor": "pointer",
  6476. "borderRadius": "4px",
  6477. },
  6478. "innerHTML": "提交作业"
  6479. })
  6480. let aTool = ''
  6481. let _loading = document.createElement('div')
  6482. _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;"
  6483. // _loading.id = "";
  6484. let _lchild = document.createElement('div')
  6485. let _limg = document.createElement('img')
  6486. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6487. _limg.style = "width: 26px;margin-right: 10px;"
  6488. _lchild.appendChild(_limg)
  6489. let _lspan = document.createElement('span')
  6490. _lspan.innerHTML = "上传中..."
  6491. _lchild.appendChild(_lspan)
  6492. _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%);"
  6493. _loading.appendChild(_lchild)
  6494. var _box = $$('div', {
  6495. "style": {
  6496. "position": "relative",
  6497. "width": "100%",
  6498. "height": "100%",
  6499. },
  6500. })
  6501. _box.appendChild(_loading)
  6502. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6503. switch (str) {
  6504. case "whiteboard":
  6505. aTool = 1;
  6506. _iframe = $$("iframe", {
  6507. "frameborder": "no",
  6508. "border": "0",
  6509. "scrolling ": "no",
  6510. "style": {
  6511. "cssText": "border:0;width:100%;height:100%"
  6512. },
  6513. "src": "https://beta.iwb.cocorobo.cn/"
  6514. })
  6515. _box.appendChild(_iframe);
  6516. _box.appendChild(_jie);
  6517. _formdiv = new U.UF.UI.form(
  6518. "电子白板-" + _username,
  6519. _box, {
  6520. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6521. "style": {
  6522. "width": "90%",
  6523. "height": "90%",
  6524. "overflow": 'hidden'
  6525. },
  6526. "onresize": function () { }
  6527. }, {
  6528. closecallback: function () { }
  6529. }, {
  6530. "style": {
  6531. "height": "36px"
  6532. }
  6533. }).form; //创建窗体
  6534. _taskbar = {
  6535. "id": str + _formdiv.id,
  6536. "style": {
  6537. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6538. },
  6539. "name": "电子白板",
  6540. "forms": _formdiv,
  6541. "click": function () {
  6542. U.MD.D.I.openApplication(str, obj, info);
  6543. }
  6544. }
  6545. break;
  6546. case "mind":
  6547. aTool = 3;
  6548. _iframe = $$("iframe", {
  6549. "frameborder": "no",
  6550. "border": "0",
  6551. "scrolling ": "no",
  6552. "style": {
  6553. "cssText": "border:0;width:100%;height:100%"
  6554. },
  6555. "src": "/kityminder-editor/dist/index.html"
  6556. })
  6557. _box.appendChild(_iframe);
  6558. _box.appendChild(_jie);
  6559. _formdiv = new U.UF.UI.form(
  6560. "思维导图-" + _username,
  6561. _box, { //"/jsmind/example/demo.html"
  6562. "id": "mind" + cid + stage + task + tool + _userid,
  6563. "style": {
  6564. "width": "90%",
  6565. "height": "90%",
  6566. "overflow": 'hidden'
  6567. },
  6568. "onresize": function () { }
  6569. }, {
  6570. closecallback: function () { }
  6571. }, {
  6572. "style": {
  6573. "height": "36px"
  6574. }
  6575. }).form; //创建窗体
  6576. _taskbar = {
  6577. "id": str + _formdiv.id,
  6578. "style": {
  6579. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6580. },
  6581. "name": "思维导图",
  6582. "forms": _formdiv,
  6583. "click": function () {
  6584. U.MD.D.I.openApplication(str, obj, info);
  6585. }
  6586. }
  6587. break;
  6588. case "MindMap":
  6589. aTool = 3;
  6590. _iframe = $$("iframe", {
  6591. "frameborder": "no",
  6592. "border": "0",
  6593. "scrolling ": "no",
  6594. "style": {
  6595. "cssText": "border:0;width:100%;height:100%"
  6596. },
  6597. "src": "//cloud.cocorobo.cn/mind/"
  6598. })
  6599. _box.appendChild(_iframe);
  6600. _box.appendChild(_jie);
  6601. _formdiv = new U.UF.UI.form(
  6602. "思维导图-" + _username,
  6603. _box, { //"/jsmind/example/demo.html"
  6604. "id": "mind" + cid + stage + task + tool + _userid,
  6605. "style": {
  6606. "width": "90%",
  6607. "height": "90%",
  6608. "overflow": 'hidden'
  6609. },
  6610. "onresize": function () { }
  6611. }, {
  6612. closecallback: function () { }
  6613. }, {
  6614. "style": {
  6615. "height": "36px"
  6616. }
  6617. }).form; //创建窗体
  6618. _taskbar = {
  6619. "id": str + _formdiv.id,
  6620. "style": {
  6621. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6622. },
  6623. "name": "思维导图",
  6624. "forms": _formdiv,
  6625. "click": function () {
  6626. U.MD.D.I.openApplication(str, obj, info);
  6627. }
  6628. }
  6629. break;
  6630. case "doc":
  6631. aTool = 6;
  6632. _iframe = $$("iframe", {
  6633. "frameborder": "no",
  6634. "border": "0",
  6635. "scrolling ": "no",
  6636. "style": {
  6637. "cssText": "border:0;width:100%;height:100%"
  6638. },
  6639. "src": "/Office/Word/WordEditArea.htm"
  6640. })
  6641. _box.appendChild(_iframe);
  6642. _box.appendChild(_jie);
  6643. _formdiv = new U.UF.UI.form(
  6644. "协同文档-" + _username,
  6645. _box, {
  6646. "id": "doc" + cid + stage + task + tool + _userid,
  6647. "style": {
  6648. "width": "90%",
  6649. "height": "90%",
  6650. "overflow": 'hidden'
  6651. },
  6652. "onresize": function () { }
  6653. }, {
  6654. closecallback: function () { }
  6655. }, {
  6656. "style": {
  6657. "height": "36px"
  6658. }
  6659. }).form; //创建窗体
  6660. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6661. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6662. })
  6663. _taskbar = {
  6664. "id": str + _formdiv.id,
  6665. "style": {
  6666. "backgroundImage": "url(/img/icon/doc.png)"
  6667. },
  6668. "name": "协同文档",
  6669. "forms": _formdiv,
  6670. "click": function () {
  6671. U.MD.D.I.openApplication(str, obj, info);
  6672. }
  6673. }
  6674. break;
  6675. case "mindNetwork": //好友打开
  6676. aTool = 7;
  6677. _iframe = $$("iframe", {
  6678. "webkitallowfullscreen": "",
  6679. "mozallowfullscreen": "",
  6680. "allowfullscreen": "",
  6681. "frameborder": "no",
  6682. "border": "0",
  6683. "scrolling ": "no",
  6684. "style": {
  6685. "cssText": "border:0; width:100%; height:100%;"
  6686. },
  6687. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6688. })
  6689. _box.appendChild(_iframe);
  6690. _box.appendChild(_jie);
  6691. _formdiv = new U.UF.UI.form(
  6692. "思维网格-" + _username,
  6693. _box, {
  6694. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6695. "style": {
  6696. "width": "90%",
  6697. "height": "90%",
  6698. "overflow": 'hidden'
  6699. },
  6700. "onresize": function () { }
  6701. }, {
  6702. closecallback: function () { }
  6703. }, {
  6704. "style": {
  6705. "height": "36px"
  6706. }
  6707. }).form; //创建窗体
  6708. _taskbar = {
  6709. "id": str + _formdiv.id,
  6710. "style": {
  6711. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6712. },
  6713. "name": "思维网格",
  6714. "forms": _formdiv,
  6715. "click": function () {
  6716. U.MD.D.I.openApplication(str, obj, info);
  6717. }
  6718. }
  6719. break;
  6720. case "courseDesign":
  6721. _iframe = $$("iframe", {
  6722. "webkitallowfullscreen": "",
  6723. "mozallowfullscreen": "",
  6724. "allowfullscreen": "",
  6725. "frameborder": "no",
  6726. "border": "0",
  6727. "scrolling ": "no",
  6728. "style": {
  6729. "cssText": "border:0; width:100%; height:100%;"
  6730. },
  6731. "src": "/course-design-vue"
  6732. })
  6733. _box.appendChild(_iframe);
  6734. _box.appendChild(_jie);
  6735. _formdiv = new U.UF.UI.form(
  6736. "项目设计-" + _username,
  6737. _box, {
  6738. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6739. "style": {
  6740. "width": "90%",
  6741. "height": "90%",
  6742. "overflow": 'hidden'
  6743. },
  6744. "onresize": function () { }
  6745. }, {
  6746. closecallback: function () { }
  6747. }, {
  6748. "style": {
  6749. "height": "36px"
  6750. }
  6751. }).form; //创建窗体
  6752. _taskbar = {
  6753. "id": str + _formdiv.id,
  6754. "style": {
  6755. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6756. },
  6757. "name": "项目设计",
  6758. "forms": _formdiv,
  6759. "click": function () {
  6760. U.MD.D.I.openApplication(str, obj, info);
  6761. }
  6762. }
  6763. break;
  6764. }
  6765. const script1 = document.createElement("script");
  6766. script1.type = "text/javascript";
  6767. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6768. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6769. const script2 = document.createElement("script");
  6770. script2.type = "text/javascript";
  6771. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6772. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6773. const script3 = document.createElement("script");
  6774. script3.type = "text/javascript";
  6775. script3.charset = "UTF-8";
  6776. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6777. const script4 = document.createElement("script");
  6778. script4.type = "text/javascript";
  6779. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6780. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6781. if (_iframe) {
  6782. if (str == 'doc') {
  6783. _iframe = _formdiv.querySelector('iframe')
  6784. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6785. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6786. _iframe.contentWindow.document.body.appendChild(script1);
  6787. _iframe.contentWindow.document.body.appendChild(script2);
  6788. // _iframe.contentWindow.document.body.appendChild(script3);
  6789. _iframe.contentWindow.document.body.appendChild(script4);
  6790. })
  6791. if (onloadListener) {
  6792. _iframe.contentDocument.location.reload()
  6793. } else {
  6794. _iframe.contentDocument.location.reload()
  6795. }
  6796. } else if (str == 'courseDesign') {
  6797. U.UF.DL.iframeLoad(_iframe, function () {
  6798. // _iframe.contentWindow.U.MD.O.W.load();
  6799. // _iframe.contentWindow.document.body.appendChild(script1);
  6800. _iframe.contentWindow.document.body.appendChild(script2);
  6801. _iframe.contentWindow.document.body.appendChild(script4);
  6802. })
  6803. } else if (str == 'mind') {
  6804. _iframe = _formdiv.querySelector('iframe')
  6805. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6806. //
  6807. _iframe.contentWindow.document.body.appendChild(script1);
  6808. _iframe.contentWindow.document.body.appendChild(script2);
  6809. _iframe.contentWindow.document.body.appendChild(script4);
  6810. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6811. })
  6812. if (onloadListener) {
  6813. _iframe.contentDocument.location.reload()
  6814. } else {
  6815. _iframe.contentDocument.location.reload()
  6816. }
  6817. } else if (str == 'whiteboard') {
  6818. _iframe = _formdiv.querySelector('iframe')
  6819. let onloadListener = _iframe.onload = () => {
  6820. _iframe.contentWindow.document.body.appendChild(script1);
  6821. _iframe.contentWindow.document.body.appendChild(script2);
  6822. _iframe.contentWindow.document.body.appendChild(script4);
  6823. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6824. };
  6825. if (onloadListener) {
  6826. try {
  6827. _iframe.src += "?cocorobo="+new Date().getTime()
  6828. _iframe.contentWindow.document.location.reload()
  6829. } catch (error) {
  6830. }
  6831. } else {
  6832. _iframe.contentDocument.location.reload()
  6833. }
  6834. } else {
  6835. _iframe.onload = () => {
  6836. _iframe.contentWindow.document.body.appendChild(script1);
  6837. _iframe.contentWindow.document.body.appendChild(script2);
  6838. // _iframe.contentWindow.document.body.appendChild(script3);
  6839. _iframe.contentWindow.document.body.appendChild(script4);
  6840. };
  6841. }
  6842. _jie.onclick = async () => {
  6843. let text = ''
  6844. if (aTool == 1) {
  6845. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6846. } else if (aTool == 6) {
  6847. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6848. } else if (aTool == 3) {
  6849. text = await U.MD.D.I.getEditorContent(_iframe);
  6850. }
  6851. _loading.style.display = 'flex'
  6852. console.log(_loading);
  6853. var _ajs = _iframe.contentWindow.document.createElement("script");
  6854. _ajs.type = "text/javascript";
  6855. _ajs.innerHTML =
  6856. // 'console.log(' + _loading + ');\n' +
  6857. 'var _js = document.createElement("script");\n' +
  6858. '_js.type="text/javascript";\n' +
  6859. '_js.charset="UTF-8";\n' +
  6860. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6861. "_js.onload = function(){\n" +
  6862. ' var a = document.getElementsByTagName("img")\n' +
  6863. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6864. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6865. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6866. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6867. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6868. "beforeUpload_shishi(file," +
  6869. "'" +
  6870. _userid +
  6871. "'" +
  6872. ", " +
  6873. "'" +
  6874. _cid +
  6875. "'" +
  6876. ", " +
  6877. "'" +
  6878. _stage +
  6879. "'" +
  6880. ", " +
  6881. "'" +
  6882. _task +
  6883. "'" +
  6884. ", " +
  6885. "'" +
  6886. _tool +
  6887. "'" +
  6888. ", " +
  6889. "'" +
  6890. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6891. "'" +
  6892. ", " +
  6893. "'" +
  6894. aTool +
  6895. "'" +
  6896. ", " +
  6897. "`" +
  6898. text +
  6899. "`" +
  6900. ")\n" +
  6901. " });\n" +
  6902. "}\n" +
  6903. "document.head.appendChild(_js);\n";
  6904. _iframe.contentWindow.document.head.appendChild(_ajs);
  6905. }
  6906. }
  6907. }
  6908. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6909. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6910. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6911. _userid = student.userid, //登录用户id
  6912. _username = student.student //用户名字
  6913. let _iframe;
  6914. let _cid = cid,
  6915. _stage = stage,
  6916. _task = task,
  6917. _tool = tool;
  6918. var _jie = $$("div", {
  6919. "style": {
  6920. "position": "absolute",
  6921. "bottom": "50px",
  6922. "right": "50px",
  6923. "zIndex": "9999",
  6924. "backgroundColor": "#2268bc",
  6925. "color": "#fff",
  6926. "padding": "12px 20px",
  6927. "cursor": "pointer",
  6928. "borderRadius": "4px",
  6929. },
  6930. "innerHTML": "提交作业"
  6931. })
  6932. let aTool = ''
  6933. let _loading = document.createElement('div')
  6934. _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;"
  6935. // _loading.id = "";
  6936. let _lchild = document.createElement('div')
  6937. let _limg = document.createElement('img')
  6938. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6939. _limg.style = "width: 26px;margin-right: 10px;"
  6940. _lchild.appendChild(_limg)
  6941. let _lspan = document.createElement('span')
  6942. _lspan.innerHTML = "上传中..."
  6943. _lchild.appendChild(_lspan)
  6944. _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%);"
  6945. _loading.appendChild(_lchild)
  6946. var _box = $$('div', {
  6947. "style": {
  6948. "position": "relative",
  6949. "width": "100%",
  6950. "height": "100%",
  6951. },
  6952. })
  6953. _box.appendChild(_loading)
  6954. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6955. switch (str) {
  6956. case "whiteboard":
  6957. aTool = 1;
  6958. _iframe = $$("iframe", {
  6959. "frameborder": "no",
  6960. "border": "0",
  6961. "scrolling ": "no",
  6962. "style": {
  6963. "cssText": "border:0;width:100%;height:100%"
  6964. },
  6965. "src": "https://beta.iwb.cocorobo.cn/"
  6966. })
  6967. _box.appendChild(_iframe);
  6968. _box.appendChild(_jie);
  6969. _formdiv = new U.UF.UI.form(
  6970. "电子白板-" + _username,
  6971. _box, {
  6972. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6973. "style": {
  6974. "width": "90%",
  6975. "height": "90%",
  6976. "overflow": 'hidden'
  6977. },
  6978. "onresize": function () { }
  6979. }, {
  6980. closecallback: function () { }
  6981. }, {
  6982. "style": {
  6983. "height": "36px"
  6984. }
  6985. }).form; //创建窗体
  6986. _taskbar = {
  6987. "id": str + _formdiv.id,
  6988. "style": {
  6989. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6990. },
  6991. "name": "电子白板",
  6992. "forms": _formdiv,
  6993. "click": function () {
  6994. U.MD.D.I.openApplication(str, obj, info);
  6995. }
  6996. }
  6997. break;
  6998. case "mind":
  6999. aTool = 3;
  7000. _iframe = $$("iframe", {
  7001. "frameborder": "no",
  7002. "border": "0",
  7003. "scrolling ": "no",
  7004. "style": {
  7005. "cssText": "border:0;width:100%;height:100%"
  7006. },
  7007. "src": "/kityminder-editor/dist/index.html"
  7008. })
  7009. _box.appendChild(_iframe);
  7010. _box.appendChild(_jie);
  7011. _formdiv = new U.UF.UI.form(
  7012. "思维导图-" + _username,
  7013. _box, { //"/jsmind/example/demo.html"
  7014. "id": "mind" + cid + stage + task + tool + _userid,
  7015. "style": {
  7016. "width": "90%",
  7017. "height": "90%",
  7018. "overflow": 'hidden'
  7019. },
  7020. "onresize": function () { }
  7021. }, {
  7022. closecallback: function () { }
  7023. }, {
  7024. "style": {
  7025. "height": "36px"
  7026. }
  7027. }).form; //创建窗体
  7028. _taskbar = {
  7029. "id": str + _formdiv.id,
  7030. "style": {
  7031. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7032. },
  7033. "name": "思维导图",
  7034. "forms": _formdiv,
  7035. "click": function () {
  7036. U.MD.D.I.openApplication(str, obj, info);
  7037. }
  7038. }
  7039. break;
  7040. case "MindMap":
  7041. aTool = 3;
  7042. _iframe = $$("iframe", {
  7043. "frameborder": "no",
  7044. "border": "0",
  7045. "scrolling ": "no",
  7046. "style": {
  7047. "cssText": "border:0;width:100%;height:100%"
  7048. },
  7049. "src": "//cloud.cocorobo.cn/mind/"
  7050. })
  7051. _box.appendChild(_iframe);
  7052. _box.appendChild(_jie);
  7053. _formdiv = new U.UF.UI.form(
  7054. "思维导图-" + _username,
  7055. _box, { //"/jsmind/example/demo.html"
  7056. "id": "mind" + cid + stage + task + tool + _userid,
  7057. "style": {
  7058. "width": "90%",
  7059. "height": "90%",
  7060. "overflow": 'hidden'
  7061. },
  7062. "onresize": function () { }
  7063. }, {
  7064. closecallback: function () { }
  7065. }, {
  7066. "style": {
  7067. "height": "36px"
  7068. }
  7069. }).form; //创建窗体
  7070. _taskbar = {
  7071. "id": str + _formdiv.id,
  7072. "style": {
  7073. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7074. },
  7075. "name": "思维导图",
  7076. "forms": _formdiv,
  7077. "click": function () {
  7078. U.MD.D.I.openApplication(str, obj, info);
  7079. }
  7080. }
  7081. break;
  7082. case "doc":
  7083. aTool = 6;
  7084. _iframe = $$("iframe", {
  7085. "frameborder": "no",
  7086. "border": "0",
  7087. "scrolling ": "no",
  7088. "style": {
  7089. "cssText": "border:0;width:100%;height:100%"
  7090. },
  7091. "src": "/Office/Word/WordEditArea.htm"
  7092. })
  7093. _box.appendChild(_iframe);
  7094. _box.appendChild(_jie);
  7095. _formdiv = new U.UF.UI.form(
  7096. "协同文档-" + _username,
  7097. _box, {
  7098. "id": "doc" + cid + stage + task + tool + _userid,
  7099. "style": {
  7100. "width": "90%",
  7101. "height": "90%",
  7102. "overflow": 'hidden'
  7103. },
  7104. "onresize": function () { }
  7105. }, {
  7106. closecallback: function () { }
  7107. }, {
  7108. "style": {
  7109. "height": "36px"
  7110. }
  7111. }).form; //创建窗体
  7112. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7113. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7114. })
  7115. _taskbar = {
  7116. "id": str + _formdiv.id,
  7117. "style": {
  7118. "backgroundImage": "url(/img/icon/doc.png)"
  7119. },
  7120. "name": "协同文档",
  7121. "forms": _formdiv,
  7122. "click": function () {
  7123. U.MD.D.I.openApplication(str, obj, info);
  7124. }
  7125. }
  7126. break;
  7127. case "mindNetwork": //好友打开
  7128. aTool = 7;
  7129. _iframe = $$("iframe", {
  7130. "webkitallowfullscreen": "",
  7131. "mozallowfullscreen": "",
  7132. "allowfullscreen": "",
  7133. "frameborder": "no",
  7134. "border": "0",
  7135. "scrolling ": "no",
  7136. "style": {
  7137. "cssText": "border:0; width:100%; height:100%;"
  7138. },
  7139. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7140. })
  7141. _box.appendChild(_iframe);
  7142. _box.appendChild(_jie);
  7143. _formdiv = new U.UF.UI.form(
  7144. "思维网格-" + _username,
  7145. _box, {
  7146. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7147. "style": {
  7148. "width": "90%",
  7149. "height": "90%",
  7150. "overflow": 'hidden'
  7151. },
  7152. "onresize": function () { }
  7153. }, {
  7154. closecallback: function () { }
  7155. }, {
  7156. "style": {
  7157. "height": "36px"
  7158. }
  7159. }).form; //创建窗体
  7160. _taskbar = {
  7161. "id": str + _formdiv.id,
  7162. "style": {
  7163. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7164. },
  7165. "name": "思维网格",
  7166. "forms": _formdiv,
  7167. "click": function () {
  7168. U.MD.D.I.openApplication(str, obj, info);
  7169. }
  7170. }
  7171. break;
  7172. case "courseDesign":
  7173. _iframe = $$("iframe", {
  7174. "webkitallowfullscreen": "",
  7175. "mozallowfullscreen": "",
  7176. "allowfullscreen": "",
  7177. "frameborder": "no",
  7178. "border": "0",
  7179. "scrolling ": "no",
  7180. "style": {
  7181. "cssText": "border:0; width:100%; height:100%;"
  7182. },
  7183. "src": "/course-design-vue"
  7184. })
  7185. _box.appendChild(_iframe);
  7186. _box.appendChild(_jie);
  7187. _formdiv = new U.UF.UI.form(
  7188. "项目设计-" + _username,
  7189. _box, {
  7190. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7191. "style": {
  7192. "width": "90%",
  7193. "height": "90%",
  7194. "overflow": 'hidden'
  7195. },
  7196. "onresize": function () { }
  7197. }, {
  7198. closecallback: function () { }
  7199. }, {
  7200. "style": {
  7201. "height": "36px"
  7202. }
  7203. }).form; //创建窗体
  7204. _taskbar = {
  7205. "id": str + _formdiv.id,
  7206. "style": {
  7207. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7208. },
  7209. "name": "项目设计",
  7210. "forms": _formdiv,
  7211. "click": function () {
  7212. U.MD.D.I.openApplication(str, obj, info);
  7213. }
  7214. }
  7215. break;
  7216. }
  7217. const script1 = document.createElement("script");
  7218. script1.type = "text/javascript";
  7219. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7220. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7221. const script2 = document.createElement("script");
  7222. script2.type = "text/javascript";
  7223. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7224. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7225. const script3 = document.createElement("script");
  7226. script3.type = "text/javascript";
  7227. script3.charset = "UTF-8";
  7228. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7229. const script4 = document.createElement("script");
  7230. script4.type = "text/javascript";
  7231. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7232. script4.src = window.origin + "/js/Common/jietu2E.js";
  7233. if (_iframe) {
  7234. if (str == 'doc') {
  7235. _iframe = _formdiv.querySelector('iframe')
  7236. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7237. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7238. _iframe.contentWindow.document.body.appendChild(script1);
  7239. _iframe.contentWindow.document.body.appendChild(script2);
  7240. // _iframe.contentWindow.document.body.appendChild(script3);
  7241. _iframe.contentWindow.document.body.appendChild(script4);
  7242. })
  7243. if (onloadListener) {
  7244. _iframe.contentDocument.location.reload()
  7245. } else {
  7246. _iframe.contentDocument.location.reload()
  7247. }
  7248. } else if (str == 'courseDesign') {
  7249. U.UF.DL.iframeLoad(_iframe, function () {
  7250. // _iframe.contentWindow.U.MD.O.W.load();
  7251. // _iframe.contentWindow.document.body.appendChild(script1);
  7252. _iframe.contentWindow.document.body.appendChild(script2);
  7253. _iframe.contentWindow.document.body.appendChild(script4);
  7254. })
  7255. } else if (str == 'mind') {
  7256. _iframe = _formdiv.querySelector('iframe')
  7257. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7258. //
  7259. _iframe.contentWindow.document.body.appendChild(script1);
  7260. _iframe.contentWindow.document.body.appendChild(script2);
  7261. _iframe.contentWindow.document.body.appendChild(script4);
  7262. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7263. })
  7264. if (onloadListener) {
  7265. _iframe.contentDocument.location.reload()
  7266. } else {
  7267. _iframe.contentDocument.location.reload()
  7268. }
  7269. } else if (str == 'whiteboard') {
  7270. _iframe = _formdiv.querySelector('iframe')
  7271. let onloadListener = _iframe.onload = () => {
  7272. _iframe.contentWindow.document.body.appendChild(script1);
  7273. _iframe.contentWindow.document.body.appendChild(script2);
  7274. _iframe.contentWindow.document.body.appendChild(script4);
  7275. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7276. };
  7277. if (onloadListener) {
  7278. try {
  7279. _iframe.src += "?cocorobo="+new Date().getTime()
  7280. _iframe.contentWindow.document.location.reload()
  7281. } catch (error) {
  7282. }
  7283. } else {
  7284. _iframe.contentDocument.location.reload()
  7285. }
  7286. } else {
  7287. _iframe.onload = () => {
  7288. _iframe.contentWindow.document.body.appendChild(script1);
  7289. _iframe.contentWindow.document.body.appendChild(script2);
  7290. // _iframe.contentWindow.document.body.appendChild(script3);
  7291. _iframe.contentWindow.document.body.appendChild(script4);
  7292. };
  7293. }
  7294. _jie.onclick = async () => {
  7295. let text = ''
  7296. if (aTool == 1) {
  7297. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7298. } else if (aTool == 6) {
  7299. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7300. } else if (aTool == 3) {
  7301. text = await U.MD.D.I.getEditorContent(_iframe);
  7302. }
  7303. _loading.style.display = 'flex'
  7304. console.log(_loading);
  7305. var _ajs = _iframe.contentWindow.document.createElement("script");
  7306. _ajs.type = "text/javascript";
  7307. _ajs.innerHTML =
  7308. // 'console.log(' + _loading + ');\n' +
  7309. 'var _js = document.createElement("script");\n' +
  7310. '_js.type="text/javascript";\n' +
  7311. '_js.charset="UTF-8";\n' +
  7312. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7313. "_js.onload = function(){\n" +
  7314. ' var a = document.getElementsByTagName("img")\n' +
  7315. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7316. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7317. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7318. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7319. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7320. "beforeUpload_shishi(file," +
  7321. "'" +
  7322. _userid +
  7323. "'" +
  7324. ", " +
  7325. "'" +
  7326. _cid +
  7327. "'" +
  7328. ", " +
  7329. "'" +
  7330. _stage +
  7331. "'" +
  7332. ", " +
  7333. "'" +
  7334. _task +
  7335. "'" +
  7336. ", " +
  7337. "'" +
  7338. _tool +
  7339. "'" +
  7340. ", " +
  7341. "'" +
  7342. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7343. "'" +
  7344. ", " +
  7345. "'" +
  7346. aTool +
  7347. "'" +
  7348. ", " +
  7349. "`" +
  7350. text +
  7351. "`" +
  7352. ")\n" +
  7353. " });\n" +
  7354. "}\n" +
  7355. "document.head.appendChild(_js);\n";
  7356. _iframe.contentWindow.document.head.appendChild(_ajs);
  7357. }
  7358. }
  7359. }
  7360. U.MD.D.I.getEditorContent = function (iframe) {
  7361. return new Promise((resolve, reject) => {
  7362. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7363. console.log(content);
  7364. resolve(content)
  7365. });
  7366. });
  7367. }
  7368. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7369. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7370. // if (res.value[0].length > 0) {
  7371. // // resolve(res.value[0][0].text);
  7372. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7373. // $(fileInput).val('');
  7374. // });
  7375. // }
  7376. // }, [], { "type": "GET", "withCredentials": true });
  7377. var xmlhttp;
  7378. var Mac, Sn, DeviceId
  7379. if (window.XMLHttpRequest) {
  7380. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7381. xmlhttp = new XMLHttpRequest();
  7382. } else {
  7383. // IE6, IE5 浏览器执行代码
  7384. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7385. }
  7386. xmlhttp.onreadystatechange = function () {
  7387. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7388. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7389. // resolve(res.value[0][0].text);
  7390. if (type == '2') {
  7391. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7392. } else if (type == '3') {
  7393. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7394. }
  7395. } else {
  7396. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7397. }
  7398. }
  7399. }
  7400. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7401. xmlhttp.send();
  7402. }
  7403. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7404. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7405. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7406. _userinfo = US.userInfo, //登录用户信息
  7407. _userid = US.userInfo.userid //登录用户id
  7408. let _iframe;
  7409. let _cid = cid,
  7410. _stage = stage,
  7411. _task = task,
  7412. _tool = tool;
  7413. var _jie = $$("div", {
  7414. "style": {
  7415. "position": "absolute",
  7416. "bottom": "50px",
  7417. "right": "50px",
  7418. "zIndex": "9999",
  7419. "backgroundColor": "#2268bc",
  7420. "color": "#fff",
  7421. "padding": "12px 20px",
  7422. "cursor": "pointer",
  7423. "borderRadius": "4px",
  7424. },
  7425. "innerHTML": "确认并提交"
  7426. })
  7427. let aTool = ''
  7428. let _loading = document.createElement('div')
  7429. _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;"
  7430. // _loading.id = "";
  7431. let _lchild = document.createElement('div')
  7432. let _limg = document.createElement('img')
  7433. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7434. _limg.style = "width: 26px;margin-right: 10px;"
  7435. _lchild.appendChild(_limg)
  7436. let _lspan = document.createElement('span')
  7437. _lspan.innerHTML = "上传中..."
  7438. _lchild.appendChild(_lspan)
  7439. _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%);"
  7440. _loading.appendChild(_lchild)
  7441. var _box = $$('div', {
  7442. "style": {
  7443. "position": "relative",
  7444. "width": "100%",
  7445. "height": "100%",
  7446. },
  7447. })
  7448. _box.appendChild(_loading)
  7449. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7450. switch (str) {
  7451. case "whiteboard":
  7452. aTool = 1;
  7453. _iframe = $$("iframe", {
  7454. "frameborder": "no",
  7455. "border": "0",
  7456. "scrolling ": "no",
  7457. "style": {
  7458. "cssText": "border:0;width:100%;height:100%"
  7459. },
  7460. "src": "https://beta.iwb.cocorobo.cn/"
  7461. })
  7462. _box.appendChild(_iframe);
  7463. _box.appendChild(_jie);
  7464. _formdiv = new U.UF.UI.form(
  7465. "电子白板",
  7466. _box, {
  7467. "id": "whiteboards" + cid + stage + task + tool,
  7468. "style": {
  7469. "width": "90%",
  7470. "height": "90%",
  7471. "overflow": 'hidden'
  7472. },
  7473. "onresize": function () { }
  7474. }, {
  7475. closecallback: function () { }
  7476. }, {
  7477. "style": {
  7478. "height": "36px"
  7479. }
  7480. }).form; //创建窗体
  7481. _taskbar = {
  7482. "id": str + _formdiv.id,
  7483. "style": {
  7484. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7485. },
  7486. "name": "电子白板",
  7487. "forms": _formdiv,
  7488. "click": function () {
  7489. U.MD.D.I.openApplication(str, obj, info);
  7490. }
  7491. }
  7492. break;
  7493. case "mind":
  7494. aTool = 3;
  7495. _iframe = $$("iframe", {
  7496. "frameborder": "no",
  7497. "border": "0",
  7498. "scrolling ": "no",
  7499. "style": {
  7500. "cssText": "border:0;width:100%;height:100%"
  7501. },
  7502. "src": "/kityminder-editor/dist/index.html"
  7503. });
  7504. _box.appendChild(_iframe);
  7505. _box.appendChild(_jie);
  7506. _formdiv = new U.UF.UI.form(
  7507. "思维导图",
  7508. _box, { //"/jsmind/example/demo.html"
  7509. "id": "minds" + cid + stage + task + tool,
  7510. "style": {
  7511. "width": "90%",
  7512. "height": "90%",
  7513. "overflow": 'hidden'
  7514. },
  7515. "onresize": function () { }
  7516. }, {
  7517. closecallback: function () { }
  7518. }, {
  7519. "style": {
  7520. "height": "36px"
  7521. }
  7522. }).form; //创建窗体
  7523. _taskbar = {
  7524. "id": str + _formdiv.id,
  7525. "style": {
  7526. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7527. },
  7528. "name": "思维导图",
  7529. "forms": _formdiv,
  7530. "click": function () {
  7531. U.MD.D.I.openApplication(str, obj, info);
  7532. }
  7533. }
  7534. break;
  7535. case "doc":
  7536. aTool = 6;
  7537. _iframe = $$("iframe", {
  7538. "frameborder": "no",
  7539. "border": "0",
  7540. "scrolling ": "no",
  7541. "style": {
  7542. "cssText": "border:0;width:100%;height:100%"
  7543. },
  7544. "src": "/Office/Word/WordEditArea.htm"
  7545. })
  7546. _box.appendChild(_iframe);
  7547. _box.appendChild(_jie);
  7548. _formdiv = new U.UF.UI.form(
  7549. "协同文档",
  7550. _box, {
  7551. "id": "docs" + cid + stage + task + tool,
  7552. "style": {
  7553. "width": "90%",
  7554. "height": "90%",
  7555. "overflow": 'hidden'
  7556. },
  7557. "onresize": function () { }
  7558. }, {
  7559. closecallback: function () { }
  7560. }, {
  7561. "style": {
  7562. "height": "36px"
  7563. }
  7564. }).form; //创建窗体
  7565. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7566. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7567. })
  7568. _taskbar = {
  7569. "id": str + _formdiv.id,
  7570. "style": {
  7571. "backgroundImage": "url(/img/icon/doc.png)"
  7572. },
  7573. "name": "协同文档",
  7574. "forms": _formdiv,
  7575. "click": function () {
  7576. U.MD.D.I.openApplication(str, obj, info);
  7577. }
  7578. }
  7579. break;
  7580. }
  7581. const script1 = document.createElement("script");
  7582. script1.type = "text/javascript";
  7583. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7584. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7585. const script2 = document.createElement("script");
  7586. script2.type = "text/javascript";
  7587. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7588. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7589. const script3 = document.createElement("script");
  7590. script3.type = "text/javascript";
  7591. script3.charset = "UTF-8";
  7592. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7593. const script4 = document.createElement("script");
  7594. script4.type = "text/javascript";
  7595. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7596. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7597. if (_iframe) {
  7598. if (str == 'doc') {
  7599. _iframe = _formdiv.querySelector('iframe')
  7600. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7601. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7602. _iframe.contentWindow.document.body.appendChild(script1);
  7603. _iframe.contentWindow.document.body.appendChild(script2);
  7604. // _iframe.contentWindow.document.body.appendChild(script3);
  7605. _iframe.contentWindow.document.body.appendChild(script4);
  7606. })
  7607. if (onloadListener) {
  7608. _iframe.contentDocument.location.reload()
  7609. } else {
  7610. _iframe.contentDocument.location.reload()
  7611. }
  7612. } else if (str == 'mind') {
  7613. _iframe = _formdiv.querySelector('iframe')
  7614. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7615. _iframe.contentWindow.document.body.appendChild(script1);
  7616. _iframe.contentWindow.document.body.appendChild(script2);
  7617. _iframe.contentWindow.document.body.appendChild(script4);
  7618. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7619. })
  7620. if (onloadListener) {
  7621. _iframe.contentDocument.location.reload()
  7622. } else {
  7623. _iframe.contentDocument.location.reload()
  7624. }
  7625. } else {
  7626. _iframe.onload = () => {
  7627. _iframe.contentWindow.document.body.appendChild(script1);
  7628. _iframe.contentWindow.document.body.appendChild(script2);
  7629. // _iframe.contentWindow.document.body.appendChild(script3);
  7630. _iframe.contentWindow.document.body.appendChild(script4);
  7631. };
  7632. }
  7633. _jie.onclick = async () => {
  7634. let text = ''
  7635. if (aTool == 6) {
  7636. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7637. } else if (aTool == 3) {
  7638. text = await U.MD.D.I.getEditorContent(_iframe);
  7639. }
  7640. _loading.style.display = 'flex'
  7641. console.log(_loading);
  7642. var _ajs = _iframe.contentWindow.document.createElement("script");
  7643. _ajs.type = "text/javascript";
  7644. _ajs.innerHTML =
  7645. // 'console.log(' + _loading + ');\n' +
  7646. 'var _js = document.createElement("script");\n' +
  7647. '_js.type="text/javascript";\n' +
  7648. '_js.charset="UTF-8";\n' +
  7649. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7650. "_js.onload = function(){\n" +
  7651. ' var a = document.getElementsByTagName("img")\n' +
  7652. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7653. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7654. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7655. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7656. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7657. "beforeUpload_shishi(file," +
  7658. "'" +
  7659. _userid +
  7660. "'" +
  7661. ", " +
  7662. "'" +
  7663. _cid +
  7664. "'" +
  7665. ", " +
  7666. "'" +
  7667. _stage +
  7668. "'" +
  7669. ", " +
  7670. "'" +
  7671. _task +
  7672. "'" +
  7673. ", " +
  7674. "'" +
  7675. _tool +
  7676. "'" +
  7677. ", " +
  7678. "'" +
  7679. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7680. "'" +
  7681. ", " +
  7682. "'" +
  7683. aTool +
  7684. "'" +
  7685. ", " +
  7686. "`" +
  7687. text +
  7688. "`" +
  7689. ")\n" +
  7690. " });\n" +
  7691. "}\n" +
  7692. "document.head.appendChild(_js);\n";
  7693. _iframe.contentWindow.document.head.appendChild(_ajs);
  7694. }
  7695. }
  7696. //U.MD.D.I.openClick(str);
  7697. //如果有任务栏信息
  7698. // if (_taskbar) {
  7699. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7700. // }
  7701. }
  7702. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7703. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7704. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7705. _userinfo = US.userInfo, //登录用户信息
  7706. _userid = US.userInfo.userid //登录用户id
  7707. let _iframe;
  7708. let _cid = cid,
  7709. _stage = stage,
  7710. _task = task,
  7711. _tool = tool;
  7712. var _jie = $$("div", {
  7713. "style": {
  7714. "position": "absolute",
  7715. "bottom": "50px",
  7716. "right": "50px",
  7717. "zIndex": "9999",
  7718. "backgroundColor": "#2268bc",
  7719. "color": "#fff",
  7720. "padding": "12px 20px",
  7721. "cursor": "pointer",
  7722. "borderRadius": "4px",
  7723. },
  7724. "innerHTML": "确认并提交"
  7725. })
  7726. let aTool = ''
  7727. let _loading = document.createElement('div')
  7728. _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;"
  7729. // _loading.id = "";
  7730. let _lchild = document.createElement('div')
  7731. let _limg = document.createElement('img')
  7732. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7733. _limg.style = "width: 26px;margin-right: 10px;"
  7734. _lchild.appendChild(_limg)
  7735. let _lspan = document.createElement('span')
  7736. _lspan.innerHTML = "上传中..."
  7737. _lchild.appendChild(_lspan)
  7738. _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%);"
  7739. _loading.appendChild(_lchild)
  7740. var _box = $$('div', {
  7741. "style": {
  7742. "position": "relative",
  7743. "width": "100%",
  7744. "height": "100%",
  7745. },
  7746. })
  7747. _box.appendChild(_loading)
  7748. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7749. switch (str) {
  7750. case "whiteboard":
  7751. aTool = 1;
  7752. _iframe = $$("iframe", {
  7753. "frameborder": "no",
  7754. "border": "0",
  7755. "scrolling ": "no",
  7756. "style": {
  7757. "cssText": "border:0;width:100%;height:100%"
  7758. },
  7759. "src": "https://beta.iwb.cocorobo.cn/"
  7760. })
  7761. _box.appendChild(_iframe);
  7762. _box.appendChild(_jie);
  7763. _formdiv = new U.UF.UI.form(
  7764. "电子白板",
  7765. _box, {
  7766. "id": "whiteboards" + cid + stage + task + tool,
  7767. "style": {
  7768. "width": "90%",
  7769. "height": "90%",
  7770. "overflow": 'hidden'
  7771. },
  7772. "onresize": function () { }
  7773. }, {
  7774. closecallback: function () { }
  7775. }, {
  7776. "style": {
  7777. "height": "36px"
  7778. }
  7779. }).form; //创建窗体
  7780. _taskbar = {
  7781. "id": str + _formdiv.id,
  7782. "style": {
  7783. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7784. },
  7785. "name": "电子白板",
  7786. "forms": _formdiv,
  7787. "click": function () {
  7788. U.MD.D.I.openApplication(str, obj, info);
  7789. }
  7790. }
  7791. break;
  7792. case "mind":
  7793. aTool = 3;
  7794. _iframe = $$("iframe", {
  7795. "frameborder": "no",
  7796. "border": "0",
  7797. "scrolling ": "no",
  7798. "style": {
  7799. "cssText": "border:0;width:100%;height:100%"
  7800. },
  7801. "src": "/kityminder-editor/dist/index.html"
  7802. });
  7803. _box.appendChild(_iframe);
  7804. _box.appendChild(_jie);
  7805. _formdiv = new U.UF.UI.form(
  7806. "思维导图",
  7807. _box, { //"/jsmind/example/demo.html"
  7808. "id": "minds" + cid + stage + task + tool,
  7809. "style": {
  7810. "width": "90%",
  7811. "height": "90%",
  7812. "overflow": 'hidden'
  7813. },
  7814. "onresize": function () { }
  7815. }, {
  7816. closecallback: function () { }
  7817. }, {
  7818. "style": {
  7819. "height": "36px"
  7820. }
  7821. }).form; //创建窗体
  7822. _taskbar = {
  7823. "id": str + _formdiv.id,
  7824. "style": {
  7825. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7826. },
  7827. "name": "思维导图",
  7828. "forms": _formdiv,
  7829. "click": function () {
  7830. U.MD.D.I.openApplication(str, obj, info);
  7831. }
  7832. }
  7833. break;
  7834. case "doc":
  7835. aTool = 6;
  7836. _iframe = $$("iframe", {
  7837. "frameborder": "no",
  7838. "border": "0",
  7839. "scrolling ": "no",
  7840. "style": {
  7841. "cssText": "border:0;width:100%;height:100%"
  7842. },
  7843. "src": "/Office/Word/WordEditArea.htm"
  7844. })
  7845. _box.appendChild(_iframe);
  7846. _box.appendChild(_jie);
  7847. _formdiv = new U.UF.UI.form(
  7848. "协同文档",
  7849. _box, {
  7850. "id": "docs" + cid + stage + task + tool,
  7851. "style": {
  7852. "width": "90%",
  7853. "height": "90%",
  7854. "overflow": 'hidden'
  7855. },
  7856. "onresize": function () { }
  7857. }, {
  7858. closecallback: function () { }
  7859. }, {
  7860. "style": {
  7861. "height": "36px"
  7862. }
  7863. }).form; //创建窗体
  7864. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7865. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7866. })
  7867. _taskbar = {
  7868. "id": str + _formdiv.id,
  7869. "style": {
  7870. "backgroundImage": "url(/img/icon/doc.png)"
  7871. },
  7872. "name": "协同文档",
  7873. "forms": _formdiv,
  7874. "click": function () {
  7875. U.MD.D.I.openApplication(str, obj, info);
  7876. }
  7877. }
  7878. break;
  7879. }
  7880. const script1 = document.createElement("script");
  7881. script1.type = "text/javascript";
  7882. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7883. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7884. const script2 = document.createElement("script");
  7885. script2.type = "text/javascript";
  7886. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7887. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7888. const script3 = document.createElement("script");
  7889. script3.type = "text/javascript";
  7890. script3.charset = "UTF-8";
  7891. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7892. const script4 = document.createElement("script");
  7893. script4.type = "text/javascript";
  7894. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7895. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7896. if (_iframe) {
  7897. if (str == 'doc') {
  7898. _iframe = _formdiv.querySelector('iframe')
  7899. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7900. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7901. _iframe.contentWindow.document.body.appendChild(script1);
  7902. _iframe.contentWindow.document.body.appendChild(script2);
  7903. // _iframe.contentWindow.document.body.appendChild(script3);
  7904. _iframe.contentWindow.document.body.appendChild(script4);
  7905. })
  7906. if (onloadListener) {
  7907. _iframe.contentDocument.location.reload()
  7908. } else {
  7909. _iframe.contentDocument.location.reload()
  7910. }
  7911. } else if (str == 'mind') {
  7912. _iframe = _formdiv.querySelector('iframe')
  7913. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7914. _iframe.contentWindow.document.body.appendChild(script1);
  7915. _iframe.contentWindow.document.body.appendChild(script2);
  7916. _iframe.contentWindow.document.body.appendChild(script4);
  7917. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7918. })
  7919. if (onloadListener) {
  7920. _iframe.contentDocument.location.reload()
  7921. } else {
  7922. _iframe.contentDocument.location.reload()
  7923. }
  7924. } else {
  7925. _iframe.onload = () => {
  7926. _iframe.contentWindow.document.body.appendChild(script1);
  7927. _iframe.contentWindow.document.body.appendChild(script2);
  7928. // _iframe.contentWindow.document.body.appendChild(script3);
  7929. _iframe.contentWindow.document.body.appendChild(script4);
  7930. };
  7931. }
  7932. _jie.onclick = async () => {
  7933. let text = ''
  7934. if (aTool == 6) {
  7935. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7936. } else if (aTool == 3) {
  7937. text = await U.MD.D.I.getEditorContent(_iframe);
  7938. }
  7939. _loading.style.display = 'flex'
  7940. console.log(_loading);
  7941. var _ajs = _iframe.contentWindow.document.createElement("script");
  7942. _ajs.type = "text/javascript";
  7943. _ajs.innerHTML =
  7944. // 'console.log(' + _loading + ');\n' +
  7945. 'var _js = document.createElement("script");\n' +
  7946. '_js.type="text/javascript";\n' +
  7947. '_js.charset="UTF-8";\n' +
  7948. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7949. "_js.onload = function(){\n" +
  7950. ' var a = document.getElementsByTagName("img")\n' +
  7951. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7952. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7953. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7954. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7955. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7956. "beforeUpload_shishi(file," +
  7957. "'" +
  7958. _userid +
  7959. "'" +
  7960. ", " +
  7961. "'" +
  7962. _cid +
  7963. "'" +
  7964. ", " +
  7965. "'" +
  7966. _stage +
  7967. "'" +
  7968. ", " +
  7969. "'" +
  7970. _task +
  7971. "'" +
  7972. ", " +
  7973. "'" +
  7974. _tool +
  7975. "'" +
  7976. ", " +
  7977. "'" +
  7978. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7979. "'" +
  7980. ", " +
  7981. "'" +
  7982. aTool +
  7983. "'" +
  7984. ", " +
  7985. "`" +
  7986. text +
  7987. "`" +
  7988. ")\n" +
  7989. " });\n" +
  7990. "}\n" +
  7991. "document.head.appendChild(_js);\n";
  7992. _iframe.contentWindow.document.head.appendChild(_ajs);
  7993. }
  7994. }
  7995. //U.MD.D.I.openClick(str);
  7996. //如果有任务栏信息
  7997. // if (_taskbar) {
  7998. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7999. // }
  8000. }
  8001. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8002. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8003. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8004. _userinfo = US.userInfo, //登录用户信息
  8005. _userid = US.userInfo.userid //登录用户id
  8006. let _iframe;
  8007. let _cid = cid,
  8008. _stage = stage,
  8009. _task = task,
  8010. _tool = tool;
  8011. var _jie = $$("div", {
  8012. "style": {
  8013. "position": "absolute",
  8014. "bottom": "50px",
  8015. "right": "50px",
  8016. "zIndex": "9999",
  8017. "backgroundColor": "#2268bc",
  8018. "color": "#fff",
  8019. "padding": "12px 20px",
  8020. "cursor": "pointer",
  8021. "borderRadius": "4px",
  8022. },
  8023. "innerHTML": "上传模板"
  8024. })
  8025. let aTool = ''
  8026. let _loading = document.createElement('div')
  8027. _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;"
  8028. // _loading.id = "";
  8029. let _lchild = document.createElement('div')
  8030. let _limg = document.createElement('img')
  8031. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8032. _limg.style = "width: 26px;margin-right: 10px;"
  8033. _lchild.appendChild(_limg)
  8034. let _lspan = document.createElement('span')
  8035. _lspan.innerHTML = "上传中..."
  8036. _lchild.appendChild(_lspan)
  8037. _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%);"
  8038. _loading.appendChild(_lchild)
  8039. var _box = $$('div', {
  8040. "style": {
  8041. "position": "relative",
  8042. "width": "100%",
  8043. "height": "100%",
  8044. },
  8045. })
  8046. _box.appendChild(_loading)
  8047. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8048. switch (str) {
  8049. case "whiteboard":
  8050. aTool = 1;
  8051. _iframe = $$("iframe", {
  8052. "frameborder": "no",
  8053. "border": "0",
  8054. "scrolling ": "no",
  8055. "style": {
  8056. "cssText": "border:0;width:100%;height:100%"
  8057. },
  8058. "src": "https://beta.iwb.cocorobo.cn/"
  8059. })
  8060. _box.appendChild(_iframe);
  8061. _box.appendChild(_jie);
  8062. _formdiv = new U.UF.UI.form(
  8063. "电子白板",
  8064. _box, {
  8065. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8066. "style": {
  8067. "width": "90%",
  8068. "height": "90%",
  8069. "overflow": 'hidden'
  8070. },
  8071. "onresize": function () { }
  8072. }, {
  8073. closecallback: function () { }
  8074. }, {
  8075. "style": {
  8076. "height": "36px"
  8077. }
  8078. }).form; //创建窗体
  8079. _taskbar = {
  8080. "id": str + _formdiv.id,
  8081. "style": {
  8082. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8083. },
  8084. "name": "电子白板",
  8085. "forms": _formdiv,
  8086. "click": function () {
  8087. U.MD.D.I.openApplication(str, obj, info);
  8088. }
  8089. }
  8090. break;
  8091. case "mind":
  8092. aTool = 3;
  8093. _iframe = $$("iframe", {
  8094. "frameborder": "no",
  8095. "border": "0",
  8096. "scrolling ": "no",
  8097. "style": {
  8098. "cssText": "border:0;width:100%;height:100%"
  8099. },
  8100. "src": "/kityminder-editor/dist/index.html"
  8101. });
  8102. _box.appendChild(_iframe);
  8103. _box.appendChild(_jie);
  8104. _formdiv = new U.UF.UI.form(
  8105. "思维导图",
  8106. _box, { //"/jsmind/example/demo.html"
  8107. "id": "minds_Yu" + cid + stage + task + tool,
  8108. "style": {
  8109. "width": "90%",
  8110. "height": "90%",
  8111. "overflow": 'hidden'
  8112. },
  8113. "onresize": function () { }
  8114. }, {
  8115. closecallback: function () { }
  8116. }, {
  8117. "style": {
  8118. "height": "36px"
  8119. }
  8120. }).form; //创建窗体
  8121. _taskbar = {
  8122. "id": str + _formdiv.id,
  8123. "style": {
  8124. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8125. },
  8126. "name": "思维导图",
  8127. "forms": _formdiv,
  8128. "click": function () {
  8129. U.MD.D.I.openApplication(str, obj, info);
  8130. }
  8131. }
  8132. break;
  8133. case "doc":
  8134. aTool = 6;
  8135. _iframe = $$("iframe", {
  8136. "frameborder": "no",
  8137. "border": "0",
  8138. "scrolling ": "no",
  8139. "style": {
  8140. "cssText": "border:0;width:100%;height:100%"
  8141. },
  8142. "src": "/Office/Word/WordEditArea.htm"
  8143. })
  8144. _box.appendChild(_iframe);
  8145. _box.appendChild(_jie);
  8146. _formdiv = new U.UF.UI.form(
  8147. "协同文档",
  8148. _box, {
  8149. "id": "docs_Yu" + cid + stage + task + tool,
  8150. "style": {
  8151. "width": "90%",
  8152. "height": "90%",
  8153. "overflow": 'hidden'
  8154. },
  8155. "onresize": function () { }
  8156. }, {
  8157. closecallback: function () { }
  8158. }, {
  8159. "style": {
  8160. "height": "36px"
  8161. }
  8162. }).form; //创建窗体
  8163. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8164. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8165. })
  8166. _taskbar = {
  8167. "id": str + _formdiv.id,
  8168. "style": {
  8169. "backgroundImage": "url(/img/icon/doc.png)"
  8170. },
  8171. "name": "协同文档",
  8172. "forms": _formdiv,
  8173. "click": function () {
  8174. U.MD.D.I.openApplication(str, obj, info);
  8175. }
  8176. }
  8177. break;
  8178. case "CocoPi":
  8179. aTool = 57;
  8180. _iframe = $$("iframe", {
  8181. "allowpaymentrequest": "allowpaymentrequest",
  8182. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8183. "webkitallowfullscreen": "",
  8184. "mozallowfullscreen": "",
  8185. "frameborder": "no",
  8186. "border": "0",
  8187. "scrolling ": "no",
  8188. "style": {
  8189. "cssText": "border:0;width:100%;height:100%"
  8190. },
  8191. "src": "https://pi.cocorobo.cn/"
  8192. })
  8193. _box.appendChild(_iframe);
  8194. _box.appendChild(_jie);
  8195. _formdiv = new U.UF.UI.form(
  8196. "CocoPi",
  8197. _box, {
  8198. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8199. "style": {
  8200. "width": "90%",
  8201. "height": "90%",
  8202. "overflow": 'hidden'
  8203. },
  8204. "onresize": function () { }
  8205. }, {
  8206. closecallback: function () { }
  8207. }, {
  8208. "style": {
  8209. "height": "36px"
  8210. }
  8211. }).form; //创建窗体
  8212. _taskbar = {
  8213. "id": str + _formdiv.id,
  8214. "style": {
  8215. "backgroundImage": "url(/img/icon/cocopi.png)"
  8216. },
  8217. "name": "CocoPi",
  8218. "forms": _formdiv,
  8219. "click": function () {
  8220. U.MD.D.I.openApplication(str, obj, info);
  8221. }
  8222. }
  8223. break;
  8224. }
  8225. if (_iframe) {
  8226. if (str == 'doc') {
  8227. _iframe = _formdiv.querySelector('iframe')
  8228. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8229. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8230. })
  8231. if (onloadListener) {
  8232. _iframe.contentDocument.location.reload()
  8233. } else {
  8234. _iframe.contentDocument.location.reload()
  8235. }
  8236. } else if (str == 'mind') {
  8237. _iframe = _formdiv.querySelector('iframe')
  8238. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8239. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8240. })
  8241. if (onloadListener) {
  8242. _iframe.contentDocument.location.reload()
  8243. } else {
  8244. _iframe.contentDocument.location.reload()
  8245. }
  8246. } else if (str == 'whiteboard') {
  8247. _iframe = _formdiv.querySelector('iframe')
  8248. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8249. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8250. })
  8251. if (onloadListener) {
  8252. try {
  8253. _iframe.src += "?cocorobo="+new Date().getTime()
  8254. _iframe.contentWindow.document.location.reload()
  8255. } catch (error) {
  8256. }
  8257. } else {
  8258. _iframe.contentDocument.location.reload()
  8259. }
  8260. } else if (str == 'CocoPi') {
  8261. _iframe = _formdiv.querySelector('iframe')
  8262. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8263. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8264. })
  8265. if (onloadListener) {
  8266. _iframe.contentDocument.location.reload()
  8267. } else {
  8268. _iframe.contentDocument.location.reload()
  8269. }
  8270. } else {
  8271. _iframe.onload = () => { };
  8272. }
  8273. _jie.onclick = async () => {
  8274. let text = ''
  8275. let type = '2'
  8276. if (aTool == 1) {
  8277. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8278. type = '3'
  8279. } else if (aTool == 6) {
  8280. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8281. type = '1'
  8282. } else if (aTool == 3) {
  8283. text = await U.MD.D.I.getEditorContent(_iframe);
  8284. type = '2'
  8285. } else if (aTool == 57) {
  8286. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8287. type = '4'
  8288. }
  8289. _loading.style.display = 'flex'
  8290. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8291. }
  8292. }
  8293. //U.MD.D.I.openClick(str);
  8294. //如果有任务栏信息
  8295. // if (_taskbar) {
  8296. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8297. // }
  8298. }
  8299. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8300. var xmlhttp;
  8301. var Mac, Sn, DeviceId
  8302. if (window.XMLHttpRequest) {
  8303. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8304. xmlhttp = new XMLHttpRequest();
  8305. } else {
  8306. // IE6, IE5 浏览器执行代码
  8307. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8308. }
  8309. xmlhttp.onreadystatechange = function () {
  8310. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8311. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8312. // resolve(res.value[0][0].text);
  8313. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8314. }
  8315. }
  8316. }
  8317. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8318. xmlhttp.send();
  8319. }
  8320. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8321. var xmlhttp;
  8322. var Mac, Sn, DeviceId
  8323. if (window.XMLHttpRequest) {
  8324. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8325. xmlhttp = new XMLHttpRequest();
  8326. } else {
  8327. // IE6, IE5 浏览器执行代码
  8328. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8329. }
  8330. xmlhttp.onreadystatechange = function () {
  8331. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8332. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8333. // resolve(res.value[0][0].text);
  8334. if (type == '2') {
  8335. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8336. } else if (type == '3') {
  8337. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8338. } else if (type == '4') {
  8339. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8340. }
  8341. } else {
  8342. if (type == '2') {
  8343. iframe.contentWindow.editor.minder.importData('json', '')
  8344. } else if (type == '3') {
  8345. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8346. } else if (type == '4') {
  8347. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8348. }
  8349. }
  8350. }
  8351. }
  8352. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8353. xmlhttp.send();
  8354. }
  8355. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8356. var xmlhttp;
  8357. var Mac, Sn, DeviceId
  8358. if (window.XMLHttpRequest) {
  8359. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8360. xmlhttp = new XMLHttpRequest();
  8361. } else {
  8362. // IE6, IE5 浏览器执行代码
  8363. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8364. }
  8365. xmlhttp.onreadystatechange = function () {
  8366. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8367. if (xmlhttp.response) {
  8368. // resolve(res.value[0][0].text);
  8369. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8370. // $(fileInput).val('');
  8371. // });
  8372. span.innerHTML = '上传成功'
  8373. setTimeout(() => {
  8374. loading.style.display = 'none'
  8375. }, 1000);
  8376. }
  8377. }
  8378. }
  8379. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8380. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8381. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8382. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8383. // 设置请求头,表示请求体的编码格式
  8384. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8385. // 设置请求体,使用url-encoded格式的数据
  8386. }
  8387. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8388. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8389. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8390. _userinfo = US.userInfo, //登录用户信息
  8391. _userid = US.userInfo.userid //登录用户id
  8392. let _iframe;
  8393. let _cid = cid,
  8394. _stage = stage,
  8395. _task = task,
  8396. _tool = tool;
  8397. var _jie = $$("div", {
  8398. "style": {
  8399. "position": "absolute",
  8400. "bottom": "50px",
  8401. "right": "50px",
  8402. "zIndex": "9999",
  8403. "backgroundColor": "#2268bc",
  8404. "color": "#fff",
  8405. "padding": "12px 20px",
  8406. "cursor": "pointer",
  8407. "borderRadius": "4px",
  8408. },
  8409. "innerHTML": "提交作业"
  8410. })
  8411. let aTool = ''
  8412. let _loading = document.createElement('div')
  8413. _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;"
  8414. // _loading.id = "";
  8415. let _lchild = document.createElement('div')
  8416. let _limg = document.createElement('img')
  8417. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8418. _limg.style = "width: 26px;margin-right: 10px;"
  8419. _lchild.appendChild(_limg)
  8420. let _lspan = document.createElement('span')
  8421. _lspan.innerHTML = "上传中..."
  8422. _lchild.appendChild(_lspan)
  8423. _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%);"
  8424. _loading.appendChild(_lchild)
  8425. var _box = $$('div', {
  8426. "style": {
  8427. "position": "relative",
  8428. "width": "100%",
  8429. "height": "100%",
  8430. },
  8431. })
  8432. _box.appendChild(_loading)
  8433. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8434. switch (str) {
  8435. case "CocoPi":
  8436. aTool = 57;
  8437. _iframe = $$("iframe", {
  8438. "allowpaymentrequest": "allowpaymentrequest",
  8439. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8440. "webkitallowfullscreen": "",
  8441. "mozallowfullscreen": "",
  8442. "frameborder": "no",
  8443. "border": "0",
  8444. "scrolling ": "no",
  8445. "style": {
  8446. "cssText": "border:0;width:100%;height:100%"
  8447. },
  8448. "src": "https://pi.cocorobo.cn/"
  8449. })
  8450. _box.appendChild(_iframe);
  8451. _box.appendChild(_jie);
  8452. _formdiv = new U.UF.UI.form(
  8453. "CocoPi",
  8454. _box, {
  8455. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8456. "style": {
  8457. "width": "90%",
  8458. "height": "90%",
  8459. "overflow": 'hidden'
  8460. },
  8461. "onresize": function () { }
  8462. }, {
  8463. closecallback: function () { }
  8464. }, {
  8465. "style": {
  8466. "height": "36px"
  8467. }
  8468. }).form; //创建窗体
  8469. _taskbar = {
  8470. "id": str + _formdiv.id,
  8471. "style": {
  8472. "backgroundImage": "url(/img/icon/cocopi.png)"
  8473. },
  8474. "name": "CocoPi",
  8475. "forms": _formdiv,
  8476. "click": function () {
  8477. U.MD.D.I.openApplication(str, obj, info);
  8478. }
  8479. }
  8480. break;
  8481. }
  8482. if (_iframe) {
  8483. if (str == 'CocoPi') {
  8484. _iframe = _formdiv.querySelector('iframe')
  8485. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8486. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8487. })
  8488. if (onloadListener) {
  8489. _iframe.contentDocument.location.reload()
  8490. } else {
  8491. _iframe.contentDocument.location.reload()
  8492. }
  8493. }
  8494. _jie.onclick = async () => {
  8495. let text = ''
  8496. if (aTool == 57) {
  8497. text = _iframe.contentWindow.getLoadXmlStr()
  8498. }
  8499. _loading.style.display = 'flex'
  8500. console.log(_loading);
  8501. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8502. _loading.style.display = 'none'
  8503. let _div = document.createElement('div')
  8504. _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;"
  8505. let _inner = document.createElement('div')
  8506. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8507. _inner.innerHTML = "上传成功"
  8508. _div.appendChild(_inner)
  8509. _iframe.contentWindow.window.document.body.appendChild(_div)
  8510. _div.onclick = () => {
  8511. _iframe.contentWindow.window.document.body.removeChild(_div)
  8512. }
  8513. setTimeout(() => {
  8514. _iframe.contentWindow.window.document.body.removeChild(_div)
  8515. }, 1000);
  8516. }, [], { "type": "POST", "withCredentials": true });
  8517. }
  8518. }
  8519. }
  8520. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8521. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8522. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8523. _userid = student.userid, //登录用户id
  8524. _username = student.student //用户名字
  8525. let _iframe;
  8526. let _cid = cid,
  8527. _stage = stage,
  8528. _task = task,
  8529. _tool = tool;
  8530. var _jie = $$("div", {
  8531. "style": {
  8532. "position": "absolute",
  8533. "bottom": "50px",
  8534. "right": "50px",
  8535. "zIndex": "9999",
  8536. "backgroundColor": "#2268bc",
  8537. "color": "#fff",
  8538. "padding": "12px 20px",
  8539. "cursor": "pointer",
  8540. "borderRadius": "4px",
  8541. },
  8542. "innerHTML": "提交作业"
  8543. })
  8544. let aTool = ''
  8545. let _loading = document.createElement('div')
  8546. _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;"
  8547. // _loading.id = "";
  8548. let _lchild = document.createElement('div')
  8549. let _limg = document.createElement('img')
  8550. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8551. _limg.style = "width: 26px;margin-right: 10px;"
  8552. _lchild.appendChild(_limg)
  8553. let _lspan = document.createElement('span')
  8554. _lspan.innerHTML = "上传中..."
  8555. _lchild.appendChild(_lspan)
  8556. _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%);"
  8557. _loading.appendChild(_lchild)
  8558. var _box = $$('div', {
  8559. "style": {
  8560. "position": "relative",
  8561. "width": "100%",
  8562. "height": "100%",
  8563. },
  8564. })
  8565. _box.appendChild(_loading)
  8566. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8567. switch (str) {
  8568. case "CocoPi":
  8569. aTool = 57;
  8570. _iframe = $$("iframe", {
  8571. "allowpaymentrequest": "allowpaymentrequest",
  8572. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8573. "webkitallowfullscreen": "",
  8574. "mozallowfullscreen": "",
  8575. "frameborder": "no",
  8576. "border": "0",
  8577. "scrolling ": "no",
  8578. "style": {
  8579. "cssText": "border:0;width:100%;height:100%"
  8580. },
  8581. "src": "https://pi.cocorobo.cn/"
  8582. })
  8583. _box.appendChild(_iframe);
  8584. _box.appendChild(_jie);
  8585. _formdiv = new U.UF.UI.form(
  8586. "CocoPi-" + _username,
  8587. _box, {
  8588. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8589. "style": {
  8590. "width": "90%",
  8591. "height": "90%",
  8592. "overflow": 'hidden'
  8593. },
  8594. "onresize": function () { }
  8595. }, {
  8596. closecallback: function () { }
  8597. }, {
  8598. "style": {
  8599. "height": "36px"
  8600. }
  8601. }).form; //创建窗体
  8602. _taskbar = {
  8603. "id": str + _formdiv.id,
  8604. "style": {
  8605. "backgroundImage": "url(/img/icon/cocopi.png)"
  8606. },
  8607. "name": "CocoPi",
  8608. "forms": _formdiv,
  8609. "click": function () {
  8610. U.MD.D.I.openApplication(str, obj, info);
  8611. }
  8612. }
  8613. break;
  8614. }
  8615. if (_iframe) {
  8616. if (str == 'CocoPi') {
  8617. _iframe = _formdiv.querySelector('iframe')
  8618. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8619. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8620. })
  8621. if (onloadListener) {
  8622. _iframe.contentDocument.location.reload()
  8623. } else {
  8624. _iframe.contentDocument.location.reload()
  8625. }
  8626. }
  8627. _jie.onclick = async () => {
  8628. let text = ''
  8629. if (aTool == 57) {
  8630. text = _iframe.contentWindow.getLoadXmlStr()
  8631. }
  8632. _loading.style.display = 'flex'
  8633. console.log(_loading);
  8634. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8635. _loading.style.display = 'none'
  8636. let _div = document.createElement('div')
  8637. _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;"
  8638. let _inner = document.createElement('div')
  8639. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8640. _inner.innerHTML = "上传成功"
  8641. _div.appendChild(_inner)
  8642. _iframe.contentWindow.window.document.body.appendChild(_div)
  8643. _div.onclick = () => {
  8644. _iframe.contentWindow.window.document.body.removeChild(_div)
  8645. }
  8646. setTimeout(() => {
  8647. _iframe.contentWindow.window.document.body.removeChild(_div)
  8648. }, 1000);
  8649. }, [], { "type": "POST", "withCredentials": true });
  8650. }
  8651. }
  8652. }
  8653. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8654. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8655. if (res.value[0].length > 0) {
  8656. if (atool == 57) {
  8657. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8658. }
  8659. } else {
  8660. if (atool == 57) {
  8661. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8662. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8663. }
  8664. }
  8665. }, [], { "type": "POST", "withCredentials": true });
  8666. }