DeskTop.js 554 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118
  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": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  633. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  634. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  635. ];
  636. //教科院实小教师桌面图标的全局变量
  637. U.MD.D.I.siesStudentDeskIcon = [
  638. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  642. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  643. ];
  644. //福田
  645. U.MD.D.I.gdjgTeacherDeskIcon = [
  646. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  647. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  648. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  649. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  650. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  651. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  652. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  653. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  654. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  655. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  657. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  658. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  659. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  660. ];
  661. //gdjg
  662. U.MD.D.I.gdjgAdminDeskIcon = [
  663. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  664. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  665. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  666. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  667. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  668. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  669. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  670. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  671. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  673. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  674. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  675. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  676. ];
  677. //hk
  678. U.MD.D.I.hkteacherDeskIcon = [
  679. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  680. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  681. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  682. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  683. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  684. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  685. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  686. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  687. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  688. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  689. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  690. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  691. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  692. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  694. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  695. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  696. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  697. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  698. ];
  699. //hk
  700. U.MD.D.I.hkStudentDeskIcon = [
  701. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  702. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  703. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  704. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  706. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  707. ];
  708. //hk
  709. U.MD.D.I.hkaceteacherDeskIcon = [
  710. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  711. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  712. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  713. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  714. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  715. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  716. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  717. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  718. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  719. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  720. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  721. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  722. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  723. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  725. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  726. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  727. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  728. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  729. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  730. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  731. ];
  732. //hk
  733. U.MD.D.I.hkaceStudentDeskIcon = [
  734. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  735. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  736. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  737. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  739. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  740. ];
  741. //香海正覺蓮社佛教正覺中學
  742. U.MD.D.I.hkZJLSteacherDeskIcon = [
  743. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  744. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  745. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  746. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  747. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  748. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  749. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  750. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  751. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  752. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  753. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  754. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  755. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  756. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  757. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  758. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  759. ];
  760. //香海正覺蓮社佛教正覺中學
  761. U.MD.D.I.hkZJLSStudentDeskIcon = [
  762. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  763. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  764. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  765. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  766. ];
  767. //云海
  768. U.MD.D.I.yunhaiTeacherDeskIcon = [
  769. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  770. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  771. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  772. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  773. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  774. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  775. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  776. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  777. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  778. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  779. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  780. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  781. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  782. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  783. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  784. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  785. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  786. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  787. ];
  788. //福田
  789. U.MD.D.I.heyuanTeacherDeskIcon = [
  790. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  791. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  792. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  793. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  794. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  795. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  796. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  797. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  798. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  801. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  802. ];
  803. //福田
  804. U.MD.D.I.heyuanAdminDeskIcon = [
  805. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  806. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  810. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  811. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  812. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  813. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  814. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  815. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  816. ];
  817. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  818. U.MD.D.I.szherTeacherDeskIcon = [
  819. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  820. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  821. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  822. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  823. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  824. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  825. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  826. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  828. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  829. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  830. ];
  831. //dsei
  832. U.MD.D.I.dseiTeacherDeskIcon = [
  833. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  834. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  835. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  836. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  837. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  838. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  839. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  840. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  841. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  842. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  843. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  844. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  845. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  846. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  847. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  848. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  849. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  850. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  851. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  852. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  853. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  854. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  855. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  856. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  857. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  858. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  859. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  860. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  861. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  862. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  863. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  864. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  865. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  866. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  867. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  868. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  869. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  870. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  871. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  872. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  873. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  874. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  875. ];
  876. //dsei
  877. U.MD.D.I.dseiAdminDeskIcon = [
  878. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  879. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  880. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  881. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  882. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  883. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  884. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  885. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  886. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  887. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  888. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  889. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  890. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  891. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  892. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  893. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  894. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  895. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  896. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  897. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  898. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  899. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  900. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  901. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  902. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  903. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  904. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  905. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  906. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  907. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  908. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  909. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  910. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  911. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  912. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  913. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  914. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  915. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  916. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  917. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  918. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  919. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  920. ];
  921. //dsei
  922. U.MD.D.I.dseiStudentDeskIcon = [
  923. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  924. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  925. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  926. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  927. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  928. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  929. ];
  930. //未来教育基地
  931. U.MD.D.I.szjkyTeacherDeskIcon = [
  932. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  933. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  934. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  935. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  936. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  937. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  938. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  939. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  940. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  941. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  942. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  943. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  944. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  945. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  946. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  947. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  948. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  949. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  950. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  951. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  952. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  953. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  954. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  955. ];
  956. //未来教育基地
  957. U.MD.D.I.szjkyAdminDeskIcon = [
  958. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  959. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  960. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  961. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  962. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  963. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  964. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  965. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  966. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  967. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  968. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  969. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  970. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  971. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  972. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  973. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  974. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  975. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  976. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  977. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  978. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  979. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  980. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  981. ];
  982. //未来教育基地
  983. U.MD.D.I.szjkyStudentDeskIcon = [
  984. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  988. ];
  989. //成华教育局
  990. U.MD.D.I.chjyjTeacherDeskIcon = [
  991. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  992. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  993. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  994. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  995. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  996. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  997. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  998. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  999. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1000. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1001. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1002. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1003. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1004. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1005. ];
  1006. //成华教育局chjyj
  1007. U.MD.D.I.chjyjAdminDeskIcon = [
  1008. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1009. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1010. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1011. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1012. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1013. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1014. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1015. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1016. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1017. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1018. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1019. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1020. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1021. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1023. ];
  1024. //成华教育局chjyj
  1025. U.MD.D.I.chjyjStudentDeskIcon = [
  1026. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. ];
  1031. //tpc
  1032. U.MD.D.I.tpcStudentDeskIcon = [
  1033. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1034. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1035. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1036. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1037. ];
  1038. //tpc
  1039. U.MD.D.I.tpcTeacherDeskIcon = [
  1040. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1041. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1042. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1045. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1046. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1047. ];
  1048. //tpc
  1049. U.MD.D.I.tpcAdminDeskIcon = [
  1050. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1051. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1052. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1053. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1054. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1055. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1056. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1057. ];
  1058. //THU-IOE
  1059. U.MD.D.I.thuioeTeacherDeskIcon = [
  1060. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1061. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1062. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1063. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1064. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1065. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1066. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1067. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1068. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1069. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1070. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1071. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1072. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1073. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1074. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1075. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1076. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1077. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1078. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1079. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1080. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1081. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1082. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1083. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1084. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1085. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1086. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1087. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1088. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1089. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1090. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1091. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1092. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1093. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1094. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1095. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1096. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1097. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1098. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1099. ];
  1100. //THU-IOE
  1101. U.MD.D.I.thuioeStudentDeskIcon = [
  1102. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1105. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1106. ];
  1107. //jccssyl
  1108. U.MD.D.I.jccssylTeacherDeskIcon = [
  1109. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1110. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1111. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1112. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1113. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1114. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1115. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1116. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1117. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1118. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1119. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1120. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1121. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1122. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1123. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1124. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1125. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1126. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1127. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1128. ];
  1129. //jccssyl
  1130. U.MD.D.I.jccssylStudentDeskIcon = [
  1131. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1132. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1133. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1134. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1135. ];
  1136. //cale
  1137. U.MD.D.I.caleTeacherDeskIcon = [
  1138. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1139. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1140. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1141. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1142. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1143. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1144. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1145. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1146. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1147. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1148. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1149. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1150. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1151. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1152. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1153. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1154. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1155. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1156. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1157. ];
  1158. //cale
  1159. U.MD.D.I.caleStudentDeskIcon = [
  1160. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1161. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1162. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1163. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1164. ];
  1165. //lqwmsgzs
  1166. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1167. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1168. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1169. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1170. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1171. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1172. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1173. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1174. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1175. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1176. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1177. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1178. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1179. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1180. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1181. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1182. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1183. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1184. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1185. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1186. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1187. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1188. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1189. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1190. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1191. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1192. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1193. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1194. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1195. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1196. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1197. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1198. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1199. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1200. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1201. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1202. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1203. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1204. ];
  1205. //lqwmsgzs
  1206. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1207. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1208. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1209. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1210. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1211. ];
  1212. //盐田区幼儿园
  1213. U.MD.D.I.ytyTeacherDeskIcon = [
  1214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1216. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1217. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1218. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1219. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1220. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1221. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1222. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1223. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1224. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1225. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1226. ];
  1227. //盐田区幼儿园
  1228. U.MD.D.I.ytyStudentDeskIcon = [
  1229. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1230. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1231. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1232. ];
  1233. //scnuai
  1234. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1235. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1236. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1237. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1238. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1239. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1240. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1241. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1242. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1243. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1244. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1245. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1246. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1247. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1248. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1249. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1250. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1251. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1252. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1253. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1254. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1255. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1256. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1257. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1258. ];
  1259. //scnuai
  1260. U.MD.D.I.scnuaiAdminDeskIcon = [
  1261. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1262. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1263. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1264. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1265. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1266. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1267. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1268. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1269. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1270. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1271. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1272. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1273. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1274. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1275. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1276. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1277. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1278. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1279. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1280. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1281. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1282. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1283. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1284. ];
  1285. //scnuai
  1286. U.MD.D.I.scnuaiStudentDeskIcon = [
  1287. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1288. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1289. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1290. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1291. ];
  1292. //#region 桌面初始化a
  1293. /**
  1294. * 初始化桌面的起始函数
  1295. *
  1296. */
  1297. U.MD.D.I.init = function () {
  1298. if ($("#U_MD_D_K")[0]) {
  1299. //初始化桌面图标
  1300. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1301. // var clickUrl = ':12588/requestIp.php';
  1302. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1303. // U.MD.D.I.Ip = data;
  1304. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1305. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1306. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1307. // })
  1308. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1309. // })
  1310. }
  1311. }
  1312. /**
  1313. * 模式切换
  1314. *
  1315. */
  1316. U.MD.D.I.ModeCheck = function (type) {
  1317. if (US.Config.type == type) {
  1318. return
  1319. }
  1320. US.Config.type = type
  1321. $('.U_PBL_Check .active')[0].className = ''
  1322. if (type == 1) {
  1323. $('.U_PBL_Check div')[0].className = 'active'
  1324. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1325. } else {
  1326. $('.U_PBL_Check div')[1].className = 'active'
  1327. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1328. }
  1329. //初始化桌面图标
  1330. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1331. if (type == 2) {
  1332. U.MD.D.I.openApplication("project")
  1333. }
  1334. }
  1335. /**
  1336. * 隐藏任务栏
  1337. *
  1338. * @param {element} 桌面元素
  1339. */
  1340. U.MD.D.I.hiddenTaskbar = function (el) {
  1341. //任务栏位置变小
  1342. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1343. //桌面的位置变大
  1344. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1345. }
  1346. /**
  1347. * 隐藏任务栏
  1348. *
  1349. * @param {element} 桌面元素
  1350. */
  1351. U.MD.D.I.hiddenTaskbarout = function (el) {
  1352. //任务栏位置变小
  1353. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1354. //任务栏位置变化
  1355. U.selectEl(el).css({ "bottom": "-60px" });
  1356. //桌面的位置变大
  1357. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1358. }
  1359. }
  1360. /**
  1361. * 初始化打印桌面图标
  1362. *
  1363. * @param {element} 桌面元素
  1364. */
  1365. U.MD.D.I.initDesktopIcons = function (el, type) {
  1366. var i, //用于循环
  1367. _content, //桌面图标元素
  1368. _iconcontent, //桌面图标元素
  1369. _frag = $$("frag"), //定义一个碎片元素
  1370. _type = US.userInfo.type,
  1371. _org = US.userInfo.org,
  1372. _oid = US.userInfo.organizeid,
  1373. _role = US.userInfo.role,
  1374. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1375. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1376. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1377. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1378. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1379. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1380. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1381. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1382. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1383. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1384. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1385. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1386. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1387. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1388. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1389. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1390. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1391. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1392. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1393. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1394. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1395. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1396. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1397. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1398. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1399. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1400. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1401. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1402. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1403. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1404. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1405. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1406. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1407. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1408. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1409. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1410. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1411. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1412. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1413. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1414. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1415. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1416. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1417. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1418. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1419. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1420. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1421. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1422. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1423. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1424. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1425. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1426. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1427. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1428. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1429. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1430. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1431. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1432. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1433. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1434. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1435. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1436. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1437. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1438. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1439. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1440. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
  1441. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1442. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1443. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1444. 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'];
  1445. 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'];
  1446. //清楚桌面图标
  1447. el.innerHTML = "";
  1448. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1449. _teacherDesktopIconInfo.push(
  1450. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1451. { "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)" } },
  1452. )
  1453. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1454. }
  1455. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1456. _teacherDesktopIconInfo.push(
  1457. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1458. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1459. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1460. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1461. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1462. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1463. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1464. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1465. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1466. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1467. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1468. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1469. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1470. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1471. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1472. )
  1473. }
  1474. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪学校
  1475. _teacherDesktopIconInfo.push(
  1476. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1477. )
  1478. }
  1479. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1480. // _teacherDesktopIconInfo.push(
  1481. // )
  1482. // }
  1483. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1484. _teacherDesktopIconInfo.push(
  1485. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1486. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1487. )
  1488. }
  1489. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1490. _teacherDesktopIconInfo.push(
  1491. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1492. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1493. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1494. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1495. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1496. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1497. )
  1498. _studentDesktopIconInfo.push(
  1499. )
  1500. }
  1501. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1502. _teacherDesktopIconInfo.push(
  1503. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1504. )
  1505. _studentDesktopIconInfo.push(
  1506. )
  1507. }
  1508. //麒麟二中 和 民新小学
  1509. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1510. _teacherDesktopIconInfo.push(
  1511. )
  1512. }
  1513. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1514. _teacherDesktopIconInfo.push(
  1515. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1516. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1517. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1518. )
  1519. }
  1520. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1521. _teacherDesktopIconInfo.push(
  1522. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1523. )
  1524. }
  1525. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1526. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1527. _teacherDesktopIconInfo.push(
  1528. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1529. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1530. )
  1531. }
  1532. //麒麟二中
  1533. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1534. _studentDesktopIconInfo.push(
  1535. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1536. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1537. )
  1538. }
  1539. //万科双语
  1540. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1541. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1542. if (el.Name == '项目管理') {
  1543. el.Name = 'PBL项目'
  1544. }
  1545. return el
  1546. })
  1547. _studentDesktopIconInfo3.push(
  1548. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1549. )
  1550. }
  1551. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1552. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1553. return el.Name != '魔盒识字' && el.Name != '24点'
  1554. })
  1555. }
  1556. 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) {
  1557. _studentDesktopIconInfo.push(
  1558. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1559. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1560. )
  1561. }
  1562. //循环创建桌面图标
  1563. if (type == 1) {
  1564. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1565. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1566. _content = $$("div", {
  1567. className: "U_MD_D_KO",
  1568. "onmousedown": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_studentDesktopIconInfo[i]]),
  1572. "onclick": U.UF.C.closure(function (obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_studentDesktopIconInfo[i]])
  1576. }, _frag); //
  1577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1580. }
  1581. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1582. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1583. _content = $$("div", {
  1584. className: "U_MD_D_KO",
  1585. "onmousedown": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1589. "onclick": U.UF.C.closure(function (obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_hkZJLSStudentDeskIconInfo[i]])
  1593. }, _frag); //
  1594. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1595. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1596. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1597. } //
  1598. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1599. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1600. _content = $$("div", {
  1601. className: "U_MD_D_KO",
  1602. "onmousedown": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_ytyStudentDeskIconInfo[i]]),
  1606. "onclick": U.UF.C.closure(function (obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_ytyStudentDeskIconInfo[i]])
  1610. }, _frag); //
  1611. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1612. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1613. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1614. } //
  1615. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1616. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1617. _content = $$("div", {
  1618. className: "U_MD_D_KO",
  1619. "onmousedown": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_jccssylStudentDeskIconInfo[i]]),
  1623. "onclick": U.UF.C.closure(function (obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_jccssylStudentDeskIconInfo[i]])
  1627. }, _frag); //
  1628. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1629. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1630. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1631. }
  1632. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1633. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1634. _content = $$("div", {
  1635. className: "U_MD_D_KO",
  1636. "onmousedown": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_scnuaiStudentDeskIconInfo[i]]),
  1640. "onclick": U.UF.C.closure(function (obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_scnuaiStudentDeskIconInfo[i]])
  1644. }, _frag); //
  1645. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1646. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1647. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1648. }
  1649. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1650. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1651. _content = $$("div", {
  1652. className: "U_MD_D_KO",
  1653. "onmousedown": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_caleStudentDeskIconInfo[i]]),
  1657. "onclick": U.UF.C.closure(function (obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_caleStudentDeskIconInfo[i]])
  1661. }, _frag); //
  1662. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1663. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1664. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1665. }
  1666. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1667. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1668. _content = $$("div", {
  1669. className: "U_MD_D_KO",
  1670. "onmousedown": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_thuioeStudentDeskIconInfo[i]]),
  1674. "onclick": U.UF.C.closure(function (obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_thuioeStudentDeskIconInfo[i]])
  1678. }, _frag); //
  1679. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1680. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1681. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1682. }
  1683. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1684. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1685. _content = $$("div", {
  1686. className: "U_MD_D_KO",
  1687. "onmousedown": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_tpcStudentDeskIconInfo[i]]),
  1691. "onclick": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_tpcStudentDeskIconInfo[i]])
  1695. }, _frag); //
  1696. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1697. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1698. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1699. } //
  1700. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1701. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1702. _content = $$("div", {
  1703. className: "U_MD_D_KO",
  1704. "onmousedown": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_chjyjStudentDeskIconInfo[i]]),
  1708. "onclick": U.UF.C.closure(function (obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_chjyjStudentDeskIconInfo[i]])
  1712. }, _frag); //
  1713. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1714. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1715. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1716. }
  1717. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1718. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1719. _content = $$("div", {
  1720. className: "U_MD_D_KO",
  1721. "onmousedown": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_szjkyStudentDeskIconInfo[i]]),
  1725. "onclick": U.UF.C.closure(function (obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_szjkyStudentDeskIconInfo[i]])
  1729. }, _frag); //
  1730. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1731. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1732. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1733. }
  1734. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1735. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1736. _content = $$("div", {
  1737. className: "U_MD_D_KO",
  1738. "onmousedown": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_dseiStudentDeskIconInfo[i]]),
  1742. "onclick": U.UF.C.closure(function (obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_dseiStudentDeskIconInfo[i]])
  1746. }, _frag); //
  1747. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1748. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1749. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1750. }
  1751. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1752. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1753. _content = $$("div", {
  1754. className: "U_MD_D_KO",
  1755. "onmousedown": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1759. "onclick": U.UF.C.closure(function (obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1763. }, _frag); //
  1764. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1765. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1766. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1767. }
  1768. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1769. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1770. _content = $$("div", {
  1771. className: "U_MD_D_KO",
  1772. "onmousedown": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_siesStudentDeskIconInfo[i]]),
  1776. "onclick": U.UF.C.closure(function (obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_siesStudentDeskIconInfo[i]])
  1780. }, _frag); //
  1781. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1782. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1783. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1784. }
  1785. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1786. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1787. _content = $$("div", {
  1788. className: "U_MD_D_KO",
  1789. "onmousedown": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_hkStudentDeskIconInfo[i]]),
  1793. "onclick": U.UF.C.closure(function (obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_hkStudentDeskIconInfo[i]])
  1797. }, _frag); //
  1798. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1799. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1800. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1801. }
  1802. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1803. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1804. _content = $$("div", {
  1805. className: "U_MD_D_KO",
  1806. "onmousedown": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_hkaceStudentDeskIconInfo[i]]),
  1810. "onclick": U.UF.C.closure(function (obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_hkaceStudentDeskIconInfo[i]])
  1814. }, _frag); //
  1815. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1816. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1817. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1818. }
  1819. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1820. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1821. _content = $$("div", {
  1822. className: "U_MD_D_KO",
  1823. "onmousedown": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_studentDesktopIconInfo[i]]),
  1827. "onclick": U.UF.C.closure(function (obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_studentDesktopIconInfo[i]])
  1831. }, _frag); //
  1832. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1833. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1834. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1835. }
  1836. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1837. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1838. _content = $$("div", {
  1839. className: "U_MD_D_KO",
  1840. "onmousedown": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_tcStudentDeskIconInfo[i]]),
  1844. "onclick": U.UF.C.closure(function (obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_tcStudentDeskIconInfo[i]])
  1848. }, _frag); //
  1849. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1850. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1851. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1852. }
  1853. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1854. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1855. _content = $$("div", {
  1856. className: "U_MD_D_KO",
  1857. "onmousedown": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_szscStudentDeskIconInfo[i]]),
  1861. "onclick": U.UF.C.closure(function (obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_szscStudentDeskIconInfo[i]])
  1865. }, _frag); //
  1866. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1869. }
  1870. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1871. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1872. _content = $$("div", {
  1873. className: "U_MD_D_KO",
  1874. "onmousedown": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_studentDesktopIconInfo3[i]]),
  1878. "onclick": U.UF.C.closure(function (obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_studentDesktopIconInfo3[i]])
  1882. }, _frag); //
  1883. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1884. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1885. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1886. }
  1887. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1888. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1889. _content = $$("div", {
  1890. className: "U_MD_D_KO",
  1891. "onmousedown": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_studentDesktopIconInfo2[i]]),
  1895. "onclick": U.UF.C.closure(function (obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_studentDesktopIconInfo2[i]])
  1899. }, _frag); //
  1900. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1901. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1902. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1903. }
  1904. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1905. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1906. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  1907. continue
  1908. }
  1909. _content = $$("div", {
  1910. className: "U_MD_D_KO",
  1911. "onmousedown": U.UF.C.closure(function (obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_wanketeacherDesktopIconInfo[i]]),
  1915. "onclick": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_wanketeacherDesktopIconInfo[i]])
  1919. }, _frag); //
  1920. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1921. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1922. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1923. }
  1924. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1925. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1926. _content = $$("div", {
  1927. className: "U_MD_D_KO",
  1928. "onmousedown": U.UF.C.closure(function (obj) {
  1929. //防止拖动图标即打开了桌面应用
  1930. U.MD.D.click(this, obj);
  1931. }, [_wankeAdminDesktopIconInfo[i]]),
  1932. "onclick": U.UF.C.closure(function (obj) {
  1933. //防止拖动图标即打开了桌面应用
  1934. U.MD.D.click(this, obj);
  1935. }, [_wankeAdminDesktopIconInfo[i]])
  1936. }, _frag); //
  1937. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1938. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1939. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1940. }
  1941. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  1942. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  1943. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  1944. continue
  1945. }
  1946. _content = $$("div", {
  1947. className: "U_MD_D_KO",
  1948. "onmousedown": U.UF.C.closure(function (obj) {
  1949. //防止拖动图标即打开了桌面应用
  1950. U.MD.D.click(this, obj);
  1951. }, [_scnuaiTeacherDeskIconInfo[i]]),
  1952. "onclick": U.UF.C.closure(function (obj) {
  1953. //防止拖动图标即打开了桌面应用
  1954. U.MD.D.click(this, obj);
  1955. }, [_scnuaiTeacherDeskIconInfo[i]])
  1956. }, _frag); //
  1957. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1958. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1959. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1960. }
  1961. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  1962. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  1963. _content = $$("div", {
  1964. className: "U_MD_D_KO",
  1965. "onmousedown": U.UF.C.closure(function (obj) {
  1966. //防止拖动图标即打开了桌面应用
  1967. U.MD.D.click(this, obj);
  1968. }, [_scnuaiAdminDeskIconInfo[i]]),
  1969. "onclick": U.UF.C.closure(function (obj) {
  1970. //防止拖动图标即打开了桌面应用
  1971. U.MD.D.click(this, obj);
  1972. }, [_scnuaiAdminDeskIconInfo[i]])
  1973. }, _frag); //
  1974. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1975. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  1976. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  1977. }
  1978. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1979. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1980. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  1981. continue
  1982. }
  1983. _content = $$("div", {
  1984. className: "U_MD_D_KO",
  1985. "onmousedown": U.UF.C.closure(function (obj) {
  1986. //防止拖动图标即打开了桌面应用
  1987. U.MD.D.click(this, obj);
  1988. }, [_jccssylTeacherDeskIconInfo[i]]),
  1989. "onclick": U.UF.C.closure(function (obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_jccssylTeacherDeskIconInfo[i]])
  1993. }, _frag); //
  1994. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1995. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1996. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1997. }
  1998. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1999. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  2000. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2001. continue
  2002. }
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function (obj) {
  2006. //防止拖动图标即打开了桌面应用
  2007. U.MD.D.click(this, obj);
  2008. }, [_caleTeacherDeskIconInfo[i]]),
  2009. "onclick": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_caleTeacherDeskIconInfo[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2017. }
  2018. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2019. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖动图标即打开了桌面应用
  2024. U.MD.D.click(this, obj);
  2025. }, [_tpcOrganizerDeskIconInfo[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_tpcOrganizerDeskIconInfo[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2034. }
  2035. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2036. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2037. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2038. continue
  2039. }
  2040. _content = $$("div", {
  2041. className: "U_MD_D_KO",
  2042. "onmousedown": U.UF.C.closure(function (obj) {
  2043. //防止拖动图标即打开了桌面应用
  2044. U.MD.D.click(this, obj);
  2045. }, [_tpcTeacherDeskIconInfo[i]]),
  2046. "onclick": U.UF.C.closure(function (obj) {
  2047. //防止拖动图标即打开了桌面应用
  2048. U.MD.D.click(this, obj);
  2049. }, [_tpcTeacherDeskIconInfo[i]])
  2050. }, _frag); //
  2051. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2052. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2053. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2054. }
  2055. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2056. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2057. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2058. continue
  2059. }
  2060. _content = $$("div", {
  2061. className: "U_MD_D_KO",
  2062. "onmousedown": U.UF.C.closure(function (obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_teacherDesktopIconInfo2[i]]),
  2066. "onclick": U.UF.C.closure(function (obj) {
  2067. //防止拖动图标即打开了桌面应用
  2068. U.MD.D.click(this, obj);
  2069. }, [_teacherDesktopIconInfo2[i]])
  2070. }, _frag); //
  2071. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2072. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2073. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2074. }
  2075. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2076. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2077. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2078. continue
  2079. }
  2080. _content = $$("div", {
  2081. className: "U_MD_D_KO",
  2082. "onmousedown": U.UF.C.closure(function (obj) {
  2083. //防止拖动图标即打开了桌面应用
  2084. U.MD.D.click(this, obj);
  2085. }, [_thuioeTeacherDeskIconInfo[i]]),
  2086. "onclick": U.UF.C.closure(function (obj) {
  2087. //防止拖动图标即打开了桌面应用
  2088. U.MD.D.click(this, obj);
  2089. }, [_thuioeTeacherDeskIconInfo[i]])
  2090. }, _frag); //
  2091. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2092. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2093. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2094. }
  2095. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2096. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2097. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2098. continue
  2099. }
  2100. _content = $$("div", {
  2101. className: "U_MD_D_KO",
  2102. "onmousedown": U.UF.C.closure(function (obj) {
  2103. //防止拖动图标即打开了桌面应用
  2104. U.MD.D.click(this, obj);
  2105. }, [_lotechTeacherDeskIconInfo[i]]),
  2106. "onclick": U.UF.C.closure(function (obj) {
  2107. //防止拖动图标即打开了桌面应用
  2108. U.MD.D.click(this, obj);
  2109. }, [_lotechTeacherDeskIconInfo[i]])
  2110. }, _frag); //
  2111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2114. }//
  2115. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2116. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2117. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2118. continue
  2119. }
  2120. _content = $$("div", {
  2121. className: "U_MD_D_KO",
  2122. "onmousedown": U.UF.C.closure(function (obj) {
  2123. //防止拖动图标即打开了桌面应用
  2124. U.MD.D.click(this, obj);
  2125. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2126. "onclick": U.UF.C.closure(function (obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2130. }, _frag); //
  2131. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2132. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2133. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2134. }
  2135. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2136. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2137. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2138. continue
  2139. }
  2140. _content = $$("div", {
  2141. className: "U_MD_D_KO",
  2142. "onmousedown": U.UF.C.closure(function (obj) {
  2143. //防止拖动图标即打开了桌面应用
  2144. U.MD.D.click(this, obj);
  2145. }, [_siesTeacherDeskIconInfo[i]]),
  2146. "onclick": U.UF.C.closure(function (obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_siesTeacherDeskIconInfo[i]])
  2150. }, _frag); //
  2151. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2152. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2153. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2154. }
  2155. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2156. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2157. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2158. continue
  2159. }
  2160. _content = $$("div", {
  2161. className: "U_MD_D_KO",
  2162. "onmousedown": U.UF.C.closure(function (obj) {
  2163. //防止拖动图标即打开了桌面应用
  2164. U.MD.D.click(this, obj);
  2165. }, [_longhuaTeacherDeskIconInfo[i]]),
  2166. "onclick": U.UF.C.closure(function (obj) {
  2167. //防止拖动图标即打开了桌面应用
  2168. U.MD.D.click(this, obj);
  2169. }, [_longhuaTeacherDeskIconInfo[i]])
  2170. }, _frag); //
  2171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2174. }
  2175. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2176. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2177. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2178. continue
  2179. }
  2180. _content = $$("div", {
  2181. className: "U_MD_D_KO",
  2182. "onmousedown": U.UF.C.closure(function (obj) {
  2183. //防止拖动图标即打开了桌面应用
  2184. U.MD.D.click(this, obj);
  2185. }, [_ytyTeacherDeskIconInfo[i]]),
  2186. "onclick": U.UF.C.closure(function (obj) {
  2187. //防止拖动图标即打开了桌面应用
  2188. U.MD.D.click(this, obj);
  2189. }, [_ytyTeacherDeskIconInfo[i]])
  2190. }, _frag); //
  2191. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2192. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2193. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2194. }
  2195. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2196. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2197. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2198. continue
  2199. }
  2200. _content = $$("div", {
  2201. className: "U_MD_D_KO",
  2202. "onmousedown": U.UF.C.closure(function (obj) {
  2203. //防止拖动图标即打开了桌面应用
  2204. U.MD.D.click(this, obj);
  2205. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2206. "onclick": U.UF.C.closure(function (obj) {
  2207. //防止拖动图标即打开了桌面应用
  2208. U.MD.D.click(this, obj);
  2209. }, [_yunhaiTeacherDeskIconInfo[i]])
  2210. }, _frag); //
  2211. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2212. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2213. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2214. } //_hkStudentDeskIconInfo
  2215. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2216. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2217. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2218. continue
  2219. }
  2220. _content = $$("div", {
  2221. className: "U_MD_D_KO",
  2222. "onmousedown": U.UF.C.closure(function (obj) {
  2223. //防止拖动图标即打开了桌面应用
  2224. U.MD.D.click(this, obj);
  2225. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2226. "onclick": U.UF.C.closure(function (obj) {
  2227. //防止拖动图标即打开了桌面应用
  2228. U.MD.D.click(this, obj);
  2229. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2230. }, _frag); //
  2231. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2232. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2233. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2234. }
  2235. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2236. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2237. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2238. continue
  2239. }
  2240. _content = $$("div", {
  2241. className: "U_MD_D_KO",
  2242. "onmousedown": U.UF.C.closure(function (obj) {
  2243. //防止拖动图标即打开了桌面应用
  2244. U.MD.D.click(this, obj);
  2245. }, [_hkTeacherDeskIconInfo[i]]),
  2246. "onclick": U.UF.C.closure(function (obj) {
  2247. //防止拖动图标即打开了桌面应用
  2248. U.MD.D.click(this, obj);
  2249. }, [_hkTeacherDeskIconInfo[i]])
  2250. }, _frag); //
  2251. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2252. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2253. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2254. }
  2255. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2256. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2257. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2258. continue
  2259. }
  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. }, [_hkaceTeacherDeskIconInfo[i]]),
  2266. "onclick": U.UF.C.closure(function (obj) {
  2267. //防止拖动图标即打开了桌面应用
  2268. U.MD.D.click(this, obj);
  2269. }, [_hkaceTeacherDeskIconInfo[i]])
  2270. }, _frag); //
  2271. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2272. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2273. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2274. }
  2275. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2276. for (i = 0; i < _gdjgAdminDeskIconInfo.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. }, [_gdjgAdminDeskIconInfo[i]]),
  2283. "onclick": U.UF.C.closure(function (obj) {
  2284. //防止拖动图标即打开了桌面应用
  2285. U.MD.D.click(this, obj);
  2286. }, [_gdjgAdminDeskIconInfo[i]])
  2287. }, _frag); //
  2288. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2289. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2290. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2291. }
  2292. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2293. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2294. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2295. continue
  2296. }
  2297. _content = $$("div", {
  2298. className: "U_MD_D_KO",
  2299. "onmousedown": U.UF.C.closure(function (obj) {
  2300. //防止拖动图标即打开了桌面应用
  2301. U.MD.D.click(this, obj);
  2302. }, [_gdjgTeacherDeskIconInfo[i]]),
  2303. "onclick": U.UF.C.closure(function (obj) {
  2304. //防止拖动图标即打开了桌面应用
  2305. U.MD.D.click(this, obj);
  2306. }, [_gdjgTeacherDeskIconInfo[i]])
  2307. }, _frag); //
  2308. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2309. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2310. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2311. }
  2312. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2313. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2314. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2315. continue
  2316. }
  2317. _content = $$("div", {
  2318. className: "U_MD_D_KO",
  2319. "onmousedown": U.UF.C.closure(function (obj) {
  2320. //防止拖动图标即打开了桌面应用
  2321. U.MD.D.click(this, obj);
  2322. }, [_szherTeacherDeskIconInfo[i]]),
  2323. "onclick": U.UF.C.closure(function (obj) {
  2324. //防止拖动图标即打开了桌面应用
  2325. U.MD.D.click(this, obj);
  2326. }, [_szherTeacherDeskIconInfo[i]])
  2327. }, _frag); //
  2328. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2329. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2330. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2331. }
  2332. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2333. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2334. _content = $$("div", {
  2335. className: "U_MD_D_KO",
  2336. "onmousedown": U.UF.C.closure(function (obj) {
  2337. //防止拖动图标即打开了桌面应用
  2338. U.MD.D.click(this, obj);
  2339. }, [_heyuannAdminDeskIconInfo[i]]),
  2340. "onclick": U.UF.C.closure(function (obj) {
  2341. //防止拖动图标即打开了桌面应用
  2342. U.MD.D.click(this, obj);
  2343. }, [_heyuannAdminDeskIconInfo[i]])
  2344. }, _frag); //
  2345. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2346. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2347. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2348. }
  2349. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2350. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2351. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2352. continue
  2353. }
  2354. _content = $$("div", {
  2355. className: "U_MD_D_KO",
  2356. "onmousedown": U.UF.C.closure(function (obj) {
  2357. //防止拖动图标即打开了桌面应用
  2358. U.MD.D.click(this, obj);
  2359. }, [_heyuanTeacherDeskIconInfo[i]]),
  2360. "onclick": U.UF.C.closure(function (obj) {
  2361. //防止拖动图标即打开了桌面应用
  2362. U.MD.D.click(this, obj);
  2363. }, [_heyuanTeacherDeskIconInfo[i]])
  2364. }, _frag); //
  2365. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2366. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2367. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2368. } //
  2369. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2370. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2371. _content = $$("div", {
  2372. className: "U_MD_D_KO",
  2373. "onmousedown": U.UF.C.closure(function (obj) {
  2374. //防止拖动图标即打开了桌面应用
  2375. U.MD.D.click(this, obj);
  2376. }, [_dseiAdminDeskIconInfo[i]]),
  2377. "onclick": U.UF.C.closure(function (obj) {
  2378. //防止拖动图标即打开了桌面应用
  2379. U.MD.D.click(this, obj);
  2380. }, [_dseiAdminDeskIconInfo[i]])
  2381. }, _frag); //
  2382. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2383. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2384. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2385. }
  2386. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2387. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2388. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2389. continue
  2390. }
  2391. _content = $$("div", {
  2392. className: "U_MD_D_KO",
  2393. "onmousedown": U.UF.C.closure(function (obj) {
  2394. //防止拖动图标即打开了桌面应用
  2395. U.MD.D.click(this, obj);
  2396. }, [_dseiTeacherDeskIconInfo[i]]),
  2397. "onclick": U.UF.C.closure(function (obj) {
  2398. //防止拖动图标即打开了桌面应用
  2399. U.MD.D.click(this, obj);
  2400. }, [_dseiTeacherDeskIconInfo[i]])
  2401. }, _frag); //
  2402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2405. } //
  2406. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2407. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2408. _content = $$("div", {
  2409. className: "U_MD_D_KO",
  2410. "onmousedown": U.UF.C.closure(function (obj) {
  2411. //防止拖动图标即打开了桌面应用
  2412. U.MD.D.click(this, obj);
  2413. }, [_chjyjAdminDeskIconInfo[i]]),
  2414. "onclick": U.UF.C.closure(function (obj) {
  2415. //防止拖动图标即打开了桌面应用
  2416. U.MD.D.click(this, obj);
  2417. }, [_chjyjAdminDeskIconInfo[i]])
  2418. }, _frag); //
  2419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2422. }//
  2423. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2424. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2425. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2426. continue
  2427. }
  2428. _content = $$("div", {
  2429. className: "U_MD_D_KO",
  2430. "onmousedown": U.UF.C.closure(function (obj) {
  2431. //防止拖动图标即打开了桌面应用
  2432. U.MD.D.click(this, obj);
  2433. }, [_chjyjTeacherDeskIconInfo[i]]),
  2434. "onclick": U.UF.C.closure(function (obj) {
  2435. //防止拖动图标即打开了桌面应用
  2436. U.MD.D.click(this, obj);
  2437. }, [_chjyjTeacherDeskIconInfo[i]])
  2438. }, _frag); //
  2439. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2440. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2441. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2442. }
  2443. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2444. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2445. _content = $$("div", {
  2446. className: "U_MD_D_KO",
  2447. "onmousedown": U.UF.C.closure(function (obj) {
  2448. //防止拖动图标即打开了桌面应用
  2449. U.MD.D.click(this, obj);
  2450. }, [_szjkyAdminDeskIconInfo[i]]),
  2451. "onclick": U.UF.C.closure(function (obj) {
  2452. //防止拖动图标即打开了桌面应用
  2453. U.MD.D.click(this, obj);
  2454. }, [_szjkyAdminDeskIconInfo[i]])
  2455. }, _frag); //
  2456. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2457. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2458. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2459. }//
  2460. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2461. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2462. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2463. continue
  2464. }
  2465. _content = $$("div", {
  2466. className: "U_MD_D_KO",
  2467. "onmousedown": U.UF.C.closure(function (obj) {
  2468. //防止拖动图标即打开了桌面应用
  2469. U.MD.D.click(this, obj);
  2470. }, [_szjkyTeacherDeskIconInfo[i]]),
  2471. "onclick": U.UF.C.closure(function (obj) {
  2472. //防止拖动图标即打开了桌面应用
  2473. U.MD.D.click(this, obj);
  2474. }, [_szjkyTeacherDeskIconInfo[i]])
  2475. }, _frag); //
  2476. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2477. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2478. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2479. }
  2480. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2481. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2482. _content = $$("div", {
  2483. className: "U_MD_D_KO",
  2484. "onmousedown": U.UF.C.closure(function (obj) {
  2485. //防止拖动图标即打开了桌面应用
  2486. U.MD.D.click(this, obj);
  2487. }, [_futianAdminDeskIconInfo[i]]),
  2488. "onclick": U.UF.C.closure(function (obj) {
  2489. //防止拖动图标即打开了桌面应用
  2490. U.MD.D.click(this, obj);
  2491. }, [_futianAdminDeskIconInfo[i]])
  2492. }, _frag); //
  2493. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2494. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2495. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2496. }
  2497. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2498. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2499. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2500. continue
  2501. }
  2502. _content = $$("div", {
  2503. className: "U_MD_D_KO",
  2504. "onmousedown": U.UF.C.closure(function (obj) {
  2505. //防止拖动图标即打开了桌面应用
  2506. U.MD.D.click(this, obj);
  2507. }, [_futianTeacherDeskIconInfo[i]]),
  2508. "onclick": U.UF.C.closure(function (obj) {
  2509. //防止拖动图标即打开了桌面应用
  2510. U.MD.D.click(this, obj);
  2511. }, [_futianTeacherDeskIconInfo[i]])
  2512. }, _frag); //
  2513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2516. }
  2517. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2518. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2519. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  2520. continue
  2521. }
  2522. _content = $$("div", {
  2523. className: "U_MD_D_KO",
  2524. "onmousedown": U.UF.C.closure(function (obj) {
  2525. //防止拖动图标即打开了桌面应用
  2526. U.MD.D.click(this, obj);
  2527. }, [_MingdeTeacherDeskIcon[i]]),
  2528. "onclick": U.UF.C.closure(function (obj) {
  2529. //防止拖动图标即打开了桌面应用
  2530. U.MD.D.click(this, obj);
  2531. }, [_MingdeTeacherDeskIcon[i]])
  2532. }, _frag); //
  2533. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2534. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2535. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2536. }
  2537. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2538. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2539. _content = $$("div", {
  2540. className: "U_MD_D_KO",
  2541. "onmousedown": U.UF.C.closure(function (obj) {
  2542. //防止拖动图标即打开了桌面应用
  2543. U.MD.D.click(this, obj);
  2544. }, [_lhsAdminDesktopIconInfo[i]]),
  2545. "onclick": U.UF.C.closure(function (obj) {
  2546. //防止拖动图标即打开了桌面应用
  2547. U.MD.D.click(this, obj);
  2548. }, [_lhsAdminDesktopIconInfo[i]])
  2549. }, _frag); //
  2550. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2551. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2552. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2553. }
  2554. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2555. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2556. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2557. continue
  2558. }
  2559. _content = $$("div", {
  2560. className: "U_MD_D_KO",
  2561. "onmousedown": U.UF.C.closure(function (obj) {
  2562. //防止拖动图标即打开了桌面应用
  2563. U.MD.D.click(this, obj);
  2564. }, [_lhsteacherDesktopIconInfo[i]]),
  2565. "onclick": U.UF.C.closure(function (obj) {
  2566. //防止拖动图标即打开了桌面应用
  2567. U.MD.D.click(this, obj);
  2568. }, [_lhsteacherDesktopIconInfo[i]])
  2569. }, _frag); //
  2570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2573. }
  2574. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2575. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2576. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  2577. continue
  2578. }
  2579. _content = $$("div", {
  2580. className: "U_MD_D_KO",
  2581. "onmousedown": U.UF.C.closure(function (obj) {
  2582. //防止拖动图标即打开了桌面应用
  2583. U.MD.D.click(this, obj);
  2584. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2585. "onclick": U.UF.C.closure(function (obj) {
  2586. //防止拖动图标即打开了桌面应用
  2587. U.MD.D.click(this, obj);
  2588. }, [_zhoujiateacherDesktopIconInfo[i]])
  2589. }, _frag); //
  2590. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2591. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2592. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2593. }
  2594. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2595. for (i = 0; i < _hanDeskIcon.length; i++) {
  2596. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  2597. continue
  2598. }
  2599. _content = $$("div", {
  2600. className: "U_MD_D_KO",
  2601. "onmousedown": U.UF.C.closure(function (obj) {
  2602. //防止拖动图标即打开了桌面应用
  2603. U.MD.D.click(this, obj);
  2604. }, [_hanDeskIcon[i]]),
  2605. "onclick": U.UF.C.closure(function (obj) {
  2606. //防止拖动图标即打开了桌面应用
  2607. U.MD.D.click(this, obj);
  2608. }, [_hanDeskIcon[i]])
  2609. }, _frag); //
  2610. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2611. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2612. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2613. }
  2614. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2615. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2616. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  2617. continue
  2618. }
  2619. _content = $$("div", {
  2620. className: "U_MD_D_KO",
  2621. "onmousedown": U.UF.C.closure(function (obj) {
  2622. //防止拖动图标即打开了桌面应用
  2623. U.MD.D.click(this, obj);
  2624. }, [_orgStemDeskIcon[i]]),
  2625. "onclick": U.UF.C.closure(function (obj) {
  2626. //防止拖动图标即打开了桌面应用
  2627. U.MD.D.click(this, obj);
  2628. }, [_orgStemDeskIcon[i]])
  2629. }, _frag); //
  2630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2633. }
  2634. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2635. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2636. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  2637. continue
  2638. }
  2639. _content = $$("div", {
  2640. className: "U_MD_D_KO",
  2641. "onmousedown": U.UF.C.closure(function (obj) {
  2642. //防止拖动图标即打开了桌面应用
  2643. U.MD.D.click(this, obj);
  2644. }, [_szulsDeskIcon[i]]),
  2645. "onclick": U.UF.C.closure(function (obj) {
  2646. //防止拖动图标即打开了桌面应用
  2647. U.MD.D.click(this, obj);
  2648. }, [_szulsDeskIcon[i]])
  2649. }, _frag); //
  2650. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2651. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2652. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2653. }
  2654. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2655. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2656. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  2657. continue
  2658. }
  2659. _content = $$("div", {
  2660. className: "U_MD_D_KO",
  2661. "onmousedown": U.UF.C.closure(function (obj) {
  2662. //防止拖动图标即打开了桌面应用
  2663. U.MD.D.click(this, obj);
  2664. }, [_orgDesktopIconInfo[i]]),
  2665. "onclick": U.UF.C.closure(function (obj) {
  2666. //防止拖动图标即打开了桌面应用
  2667. U.MD.D.click(this, obj);
  2668. }, [_orgDesktopIconInfo[i]])
  2669. }, _frag); //
  2670. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2671. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2672. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2673. }
  2674. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2675. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2676. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  2677. continue
  2678. }
  2679. _content = $$("div", {
  2680. className: "U_MD_D_KO",
  2681. "onmousedown": U.UF.C.closure(function (obj) {
  2682. //防止拖动图标即打开了桌面应用
  2683. U.MD.D.click(this, obj);
  2684. }, [_schoolDesktopIconInfo[i]]),
  2685. "onclick": U.UF.C.closure(function (obj) {
  2686. //防止拖动图标即打开了桌面应用
  2687. U.MD.D.click(this, obj);
  2688. }, [_schoolDesktopIconInfo[i]])
  2689. }, _frag); //
  2690. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2691. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2692. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2693. }
  2694. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2695. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2696. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2697. continue
  2698. }
  2699. _content = $$("div", {
  2700. className: "U_MD_D_KO",
  2701. "onmousedown": U.UF.C.closure(function (obj) {
  2702. //防止拖动图标即打开了桌面应用
  2703. U.MD.D.click(this, obj);
  2704. }, [_GMteacherDesktopIconInfo[i]]),
  2705. "onclick": U.UF.C.closure(function (obj) {
  2706. //防止拖动图标即打开了桌面应用
  2707. U.MD.D.click(this, obj);
  2708. }, [_GMteacherDesktopIconInfo[i]])
  2709. }, _frag); //
  2710. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2711. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2712. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2713. }
  2714. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2715. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2716. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2717. continue
  2718. }
  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. }, [_SONGteacherDesktopIconInfo[i]]),
  2725. "onclick": U.UF.C.closure(function (obj) {
  2726. //防止拖动图标即打开了桌面应用
  2727. U.MD.D.click(this, obj);
  2728. }, [_SONGteacherDesktopIconInfo[i]])
  2729. }, _frag); //
  2730. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2731. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2732. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2733. }
  2734. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2735. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2736. _content = $$("div", {
  2737. className: "U_MD_D_KO",
  2738. "onmousedown": U.UF.C.closure(function (obj) {
  2739. //防止拖动图标即打开了桌面应用
  2740. U.MD.D.click(this, obj);
  2741. }, [_GMstudentDesktopIconInfo[i]]),
  2742. "onclick": U.UF.C.closure(function (obj) {
  2743. //防止拖动图标即打开了桌面应用
  2744. U.MD.D.click(this, obj);
  2745. }, [_GMstudentDesktopIconInfo[i]])
  2746. }, _frag); //
  2747. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2748. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2749. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2750. }
  2751. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2752. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2753. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2754. continue
  2755. }
  2756. _content = $$("div", {
  2757. className: "U_MD_D_KO",
  2758. "onmousedown": U.UF.C.closure(function (obj) {
  2759. //防止拖动图标即打开了桌面应用
  2760. U.MD.D.click(this, obj);
  2761. }, [_tcTeacherDeskIconInfo[i]]),
  2762. "onclick": U.UF.C.closure(function (obj) {
  2763. //防止拖动图标即打开了桌面应用
  2764. U.MD.D.click(this, obj);
  2765. }, [_tcTeacherDeskIconInfo[i]])
  2766. }, _frag); //
  2767. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2768. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2769. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2770. }
  2771. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2772. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2773. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  2774. continue
  2775. }
  2776. _content = $$("div", {
  2777. className: "U_MD_D_KO",
  2778. "onmousedown": U.UF.C.closure(function (obj) {
  2779. //防止拖动图标即打开了桌面应用
  2780. U.MD.D.click(this, obj);
  2781. }, [_tcOrganizerDeskIconInfo[i]]),
  2782. "onclick": U.UF.C.closure(function (obj) {
  2783. //防止拖动图标即打开了桌面应用
  2784. U.MD.D.click(this, obj);
  2785. }, [_tcOrganizerDeskIconInfo[i]])
  2786. }, _frag); //
  2787. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2788. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2789. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2790. }
  2791. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2792. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2793. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2794. continue
  2795. }
  2796. _content = $$("div", {
  2797. className: "U_MD_D_KO",
  2798. "onmousedown": U.UF.C.closure(function (obj) {
  2799. //防止拖动图标即打开了桌面应用
  2800. U.MD.D.click(this, obj);
  2801. }, [_szscTeacherDeskIconInfo[i]]),
  2802. "onclick": U.UF.C.closure(function (obj) {
  2803. //防止拖动图标即打开了桌面应用
  2804. U.MD.D.click(this, obj);
  2805. }, [_szscTeacherDeskIconInfo[i]])
  2806. }, _frag); //
  2807. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2808. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2809. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2810. }
  2811. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2812. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2813. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  2814. continue
  2815. }
  2816. _content = $$("div", {
  2817. className: "U_MD_D_KO",
  2818. "onmousedown": U.UF.C.closure(function (obj) {
  2819. //防止拖动图标即打开了桌面应用
  2820. U.MD.D.click(this, obj);
  2821. }, [_szscOrganizerDeskIconInfo[i]]),
  2822. "onclick": U.UF.C.closure(function (obj) {
  2823. //防止拖动图标即打开了桌面应用
  2824. U.MD.D.click(this, obj);
  2825. }, [_szscOrganizerDeskIconInfo[i]])
  2826. }, _frag); //
  2827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2830. }
  2831. } else {
  2832. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2833. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher'){
  2834. continue
  2835. }
  2836. _content = $$("div", {
  2837. className: "U_MD_D_KO",
  2838. "onmousedown": U.UF.C.closure(function (obj) {
  2839. //防止拖动图标即打开了桌面应用
  2840. U.MD.D.click(this, obj);
  2841. }, [_teacherDesktopIconInfo[i]]),
  2842. "onclick": U.UF.C.closure(function (obj) {
  2843. //防止拖动图标即打开了桌面应用
  2844. U.MD.D.click(this, obj);
  2845. }, [_teacherDesktopIconInfo[i]])
  2846. }, _frag); //
  2847. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2848. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2849. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2850. }
  2851. }
  2852. } else {
  2853. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2854. _content = $$("div", {
  2855. className: "U_MD_D_KO",
  2856. style: { 'width': '124px', 'height': '145px' },
  2857. "onmousedown": U.UF.C.closure(function (obj) {
  2858. //防止拖动图标即打开了桌面应用
  2859. U.MD.D.click(this, obj);
  2860. }, [_easyDesktopIconInfo[i]]),
  2861. "onclick": U.UF.C.closure(function (obj) {
  2862. //防止拖动图标即打开了桌面应用
  2863. U.MD.D.click(this, obj);
  2864. }, [_easyDesktopIconInfo[i]])
  2865. }, _frag); //
  2866. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2869. }
  2870. }
  2871. if (type == 1) {
  2872. //加载好后给图标定位
  2873. U.MD.D.iconPostion($(_frag).Child());
  2874. } else {
  2875. //加载好后给图标定位
  2876. U.MD.D.iconPostion2($(_frag).Child());
  2877. }
  2878. //把图标加载到页面
  2879. el.appendChild(_frag);
  2880. }
  2881. /**
  2882. * 显示任务栏
  2883. *
  2884. * @param {element} 桌面元素
  2885. */
  2886. U.MD.D.I.displayTaskbar = function (el) {
  2887. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2888. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2889. //任务栏位置变化
  2890. U.selectEl(el).css({ "bottom": "0px" });
  2891. //桌面位置变话
  2892. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2893. }
  2894. }
  2895. //#region 桌面图标拖动逻辑
  2896. /**
  2897. * 桌面排列图标
  2898. *
  2899. * @param {element} 桌面元素
  2900. * @param {object} 上下相距的距离
  2901. * @param {object} 左右相距的距离
  2902. * @return {object} 命名空间
  2903. */
  2904. U.MD.D.iconPostion = function (childs, top, left) {
  2905. var i; //用于循环处理
  2906. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2907. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2908. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2909. for (i = 0; i < childs.length; i++) {
  2910. //如果竖排top超过了范围处理
  2911. if (top + 95 > US.height - 10) {
  2912. //left超过了页面范围处理,则向上重叠打印处理
  2913. if ((left + 180) > US.width) {
  2914. top -= 110;
  2915. left -= 90;
  2916. }
  2917. //没有超过范围,那么left+90添加到下一个竖排打印
  2918. else {
  2919. left += 90;
  2920. top = 15;
  2921. };
  2922. }
  2923. //给图标的位置赋值
  2924. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2925. if (i < childs.length - 1) {
  2926. //页面图标每次向下加95
  2927. top += 95;
  2928. }
  2929. }
  2930. //返回最后调用的图标的位置
  2931. return [top, left];
  2932. }
  2933. /**
  2934. * 桌面排列图标
  2935. *
  2936. * @param {element} 桌面元素
  2937. * @param {object} 上下相距的距离
  2938. * @param {object} 左右相距的距离
  2939. * @return {object} 命名空间
  2940. */
  2941. U.MD.D.iconPostion2 = function (childs, top, left) {
  2942. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2943. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2944. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2945. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2946. for (i = 0; i < childs.length; i++) {
  2947. //如果竖排top超过了范围处理
  2948. if (left + 150 > US.width - 10) {
  2949. //left超过了页面范围处理,则向上重叠打印处理
  2950. if ((top + 180) > US.Height) {
  2951. top -= 150;
  2952. left -= 150;
  2953. }
  2954. //没有超过范围,那么left+90添加到下一个竖排打印
  2955. else {
  2956. top += 150;
  2957. left = ol;
  2958. };
  2959. }
  2960. //给图标的位置赋值
  2961. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2962. if (i < childs.length - 1) {
  2963. //页面图标每次向下加95
  2964. left += 150;
  2965. }
  2966. }
  2967. //返回最后调用的图标的位置
  2968. return [top, left];
  2969. }
  2970. /**
  2971. * 桌面点击事件逻辑
  2972. *
  2973. * @param {element} 桌面元素
  2974. * @param {object} 上下相距的距离
  2975. * @param {object} 左右相距的距离
  2976. * @return {object} 命名空间
  2977. */
  2978. U.MD.D.click = function (el, obj) {
  2979. var _buttonnumber = event.button; //点击的按钮的事件值
  2980. var _userinfo = US.userInfo;
  2981. U.UF.EV.stopBubble(); //阻止向上冒泡
  2982. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2983. if (_buttonnumber < 2) {
  2984. //如果是click事件的处理
  2985. if (event.type == "click") {
  2986. //如果元素在mousemove事件中没有移动则出发click事件
  2987. if (!U.MD.D.I.IsDrag) {
  2988. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2989. U.alert("请先登录您的账号!");
  2990. setTimeout(() => {
  2991. U.MD.U.L.login();
  2992. }, 2000);
  2993. } else {
  2994. //打开应用处理
  2995. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2996. }
  2997. }
  2998. }
  2999. //如果是mouse事件的处理
  3000. else {
  3001. if (US.Config.type == '1') {
  3002. //拖动处理,添加拖动和拖动结束事件
  3003. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3004. }
  3005. }
  3006. U.MD.D.I.IsDrag = false;
  3007. }
  3008. }
  3009. /**
  3010. * 拖动的处理
  3011. *
  3012. */
  3013. U.MD.D.iconMove = function () {
  3014. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  3015. U.MD.D.I.IsDrag = true;
  3016. }
  3017. /**
  3018. * 拖动结束后,这里是定位处理,以网状的形式定位
  3019. *
  3020. * @param {element} 拖动的元素
  3021. * @return {object} 命名空间
  3022. */
  3023. U.MD.D.iconUp = function (el) {
  3024. var _top = 15,
  3025. _left = 20,
  3026. _margin,
  3027. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  3028. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  3029. if (_positioninfo["OT"] > 15) {
  3030. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  3031. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3032. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3033. }
  3034. if (_positioninfo["OL"] > 20) {
  3035. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  3036. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3037. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3038. }
  3039. //while循环判断么一个重叠的元素
  3040. do {
  3041. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  3042. _top = _positioninfo[0] + 95; //得到定位后的top
  3043. _left = _positioninfo[1]; //得到定位后的left
  3044. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3045. }
  3046. /**
  3047. * 判断拖动后图标是否重叠
  3048. *
  3049. * @param {element} 拖动的元素
  3050. * @param {element} 桌面所有的元素
  3051. * @param {array} 拖动元素的位置
  3052. ----------[0] 上 top
  3053. ----------[1] 左 left
  3054. * @return {object} 命名空间
  3055. */
  3056. U.MD.D.isOverlap = function (el, childs, postionarray) {
  3057. //循环所有的图标
  3058. for (var i = 0; i < childs.length; i++) {
  3059. //判断有没有和该图标诶子重叠的元素
  3060. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  3061. return childs[i]; //如果有返回
  3062. }
  3063. }
  3064. }
  3065. //#endregion
  3066. //#endregion
  3067. //#region 桌面应用
  3068. /**
  3069. * 打开应用
  3070. *
  3071. * @param {string} 类型
  3072. -----------------Disk 网盘系统
  3073. -----------------PDisk 学习系统网盘
  3074. -----------------Poto 图片
  3075. -----------------Video 视频
  3076. -----------------Music 音乐
  3077. -----------------Word word
  3078. -----------------Excel excel
  3079. -----------------Txt 记事本
  3080. -----------------PB 学习系统
  3081. -----------------Blog 朋友圈系统
  3082. -----------------FTP ftp系统
  3083. -----------------Group 好友群
  3084. -----------------SY 首页系统
  3085. -----------------Set 个人设置
  3086. -----------------XSet 系统设置
  3087. -----------------App 我们所有的app
  3088. -----------------BC c.1473.cn 平台
  3089. -----------------CWeb d.1473.cn 变成平台
  3090. -----------------其他的外联系统 我们统一用iframe打开
  3091. * @param {array} 类型
  3092. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  3093. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  3094. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  3095. 如果第一个参数为其他,则无第二个参数
  3096. * @returns {array}
  3097. */
  3098. window.addEventListener('message', function (e) { // 监听 message 事件
  3099. // alert(e.data.type);
  3100. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  3101. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  3102. //3是展示全部阶段 2学生 1老师 4专家
  3103. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  3104. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  3105. //3是展示全部阶段 2学生 1老师 4专家
  3106. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  3107. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  3108. //3是展示全部阶段 2学生 1老师 4专家
  3109. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  3110. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  3111. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  3112. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  3113. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  3114. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3115. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  3116. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3117. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  3118. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3119. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  3120. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3121. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  3122. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3123. //3是展示全部阶段 2学生 1老师 4专家
  3124. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  3125. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3126. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  3127. U.MD.D.I.selectUser();
  3128. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3129. var _formel = document.getElementById("study");
  3130. U.UF.F.windowZooming(_formel);
  3131. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3132. var _formel = document.getElementById("studyDetail");
  3133. U.UF.F.windowZooming(_formel);
  3134. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3135. var _formel = document.getElementById("studyDetail");
  3136. U.UF.F.windowZooming(_formel);
  3137. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3138. var _formel = document.getElementById("studentStudy");
  3139. U.UF.F.windowZooming(_formel);
  3140. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3141. // var _formel = document.getElementById("study");
  3142. //如果最大化了,那么就把他缩小
  3143. // if (_formel.ismaximize) {
  3144. // return;
  3145. // }
  3146. // U.UF.F.windowZooming(_formel);
  3147. // U.UF.F.topWindow(_formel);
  3148. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3149. // var _formel = document.getElementById("studyDetail");
  3150. //如果最大化了,那么就把他缩小
  3151. // if (_formel.ismaximize) {
  3152. // return;
  3153. // }
  3154. // U.UF.F.windowZooming(_formel);
  3155. // U.UF.F.topWindow(_formel);
  3156. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3157. // var _formel = document.getElementById("studentStudy");
  3158. // if (_formel.ismaximize) {
  3159. // return;
  3160. // }
  3161. // U.UF.F.windowZooming(_formel);
  3162. // U.UF.F.topWindow(_formel);
  3163. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3164. var _formel = document.getElementById("study");
  3165. // if (_formel.ismaximize) {
  3166. // return;
  3167. // }
  3168. // U.UF.F.windowZooming(_formel);
  3169. U.UF.F.topWindow(_formel);
  3170. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3171. var _formel = document.getElementById("studentIndex");
  3172. U.UF.F.windowZooming(_formel);
  3173. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3174. var _formel = document.getElementById("studyDetailS");
  3175. U.UF.F.windowZooming(_formel);
  3176. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3177. var _formel = document.getElementById("studioIndex");
  3178. U.UF.F.windowZooming(_formel);
  3179. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3180. var _formel = document.getElementById("studyDetailStudio");
  3181. U.UF.F.windowZooming(_formel);
  3182. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3183. var _formel = document.getElementById("studyDetailStudio");
  3184. U.UF.F.windowZooming(_formel);
  3185. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3186. var _formel = document.getElementById("studyDetailNT");
  3187. U.UF.F.windowZooming(_formel);
  3188. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3189. var _formel = document.getElementById("studyDetailS");
  3190. U.UF.F.windowZooming(_formel);
  3191. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3192. var _formel = document.getElementById("studyDetailS");
  3193. U.UF.F.topWindow(_formel);
  3194. } else if (e.data.tools && e.data.tools == "1") {
  3195. // U.MD.D.I.openApplication("whiteboard")
  3196. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3197. } else if (e.data.tools && e.data.tools == "2") {
  3198. U.MD.D.I.openApplication("note")
  3199. } else if (e.data.tools && e.data.tools == "3") {
  3200. // U.MD.D.I.openApplication("mind")
  3201. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3202. } else if (e.data.tools && e.data.tools == "4") {
  3203. U.MD.D.I.openApplication("investigation")
  3204. } else if (e.data.tools && e.data.tools == "6") {
  3205. // U.MD.D.I.openApplication("doc")
  3206. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3207. } else if (e.data.tools && e.data.tools == "7") {
  3208. // U.MD.D.I.openApplication("mindNetwork")
  3209. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3210. } else if (e.data.tools && e.data.tools == "8") {
  3211. U.MD.D.I.openApplication("library")
  3212. } else if (e.data.tools && e.data.tools == "17") {
  3213. U.MD.D.I.openApplication("stuLibrary")
  3214. } else if (e.data.tools && e.data.tools == "18") {
  3215. U.MD.D.I.openApplication("train")
  3216. } else if (e.data.tools && e.data.tools == "21") {
  3217. U.MD.D.I.openApplication("program")
  3218. } else if (e.data.tools && e.data.tools == "22") {
  3219. U.MD.D.I.openApplication("AIprogram2")
  3220. } else if (e.data.tools && e.data.tools == "23") {
  3221. U.MD.D.I.openApplication("Pythonprogram")
  3222. } else if (e.data.tools && e.data.tools == "24") {
  3223. U.MD.D.I.openApplication("AIprogram")
  3224. } else if (e.data.tools && e.data.tools == "25") {
  3225. U.MD.D.I.openApplication("sys")
  3226. } else if (e.data.tools && e.data.tools == "26") {
  3227. // U.MD.D.I.openApplication("courseDesign")
  3228. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3229. } else if (e.data.tools && e.data.tools == "31") {
  3230. U.MD.D.I.openApplication("netWorkPanel")
  3231. } else if (e.data.tools && e.data.tools == "32") {
  3232. U.MD.D.I.openApplication("codeEdit")
  3233. } else if (e.data.tools && e.data.tools == "57") {
  3234. U.MD.D.I.openApplication("CocoPi")
  3235. } else if (e.data.tools && e.data.tools == "63") {
  3236. U.MD.D.I.openApplication("Wood")
  3237. } else if (e.data.tools && e.data.tools == "58") {
  3238. U.MD.D.I.openApplication("car")
  3239. } else if (e.data.tools && e.data.tools == "59") {
  3240. U.MD.D.I.openApplication("lineSearch")
  3241. } else if (e.data.tools && e.data.tools == "60") {
  3242. U.MD.D.I.openApplication("deepLearning")
  3243. } else if (e.data.tools && e.data.tools == "61") {
  3244. U.MD.D.I.openApplication("allHistory")
  3245. } else if (e.data.tools && e.data.tools == "28") {
  3246. U.MD.D.I.openApplication("translation")
  3247. } else if (e.data.tools && e.data.tools == "37") {
  3248. U.MD.D.I.openApplication("mohe")
  3249. } else if (e.data.tools && e.data.tools == "38") {
  3250. U.MD.D.I.openApplication("24game")
  3251. } else if (e.data.tools && e.data.tools == "39") {
  3252. U.MD.D.I.openApplication("GeoGebra")
  3253. } else if (e.data.tools && e.data.tools == "43") {
  3254. U.MD.D.I.openApplication("studentEvaluate")
  3255. } else if (e.data.tools && e.data.tools == "44") {
  3256. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3257. } else if (e.data.tools && e.data.tools == "46") {
  3258. U.MD.D.I.openApplication("project")
  3259. } else if (e.data.tools && e.data.tools == "71") {
  3260. U.MD.D.I.openApplication("aigptCourse")
  3261. } else if (e.data.tools && e.data.tools == "1s") {
  3262. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3263. } else if (e.data.tools && e.data.tools == "3s") {
  3264. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3265. } else if (e.data.tools && e.data.tools == "6s") {
  3266. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3267. } else if (e.data.tools && e.data.tools == "1studio") {
  3268. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3269. } else if (e.data.tools && e.data.tools == "3studio") {
  3270. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3271. } else if (e.data.tools && e.data.tools == "6studio") {
  3272. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3273. } else if (e.data.tools && e.data.tools == "3y") {
  3274. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3275. } else if (e.data.tools && e.data.tools == "1y") {
  3276. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3277. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3278. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3279. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3280. U.MD.D.I.openApplication("AIAnalyse")
  3281. } else if (e.data.tools && e.data.tools == "1teacher") {
  3282. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3283. } else if (e.data.tools && e.data.tools == "3teacher") {
  3284. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3285. } else if (e.data.tools && e.data.tools == "7teacher") {
  3286. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3287. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3288. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3289. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3290. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3291. } else if (e.data.tools && e.data.tools == "1E") {
  3292. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3293. } else if (e.data.tools && e.data.tools == "3E") {
  3294. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3295. } else if (e.data.tools && e.data.tools == "57y") {
  3296. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3297. } else if (e.data.tools && e.data.tools == "57u") {
  3298. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3299. } else if (e.data.tools && e.data.tools == "57teacher") {
  3300. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3301. } else if (e.data.tools && e.data.tools == "64") {
  3302. U.MD.D.I.openApplication("AIChat")
  3303. } else if (e.data.tools && e.data.tools == "66") {
  3304. U.MD.D.I.openApplication("formulaEdi")
  3305. } else if (e.data.tools && e.data.tools == "67") {
  3306. U.MD.D.I.openApplication("molStr")
  3307. } else if (e.data.tools && e.data.tools == "68") {
  3308. U.MD.D.I.openApplication("timeAxis")
  3309. } else if (e.data.tools && e.data.tools == "openCourse") {
  3310. let _data = {
  3311. typea: e.data.typea || '',
  3312. typeb: e.data.typeb || '',
  3313. typed: e.data.typed || '',
  3314. }
  3315. U.MD.D.I.openInApplication("index", _data)
  3316. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3317. let _data = {
  3318. classid: e.data.classid || '',
  3319. }
  3320. U.MD.D.I.openInApplication("dataClass", _data)
  3321. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3322. let _data = {
  3323. cid: e.data.cid || '',
  3324. gid: e.data.gid || '',
  3325. }
  3326. U.MD.D.I.openInApplication("opencCscl", _data)
  3327. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3328. U.MD.D.I.openApplication("dataBoardTest")
  3329. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3330. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3331. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3332. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3333. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3334. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3335. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3336. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3337. }else if (e.data.tools && e.data.tools == "loginSz") {
  3338. U.MD.D.I.openInApplication("loginSz")
  3339. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3340. if($('#classroom_observation_board')[0]){
  3341. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  3342. }
  3343. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3344. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  3345. if($('#classroom_observation_ob_comment')[0]){
  3346. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  3347. }
  3348. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  3349. }
  3350. });
  3351. U.MD.D.I.selectUser = function () {
  3352. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3353. if (res.value[0].length > 0) {
  3354. US.userInfo = res.value[0][0];
  3355. $(".userName")[0].innerHTML = US.userInfo.username;
  3356. }
  3357. }, [], { "type": "GET", "withCredentials": true });
  3358. }
  3359. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3360. var _userinfo = US.userInfo, //登录用户信息
  3361. _userid = US.userInfo.userid, //登录用户id
  3362. _oid = _userinfo.organizeid,
  3363. _type = US.userInfo.type,
  3364. _org = US.userInfo.org,
  3365. _role = US.userInfo.role,
  3366. _classId = US.userInfo.classid;
  3367. if (_type == 4) {
  3368. tType = 4
  3369. }
  3370. switch (str) {
  3371. case "studyDetailNT": //无终端模式
  3372. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3373. setTimeout(() => {
  3374. U.MD.U.L.login();
  3375. }, 2000);
  3376. } else {
  3377. _formdiv = new U.UF.UI.form(
  3378. "课程详情",
  3379. $$("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 }), {
  3380. "id": "studyDetailNT",
  3381. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. _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); } }
  3387. break;
  3388. }
  3389. case "studyDetail":
  3390. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3391. setTimeout(() => {
  3392. U.MD.U.L.login();
  3393. }, 2000);
  3394. } else {
  3395. _formdiv = new U.UF.UI.form(
  3396. "课程详情",
  3397. $$("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 }), {
  3398. "id": "studyDetail",
  3399. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3400. "onresize": function () { }
  3401. }, {
  3402. closecallback: function () { }
  3403. }, { "style": { "height": "36px" } }).form; //创建窗体
  3404. _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); } }
  3405. break;
  3406. }
  3407. case "studyDetailTrain":
  3408. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3409. setTimeout(() => {
  3410. U.MD.U.L.login();
  3411. }, 2000);
  3412. } else {
  3413. _formdiv = new U.UF.UI.form(
  3414. "培训详情",
  3415. $$("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 }), {
  3416. "id": "studyDetailTrain",
  3417. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3418. "onresize": function () { }
  3419. }, {
  3420. closecallback: function () { }
  3421. }, { "style": { "height": "36px" } }).form; //创建窗体
  3422. _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); } }
  3423. break;
  3424. }
  3425. case "studyDetailS":
  3426. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3427. setTimeout(() => {
  3428. U.MD.U.L.login();
  3429. }, 2000);
  3430. } else {
  3431. _formdiv = new U.UF.UI.form(
  3432. "项目详情",
  3433. $$("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 }), {
  3434. "id": "studyDetailS",
  3435. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3436. "onresize": function () { }
  3437. }, {
  3438. closecallback: function () { }
  3439. }, { "style": { "height": "36px" } }).form; //创建窗体
  3440. _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); } }
  3441. break;
  3442. }
  3443. case "studyDetailStudio":
  3444. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3445. setTimeout(() => {
  3446. U.MD.U.L.login();
  3447. }, 2000);
  3448. } else {
  3449. _formdiv = new U.UF.UI.form(
  3450. "工作详情",
  3451. $$("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 }), {
  3452. "id": "studyDetailStudio",
  3453. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3454. "onresize": function () { }
  3455. }, {
  3456. closecallback: function () { }
  3457. }, { "style": { "height": "36px" } }).form; //创建窗体
  3458. _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); } }
  3459. break;
  3460. }
  3461. case "studyDetailS5":
  3462. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3463. setTimeout(() => {
  3464. U.MD.U.L.login();
  3465. }, 2000);
  3466. } else {
  3467. _formdiv = new U.UF.UI.form(
  3468. "项目详情",
  3469. $$("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 }), {
  3470. "id": "studyDetailS",
  3471. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3472. "onresize": function () { }
  3473. }, {
  3474. closecallback: function () { }
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. _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); } }
  3477. break;
  3478. }
  3479. case "studyDetailGM":
  3480. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3481. setTimeout(() => {
  3482. U.MD.U.L.login();
  3483. }, 2000);
  3484. } else {
  3485. _formdiv = new U.UF.UI.form(
  3486. "课程详情",
  3487. $$("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 }), {
  3488. "id": "studyDetail",
  3489. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3490. "onresize": function () { }
  3491. }, {
  3492. closecallback: function () { }
  3493. }, { "style": { "height": "36px" } }).form; //创建窗体
  3494. _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); } }
  3495. break;
  3496. }
  3497. case "hanUrl":
  3498. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3499. setTimeout(() => {
  3500. U.MD.U.L.login();
  3501. }, 2000);
  3502. } else {
  3503. _formdiv = new U.UF.UI.form(
  3504. "汉字宫",
  3505. $$("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" }), {
  3506. "id": "hanUrl",
  3507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3508. "onresize": function () { }
  3509. }, {
  3510. closecallback: function () { }
  3511. }, { "style": { "height": "36px" } }).form; //创建窗体
  3512. _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); } }
  3513. break;
  3514. }
  3515. case "index":
  3516. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3517. setTimeout(() => {
  3518. U.MD.U.L.login();
  3519. }, 2000);
  3520. } else {
  3521. _formdiv = new U.UF.UI.form(
  3522. "课程中心",
  3523. $$("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 }), {
  3524. "id": "study",
  3525. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3526. "onresize": function () { }
  3527. }, {
  3528. closecallback: function () { }
  3529. }, { "style": { "height": "36px" } }).form; //创建窗体
  3530. _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); } }
  3531. break;
  3532. }
  3533. case "dataClass":
  3534. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3535. setTimeout(() => {
  3536. U.MD.U.L.login();
  3537. }, 2000);
  3538. } else {
  3539. _formdiv = new U.UF.UI.form(
  3540. "数据报告",
  3541. $$("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 }), {
  3542. "id": "dataClass",
  3543. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3544. "onresize": function () { }
  3545. }, {
  3546. closecallback: function () { }
  3547. }, { "style": { "height": "36px" } }).form; //创建窗体
  3548. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "数据报告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3549. break;
  3550. }
  3551. case "opencCscl":
  3552. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3553. setTimeout(() => {
  3554. U.MD.U.L.login();
  3555. }, 2000);
  3556. } else {
  3557. _formdiv = new U.UF.UI.form(
  3558. "协同建构",
  3559. $$("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 }), {
  3560. "id": "futureClass",
  3561. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3562. "onresize": function () { }
  3563. }, {
  3564. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3565. }, { "style": { "height": "36px" } }).form; //创建窗体
  3566. _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); } }
  3567. break;
  3568. }
  3569. case "openCourseUpdate":
  3570. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3571. setTimeout(() => {
  3572. U.MD.U.L.login();
  3573. }, 2000);
  3574. } else {
  3575. _formdiv = new U.UF.UI.form(
  3576. "课程管理",
  3577. $$("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 }), {
  3578. "id": "openCourseUpdate",
  3579. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3580. "onresize": function () { }
  3581. }, {
  3582. closecallback: function () { }
  3583. }, { "style": { "height": "36px" } }).form; //创建窗体
  3584. break;
  3585. }
  3586. case "openNewCourseUpdate":
  3587. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3588. setTimeout(() => {
  3589. U.MD.U.L.login();
  3590. }, 2000);
  3591. } else {
  3592. _formdiv = new U.UF.UI.form(
  3593. "课程管理",
  3594. $$("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 }), {
  3595. "id": "openCourseUpdate",
  3596. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3597. "onresize": function () { }
  3598. }, {
  3599. closecallback: function () { }
  3600. }, { "style": { "height": "36px" } }).form; //创建窗体
  3601. break;
  3602. }
  3603. case "openCourseEUpdate":
  3604. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3605. setTimeout(() => {
  3606. U.MD.U.L.login();
  3607. }, 2000);
  3608. } else {
  3609. _formdiv = new U.UF.UI.form(
  3610. "课程管理",
  3611. $$("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 }), {
  3612. "id": "openCourseUpdate",
  3613. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3614. "onresize": function () { }
  3615. }, {
  3616. closecallback: function () { }
  3617. }, { "style": { "height": "36px" } }).form; //创建窗体
  3618. break;
  3619. }
  3620. case "openCourseNewUpdate":
  3621. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3622. setTimeout(() => {
  3623. U.MD.U.L.login();
  3624. }, 2000);
  3625. } else {
  3626. _formdiv = new U.UF.UI.form(
  3627. "课程管理",
  3628. $$("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 }), {
  3629. "id": "openCourseUpdate",
  3630. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3631. "onresize": function () { }
  3632. }, {
  3633. closecallback: function () { }
  3634. }, { "style": { "height": "36px" } }).form; //创建窗体
  3635. break;
  3636. }
  3637. case "inviteLoginSz":
  3638. _formdiv = new U.UF.UI.form(
  3639. "随机码登录",
  3640. $$("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 }), {
  3641. "id": "loginSz",
  3642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3643. "onresize": function () { }
  3644. }, {
  3645. closecallback: function () { }
  3646. }, { "style": { "height": "36px" } }).form; //创建窗体
  3647. break;
  3648. case "loginSz":
  3649. _formdiv = new U.UF.UI.form(
  3650. "教师登录",
  3651. $$("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" }), {
  3652. "id": "loginSz",
  3653. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. break;
  3659. case "teacher":
  3660. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3661. setTimeout(() => {
  3662. U.MD.U.L.login();
  3663. }, 2000);
  3664. } else {
  3665. _formdiv = new U.UF.UI.form(
  3666. "教师管理",
  3667. $$("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 }), {
  3668. "id": "teacher",
  3669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3670. "onresize": function () { }
  3671. }, {
  3672. closecallback: function () { }
  3673. }, { "style": { "height": "36px" } }).form; //创建窗体
  3674. break;
  3675. }
  3676. case "dataBoardSZArea":
  3677. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3678. setTimeout(() => {
  3679. U.MD.U.L.login();
  3680. }, 2000);
  3681. } else {
  3682. _formdiv = new U.UF.UI.form(
  3683. "综合数据看板",
  3684. $$("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 }), {
  3685. "id": "dataBoardSZArea",
  3686. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3687. "onresize": function () { }
  3688. }, {
  3689. closecallback: function () { }
  3690. }, { "style": { "height": "36px" } }).form; //创建窗体
  3691. break;
  3692. }
  3693. case "dataBoardSZCity":
  3694. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3695. setTimeout(() => {
  3696. U.MD.U.L.login();
  3697. }, 2000);
  3698. } else {
  3699. _formdiv = new U.UF.UI.form(
  3700. "综合数据看板",
  3701. $$("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 }), {
  3702. "id": "dataBoardSZCity",
  3703. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3704. "onresize": function () { }
  3705. }, {
  3706. closecallback: function () { }
  3707. }, { "style": { "height": "36px" } }).form; //创建窗体
  3708. break;
  3709. }
  3710. case "classroom_observation_board":
  3711. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3712. setTimeout(() => {
  3713. U.MD.U.L.login();
  3714. }, 2000);
  3715. } else {
  3716. _formdiv = new U.UF.UI.form(
  3717. "课堂观察",
  3718. $$("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 }), {
  3719. "id": "classroom_observation_board",
  3720. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3721. "onresize": function () { }
  3722. }, {
  3723. closecallback: function () { }
  3724. }, { "style": { "height": "36px" } }).form; //创建窗体
  3725. break;
  3726. }
  3727. case "classroom_observation_ob_comment":
  3728. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3729. setTimeout(() => {
  3730. U.MD.U.L.login();
  3731. }, 2000);
  3732. } else {
  3733. _formdiv = new U.UF.UI.form(
  3734. "课堂审核",
  3735. $$("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_ob_comment?tid="+data }), {
  3736. "id": "classroom_observation_ob_comment",
  3737. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3738. "onresize": function () { }
  3739. }, {
  3740. closecallback: function () { }
  3741. }, { "style": { "height": "36px" } }).form; //创建窗体
  3742. break;
  3743. }
  3744. }
  3745. }
  3746. U.MD.D.I.openApplication = function (str, obj, info) {
  3747. obj = obj || {};
  3748. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3749. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3750. _userinfo = US.userInfo, //登录用户信息
  3751. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3752. _oid = obj.organizeid || _userinfo.organizeid,
  3753. _type = US.userInfo.type,
  3754. _org = US.userInfo.org,
  3755. _role = US.userInfo.role,
  3756. _classId = US.userInfo.classid,
  3757. _TscreenType = 1
  3758. _screenType = 2,
  3759. _SscreenType = 3;
  3760. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3761. return;
  3762. }
  3763. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3764. switch (str) {
  3765. case "studnetProject": //好友打开
  3766. _formdiv = new U.UF.UI.form(
  3767. "我的项目",
  3768. $$("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 }), {
  3769. "id": "studnetProject",
  3770. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3771. "onresize": function () { }
  3772. }, {
  3773. closecallback: function () { }
  3774. }, { "style": { "height": "36px" } }).form; //创建窗体
  3775. _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); } }
  3776. break;
  3777. case "studentEvaluate": //好友打开
  3778. _formdiv = new U.UF.UI.form(
  3779. "我的评价",
  3780. $$("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 }), {
  3781. "id": "studentEvaluate",
  3782. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function () { }
  3784. }, {
  3785. closecallback: function () { }
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _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); } }
  3788. break;
  3789. case "my":
  3790. _formdiv = new U.UF.UI.form(
  3791. "我的资料",
  3792. $$("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 }), {
  3793. "id": "my",
  3794. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3795. "onresize": function () { }
  3796. }, {
  3797. closecallback: function () { }
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _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); } }
  3800. break;
  3801. case "program":
  3802. _formdiv = new U.UF.UI.form(
  3803. "编程平台",
  3804. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3805. "id": "program",
  3806. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function () { }
  3808. }, {
  3809. closecallback: function () { }
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _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); } }
  3812. break;
  3813. case "library":
  3814. _formdiv = new U.UF.UI.form(
  3815. "素材库",
  3816. $$("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 }), {
  3817. "id": "library",
  3818. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3819. "onresize": function () { }
  3820. }, {
  3821. closecallback: function () { }
  3822. }, { "style": { "height": "36px" } }).form; //创建窗体
  3823. _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); } }
  3824. break;
  3825. case "whiteboard":
  3826. _formdiv = new U.UF.UI.form(
  3827. "电子白板",
  3828. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  3829. "id": "whiteboard",
  3830. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3831. "onresize": function () { }
  3832. }, {
  3833. closecallback: function () { }
  3834. }, { "style": { "height": "36px" } }).form; //创建窗体
  3835. _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); } }
  3836. break;
  3837. case "investigation":
  3838. _formdiv = new U.UF.UI.form(
  3839. "问卷调查",
  3840. $$("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 }), {
  3841. "id": "investigation",
  3842. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3843. "onresize": function () { }
  3844. }, {
  3845. closecallback: function () { }
  3846. }, { "style": { "height": "36px" } }).form; //创建窗体
  3847. _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); } }
  3848. break;
  3849. case "note":
  3850. _formdiv = new U.UF.UI.form(
  3851. "便签分类",
  3852. $$("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 }), {
  3853. "id": "note",
  3854. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3855. "onresize": function () { }
  3856. }, {
  3857. closecallback: function () { }
  3858. }, { "style": { "height": "36px" } }).form; //创建窗体
  3859. _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); } }
  3860. break;
  3861. // case "score":
  3862. // _formdiv = new U.UF.UI.form(
  3863. // "量规评分",
  3864. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3865. // "id": "score",
  3866. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3867. // "onresize": function() {}
  3868. // }, {
  3869. // closecallback: function() {}
  3870. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3871. // _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); } }
  3872. // break;
  3873. case "mind":
  3874. _formdiv = new U.UF.UI.form(
  3875. "思维导图",
  3876. $$("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"
  3877. "id": "mind",
  3878. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3879. "onresize": function () { }
  3880. }, {
  3881. closecallback: function () { }
  3882. }, { "style": { "height": "36px" } }).form; //创建窗体
  3883. _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); } }
  3884. break;
  3885. case "doc":
  3886. // U.MD.D.I.isRoom();
  3887. _formdiv = new U.UF.UI.form(
  3888. "协同文档",
  3889. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3890. "id": "doc",
  3891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3892. "onresize": function () { }
  3893. }, {
  3894. closecallback: function () { }
  3895. }, { "style": { "height": "36px" } }).form; //创建窗体
  3896. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3897. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3898. // })
  3899. _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); } }
  3900. break;
  3901. case "studentStudy":
  3902. _formdiv = new U.UF.UI.form(
  3903. "课程中心",
  3904. $$("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
  3905. "id": "studentStudy",
  3906. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3912. break;
  3913. case "train": //好友打开
  3914. _formdiv = new U.UF.UI.form(
  3915. "训练平台",
  3916. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3917. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3924. break;
  3925. case "mindNetwork": //好友打开
  3926. _formdiv = new U.UF.UI.form(
  3927. "思维网格",
  3928. $$("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 }), {
  3929. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3936. break;
  3937. case "studentClassRoom": //好友打开
  3938. _formdiv = new U.UF.UI.form(
  3939. "实时课堂",
  3940. $$("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 }), {
  3941. "id": "studentClassRoom",
  3942. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3943. "onresize": function () { }
  3944. }, {
  3945. closecallback: function () { }
  3946. }, { "style": { "height": "36px" } }).form; //创建窗体
  3947. _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); } }
  3948. setTimeout(() => {
  3949. U.UF.F.windowZooming(_formdiv)
  3950. }, 0);
  3951. break;
  3952. }
  3953. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3954. switch (str) {
  3955. case "studnetProject": //好友打开
  3956. _formdiv = new U.UF.UI.form(
  3957. "我的项目",
  3958. $$("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 }), {
  3959. "id": "studnetProject",
  3960. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3961. "onresize": function () { }
  3962. }, {
  3963. closecallback: function () { }
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _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); } }
  3966. break;
  3967. case "studentEvaluate": //好友打开
  3968. _formdiv = new U.UF.UI.form(
  3969. "我的评价",
  3970. $$("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 }), {
  3971. "id": "studentEvaluate",
  3972. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function () { }
  3974. }, {
  3975. closecallback: function () { }
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _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); } }
  3978. break;
  3979. case "my":
  3980. _formdiv = new U.UF.UI.form(
  3981. "我的资料",
  3982. $$("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 }), {
  3983. "id": "my",
  3984. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function () { }
  3986. }, {
  3987. closecallback: function () { }
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _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); } }
  3990. break;
  3991. case "program":
  3992. _formdiv = new U.UF.UI.form(
  3993. "编程平台",
  3994. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3995. "id": "program",
  3996. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function () { }
  3998. }, {
  3999. closecallback: function () { }
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _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); } }
  4002. break;
  4003. case "library":
  4004. _formdiv = new U.UF.UI.form(
  4005. "素材库",
  4006. $$("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 }), {
  4007. "id": "library",
  4008. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4009. "onresize": function () { }
  4010. }, {
  4011. closecallback: function () { }
  4012. }, { "style": { "height": "36px" } }).form; //创建窗体
  4013. _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); } }
  4014. break;
  4015. case "whiteboard":
  4016. _formdiv = new U.UF.UI.form(
  4017. "电子白板",
  4018. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4019. "id": "whiteboard",
  4020. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4021. "onresize": function () { }
  4022. }, {
  4023. closecallback: function () { }
  4024. }, { "style": { "height": "36px" } }).form; //创建窗体
  4025. _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); } }
  4026. break;
  4027. case "investigation":
  4028. _formdiv = new U.UF.UI.form(
  4029. "问卷调查",
  4030. $$("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 }), {
  4031. "id": "investigation",
  4032. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4033. "onresize": function () { }
  4034. }, {
  4035. closecallback: function () { }
  4036. }, { "style": { "height": "36px" } }).form; //创建窗体
  4037. _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); } }
  4038. break;
  4039. case "note":
  4040. _formdiv = new U.UF.UI.form(
  4041. "便签分类",
  4042. $$("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 }), {
  4043. "id": "note",
  4044. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4045. "onresize": function () { }
  4046. }, {
  4047. closecallback: function () { }
  4048. }, { "style": { "height": "36px" } }).form; //创建窗体
  4049. _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); } }
  4050. break;
  4051. // case "score":
  4052. // _formdiv = new U.UF.UI.form(
  4053. // "量规评分",
  4054. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4055. // "id": "score",
  4056. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4057. // "onresize": function() {}
  4058. // }, {
  4059. // closecallback: function() {}
  4060. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4061. // _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); } }
  4062. // break;
  4063. case "mind":
  4064. _formdiv = new U.UF.UI.form(
  4065. "思维导图",
  4066. $$("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"
  4067. "id": "mind",
  4068. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4069. "onresize": function () { }
  4070. }, {
  4071. closecallback: function () { }
  4072. }, { "style": { "height": "36px" } }).form; //创建窗体
  4073. _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); } }
  4074. break;
  4075. case "doc":
  4076. // U.MD.D.I.isRoom();
  4077. _formdiv = new U.UF.UI.form(
  4078. "协同文档",
  4079. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4080. "id": "doc",
  4081. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4082. "onresize": function () { }
  4083. }, {
  4084. closecallback: function () { }
  4085. }, { "style": { "height": "36px" } }).form; //创建窗体
  4086. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4087. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4088. })
  4089. _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); } }
  4090. break;
  4091. case "train": //好友打开
  4092. _formdiv = new U.UF.UI.form(
  4093. "训练平台",
  4094. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4095. "id": "train",
  4096. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4097. "onresize": function () { }
  4098. }, {
  4099. closecallback: function () { }
  4100. }, { "style": { "height": "36px" } }).form; //创建窗体
  4101. _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); } }
  4102. break;
  4103. case "studentStudy":
  4104. _formdiv = new U.UF.UI.form(
  4105. "课程中心",
  4106. $$("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
  4107. "id": "studentStudy",
  4108. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4109. "onresize": function () { }
  4110. }, {
  4111. closecallback: function () { }
  4112. }, { "style": { "height": "36px" } }).form; //创建窗体
  4113. _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); } }
  4114. break;
  4115. case "mindNetwork": //好友打开
  4116. _formdiv = new U.UF.UI.form(
  4117. "思维网格",
  4118. $$("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 }), {
  4119. "id": "mindNetwork",
  4120. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4121. "onresize": function () { }
  4122. }, {
  4123. closecallback: function () { }
  4124. }, { "style": { "height": "36px" } }).form; //创建窗体
  4125. _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); } }
  4126. break;
  4127. case "studentClassRoom": //好友打开
  4128. _formdiv = new U.UF.UI.form(
  4129. "实时课堂",
  4130. $$("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 }), {
  4131. "id": "studentClassRoom",
  4132. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4133. "onresize": function () { }
  4134. }, {
  4135. closecallback: function () { }
  4136. }, { "style": { "height": "36px" } }).form; //创建窗体
  4137. _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); } }
  4138. setTimeout(() => {
  4139. U.UF.F.windowZooming(_formdiv)
  4140. }, 0);
  4141. break;
  4142. }
  4143. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4144. //选择应用处理
  4145. switch (str) {
  4146. case "project": //好友打开
  4147. _formdiv = new U.UF.UI.form(
  4148. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  4149. $$("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 }), {
  4150. "id": "project",
  4151. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4152. "onresize": function () { }
  4153. }, {
  4154. closecallback: function () { }
  4155. }, { "style": { "height": "36px" } }).form; //创建窗体
  4156. _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); } }
  4157. break;
  4158. case "student":
  4159. _formdiv = new U.UF.UI.form(
  4160. "学生管理",
  4161. $$("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 }), {
  4162. "id": "student",
  4163. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4164. "onresize": function () { }
  4165. }, {
  4166. closecallback: function () { }
  4167. }, { "style": { "height": "36px" } }).form; //创建窗体
  4168. _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); } }
  4169. break;
  4170. case "evaluate":
  4171. _formdiv = new U.UF.UI.form(
  4172. "学生评价",
  4173. $$("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 }), {
  4174. "id": "evaluate",
  4175. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4176. "onresize": function () { }
  4177. }, {
  4178. closecallback: function () { }
  4179. }, { "style": { "height": "36px" } }).form; //创建窗体
  4180. _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); } }
  4181. break;
  4182. case "sys":
  4183. _formdiv = new U.UF.UI.form(
  4184. "目标管理",
  4185. $$("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 }), {
  4186. "id": "sys",
  4187. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4188. "onresize": function () { }
  4189. }, {
  4190. closecallback: function () { }
  4191. }, { "style": { "height": "36px" } }).form; //创建窗体
  4192. _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); } }
  4193. break;
  4194. case "courseDesign":
  4195. _formdiv = new U.UF.UI.form(
  4196. "项目设计",
  4197. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4198. "id": "courseDesign",
  4199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, { "style": { "height": "36px" } }).form; //创建窗体
  4204. _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); } }
  4205. break;
  4206. case "program":
  4207. _formdiv = new U.UF.UI.form(
  4208. "编程平台",
  4209. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4210. "id": "program",
  4211. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4212. "onresize": function () { }
  4213. }, {
  4214. closecallback: function () { }
  4215. }, { "style": { "height": "36px" } }).form; //创建窗体
  4216. _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); } }
  4217. break;
  4218. case "class":
  4219. _formdiv = new U.UF.UI.form(
  4220. "班级管理",
  4221. $$("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 }), {
  4222. "id": "class",
  4223. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4224. "onresize": function () { }
  4225. }, {
  4226. closecallback: function () { }
  4227. }, { "style": { "height": "36px" } }).form; //创建窗体
  4228. _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); } }
  4229. break;
  4230. case "Grade":
  4231. _formdiv = new U.UF.UI.form(
  4232. "年级管理",
  4233. $$("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 }), {
  4234. "id": "Grade",
  4235. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4236. "onresize": function () { }
  4237. }, {
  4238. closecallback: function () { }
  4239. }, { "style": { "height": "36px" } }).form; //创建窗体
  4240. _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); } }
  4241. break;
  4242. case "teacherOffice":
  4243. _formdiv = new U.UF.UI.form(
  4244. "教研室",
  4245. $$("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 }), {
  4246. "id": "teacherOffice",
  4247. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4248. "onresize": function () { }
  4249. }, {
  4250. closecallback: function () { }
  4251. }, { "style": { "height": "36px" } }).form; //创建窗体
  4252. _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); } }
  4253. break;
  4254. case "my":
  4255. _formdiv = new U.UF.UI.form(
  4256. "我的资料",
  4257. $$("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 }), {
  4258. "id": "my",
  4259. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4260. "onresize": function () { }
  4261. }, {
  4262. closecallback: function () { }
  4263. }, { "style": { "height": "36px" } }).form; //创建窗体
  4264. _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); } }
  4265. break;
  4266. case "notice":
  4267. _formdiv = new U.UF.UI.form(
  4268. "通知公告",
  4269. $$("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 }), {
  4270. "id": "notice",
  4271. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4272. "onresize": function () { }
  4273. }, {
  4274. closecallback: function () { }
  4275. }, { "style": { "height": "36px" } }).form; //创建窗体
  4276. _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); } }
  4277. break;
  4278. case "library":
  4279. _formdiv = new U.UF.UI.form(
  4280. "素材库",
  4281. $$("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 }), {
  4282. "id": "library",
  4283. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4284. "onresize": function () { }
  4285. }, {
  4286. closecallback: function () { }
  4287. }, { "style": { "height": "36px" } }).form; //创建窗体
  4288. _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); } }
  4289. break;
  4290. case "whiteboard":
  4291. _formdiv = new U.UF.UI.form(
  4292. "电子白板",
  4293. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4294. "id": "whiteboard",
  4295. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4296. "onresize": function () { }
  4297. }, {
  4298. closecallback: function () { }
  4299. }, { "style": { "height": "36px" } }).form; //创建窗体
  4300. _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); } }
  4301. break;
  4302. case "investigation":
  4303. _formdiv = new U.UF.UI.form(
  4304. "问卷调查",
  4305. $$("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 }), {
  4306. "id": "investigation",
  4307. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4308. "onresize": function () { }
  4309. }, {
  4310. closecallback: function () { }
  4311. }, { "style": { "height": "36px" } }).form; //创建窗体
  4312. _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); } }
  4313. break;
  4314. case "note":
  4315. _formdiv = new U.UF.UI.form(
  4316. "便签分类",
  4317. $$("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 }), {
  4318. "id": "note",
  4319. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4320. "onresize": function () { }
  4321. }, {
  4322. closecallback: function () { }
  4323. }, { "style": { "height": "36px" } }).form; //创建窗体
  4324. _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); } }
  4325. break;
  4326. // case "score":
  4327. // _formdiv = new U.UF.UI.form(
  4328. // "量规评分",
  4329. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4330. // "id": "score",
  4331. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4332. // "onresize": function() {}
  4333. // }, {
  4334. // closecallback: function() {}
  4335. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4336. // _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); } }
  4337. // break;
  4338. case "mind":
  4339. _formdiv = new U.UF.UI.form(
  4340. "思维导图",
  4341. $$("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"
  4342. "id": "mind",
  4343. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4344. "onresize": function () { }
  4345. }, {
  4346. closecallback: function () { }
  4347. }, { "style": { "height": "36px" } }).form; //创建窗体
  4348. _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); } }
  4349. break;
  4350. case "doc":
  4351. // U.MD.D.I.isRoom();
  4352. _formdiv = new U.UF.UI.form(
  4353. "协同文档",
  4354. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4355. "id": "doc",
  4356. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4357. "onresize": function () { }
  4358. }, {
  4359. closecallback: function () { }
  4360. }, { "style": { "height": "36px" } }).form; //创建窗体
  4361. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4362. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4363. })
  4364. _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); } }
  4365. break;
  4366. case "study":
  4367. _formdiv = new U.UF.UI.form(
  4368. "课程中心",
  4369. $$("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
  4370. "id": "study",
  4371. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4377. break;
  4378. case "mindNetwork": //好友打开
  4379. _formdiv = new U.UF.UI.form(
  4380. "思维网格",
  4381. $$("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 }), {
  4382. "id": "mindNetwork",
  4383. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4384. "onresize": function () { }
  4385. }, {
  4386. closecallback: function () { }
  4387. }, { "style": { "height": "36px" } }).form; //创建窗体
  4388. _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); } }
  4389. break;
  4390. case "train": //好友打开
  4391. _formdiv = new U.UF.UI.form(
  4392. "训练平台",
  4393. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4394. "id": "mindNetwork",
  4395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4396. "onresize": function () { }
  4397. }, {
  4398. closecallback: function () { }
  4399. }, { "style": { "height": "36px" } }).form; //创建窗体
  4400. _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); } }
  4401. break;
  4402. case "teacherClassRoom": //好友打开
  4403. _formdiv = new U.UF.UI.form(
  4404. "实时课堂",
  4405. $$("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 }), {
  4406. "id": "teacherClassRoom",
  4407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4408. "onresize": function () { }
  4409. }, {
  4410. closecallback: function () { }
  4411. }, { "style": { "height": "36px" } }).form; //创建窗体
  4412. _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); } }
  4413. setTimeout(() => {
  4414. U.UF.F.windowZooming(_formdiv)
  4415. }, 0);
  4416. break;
  4417. }
  4418. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4419. switch (str) {
  4420. case "project": //好友打开
  4421. _formdiv = new U.UF.UI.form(
  4422. "课程管理",
  4423. $$("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 }), {
  4424. "id": "project",
  4425. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4426. "onresize": function () { }
  4427. }, {
  4428. closecallback: function () { }
  4429. }, { "style": { "height": "36px" } }).form; //创建窗体
  4430. _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); } }
  4431. break;
  4432. case "evaluate":
  4433. _formdiv = new U.UF.UI.form(
  4434. "学生评价",
  4435. $$("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 }), {
  4436. "id": "evaluate",
  4437. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4438. "onresize": function () { }
  4439. }, {
  4440. closecallback: function () { }
  4441. }, { "style": { "height": "36px" } }).form; //创建窗体
  4442. _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); } }
  4443. break;
  4444. case "notice":
  4445. _formdiv = new U.UF.UI.form(
  4446. "通知公告",
  4447. $$("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 }), {
  4448. "id": "notice",
  4449. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4450. "onresize": function () { }
  4451. }, {
  4452. closecallback: function () { }
  4453. }, { "style": { "height": "36px" } }).form; //创建窗体
  4454. _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); } }
  4455. break;
  4456. case "stuLibrary":
  4457. _formdiv = new U.UF.UI.form(
  4458. "学习资料",
  4459. $$("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 }), {
  4460. "id": "stuLibrary",
  4461. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4462. "onresize": function () { }
  4463. }, {
  4464. closecallback: function () { }
  4465. }, { "style": { "height": "36px" } }).form; //创建窗体
  4466. _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); } }
  4467. break;
  4468. case "program":
  4469. _formdiv = new U.UF.UI.form(
  4470. "编程平台",
  4471. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4472. "id": "program",
  4473. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4474. "onresize": function () { }
  4475. }, {
  4476. closecallback: function () { }
  4477. }, { "style": { "height": "36px" } }).form; //创建窗体
  4478. _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); } }
  4479. break;
  4480. case "whiteboard":
  4481. _formdiv = new U.UF.UI.form(
  4482. "电子白板",
  4483. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4484. "id": "whiteboard",
  4485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4486. "onresize": function () { }
  4487. }, {
  4488. closecallback: function () { }
  4489. }, { "style": { "height": "36px" } }).form; //创建窗体
  4490. _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); } }
  4491. break;
  4492. case "investigation":
  4493. _formdiv = new U.UF.UI.form(
  4494. "问卷调查",
  4495. $$("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 }), {
  4496. "id": "investigation",
  4497. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4498. "onresize": function () { }
  4499. }, {
  4500. closecallback: function () { }
  4501. }, { "style": { "height": "36px" } }).form; //创建窗体
  4502. _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); } }
  4503. break;
  4504. case "mind":
  4505. _formdiv = new U.UF.UI.form(
  4506. "思维导图",
  4507. $$("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"
  4508. "id": "mind",
  4509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4510. "onresize": function () { }
  4511. }, {
  4512. closecallback: function () { }
  4513. }, { "style": { "height": "36px" } }).form; //创建窗体
  4514. _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); } }
  4515. break;
  4516. case "doc":
  4517. // U.MD.D.I.isRoom();
  4518. _formdiv = new U.UF.UI.form(
  4519. "协同文档",
  4520. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4521. "id": "doc",
  4522. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4523. "onresize": function () { }
  4524. }, {
  4525. closecallback: function () { }
  4526. }, { "style": { "height": "36px" } }).form; //创建窗体
  4527. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4528. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4529. })
  4530. _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); } }
  4531. break;
  4532. case "study":
  4533. _formdiv = new U.UF.UI.form(
  4534. "课程中心",
  4535. $$("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
  4536. "id": "study",
  4537. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4538. "onresize": function () { }
  4539. }, {
  4540. closecallback: function () { }
  4541. }, { "style": { "height": "36px" } }).form; //创建窗体
  4542. _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); } }
  4543. break;
  4544. case "mindNetwork": //好友打开
  4545. _formdiv = new U.UF.UI.form(
  4546. "思维网格",
  4547. $$("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 }), {
  4548. "id": "mindNetwork",
  4549. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4550. "onresize": function () { }
  4551. }, {
  4552. closecallback: function () { }
  4553. }, { "style": { "height": "36px" } }).form; //创建窗体
  4554. _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); } }
  4555. break;
  4556. case "train": //好友打开
  4557. _formdiv = new U.UF.UI.form(
  4558. "训练平台",
  4559. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4560. "id": "train",
  4561. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4562. "onresize": function () { }
  4563. }, {
  4564. closecallback: function () { }
  4565. }, { "style": { "height": "36px" } }).form; //创建窗体
  4566. _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); } }
  4567. break;
  4568. case "sys":
  4569. _formdiv = new U.UF.UI.form(
  4570. "目标管理",
  4571. $$("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 }), {
  4572. "id": "sys",
  4573. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4574. "onresize": function () { }
  4575. }, {
  4576. closecallback: function () { }
  4577. }, { "style": { "height": "36px" } }).form; //创建窗体
  4578. _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); } }
  4579. break;
  4580. case "courseDesign":
  4581. _formdiv = new U.UF.UI.form(
  4582. "项目设计",
  4583. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4584. "id": "courseDesign",
  4585. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4586. "onresize": function () { }
  4587. }, {
  4588. closecallback: function () { }
  4589. }, { "style": { "height": "36px" } }).form; //创建窗体
  4590. _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); } }
  4591. break;
  4592. }
  4593. } else if (!_type) {
  4594. switch (str) {
  4595. case "my":
  4596. _formdiv = new U.UF.UI.form(
  4597. "我的资料",
  4598. $$("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 }), {
  4599. "id": "my",
  4600. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4606. break;
  4607. }
  4608. }
  4609. switch (str) {
  4610. // AIprogram2 AI体验 aihub.cocorobo.cn
  4611. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4612. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4613. case "formulaEdi": //公式编辑
  4614. _formdiv = new U.UF.UI.form(
  4615. "公式编辑",
  4616. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4617. "id": "formulaEdi",
  4618. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4619. "onresize": function () { }
  4620. }, {
  4621. closecallback: function () { }
  4622. }, { "style": { "height": "36px" } }).form; //创建窗体
  4623. _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); } }
  4624. break;
  4625. case "molStr": //分子结构
  4626. _formdiv = new U.UF.UI.form(
  4627. "分子结构",
  4628. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4629. "id": "molStr",
  4630. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4631. "onresize": function () { }
  4632. }, {
  4633. closecallback: function () { }
  4634. }, { "style": { "height": "36px" } }).form; //创建窗体
  4635. _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); } }
  4636. break;
  4637. case "timeAxis": //时间轴
  4638. _formdiv = new U.UF.UI.form(
  4639. "时间轴",
  4640. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4641. "id": "timeAxis",
  4642. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4643. "onresize": function () { }
  4644. }, {
  4645. closecallback: function () { }
  4646. }, { "style": { "height": "36px" } }).form; //创建窗体
  4647. _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); } }
  4648. break;
  4649. case "AIprogram2": //AI体验
  4650. _formdiv = new U.UF.UI.form(
  4651. "AI体验",
  4652. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4653. "id": "AIprogram2",
  4654. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4655. "onresize": function () { }
  4656. }, {
  4657. closecallback: function () { }
  4658. }, { "style": { "height": "36px" } }).form; //创建窗体
  4659. _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); } }
  4660. break;
  4661. case "Pythonprogram": //python编程
  4662. _formdiv = new U.UF.UI.form(
  4663. "Python编程",
  4664. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4665. "id": "Pythonprogram",
  4666. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4667. "onresize": function () { }
  4668. }, {
  4669. closecallback: function () { }
  4670. }, { "style": { "height": "36px" } }).form; //创建窗体
  4671. _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); } }
  4672. break;
  4673. case "AIprogram": //ai编程
  4674. _formdiv = new U.UF.UI.form(
  4675. "AI编程平台",
  4676. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4677. "id": "AIprogram",
  4678. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4679. "onresize": function () { }
  4680. }, {
  4681. closecallback: function () { }
  4682. }, { "style": { "height": "36px" } }).form; //创建窗体
  4683. _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); } }
  4684. break;
  4685. case "CocoPi": //CocoPi
  4686. _formdiv = new U.UF.UI.form(
  4687. "CocoPi",
  4688. $$("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" }), {
  4689. "id": "CocoPi",
  4690. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4691. "onresize": function () { }
  4692. }, {
  4693. closecallback: function () { }
  4694. }, { "style": { "height": "36px" } }).form; //创建窗体
  4695. _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); } }
  4696. break;
  4697. case "Wood": //Wood
  4698. _formdiv = new U.UF.UI.form(
  4699. "海龟编程",
  4700. $$("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/" }), {
  4701. "id": "Wood",
  4702. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4703. "onresize": function () { }
  4704. }, {
  4705. closecallback: function () { }
  4706. }, { "style": { "height": "36px" } }).form; //创建窗体
  4707. _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); } }
  4708. break;
  4709. case "car": //模拟驾驶
  4710. _formdiv = new U.UF.UI.form(
  4711. "模拟驾驶",
  4712. $$("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/" }), {
  4713. "id": "car",
  4714. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4715. "onresize": function () { }
  4716. }, {
  4717. closecallback: function () { }
  4718. }, { "style": { "height": "36px" } }).form; //创建窗体
  4719. _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); } }
  4720. break;
  4721. case "lineSearch": //路径搜索
  4722. _formdiv = new U.UF.UI.form(
  4723. "路径搜索",
  4724. $$("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/" }), {
  4725. "id": "lineSearch",
  4726. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4727. "onresize": function () { }
  4728. }, {
  4729. closecallback: function () { }
  4730. }, { "style": { "height": "36px" } }).form; //创建窗体
  4731. _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); } }
  4732. break;
  4733. case "deepLearning": //深度学习
  4734. _formdiv = new U.UF.UI.form(
  4735. "深度学习",
  4736. $$("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/#" }), {
  4737. "id": "deepLearning",
  4738. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4739. "onresize": function () { }
  4740. }, {
  4741. closecallback: function () { }
  4742. }, { "style": { "height": "36px" } }).form; //创建窗体
  4743. _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); } }
  4744. break;
  4745. case "allHistory": //深度学习
  4746. _formdiv = new U.UF.UI.form(
  4747. "全历史",
  4748. $$("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/" }), {
  4749. "id": "allHistory",
  4750. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4751. "onresize": function () { }
  4752. }, {
  4753. closecallback: function () { }
  4754. }, { "style": { "height": "36px" } }).form; //创建窗体
  4755. _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); } }
  4756. break;
  4757. case "chatPDF": //ai编程
  4758. _formdiv = new U.UF.UI.form(
  4759. "chatPDF",
  4760. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4761. "id": "chatPDF",
  4762. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4763. "onresize": function () { }
  4764. }, {
  4765. closecallback: function () { }
  4766. }, { "style": { "height": "36px" } }).form; //创建窗体
  4767. _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); } }
  4768. break;
  4769. case "resources": //国家教育
  4770. _formdiv = new U.UF.UI.form(
  4771. "国家教育",
  4772. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4773. "id": "resources",
  4774. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4775. "onresize": function () { }
  4776. }, {
  4777. closecallback: function () { }
  4778. }, { "style": { "height": "36px" } }).form; //创建窗体
  4779. _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); } }
  4780. break;
  4781. case "codeEdit": //源码编辑
  4782. _formdiv = new U.UF.UI.form(
  4783. "源码编辑",
  4784. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4785. "id": "codeEdit",
  4786. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4787. "onresize": function () { }
  4788. }, {
  4789. closecallback: function () { }
  4790. }, { "style": { "height": "36px" } }).form; //创建窗体
  4791. _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); } }
  4792. break; //
  4793. case "MindMap": //MindMap
  4794. _formdiv = new U.UF.UI.form(
  4795. "MindMap",
  4796. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4797. "id": "MindMap",
  4798. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4799. "onresize": function () { }
  4800. }, {
  4801. closecallback: function () { }
  4802. }, { "style": { "height": "36px" } }).form; //创建窗体
  4803. _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); } }
  4804. break;
  4805. case "netWorkPanel": //netWorkPanel
  4806. _formdiv = new U.UF.UI.form(
  4807. "netWorkPanel",
  4808. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4809. "id": "netWorkPanel",
  4810. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4811. "onresize": function () { }
  4812. }, {
  4813. closecallback: function () { }
  4814. }, { "style": { "height": "36px" } }).form; //创建窗体
  4815. _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); } }
  4816. break;
  4817. case "GeoGebra": //GeoGebra
  4818. _formdiv = new U.UF.UI.form(
  4819. "GeoGebra",
  4820. $$("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" }), {
  4821. "id": "GeoGebra",
  4822. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4823. "onresize": function () { }
  4824. }, {
  4825. closecallback: function () { }
  4826. }, { "style": { "height": "36px" } }).form; //创建窗体
  4827. _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); } }
  4828. break;
  4829. case "translation": //翻译
  4830. _formdiv = new U.UF.UI.form(
  4831. "翻译",
  4832. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4833. "id": "translation",
  4834. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4835. "onresize": function () { }
  4836. }, {
  4837. closecallback: function () { }
  4838. }, { "style": { "height": "36px" } }).form; //创建窗体
  4839. _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); } }
  4840. break;
  4841. case "mohe": //魔盒
  4842. _formdiv = new U.UF.UI.form(
  4843. "魔盒识字",
  4844. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4845. "id": "mohe",
  4846. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4847. "onresize": function () { }
  4848. }, {
  4849. closecallback: function () { }
  4850. }, { "style": { "height": "36px" } }).form; //创建窗体
  4851. _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); } }
  4852. break;
  4853. case "24game": //24点
  4854. _formdiv = new U.UF.UI.form(
  4855. "24点",
  4856. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4857. "id": "24game",
  4858. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4859. "onresize": function () { }
  4860. }, {
  4861. closecallback: function () { }
  4862. }, { "style": { "height": "36px" } }).form; //创建窗体
  4863. _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); } }
  4864. break;
  4865. case "case":
  4866. _formdiv = new U.UF.UI.form(
  4867. "课程进展",
  4868. $$("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 }), {
  4869. "id": "case",
  4870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4871. "onresize": function () { }
  4872. }, {
  4873. closecallback: function () { }
  4874. }, { "style": { "height": "36px" } }).form; //创建窗体
  4875. _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); } }
  4876. break;
  4877. case "snf":
  4878. _formdiv = new U.UF.UI.form(
  4879. "赛诺梵",
  4880. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  4881. "id": "snf",
  4882. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4883. "onresize": function () { }
  4884. }, {
  4885. closecallback: function () { }
  4886. }, { "style": { "height": "36px" } }).form; //创建窗体
  4887. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4888. break;
  4889. case "hanFamily":
  4890. _formdiv = new U.UF.UI.form(
  4891. "汉字家族",
  4892. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4893. "id": "hanFamily",
  4894. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4895. "onresize": function () { }
  4896. }, {
  4897. closecallback: function () { }
  4898. }, { "style": { "height": "36px" } }).form; //创建窗体
  4899. _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); } }
  4900. break;
  4901. case "hanClassics":
  4902. _formdiv = new U.UF.UI.form(
  4903. "国学经典",
  4904. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4905. "id": "hanClassics",
  4906. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4907. "onresize": function () { }
  4908. }, {
  4909. closecallback: function () { }
  4910. }, { "style": { "height": "36px" } }).form; //创建窗体
  4911. _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); } }
  4912. break;
  4913. case "hanTraining":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4917. "id": "hanTraining",
  4918. "style": { "width": "90%", "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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4924. break;
  4925. case "hanClass":
  4926. _formdiv = new U.UF.UI.form(
  4927. "书法课堂",
  4928. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4929. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4936. break;
  4937. case "han":
  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://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4941. "id": "han",
  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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4948. break;
  4949. case "projectGM": //课程管理
  4950. _formdiv = new U.UF.UI.form(
  4951. "课程管理",
  4952. $$("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 }), {
  4953. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4960. break;
  4961. case "studyGM": //课程中心
  4962. _formdiv = new U.UF.UI.form(
  4963. "课程中心",
  4964. $$("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
  4965. "id": "study",
  4966. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4972. break;
  4973. // studentGM
  4974. case "studentGM": //学生管理
  4975. _formdiv = new U.UF.UI.form(
  4976. "学生管理",
  4977. $$("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 }), {
  4978. "id": "studentGM",
  4979. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4980. "onresize": function () { }
  4981. }, {
  4982. closecallback: function () { }
  4983. }, { "style": { "height": "36px" } }).form; //创建窗体
  4984. _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); } }
  4985. break;
  4986. case "evaluateGM": //学生评价
  4987. _formdiv = new U.UF.UI.form(
  4988. "学生评价",
  4989. $$("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 }), {
  4990. "id": "evaluateGM",
  4991. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4992. "onresize": function () { }
  4993. }, {
  4994. closecallback: function () { }
  4995. }, { "style": { "height": "36px" } }).form; //创建窗体
  4996. _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); } }
  4997. break;
  4998. // classGM
  4999. case "classGM": //班级管理
  5000. _formdiv = new U.UF.UI.form(
  5001. "班级管理",
  5002. $$("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 }), {
  5003. "id": "classGM",
  5004. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5005. "onresize": function () { }
  5006. }, {
  5007. closecallback: function () { }
  5008. }, { "style": { "height": "36px" } }).form; //创建窗体
  5009. _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); } }
  5010. break;
  5011. // dataGM
  5012. case "dataGM":
  5013. _formdiv = new U.UF.UI.form(
  5014. "我的资料",
  5015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  5016. "id": "dataGM",
  5017. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5018. "onresize": function () { }
  5019. }, {
  5020. closecallback: function () { }
  5021. }, { "style": { "height": "36px" } }).form; //创建窗体
  5022. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5023. break;
  5024. // caseGM
  5025. case "caseGM": //课程进展
  5026. _formdiv = new U.UF.UI.form(
  5027. "课程进展",
  5028. $$("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 }), {
  5029. "id": "caseGM",
  5030. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5031. "onresize": function () { }
  5032. }, {
  5033. closecallback: function () { }
  5034. }, { "style": { "height": "36px" } }).form; //创建窗体
  5035. _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); } }
  5036. break;
  5037. // meterialGM
  5038. case "meterialGM": //素材库
  5039. _formdiv = new U.UF.UI.form(
  5040. "素材库",
  5041. $$("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 }), {
  5042. "id": "meterialGM",
  5043. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5044. "onresize": function () { }
  5045. }, {
  5046. closecallback: function () { }
  5047. }, { "style": { "height": "36px" } }).form; //创建窗体
  5048. _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); } }
  5049. break;
  5050. // evaluateSGM
  5051. case "evaluateSGM": //我的评价
  5052. _formdiv = new U.UF.UI.form(
  5053. "我的评价",
  5054. $$("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 }), {
  5055. "id": "evaluateSGM",
  5056. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5057. "onresize": function () { }
  5058. }, {
  5059. closecallback: function () { }
  5060. }, { "style": { "height": "36px" } }).form; //创建窗体
  5061. _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); } }
  5062. break;
  5063. case "jupyter": //jupyter
  5064. _formdiv = new U.UF.UI.form(
  5065. "jupyter",
  5066. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  5067. "id": "jupyter",
  5068. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5069. "onresize": function () { }
  5070. }, {
  5071. closecallback: function () { }
  5072. }, { "style": { "height": "36px" } }).form; //创建窗体
  5073. _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); } }
  5074. break;
  5075. case "number": //数字实验室
  5076. _formdiv = new U.UF.UI.form(
  5077. "数字实验室",
  5078. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  5079. "id": "number",
  5080. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5081. "onresize": function () { }
  5082. }, {
  5083. closecallback: function () { }
  5084. }, { "style": { "height": "36px" } }).form; //创建窗体
  5085. _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); } }
  5086. break;
  5087. case "studentCourse": //项目管理 学生
  5088. _formdiv = new U.UF.UI.form(
  5089. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  5090. $$("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 }), {
  5091. "id": "studentCourse",
  5092. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5093. "onresize": function () { }
  5094. }, {
  5095. closecallback: function () { }
  5096. }, { "style": { "height": "36px" } }).form; //创建窗体
  5097. _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); } }
  5098. break;
  5099. case "studentCourseS": //项目管理 老师
  5100. _formdiv = new U.UF.UI.form(
  5101. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  5102. $$("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 }), {
  5103. "id": "studentCourseS",
  5104. "style": { "width": "90%", "height": "90%", "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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5110. break;
  5111. case "studentIndex": //项目中心
  5112. _formdiv = new U.UF.UI.form(
  5113. "项目中心",
  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": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  5115. "id": "studentIndex",
  5116. "style": { "width": "90%", "height": "90%", "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/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5122. break;
  5123. case "CaseDesignS":
  5124. _formdiv = new U.UF.UI.form(
  5125. "项目进展",
  5126. $$("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 }), {
  5127. "id": "case",
  5128. "style": { "width": "90%", "height": "90%", "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/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5134. break;
  5135. case "tcStudent": //腾讯学生管理
  5136. _formdiv = new U.UF.UI.form(
  5137. "学生管理",
  5138. $$("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 }), {
  5139. "id": "tcStudent",
  5140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5141. "onresize": function () { }
  5142. }, {
  5143. closecallback: function () { }
  5144. }, { "style": { "height": "36px" } }).form; //创建窗体
  5145. _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); } }
  5146. break;
  5147. case "tcSchool": //腾讯学校管理
  5148. _formdiv = new U.UF.UI.form(
  5149. "学校管理",
  5150. $$("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 }), {
  5151. "id": "tcSchool",
  5152. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5153. "onresize": function () { }
  5154. }, {
  5155. closecallback: function () { }
  5156. }, { "style": { "height": "36px" } }).form; //创建窗体
  5157. _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); } }
  5158. break;
  5159. case "tcTeacher": //腾讯学校管理
  5160. _formdiv = new U.UF.UI.form(
  5161. "教师管理",
  5162. $$("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 }), {
  5163. "id": "tcTeacher",
  5164. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5165. "onresize": function () { }
  5166. }, {
  5167. closecallback: function () { }
  5168. }, { "style": { "height": "36px" } }).form; //创建窗体
  5169. _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); } }
  5170. break;
  5171. case "tcData": //腾讯我的资料
  5172. _formdiv = new U.UF.UI.form(
  5173. "我的资料",
  5174. $$("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 }), {
  5175. "id": "tcData",
  5176. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5177. "onresize": function () { }
  5178. }, {
  5179. closecallback: function () { }
  5180. }, { "style": { "height": "36px" } }).form; //创建窗体
  5181. _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); } }
  5182. break;
  5183. case "tcNotice": //腾讯消息通知
  5184. _formdiv = new U.UF.UI.form(
  5185. "消息通知",
  5186. $$("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 }), {
  5187. "id": "tcNotice",
  5188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5189. "onresize": function () { }
  5190. }, {
  5191. closecallback: function () { }
  5192. }, { "style": { "height": "36px" } }).form; //创建窗体
  5193. _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); } }
  5194. break;
  5195. case "myReport": //好友打开
  5196. _formdiv = new U.UF.UI.form(
  5197. "我的评价",
  5198. $$("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 }), {
  5199. "id": "myReport",
  5200. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5201. "onresize": function () { }
  5202. }, {
  5203. closecallback: function () { }
  5204. }, { "style": { "height": "36px" } }).form; //创建窗体
  5205. _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); } }
  5206. break;
  5207. case "learnAna": //好友打开
  5208. _formdiv = new U.UF.UI.form(
  5209. "学习分析",
  5210. $$("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 }), {
  5211. "id": "learnAna",
  5212. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5213. "onresize": function () { }
  5214. }, {
  5215. closecallback: function () { }
  5216. }, { "style": { "height": "36px" } }).form; //创建窗体
  5217. _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); } }
  5218. break;
  5219. case "AIChat": //AI共创
  5220. _formdiv = new U.UF.UI.form(
  5221. "AI共创",
  5222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  5223. "id": "AIChat",
  5224. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5225. "onresize": function () { }
  5226. }, {
  5227. istop: true,
  5228. closecallback: function () { $("#aichat_icon").remove(); },
  5229. narrowcallback: function () {
  5230. if (!$("#aichat_icon")[0]) {
  5231. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5232. }
  5233. },
  5234. }, { "style": { "height": "36px" } }).form; //创建窗体
  5235. _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); } }
  5236. break;
  5237. case "ainew": //AI共创
  5238. _formdiv = new U.UF.UI.form(
  5239. "AI协同",
  5240. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  5241. "id": "ainew",
  5242. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5243. "onresize": function () { }
  5244. }, {
  5245. closecallback: function () { }
  5246. }, { "style": { "height": "36px" } }).form; //创建窗体
  5247. _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); } }
  5248. break;
  5249. case "gpt4": //gpt4
  5250. _formdiv = new U.UF.UI.form(
  5251. "AI助手",
  5252. $$("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 }), {
  5253. "id": "gpt4",
  5254. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5255. "onresize": function () { }
  5256. }, {
  5257. closecallback: function () { }
  5258. }, { "style": { "height": "36px" } }).form; //创建窗体
  5259. _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); } }
  5260. break;
  5261. case "aigpt": //gpt4
  5262. _formdiv = new U.UF.UI.form(
  5263. "AI助手+",
  5264. $$("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 }), {
  5265. "id": "aigpt",
  5266. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5267. "onresize": function () { }
  5268. }, {
  5269. closecallback: function () { }
  5270. }, { "style": { "height": "36px" } }).form; //创建窗体
  5271. _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); } }
  5272. break;
  5273. case "futureClass": //AI共创
  5274. _formdiv = new U.UF.UI.form(
  5275. "协同建构",
  5276. $$("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
  5277. "id": "synergyCourse",
  5278. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5279. "onresize": function () { }
  5280. }, {
  5281. closecallback: function () {
  5282. $("iframe", _formdiv)[0].contentWindow.loginout();
  5283. }
  5284. }, { "style": { "height": "36px" } }).form; //创建窗体
  5285. _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); } }
  5286. break;
  5287. case "aiagent": //ai agent
  5288. _formdiv = new U.UF.UI.form(
  5289. "AI Agent",
  5290. $$("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" }), {
  5291. "id": "AIAgent",
  5292. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5293. "onresize": function () { }
  5294. }, {
  5295. closecallback: function () { }
  5296. }, { "style": { "height": "36px" } }).form; //创建窗体
  5297. _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); } }
  5298. break;
  5299. case "dataBoard": //数据看板
  5300. _formdiv = new U.UF.UI.form(
  5301. "数据看板",
  5302. $$("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 }), {
  5303. "id": "dataBoard",
  5304. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5305. "onresize": function () { }
  5306. }, {
  5307. closecallback: function () { }
  5308. }, { "style": { "height": "36px" } }).form; //创建窗体
  5309. _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); } }
  5310. break;
  5311. case "dataBoardSies": //数据融合
  5312. _formdiv = new U.UF.UI.form(
  5313. "数据融合",
  5314. $$("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 }), {
  5315. "id": "dataBoardSies",
  5316. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5317. "onresize": function () { }
  5318. }, {
  5319. closecallback: function () { }
  5320. }, { "style": { "height": "36px" } }).form; //创建窗体
  5321. _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); } }
  5322. break;
  5323. case "dataBoardNew": //数据看板
  5324. _formdiv = new U.UF.UI.form(
  5325. "综合看板",
  5326. $$("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 }), {
  5327. "id": "dataBoardNew",
  5328. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5329. "onresize": function () { }
  5330. }, {
  5331. closecallback: function () { }
  5332. }, { "style": { "height": "36px" } }).form; //创建窗体
  5333. _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); } }
  5334. break;
  5335. case "dataBoardTest": //数据看板
  5336. _formdiv = new U.UF.UI.form(
  5337. "评测看板",
  5338. $$("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 }), {
  5339. "id": "dataBoardTest",
  5340. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5341. "onresize": function () { }
  5342. }, {
  5343. closecallback: function () { }
  5344. }, { "style": { "height": "36px" } }).form; //创建窗体
  5345. _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); } }
  5346. break;
  5347. case "AIAnalyse": //AI共创
  5348. _formdiv = new U.UF.UI.form(
  5349. "AI分析",
  5350. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5351. "id": "AIAnalyse",
  5352. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5353. "onresize": function () { }
  5354. }, {
  5355. closecallback: function () { }
  5356. }, { "style": { "height": "36px" } }).form; //创建窗体
  5357. _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); } }
  5358. break;
  5359. case "studioCourse": //AI共创
  5360. _formdiv = new U.UF.UI.form(
  5361. "工作管理",
  5362. $$("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 }), {
  5363. "id": "studioCourse",
  5364. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5365. "onresize": function () { }
  5366. }, {
  5367. closecallback: function () { }
  5368. }, { "style": { "height": "36px" } }).form; //创建窗体
  5369. _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); } }
  5370. break;
  5371. case "studioIndex": //AI共创
  5372. _formdiv = new U.UF.UI.form(
  5373. "工作中心",
  5374. $$("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 }), {
  5375. "id": "studioIndex",
  5376. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5377. "onresize": function () { }
  5378. }, {
  5379. closecallback: function () { }
  5380. }, { "style": { "height": "36px" } }).form; //创建窗体
  5381. _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); } }
  5382. break;
  5383. case "source":
  5384. _formdiv = new U.UF.UI.form(
  5385. "教学资源",
  5386. $$("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 }), {
  5387. "id": "source",
  5388. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5389. "onresize": function () { }
  5390. }, {
  5391. closecallback: function () { }
  5392. }, { "style": { "height": "36px" } }).form; //创建窗体
  5393. _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); } }
  5394. break;
  5395. case "testTeacher":
  5396. _formdiv = new U.UF.UI.form(
  5397. "教师管理",
  5398. $$("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 }), {
  5399. "id": "testTeacher",
  5400. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5401. "onresize": function () { }
  5402. }, {
  5403. closecallback: function () { }
  5404. }, { "style": { "height": "36px" } }).form; //创建窗体
  5405. _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); } }
  5406. break;
  5407. case "testStudent":
  5408. _formdiv = new U.UF.UI.form(
  5409. "教师中心",
  5410. $$("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 }), {
  5411. "id": "testStudent",
  5412. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5413. "onresize": function () { }
  5414. }, {
  5415. closecallback: function () { }
  5416. }, { "style": { "height": "36px" } }).form; //创建窗体
  5417. _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); } }
  5418. break;
  5419. case "testTeacherSies":
  5420. _formdiv = new U.UF.UI.form(
  5421. "教师管理",
  5422. $$("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 }), {
  5423. "id": "testTeacherSies",
  5424. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5425. "onresize": function () { }
  5426. }, {
  5427. closecallback: function () { }
  5428. }, { "style": { "height": "36px" } }).form; //创建窗体
  5429. _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); } }
  5430. break;
  5431. case "testStudentSies":
  5432. _formdiv = new U.UF.UI.form(
  5433. "教师中心",
  5434. $$("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 }), {
  5435. "id": "testStudentSies",
  5436. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5437. "onresize": function () { }
  5438. }, {
  5439. closecallback: function () { }
  5440. }, { "style": { "height": "36px" } }).form; //创建窗体
  5441. _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); } }
  5442. break;
  5443. case "ytpbl": //消息通知
  5444. _formdiv = new U.UF.UI.form(
  5445. "案例征集",
  5446. $$("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 }), {
  5447. "id": "ytpbl",
  5448. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5449. "onresize": function () { }
  5450. }, {
  5451. closecallback: function () { }
  5452. }, { "style": { "height": "36px" } }).form; //创建窗体
  5453. _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); } }
  5454. // 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");
  5455. break;
  5456. case "aiCourseResource": //人工智能窗体
  5457. _formdiv = new U.UF.UI.form(
  5458. false,
  5459. $$("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 }), {
  5460. "id": "aiCourseResource",
  5461. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5462. "onresize": function () { },
  5463. "isdrag": false,
  5464. }, {
  5465. closecallback: function () { }
  5466. }, { "style": { "height": "36px" } }).form; //创建窗体
  5467. _taskbar = ''
  5468. break;
  5469. case "szdjgCocooroboX": //图形化编程
  5470. _formdiv = new U.UF.UI.form(
  5471. "图形化编程",
  5472. $$("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" }), {
  5473. "id": "szdjgCocooroboX",
  5474. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5475. "onresize": function () { }
  5476. }, {
  5477. closecallback: function () { }
  5478. }, { "style": { "height": "36px" } }).form; //创建窗体
  5479. _taskbar = ''
  5480. break;
  5481. case "szdjgPython": //python编程
  5482. _formdiv = new U.UF.UI.form(
  5483. "Python编程",
  5484. $$("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" }), {
  5485. "id": "szdjgPython",
  5486. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5487. "onresize": function () { }
  5488. }, {
  5489. closecallback: function () { }
  5490. }, { "style": { "height": "36px" } }).form; //创建窗体
  5491. _taskbar = ''
  5492. break;
  5493. case "Record":
  5494. _formdiv = new U.UF.UI.form(
  5495. "观察记录",
  5496. $$("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 }), {
  5497. "id": "Record",
  5498. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5499. "onresize": function () { }
  5500. }, {
  5501. closecallback: function () { }
  5502. }, { "style": { "height": "36px" } }).form; //创建窗体
  5503. _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); } }
  5504. break;
  5505. case "aigptCourse":
  5506. _formdiv = new U.UF.UI.form(
  5507. "AI智能体",
  5508. $$("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' }), {
  5509. "id": "aigptCourse",
  5510. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5511. "onresize": function () { }
  5512. }, {
  5513. closecallback: function () { }
  5514. }, { "style": { "height": "36px" } }).form; //创建窗体
  5515. _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); } }
  5516. break;
  5517. case "classroomObservation":
  5518. _formdiv = new U.UF.UI.form(
  5519. "课堂观察",
  5520. $$("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 }), {
  5521. "id": "classroomObservation",
  5522. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5523. "onresize": function () { }
  5524. }, {
  5525. closecallback: function () { }
  5526. }, { "style": { "height": "36px" } }).form; //创建窗体
  5527. _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); } }
  5528. break;
  5529. case "pblCourse":
  5530. _formdiv = new U.UF.UI.form(
  5531. "学生PBL",
  5532. $$("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 }), {
  5533. "id": "pblCourse",
  5534. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5535. "onresize": function () { }
  5536. }, {
  5537. closecallback: function () { }
  5538. }, { "style": { "height": "36px" } }).form; //创建窗体
  5539. _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); } }
  5540. break;
  5541. }
  5542. //U.MD.D.I.openClick(str);
  5543. //如果有任务栏信息
  5544. if (_taskbar) {
  5545. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5546. }
  5547. }
  5548. // U.MD.D.I.openClick = function(str){
  5549. // var click = '';
  5550. // switch(str){
  5551. // case 'friend':
  5552. // click = '我的好友';
  5553. // break;
  5554. // case 'domain':
  5555. // click = '域名管理';
  5556. // break;
  5557. // case 'disk':
  5558. // click = '我的云盘';
  5559. // break;
  5560. // case 'word':
  5561. // click = 'Word';
  5562. // break;
  5563. // case 'excel':
  5564. // click = 'Execl';
  5565. // break;
  5566. // case 'txt':
  5567. // click = '文本文件';
  5568. // break;
  5569. // case 'lookupFriend':
  5570. // click = '查找好友';
  5571. // break;
  5572. // case 'ftp':
  5573. // click = 'FTP';
  5574. // break;
  5575. // case 'group':
  5576. // click = '群组';
  5577. // break;
  5578. // case 'set':
  5579. // click = '我的设置';
  5580. // break;
  5581. // case 'systemSet':
  5582. // click = '系统设置';
  5583. // break;
  5584. // case 'boomYun':
  5585. // click = '互联办公';
  5586. // break;
  5587. // case 'xz':
  5588. // click = '云端下载';
  5589. // break;
  5590. // case 'client':
  5591. // click = '有思浏览器';
  5592. // break;
  5593. // case 'backEndProgramming':
  5594. // click = '在线后台编程';
  5595. // break;
  5596. // case 'frontEndProgramming':
  5597. // click = '在线前端编程';
  5598. // break;
  5599. // default: break;
  5600. // }
  5601. // if(U.MD.D.I.Ip && click){
  5602. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5603. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5604. // })
  5605. // }
  5606. // }
  5607. /**
  5608. *函数作用:ajax简易函数,使用post格式
  5609. *@param url {data} 后台地址
  5610. *@param data {data} 参数json
  5611. *@param fn {data} 回调函数
  5612. *
  5613. */
  5614. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5615. // var xhr = new XMLHttpRequest();
  5616. // xhr.open("GET",url,true);
  5617. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5618. // xhr.onreadystatechange = function(){
  5619. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5620. // fn.call(this,xhr.responseText);
  5621. // }
  5622. // };
  5623. // xhr.send();
  5624. // }
  5625. /*判断是否是内网IP*/
  5626. // U.MD.D.I.isInnerIPFn = function(str){
  5627. // var curPageUrl = str;
  5628. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5629. // curPageUrl =curPageUrl.replace(reg1,'');
  5630. // // console.log('curPageUrl-1 '+curPageUrl);
  5631. // var reg2 = /\:+/g;//替换冒号为一点
  5632. // curPageUrl =curPageUrl.replace(reg2,'.');
  5633. // // console.log('curPageUrl-2 '+curPageUrl);
  5634. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5635. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5636. // if(curPageUrl[2] != '16'){
  5637. // return ipAddress;
  5638. // }else{
  5639. // return false;
  5640. // }
  5641. // }
  5642. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5643. // //compatibility for firefox and chrome
  5644. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5645. // var pc = new myPeerConnection({
  5646. // iceServers: []
  5647. // }),
  5648. // noop = function() {},
  5649. // localIPs = {},
  5650. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5651. // key;
  5652. // function iterateIP(ip) {
  5653. // if (!localIPs[ip]) onNewIP(ip);
  5654. // localIPs[ip] = true;
  5655. // }
  5656. // //create a bogus data channel
  5657. // pc.createDataChannel("");
  5658. // // create offer and set local description
  5659. // pc.createOffer().then(function(sdp) {
  5660. // sdp.sdp.split('\n').forEach(function(line) {
  5661. // if (line.indexOf('candidate') < 0) return;
  5662. // line.match(ipRegex).forEach(iterateIP);
  5663. // });
  5664. // pc.setLocalDescription(sdp, noop, noop);
  5665. // }).catch(function(reason) {
  5666. // // An error occurred, so handle the failure to connect
  5667. // });
  5668. // //sten for candidate events
  5669. // pc.onicecandidate = function(ice) {
  5670. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5671. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5672. // };
  5673. // }
  5674. // U.MD.D.I.getUserIpBool = function(callback){
  5675. // U.MD.D.I.getUserIP(function(ip){
  5676. // alert("Got IP! :" + ip);
  5677. // });
  5678. //}
  5679. //#endregion
  5680. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5681. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5682. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5683. _userinfo = US.userInfo, //登录用户信息
  5684. _userid = US.userInfo.userid //登录用户id
  5685. let _iframe;
  5686. let _cid = cid,
  5687. _stage = stage,
  5688. _task = task,
  5689. _tool = tool;
  5690. var _jie = $$("div", {
  5691. "style": {
  5692. "position": "absolute",
  5693. "bottom": "50px",
  5694. "right": "50px",
  5695. "zIndex": "9999",
  5696. "backgroundColor": "#2268bc",
  5697. "color": "#fff",
  5698. "padding": "12px 20px",
  5699. "cursor": "pointer",
  5700. "borderRadius": "4px",
  5701. },
  5702. "innerHTML": "提交作业"
  5703. })
  5704. let aTool = ''
  5705. let _loading = document.createElement('div')
  5706. _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;"
  5707. // _loading.id = "";
  5708. let _lchild = document.createElement('div')
  5709. let _limg = document.createElement('img')
  5710. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5711. _limg.style = "width: 26px;margin-right: 10px;"
  5712. _lchild.appendChild(_limg)
  5713. let _lspan = document.createElement('span')
  5714. _lspan.innerHTML = "上传中..."
  5715. _lchild.appendChild(_lspan)
  5716. _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%);"
  5717. _loading.appendChild(_lchild)
  5718. var _box = $$('div', {
  5719. "style": {
  5720. "position": "relative",
  5721. "width": "100%",
  5722. "height": "100%",
  5723. },
  5724. })
  5725. _box.appendChild(_loading)
  5726. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5727. switch (str) {
  5728. case "whiteboard":
  5729. aTool = 1;
  5730. _iframe = $$("iframe", {
  5731. "frameborder": "no",
  5732. "border": "0",
  5733. "scrolling ": "no",
  5734. "style": {
  5735. "cssText": "border:0;width:100%;height:100%"
  5736. },
  5737. "src": "https://beta.iwb.cocorobo.cn/"
  5738. })
  5739. _box.appendChild(_iframe);
  5740. _box.appendChild(_jie);
  5741. _formdiv = new U.UF.UI.form(
  5742. "电子白板",
  5743. _box, {
  5744. "id": "whiteboard" + cid + stage + task + tool,
  5745. "style": {
  5746. "width": "90%",
  5747. "height": "90%",
  5748. "overflow": 'hidden'
  5749. },
  5750. "onresize": function () { }
  5751. }, {
  5752. closecallback: function () { }
  5753. }, {
  5754. "style": {
  5755. "height": "36px"
  5756. }
  5757. }).form; //创建窗体
  5758. _taskbar = {
  5759. "id": str + _formdiv.id,
  5760. "style": {
  5761. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5762. },
  5763. "name": "电子白板",
  5764. "forms": _formdiv,
  5765. "click": function () {
  5766. U.MD.D.I.openApplication(str, obj, info);
  5767. }
  5768. }
  5769. break;
  5770. case "mind":
  5771. aTool = 3;
  5772. _iframe = $$("iframe", {
  5773. "frameborder": "no",
  5774. "border": "0",
  5775. "scrolling ": "no",
  5776. "style": {
  5777. "cssText": "border:0;width:100%;height:100%"
  5778. },
  5779. "src": "/kityminder-editor/dist/index.html"
  5780. })
  5781. _box.appendChild(_iframe);
  5782. _box.appendChild(_jie);
  5783. _formdiv = new U.UF.UI.form(
  5784. "思维导图",
  5785. _box, { //"/jsmind/example/demo.html"
  5786. "id": "mind" + cid + stage + task + tool,
  5787. "style": {
  5788. "width": "90%",
  5789. "height": "90%",
  5790. "overflow": 'hidden'
  5791. },
  5792. "onresize": function () { }
  5793. }, {
  5794. closecallback: function () { }
  5795. }, {
  5796. "style": {
  5797. "height": "36px"
  5798. }
  5799. }).form; //创建窗体
  5800. _taskbar = {
  5801. "id": str + _formdiv.id,
  5802. "style": {
  5803. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5804. },
  5805. "name": "思维导图",
  5806. "forms": _formdiv,
  5807. "click": function () {
  5808. U.MD.D.I.openApplication(str, obj, info);
  5809. }
  5810. }
  5811. break;
  5812. case "MindMap":
  5813. aTool = 3;
  5814. _iframe = $$("iframe", {
  5815. "frameborder": "no",
  5816. "border": "0",
  5817. "scrolling ": "no",
  5818. "style": {
  5819. "cssText": "border:0;width:100%;height:100%"
  5820. },
  5821. "src": "//cloud.cocorobo.cn/mind/"
  5822. })
  5823. _box.appendChild(_iframe);
  5824. _box.appendChild(_jie);
  5825. _formdiv = new U.UF.UI.form(
  5826. "思维导图",
  5827. _box, { //"/jsmind/example/demo.html"
  5828. "id": "mind" + cid + stage + task + tool,
  5829. "style": {
  5830. "width": "90%",
  5831. "height": "90%",
  5832. "overflow": 'hidden'
  5833. },
  5834. "onresize": function () { }
  5835. }, {
  5836. closecallback: function () { }
  5837. }, {
  5838. "style": {
  5839. "height": "36px"
  5840. }
  5841. }).form; //创建窗体
  5842. _taskbar = {
  5843. "id": str + _formdiv.id,
  5844. "style": {
  5845. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5846. },
  5847. "name": "思维导图",
  5848. "forms": _formdiv,
  5849. "click": function () {
  5850. U.MD.D.I.openApplication(str, obj, info);
  5851. }
  5852. }
  5853. break;
  5854. case "doc":
  5855. aTool = 6;
  5856. _iframe = $$("iframe", {
  5857. "frameborder": "no",
  5858. "border": "0",
  5859. "scrolling ": "no",
  5860. "style": {
  5861. "cssText": "border:0;width:100%;height:100%"
  5862. },
  5863. "src": "/Office/Word/WordEditArea.htm"
  5864. })
  5865. _box.appendChild(_iframe);
  5866. _box.appendChild(_jie);
  5867. _formdiv = new U.UF.UI.form(
  5868. "协同文档",
  5869. _box, {
  5870. "id": "doc" + cid + stage + task + tool,
  5871. "style": {
  5872. "width": "90%",
  5873. "height": "90%",
  5874. "overflow": 'hidden'
  5875. },
  5876. "onresize": function () { }
  5877. }, {
  5878. closecallback: function () { }
  5879. }, {
  5880. "style": {
  5881. "height": "36px"
  5882. }
  5883. }).form; //创建窗体
  5884. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5885. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5886. })
  5887. _taskbar = {
  5888. "id": str + _formdiv.id,
  5889. "style": {
  5890. "backgroundImage": "url(/img/icon/doc.png)"
  5891. },
  5892. "name": "协同文档",
  5893. "forms": _formdiv,
  5894. "click": function () {
  5895. U.MD.D.I.openApplication(str, obj, info);
  5896. }
  5897. }
  5898. break;
  5899. case "mindNetwork": //好友打开
  5900. aTool = 7;
  5901. _iframe = $$("iframe", {
  5902. "webkitallowfullscreen": "",
  5903. "mozallowfullscreen": "",
  5904. "allowfullscreen": "",
  5905. "frameborder": "no",
  5906. "border": "0",
  5907. "scrolling ": "no",
  5908. "style": {
  5909. "cssText": "border:0; width:100%; height:100%;"
  5910. },
  5911. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5912. })
  5913. _box.appendChild(_iframe);
  5914. _box.appendChild(_jie);
  5915. _formdiv = new U.UF.UI.form(
  5916. "思维网格",
  5917. _box, {
  5918. "id": "mindNetwork" + cid + stage + task + tool,
  5919. "style": {
  5920. "width": "90%",
  5921. "height": "90%",
  5922. "overflow": 'hidden'
  5923. },
  5924. "onresize": function () { }
  5925. }, {
  5926. closecallback: function () { }
  5927. }, {
  5928. "style": {
  5929. "height": "36px"
  5930. }
  5931. }).form; //创建窗体
  5932. _taskbar = {
  5933. "id": str + _formdiv.id,
  5934. "style": {
  5935. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5936. },
  5937. "name": "思维网格",
  5938. "forms": _formdiv,
  5939. "click": function () {
  5940. U.MD.D.I.openApplication(str, obj, info);
  5941. }
  5942. }
  5943. break;
  5944. case "courseDesign":
  5945. _iframe = $$("iframe", {
  5946. "webkitallowfullscreen": "",
  5947. "mozallowfullscreen": "",
  5948. "allowfullscreen": "",
  5949. "frameborder": "no",
  5950. "border": "0",
  5951. "scrolling ": "no",
  5952. "style": {
  5953. "cssText": "border:0; width:100%; height:100%;"
  5954. },
  5955. "src": "/course-design-vue"
  5956. })
  5957. _box.appendChild(_iframe);
  5958. _box.appendChild(_jie);
  5959. _formdiv = new U.UF.UI.form(
  5960. "项目设计",
  5961. _box, {
  5962. "id": "courseDesign" + cid + stage + task + tool,
  5963. "style": {
  5964. "width": "90%",
  5965. "height": "90%",
  5966. "overflow": 'hidden'
  5967. },
  5968. "onresize": function () { }
  5969. }, {
  5970. closecallback: function () { }
  5971. }, {
  5972. "style": {
  5973. "height": "36px"
  5974. }
  5975. }).form; //创建窗体
  5976. _taskbar = {
  5977. "id": str + _formdiv.id,
  5978. "style": {
  5979. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5980. },
  5981. "name": "项目设计",
  5982. "forms": _formdiv,
  5983. "click": function () {
  5984. U.MD.D.I.openApplication(str, obj, info);
  5985. }
  5986. }
  5987. break;
  5988. }
  5989. const script1 = document.createElement("script");
  5990. script1.type = "text/javascript";
  5991. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5992. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5993. const script2 = document.createElement("script");
  5994. script2.type = "text/javascript";
  5995. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5996. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5997. const script3 = document.createElement("script");
  5998. script3.type = "text/javascript";
  5999. script3.charset = "UTF-8";
  6000. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6001. const script4 = document.createElement("script");
  6002. script4.type = "text/javascript";
  6003. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6004. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6005. if (_iframe) {
  6006. if (str == 'doc') {
  6007. _iframe = _formdiv.querySelector('iframe')
  6008. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6009. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6010. _iframe.contentWindow.document.body.appendChild(script1);
  6011. _iframe.contentWindow.document.body.appendChild(script2);
  6012. // _iframe.contentWindow.document.body.appendChild(script3);
  6013. _iframe.contentWindow.document.body.appendChild(script4);
  6014. })
  6015. if (onloadListener) {
  6016. _iframe.contentDocument.location.reload()
  6017. } else {
  6018. _iframe.contentDocument.location.reload()
  6019. }
  6020. } else if (str == 'courseDesign') {
  6021. U.UF.DL.iframeLoad(_iframe, function () {
  6022. // _iframe.contentWindow.U.MD.O.W.load();
  6023. // _iframe.contentWindow.document.body.appendChild(script1);
  6024. _iframe.contentWindow.document.body.appendChild(script2);
  6025. _iframe.contentWindow.document.body.appendChild(script4);
  6026. })
  6027. } else if (str == 'mind') {
  6028. _iframe = _formdiv.querySelector('iframe')
  6029. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6030. //
  6031. _iframe.contentWindow.document.body.appendChild(script1);
  6032. _iframe.contentWindow.document.body.appendChild(script2);
  6033. _iframe.contentWindow.document.body.appendChild(script4);
  6034. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6035. })
  6036. if (onloadListener) {
  6037. _iframe.contentDocument.location.reload()
  6038. } else {
  6039. _iframe.contentDocument.location.reload()
  6040. }
  6041. } else if (str == 'whiteboard') {
  6042. _iframe = _formdiv.querySelector('iframe')
  6043. let onloadListener = _iframe.onload = () => {
  6044. _iframe.contentWindow.document.body.appendChild(script1);
  6045. _iframe.contentWindow.document.body.appendChild(script2);
  6046. _iframe.contentWindow.document.body.appendChild(script4);
  6047. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6048. };
  6049. // if (onloadListener) {
  6050. // try {
  6051. // _iframe.src += "?cocorobo="+new Date().getTime()
  6052. // _iframe.contentWindow.document.location.reload()
  6053. // } catch (error) {
  6054. // }
  6055. // } else {
  6056. // _iframe.contentDocument.location.reload()
  6057. // }
  6058. } else {
  6059. _iframe.onload = () => {
  6060. _iframe.contentWindow.document.body.appendChild(script1);
  6061. _iframe.contentWindow.document.body.appendChild(script2);
  6062. // _iframe.contentWindow.document.body.appendChild(script3);
  6063. _iframe.contentWindow.document.body.appendChild(script4);
  6064. };
  6065. }
  6066. _jie.onclick = async () => {
  6067. let text = ''
  6068. if (aTool == 1) {
  6069. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6070. } else if (aTool == 6) {
  6071. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6072. } else if (aTool == 3) {
  6073. text = await U.MD.D.I.getEditorContent(_iframe);
  6074. }
  6075. _loading.style.display = 'flex'
  6076. console.log(_loading);
  6077. var _ajs = _iframe.contentWindow.document.createElement("script");
  6078. _ajs.type = "text/javascript";
  6079. _ajs.innerHTML =
  6080. // 'console.log(' + _loading + ');\n' +
  6081. 'var _js = document.createElement("script");\n' +
  6082. '_js.type="text/javascript";\n' +
  6083. '_js.charset="UTF-8";\n' +
  6084. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6085. "_js.onload = function(){\n" +
  6086. ' var a = document.getElementsByTagName("img")\n' +
  6087. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6088. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6089. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6090. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6091. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6092. "beforeUpload_shishi(file," +
  6093. "'" +
  6094. _userid +
  6095. "'" +
  6096. ", " +
  6097. "'" +
  6098. _cid +
  6099. "'" +
  6100. ", " +
  6101. "'" +
  6102. _stage +
  6103. "'" +
  6104. ", " +
  6105. "'" +
  6106. _task +
  6107. "'" +
  6108. ", " +
  6109. "'" +
  6110. _tool +
  6111. "'" +
  6112. ", " +
  6113. "'" +
  6114. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  6115. "'" +
  6116. ", " +
  6117. "'" +
  6118. aTool +
  6119. "'" +
  6120. ", " +
  6121. "`" +
  6122. text +
  6123. "`" +
  6124. ")\n" +
  6125. " });\n" +
  6126. "}\n" +
  6127. "document.head.appendChild(_js);\n";
  6128. _iframe.contentWindow.document.head.appendChild(_ajs);
  6129. }
  6130. }
  6131. //U.MD.D.I.openClick(str);
  6132. //如果有任务栏信息
  6133. // if (_taskbar) {
  6134. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6135. // }
  6136. }
  6137. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6138. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6139. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6140. _userinfo = US.userInfo, //登录用户信息
  6141. _userid = US.userInfo.userid //登录用户id
  6142. let _iframe;
  6143. let _cid = cid,
  6144. _stage = stage,
  6145. _task = task,
  6146. _tool = tool;
  6147. var _jie = $$("div", {
  6148. "style": {
  6149. "position": "absolute",
  6150. "bottom": "50px",
  6151. "right": "50px",
  6152. "zIndex": "9999",
  6153. "backgroundColor": "#2268bc",
  6154. "color": "#fff",
  6155. "padding": "12px 20px",
  6156. "cursor": "pointer",
  6157. "borderRadius": "4px",
  6158. },
  6159. "innerHTML": "提交作业"
  6160. })
  6161. let aTool = ''
  6162. let _loading = document.createElement('div')
  6163. _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;"
  6164. // _loading.id = "";
  6165. let _lchild = document.createElement('div')
  6166. let _limg = document.createElement('img')
  6167. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6168. _limg.style = "width: 26px;margin-right: 10px;"
  6169. _lchild.appendChild(_limg)
  6170. let _lspan = document.createElement('span')
  6171. _lspan.innerHTML = "上传中..."
  6172. _lchild.appendChild(_lspan)
  6173. _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%);"
  6174. _loading.appendChild(_lchild)
  6175. let _box = $$('div', {
  6176. "style": {
  6177. "position": "relative",
  6178. "width": "100%",
  6179. "height": "100%",
  6180. },
  6181. })
  6182. _box.appendChild(_loading)
  6183. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6184. switch (str) {
  6185. case "whiteboard":
  6186. aTool = 1;
  6187. _iframe = $$("iframe", {
  6188. "frameborder": "no",
  6189. "border": "0",
  6190. "scrolling ": "no",
  6191. "style": {
  6192. "cssText": "border:0;width:100%;height:100%"
  6193. },
  6194. "src": "https://beta.iwb.cocorobo.cn/"
  6195. })
  6196. _box.appendChild(_iframe);
  6197. _box.appendChild(_jie);
  6198. _formdiv = new U.UF.UI.form(
  6199. "电子白板",
  6200. _box, {
  6201. "id": "whiteboard" + cid + stage + task + tool,
  6202. "style": {
  6203. "width": "90%",
  6204. "height": "90%",
  6205. "overflow": 'hidden'
  6206. },
  6207. "onresize": function () { }
  6208. }, {
  6209. closecallback: function () { }
  6210. }, {
  6211. "style": {
  6212. "height": "36px"
  6213. }
  6214. }).form; //创建窗体
  6215. _taskbar = {
  6216. "id": str + _formdiv.id,
  6217. "style": {
  6218. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6219. },
  6220. "name": "电子白板",
  6221. "forms": _formdiv,
  6222. "click": function () {
  6223. U.MD.D.I.openApplication(str, obj, info);
  6224. }
  6225. }
  6226. break;
  6227. case "mind":
  6228. aTool = 3;
  6229. _iframe = $$("iframe", {
  6230. "frameborder": "no",
  6231. "border": "0",
  6232. "scrolling ": "no",
  6233. "style": {
  6234. "cssText": "border:0;width:100%;height:100%"
  6235. },
  6236. "src": "/kityminder-editor/dist/index.html"
  6237. })
  6238. _box.appendChild(_iframe);
  6239. _box.appendChild(_jie);
  6240. _formdiv = new U.UF.UI.form(
  6241. "思维导图",
  6242. _box, { //"/jsmind/example/demo.html"
  6243. "id": "mind" + cid + stage + task + tool,
  6244. "style": {
  6245. "width": "90%",
  6246. "height": "90%",
  6247. "overflow": 'hidden'
  6248. },
  6249. "onresize": function () { }
  6250. }, {
  6251. closecallback: function () { }
  6252. }, {
  6253. "style": {
  6254. "height": "36px"
  6255. }
  6256. }).form; //创建窗体
  6257. _taskbar = {
  6258. "id": str + _formdiv.id,
  6259. "style": {
  6260. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6261. },
  6262. "name": "思维导图",
  6263. "forms": _formdiv,
  6264. "click": function () {
  6265. U.MD.D.I.openApplication(str, obj, info);
  6266. }
  6267. }
  6268. break;
  6269. case "MindMap":
  6270. aTool = 3;
  6271. _iframe = $$("iframe", {
  6272. "frameborder": "no",
  6273. "border": "0",
  6274. "scrolling ": "no",
  6275. "style": {
  6276. "cssText": "border:0;width:100%;height:100%"
  6277. },
  6278. "src": "//cloud.cocorobo.cn/mind/"
  6279. })
  6280. _box.appendChild(_iframe);
  6281. _box.appendChild(_jie);
  6282. _formdiv = new U.UF.UI.form(
  6283. "思维导图",
  6284. _box, { //"/jsmind/example/demo.html"
  6285. "id": "mind" + cid + stage + task + tool,
  6286. "style": {
  6287. "width": "90%",
  6288. "height": "90%",
  6289. "overflow": 'hidden'
  6290. },
  6291. "onresize": function () { }
  6292. }, {
  6293. closecallback: function () { }
  6294. }, {
  6295. "style": {
  6296. "height": "36px"
  6297. }
  6298. }).form; //创建窗体
  6299. _taskbar = {
  6300. "id": str + _formdiv.id,
  6301. "style": {
  6302. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6303. },
  6304. "name": "思维导图",
  6305. "forms": _formdiv,
  6306. "click": function () {
  6307. U.MD.D.I.openApplication(str, obj, info);
  6308. }
  6309. }
  6310. break;
  6311. case "doc":
  6312. aTool = 6;
  6313. _iframe = $$("iframe", {
  6314. "frameborder": "no",
  6315. "border": "0",
  6316. "scrolling ": "no",
  6317. "style": {
  6318. "cssText": "border:0;width:100%;height:100%"
  6319. },
  6320. "src": "/Office/Word/WordEditArea.htm"
  6321. })
  6322. _box.appendChild(_iframe);
  6323. _box.appendChild(_jie);
  6324. _formdiv = new U.UF.UI.form(
  6325. "协同文档",
  6326. _box, {
  6327. "id": "doc" + cid + stage + task + tool,
  6328. "style": {
  6329. "width": "90%",
  6330. "height": "90%",
  6331. "overflow": 'hidden'
  6332. },
  6333. "onresize": function () { }
  6334. }, {
  6335. closecallback: function () { }
  6336. }, {
  6337. "style": {
  6338. "height": "36px"
  6339. }
  6340. }).form; //创建窗体
  6341. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6342. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6343. })
  6344. _taskbar = {
  6345. "id": str + _formdiv.id,
  6346. "style": {
  6347. "backgroundImage": "url(/img/icon/doc.png)"
  6348. },
  6349. "name": "协同文档",
  6350. "forms": _formdiv,
  6351. "click": function () {
  6352. U.MD.D.I.openApplication(str, obj, info);
  6353. }
  6354. }
  6355. break;
  6356. case "mindNetwork": //好友打开
  6357. aTool = 7;
  6358. _iframe = $$("iframe", {
  6359. "webkitallowfullscreen": "",
  6360. "mozallowfullscreen": "",
  6361. "allowfullscreen": "",
  6362. "frameborder": "no",
  6363. "border": "0",
  6364. "scrolling ": "no",
  6365. "style": {
  6366. "cssText": "border:0; width:100%; height:100%;"
  6367. },
  6368. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6369. })
  6370. _box.appendChild(_iframe);
  6371. _box.appendChild(_jie);
  6372. _formdiv = new U.UF.UI.form(
  6373. "思维网格",
  6374. _box, {
  6375. "id": "mindNetwork" + cid + stage + task + tool,
  6376. "style": {
  6377. "width": "90%",
  6378. "height": "90%",
  6379. "overflow": 'hidden'
  6380. },
  6381. "onresize": function () { }
  6382. }, {
  6383. closecallback: function () { }
  6384. }, {
  6385. "style": {
  6386. "height": "36px"
  6387. }
  6388. }).form; //创建窗体
  6389. _taskbar = {
  6390. "id": str + _formdiv.id,
  6391. "style": {
  6392. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6393. },
  6394. "name": "思维网格",
  6395. "forms": _formdiv,
  6396. "click": function () {
  6397. U.MD.D.I.openApplication(str, obj, info);
  6398. }
  6399. }
  6400. break;
  6401. case "courseDesign":
  6402. _iframe = $$("iframe", {
  6403. "webkitallowfullscreen": "",
  6404. "mozallowfullscreen": "",
  6405. "allowfullscreen": "",
  6406. "frameborder": "no",
  6407. "border": "0",
  6408. "scrolling ": "no",
  6409. "style": {
  6410. "cssText": "border:0; width:100%; height:100%;"
  6411. },
  6412. "src": "/course-design-vue"
  6413. })
  6414. _box.appendChild(_iframe);
  6415. _box.appendChild(_jie);
  6416. _formdiv = new U.UF.UI.form(
  6417. "项目设计",
  6418. _box, {
  6419. "id": "courseDesign" + cid + stage + task + tool,
  6420. "style": {
  6421. "width": "90%",
  6422. "height": "90%",
  6423. "overflow": 'hidden'
  6424. },
  6425. "onresize": function () { }
  6426. }, {
  6427. closecallback: function () { }
  6428. }, {
  6429. "style": {
  6430. "height": "36px"
  6431. }
  6432. }).form; //创建窗体
  6433. _taskbar = {
  6434. "id": str + _formdiv.id,
  6435. "style": {
  6436. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6437. },
  6438. "name": "项目设计",
  6439. "forms": _formdiv,
  6440. "click": function () {
  6441. U.MD.D.I.openApplication(str, obj, info);
  6442. }
  6443. }
  6444. break;
  6445. }
  6446. const script1 = document.createElement("script");
  6447. script1.type = "text/javascript";
  6448. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6449. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6450. const script2 = document.createElement("script");
  6451. script2.type = "text/javascript";
  6452. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6453. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6454. const script3 = document.createElement("script");
  6455. script3.type = "text/javascript";
  6456. script3.charset = "UTF-8";
  6457. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6458. const script4 = document.createElement("script");
  6459. script4.type = "text/javascript";
  6460. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6461. script4.src = window.origin + "/js/Common/jietu2E.js";
  6462. if (_iframe) {
  6463. if (str == 'doc') {
  6464. _iframe = _formdiv.querySelector('iframe')
  6465. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6466. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6467. _iframe.contentWindow.document.body.appendChild(script1);
  6468. _iframe.contentWindow.document.body.appendChild(script2);
  6469. // _iframe.contentWindow.document.body.appendChild(script3);
  6470. _iframe.contentWindow.document.body.appendChild(script4);
  6471. })
  6472. if (onloadListener) {
  6473. _iframe.contentDocument.location.reload()
  6474. } else {
  6475. _iframe.contentDocument.location.reload()
  6476. }
  6477. } else if (str == 'courseDesign') {
  6478. U.UF.DL.iframeLoad(_iframe, function () {
  6479. // _iframe.contentWindow.U.MD.O.W.load();
  6480. // _iframe.contentWindow.document.body.appendChild(script1);
  6481. _iframe.contentWindow.document.body.appendChild(script2);
  6482. _iframe.contentWindow.document.body.appendChild(script4);
  6483. })
  6484. } else if (str == 'mind') {
  6485. _iframe = _formdiv.querySelector('iframe')
  6486. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6487. //
  6488. _iframe.contentWindow.document.body.appendChild(script1);
  6489. _iframe.contentWindow.document.body.appendChild(script2);
  6490. _iframe.contentWindow.document.body.appendChild(script4);
  6491. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6492. })
  6493. if (onloadListener) {
  6494. _iframe.contentDocument.location.reload()
  6495. } else {
  6496. _iframe.contentDocument.location.reload()
  6497. }
  6498. } else if (str == 'whiteboard') {
  6499. _iframe = _formdiv.querySelector('iframe')
  6500. let onloadListener = _iframe.onload = () => {
  6501. _iframe.contentWindow.document.body.appendChild(script1);
  6502. _iframe.contentWindow.document.body.appendChild(script2);
  6503. _iframe.contentWindow.document.body.appendChild(script4);
  6504. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6505. };
  6506. // if (onloadListener) {
  6507. // try {
  6508. // _iframe.src += "?cocorobo="+new Date().getTime()
  6509. // _iframe.contentWindow.document.location.reload()
  6510. // } catch (error) {
  6511. // }
  6512. // } else {
  6513. // _iframe.contentDocument.location.reload()
  6514. // }
  6515. } else {
  6516. _iframe.onload = () => {
  6517. _iframe.contentWindow.document.body.appendChild(script1);
  6518. _iframe.contentWindow.document.body.appendChild(script2);
  6519. // _iframe.contentWindow.document.body.appendChild(script3);
  6520. _iframe.contentWindow.document.body.appendChild(script4);
  6521. };
  6522. }
  6523. _jie.onclick = async () => {
  6524. let text = ''
  6525. if (aTool == 1) {
  6526. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6527. } else if (aTool == 6) {
  6528. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6529. } else if (aTool == 3) {
  6530. text = await U.MD.D.I.getEditorContent(_iframe);
  6531. }
  6532. _loading.style.display = 'flex'
  6533. console.log(_loading);
  6534. var _ajs = _iframe.contentWindow.document.createElement("script");
  6535. _ajs.type = "text/javascript";
  6536. _ajs.innerHTML =
  6537. // 'console.log(' + _loading + ');\n' +
  6538. 'var _js = document.createElement("script");\n' +
  6539. '_js.type="text/javascript";\n' +
  6540. '_js.charset="UTF-8";\n' +
  6541. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6542. "_js.onload = function(){\n" +
  6543. ' var a = document.getElementsByTagName("img")\n' +
  6544. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6545. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6546. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6547. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6548. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6549. "beforeUpload_shishi(file," +
  6550. "'" +
  6551. _userid +
  6552. "'" +
  6553. ", " +
  6554. "'" +
  6555. _cid +
  6556. "'" +
  6557. ", " +
  6558. "'" +
  6559. _stage +
  6560. "'" +
  6561. ", " +
  6562. "'" +
  6563. _task +
  6564. "'" +
  6565. ", " +
  6566. "'" +
  6567. _tool +
  6568. "'" +
  6569. ", " +
  6570. "'" +
  6571. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6572. "'" +
  6573. ", " +
  6574. "'" +
  6575. aTool +
  6576. "'" +
  6577. ", " +
  6578. "`" +
  6579. text +
  6580. "`" +
  6581. ")\n" +
  6582. " });\n" +
  6583. "}\n" +
  6584. "document.head.appendChild(_js);\n";
  6585. _iframe.contentWindow.document.head.appendChild(_ajs);
  6586. }
  6587. }
  6588. //U.MD.D.I.openClick(str);
  6589. //如果有任务栏信息
  6590. // if (_taskbar) {
  6591. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6592. // }
  6593. }
  6594. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6595. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6596. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6597. _userid = student.userid, //登录用户id
  6598. _username = student.student //用户名字
  6599. let _iframe;
  6600. let _cid = cid,
  6601. _stage = stage,
  6602. _task = task,
  6603. _tool = tool;
  6604. var _jie = $$("div", {
  6605. "style": {
  6606. "position": "absolute",
  6607. "bottom": "50px",
  6608. "right": "50px",
  6609. "zIndex": "9999",
  6610. "backgroundColor": "#2268bc",
  6611. "color": "#fff",
  6612. "padding": "12px 20px",
  6613. "cursor": "pointer",
  6614. "borderRadius": "4px",
  6615. },
  6616. "innerHTML": "提交作业"
  6617. })
  6618. let aTool = ''
  6619. let _loading = document.createElement('div')
  6620. _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;"
  6621. // _loading.id = "";
  6622. let _lchild = document.createElement('div')
  6623. let _limg = document.createElement('img')
  6624. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6625. _limg.style = "width: 26px;margin-right: 10px;"
  6626. _lchild.appendChild(_limg)
  6627. let _lspan = document.createElement('span')
  6628. _lspan.innerHTML = "上传中..."
  6629. _lchild.appendChild(_lspan)
  6630. _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%);"
  6631. _loading.appendChild(_lchild)
  6632. var _box = $$('div', {
  6633. "style": {
  6634. "position": "relative",
  6635. "width": "100%",
  6636. "height": "100%",
  6637. },
  6638. })
  6639. _box.appendChild(_loading)
  6640. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6641. switch (str) {
  6642. case "whiteboard":
  6643. aTool = 1;
  6644. _iframe = $$("iframe", {
  6645. "frameborder": "no",
  6646. "border": "0",
  6647. "scrolling ": "no",
  6648. "style": {
  6649. "cssText": "border:0;width:100%;height:100%"
  6650. },
  6651. "src": "https://beta.iwb.cocorobo.cn/"
  6652. })
  6653. _box.appendChild(_iframe);
  6654. _box.appendChild(_jie);
  6655. _formdiv = new U.UF.UI.form(
  6656. "电子白板-" + _username,
  6657. _box, {
  6658. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6659. "style": {
  6660. "width": "90%",
  6661. "height": "90%",
  6662. "overflow": 'hidden'
  6663. },
  6664. "onresize": function () { }
  6665. }, {
  6666. closecallback: function () { }
  6667. }, {
  6668. "style": {
  6669. "height": "36px"
  6670. }
  6671. }).form; //创建窗体
  6672. _taskbar = {
  6673. "id": str + _formdiv.id,
  6674. "style": {
  6675. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6676. },
  6677. "name": "电子白板",
  6678. "forms": _formdiv,
  6679. "click": function () {
  6680. U.MD.D.I.openApplication(str, obj, info);
  6681. }
  6682. }
  6683. break;
  6684. case "mind":
  6685. aTool = 3;
  6686. _iframe = $$("iframe", {
  6687. "frameborder": "no",
  6688. "border": "0",
  6689. "scrolling ": "no",
  6690. "style": {
  6691. "cssText": "border:0;width:100%;height:100%"
  6692. },
  6693. "src": "/kityminder-editor/dist/index.html"
  6694. })
  6695. _box.appendChild(_iframe);
  6696. _box.appendChild(_jie);
  6697. _formdiv = new U.UF.UI.form(
  6698. "思维导图-" + _username,
  6699. _box, { //"/jsmind/example/demo.html"
  6700. "id": "mind" + cid + stage + task + tool + _userid,
  6701. "style": {
  6702. "width": "90%",
  6703. "height": "90%",
  6704. "overflow": 'hidden'
  6705. },
  6706. "onresize": function () { }
  6707. }, {
  6708. closecallback: function () { }
  6709. }, {
  6710. "style": {
  6711. "height": "36px"
  6712. }
  6713. }).form; //创建窗体
  6714. _taskbar = {
  6715. "id": str + _formdiv.id,
  6716. "style": {
  6717. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6718. },
  6719. "name": "思维导图",
  6720. "forms": _formdiv,
  6721. "click": function () {
  6722. U.MD.D.I.openApplication(str, obj, info);
  6723. }
  6724. }
  6725. break;
  6726. case "MindMap":
  6727. aTool = 3;
  6728. _iframe = $$("iframe", {
  6729. "frameborder": "no",
  6730. "border": "0",
  6731. "scrolling ": "no",
  6732. "style": {
  6733. "cssText": "border:0;width:100%;height:100%"
  6734. },
  6735. "src": "//cloud.cocorobo.cn/mind/"
  6736. })
  6737. _box.appendChild(_iframe);
  6738. _box.appendChild(_jie);
  6739. _formdiv = new U.UF.UI.form(
  6740. "思维导图-" + _username,
  6741. _box, { //"/jsmind/example/demo.html"
  6742. "id": "mind" + cid + stage + task + tool + _userid,
  6743. "style": {
  6744. "width": "90%",
  6745. "height": "90%",
  6746. "overflow": 'hidden'
  6747. },
  6748. "onresize": function () { }
  6749. }, {
  6750. closecallback: function () { }
  6751. }, {
  6752. "style": {
  6753. "height": "36px"
  6754. }
  6755. }).form; //创建窗体
  6756. _taskbar = {
  6757. "id": str + _formdiv.id,
  6758. "style": {
  6759. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6760. },
  6761. "name": "思维导图",
  6762. "forms": _formdiv,
  6763. "click": function () {
  6764. U.MD.D.I.openApplication(str, obj, info);
  6765. }
  6766. }
  6767. break;
  6768. case "doc":
  6769. aTool = 6;
  6770. _iframe = $$("iframe", {
  6771. "frameborder": "no",
  6772. "border": "0",
  6773. "scrolling ": "no",
  6774. "style": {
  6775. "cssText": "border:0;width:100%;height:100%"
  6776. },
  6777. "src": "/Office/Word/WordEditArea.htm"
  6778. })
  6779. _box.appendChild(_iframe);
  6780. _box.appendChild(_jie);
  6781. _formdiv = new U.UF.UI.form(
  6782. "协同文档-" + _username,
  6783. _box, {
  6784. "id": "doc" + cid + stage + task + tool + _userid,
  6785. "style": {
  6786. "width": "90%",
  6787. "height": "90%",
  6788. "overflow": 'hidden'
  6789. },
  6790. "onresize": function () { }
  6791. }, {
  6792. closecallback: function () { }
  6793. }, {
  6794. "style": {
  6795. "height": "36px"
  6796. }
  6797. }).form; //创建窗体
  6798. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6799. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6800. })
  6801. _taskbar = {
  6802. "id": str + _formdiv.id,
  6803. "style": {
  6804. "backgroundImage": "url(/img/icon/doc.png)"
  6805. },
  6806. "name": "协同文档",
  6807. "forms": _formdiv,
  6808. "click": function () {
  6809. U.MD.D.I.openApplication(str, obj, info);
  6810. }
  6811. }
  6812. break;
  6813. case "mindNetwork": //好友打开
  6814. aTool = 7;
  6815. _iframe = $$("iframe", {
  6816. "webkitallowfullscreen": "",
  6817. "mozallowfullscreen": "",
  6818. "allowfullscreen": "",
  6819. "frameborder": "no",
  6820. "border": "0",
  6821. "scrolling ": "no",
  6822. "style": {
  6823. "cssText": "border:0; width:100%; height:100%;"
  6824. },
  6825. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6826. })
  6827. _box.appendChild(_iframe);
  6828. _box.appendChild(_jie);
  6829. _formdiv = new U.UF.UI.form(
  6830. "思维网格-" + _username,
  6831. _box, {
  6832. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6833. "style": {
  6834. "width": "90%",
  6835. "height": "90%",
  6836. "overflow": 'hidden'
  6837. },
  6838. "onresize": function () { }
  6839. }, {
  6840. closecallback: function () { }
  6841. }, {
  6842. "style": {
  6843. "height": "36px"
  6844. }
  6845. }).form; //创建窗体
  6846. _taskbar = {
  6847. "id": str + _formdiv.id,
  6848. "style": {
  6849. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6850. },
  6851. "name": "思维网格",
  6852. "forms": _formdiv,
  6853. "click": function () {
  6854. U.MD.D.I.openApplication(str, obj, info);
  6855. }
  6856. }
  6857. break;
  6858. case "courseDesign":
  6859. _iframe = $$("iframe", {
  6860. "webkitallowfullscreen": "",
  6861. "mozallowfullscreen": "",
  6862. "allowfullscreen": "",
  6863. "frameborder": "no",
  6864. "border": "0",
  6865. "scrolling ": "no",
  6866. "style": {
  6867. "cssText": "border:0; width:100%; height:100%;"
  6868. },
  6869. "src": "/course-design-vue"
  6870. })
  6871. _box.appendChild(_iframe);
  6872. _box.appendChild(_jie);
  6873. _formdiv = new U.UF.UI.form(
  6874. "项目设计-" + _username,
  6875. _box, {
  6876. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6877. "style": {
  6878. "width": "90%",
  6879. "height": "90%",
  6880. "overflow": 'hidden'
  6881. },
  6882. "onresize": function () { }
  6883. }, {
  6884. closecallback: function () { }
  6885. }, {
  6886. "style": {
  6887. "height": "36px"
  6888. }
  6889. }).form; //创建窗体
  6890. _taskbar = {
  6891. "id": str + _formdiv.id,
  6892. "style": {
  6893. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6894. },
  6895. "name": "项目设计",
  6896. "forms": _formdiv,
  6897. "click": function () {
  6898. U.MD.D.I.openApplication(str, obj, info);
  6899. }
  6900. }
  6901. break;
  6902. }
  6903. const script1 = document.createElement("script");
  6904. script1.type = "text/javascript";
  6905. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6906. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6907. const script2 = document.createElement("script");
  6908. script2.type = "text/javascript";
  6909. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6910. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6911. const script3 = document.createElement("script");
  6912. script3.type = "text/javascript";
  6913. script3.charset = "UTF-8";
  6914. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6915. const script4 = document.createElement("script");
  6916. script4.type = "text/javascript";
  6917. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6918. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6919. if (_iframe) {
  6920. if (str == 'doc') {
  6921. _iframe = _formdiv.querySelector('iframe')
  6922. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6923. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6924. _iframe.contentWindow.document.body.appendChild(script1);
  6925. _iframe.contentWindow.document.body.appendChild(script2);
  6926. // _iframe.contentWindow.document.body.appendChild(script3);
  6927. _iframe.contentWindow.document.body.appendChild(script4);
  6928. })
  6929. if (onloadListener) {
  6930. _iframe.contentDocument.location.reload()
  6931. } else {
  6932. _iframe.contentDocument.location.reload()
  6933. }
  6934. } else if (str == 'courseDesign') {
  6935. U.UF.DL.iframeLoad(_iframe, function () {
  6936. // _iframe.contentWindow.U.MD.O.W.load();
  6937. // _iframe.contentWindow.document.body.appendChild(script1);
  6938. _iframe.contentWindow.document.body.appendChild(script2);
  6939. _iframe.contentWindow.document.body.appendChild(script4);
  6940. })
  6941. } else if (str == 'mind') {
  6942. _iframe = _formdiv.querySelector('iframe')
  6943. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6944. //
  6945. _iframe.contentWindow.document.body.appendChild(script1);
  6946. _iframe.contentWindow.document.body.appendChild(script2);
  6947. _iframe.contentWindow.document.body.appendChild(script4);
  6948. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6949. })
  6950. if (onloadListener) {
  6951. _iframe.contentDocument.location.reload()
  6952. } else {
  6953. _iframe.contentDocument.location.reload()
  6954. }
  6955. } else if (str == 'whiteboard') {
  6956. _iframe = _formdiv.querySelector('iframe')
  6957. let onloadListener = _iframe.onload = () => {
  6958. _iframe.contentWindow.document.body.appendChild(script1);
  6959. _iframe.contentWindow.document.body.appendChild(script2);
  6960. _iframe.contentWindow.document.body.appendChild(script4);
  6961. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6962. };
  6963. // if (onloadListener) {
  6964. // try {
  6965. // _iframe.src += "?cocorobo="+new Date().getTime()
  6966. // _iframe.contentWindow.document.location.reload()
  6967. // } catch (error) {
  6968. // }
  6969. // } else {
  6970. // _iframe.contentDocument.location.reload()
  6971. // }
  6972. } else {
  6973. _iframe.onload = () => {
  6974. _iframe.contentWindow.document.body.appendChild(script1);
  6975. _iframe.contentWindow.document.body.appendChild(script2);
  6976. // _iframe.contentWindow.document.body.appendChild(script3);
  6977. _iframe.contentWindow.document.body.appendChild(script4);
  6978. };
  6979. }
  6980. _jie.onclick = async () => {
  6981. let text = ''
  6982. if (aTool == 1) {
  6983. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6984. } else if (aTool == 6) {
  6985. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6986. } else if (aTool == 3) {
  6987. text = await U.MD.D.I.getEditorContent(_iframe);
  6988. }
  6989. _loading.style.display = 'flex'
  6990. console.log(_loading);
  6991. var _ajs = _iframe.contentWindow.document.createElement("script");
  6992. _ajs.type = "text/javascript";
  6993. _ajs.innerHTML =
  6994. // 'console.log(' + _loading + ');\n' +
  6995. 'var _js = document.createElement("script");\n' +
  6996. '_js.type="text/javascript";\n' +
  6997. '_js.charset="UTF-8";\n' +
  6998. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6999. "_js.onload = function(){\n" +
  7000. ' var a = document.getElementsByTagName("img")\n' +
  7001. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7002. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7003. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7004. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7005. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7006. "beforeUpload_shishi(file," +
  7007. "'" +
  7008. _userid +
  7009. "'" +
  7010. ", " +
  7011. "'" +
  7012. _cid +
  7013. "'" +
  7014. ", " +
  7015. "'" +
  7016. _stage +
  7017. "'" +
  7018. ", " +
  7019. "'" +
  7020. _task +
  7021. "'" +
  7022. ", " +
  7023. "'" +
  7024. _tool +
  7025. "'" +
  7026. ", " +
  7027. "'" +
  7028. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  7029. "'" +
  7030. ", " +
  7031. "'" +
  7032. aTool +
  7033. "'" +
  7034. ", " +
  7035. "`" +
  7036. text +
  7037. "`" +
  7038. ")\n" +
  7039. " });\n" +
  7040. "}\n" +
  7041. "document.head.appendChild(_js);\n";
  7042. _iframe.contentWindow.document.head.appendChild(_ajs);
  7043. }
  7044. }
  7045. }
  7046. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  7047. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7048. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7049. _userid = student.userid, //登录用户id
  7050. _username = student.student //用户名字
  7051. let _iframe;
  7052. let _cid = cid,
  7053. _stage = stage,
  7054. _task = task,
  7055. _tool = tool;
  7056. var _jie = $$("div", {
  7057. "style": {
  7058. "position": "absolute",
  7059. "bottom": "50px",
  7060. "right": "50px",
  7061. "zIndex": "9999",
  7062. "backgroundColor": "#2268bc",
  7063. "color": "#fff",
  7064. "padding": "12px 20px",
  7065. "cursor": "pointer",
  7066. "borderRadius": "4px",
  7067. },
  7068. "innerHTML": "提交作业"
  7069. })
  7070. let aTool = ''
  7071. let _loading = document.createElement('div')
  7072. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  7073. // _loading.id = "";
  7074. let _lchild = document.createElement('div')
  7075. let _limg = document.createElement('img')
  7076. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7077. _limg.style = "width: 26px;margin-right: 10px;"
  7078. _lchild.appendChild(_limg)
  7079. let _lspan = document.createElement('span')
  7080. _lspan.innerHTML = "上传中..."
  7081. _lchild.appendChild(_lspan)
  7082. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  7083. _loading.appendChild(_lchild)
  7084. var _box = $$('div', {
  7085. "style": {
  7086. "position": "relative",
  7087. "width": "100%",
  7088. "height": "100%",
  7089. },
  7090. })
  7091. _box.appendChild(_loading)
  7092. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  7093. switch (str) {
  7094. case "whiteboard":
  7095. aTool = 1;
  7096. _iframe = $$("iframe", {
  7097. "frameborder": "no",
  7098. "border": "0",
  7099. "scrolling ": "no",
  7100. "style": {
  7101. "cssText": "border:0;width:100%;height:100%"
  7102. },
  7103. "src": "https://beta.iwb.cocorobo.cn/"
  7104. })
  7105. _box.appendChild(_iframe);
  7106. _box.appendChild(_jie);
  7107. _formdiv = new U.UF.UI.form(
  7108. "电子白板-" + _username,
  7109. _box, {
  7110. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7111. "style": {
  7112. "width": "90%",
  7113. "height": "90%",
  7114. "overflow": 'hidden'
  7115. },
  7116. "onresize": function () { }
  7117. }, {
  7118. closecallback: function () { }
  7119. }, {
  7120. "style": {
  7121. "height": "36px"
  7122. }
  7123. }).form; //创建窗体
  7124. _taskbar = {
  7125. "id": str + _formdiv.id,
  7126. "style": {
  7127. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7128. },
  7129. "name": "电子白板",
  7130. "forms": _formdiv,
  7131. "click": function () {
  7132. U.MD.D.I.openApplication(str, obj, info);
  7133. }
  7134. }
  7135. break;
  7136. case "mind":
  7137. aTool = 3;
  7138. _iframe = $$("iframe", {
  7139. "frameborder": "no",
  7140. "border": "0",
  7141. "scrolling ": "no",
  7142. "style": {
  7143. "cssText": "border:0;width:100%;height:100%"
  7144. },
  7145. "src": "/kityminder-editor/dist/index.html"
  7146. })
  7147. _box.appendChild(_iframe);
  7148. _box.appendChild(_jie);
  7149. _formdiv = new U.UF.UI.form(
  7150. "思维导图-" + _username,
  7151. _box, { //"/jsmind/example/demo.html"
  7152. "id": "mind" + cid + stage + task + tool + _userid,
  7153. "style": {
  7154. "width": "90%",
  7155. "height": "90%",
  7156. "overflow": 'hidden'
  7157. },
  7158. "onresize": function () { }
  7159. }, {
  7160. closecallback: function () { }
  7161. }, {
  7162. "style": {
  7163. "height": "36px"
  7164. }
  7165. }).form; //创建窗体
  7166. _taskbar = {
  7167. "id": str + _formdiv.id,
  7168. "style": {
  7169. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7170. },
  7171. "name": "思维导图",
  7172. "forms": _formdiv,
  7173. "click": function () {
  7174. U.MD.D.I.openApplication(str, obj, info);
  7175. }
  7176. }
  7177. break;
  7178. case "MindMap":
  7179. aTool = 3;
  7180. _iframe = $$("iframe", {
  7181. "frameborder": "no",
  7182. "border": "0",
  7183. "scrolling ": "no",
  7184. "style": {
  7185. "cssText": "border:0;width:100%;height:100%"
  7186. },
  7187. "src": "//cloud.cocorobo.cn/mind/"
  7188. })
  7189. _box.appendChild(_iframe);
  7190. _box.appendChild(_jie);
  7191. _formdiv = new U.UF.UI.form(
  7192. "思维导图-" + _username,
  7193. _box, { //"/jsmind/example/demo.html"
  7194. "id": "mind" + cid + stage + task + tool + _userid,
  7195. "style": {
  7196. "width": "90%",
  7197. "height": "90%",
  7198. "overflow": 'hidden'
  7199. },
  7200. "onresize": function () { }
  7201. }, {
  7202. closecallback: function () { }
  7203. }, {
  7204. "style": {
  7205. "height": "36px"
  7206. }
  7207. }).form; //创建窗体
  7208. _taskbar = {
  7209. "id": str + _formdiv.id,
  7210. "style": {
  7211. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7212. },
  7213. "name": "思维导图",
  7214. "forms": _formdiv,
  7215. "click": function () {
  7216. U.MD.D.I.openApplication(str, obj, info);
  7217. }
  7218. }
  7219. break;
  7220. case "doc":
  7221. aTool = 6;
  7222. _iframe = $$("iframe", {
  7223. "frameborder": "no",
  7224. "border": "0",
  7225. "scrolling ": "no",
  7226. "style": {
  7227. "cssText": "border:0;width:100%;height:100%"
  7228. },
  7229. "src": "/Office/Word/WordEditArea.htm"
  7230. })
  7231. _box.appendChild(_iframe);
  7232. _box.appendChild(_jie);
  7233. _formdiv = new U.UF.UI.form(
  7234. "协同文档-" + _username,
  7235. _box, {
  7236. "id": "doc" + cid + stage + task + tool + _userid,
  7237. "style": {
  7238. "width": "90%",
  7239. "height": "90%",
  7240. "overflow": 'hidden'
  7241. },
  7242. "onresize": function () { }
  7243. }, {
  7244. closecallback: function () { }
  7245. }, {
  7246. "style": {
  7247. "height": "36px"
  7248. }
  7249. }).form; //创建窗体
  7250. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7251. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7252. })
  7253. _taskbar = {
  7254. "id": str + _formdiv.id,
  7255. "style": {
  7256. "backgroundImage": "url(/img/icon/doc.png)"
  7257. },
  7258. "name": "协同文档",
  7259. "forms": _formdiv,
  7260. "click": function () {
  7261. U.MD.D.I.openApplication(str, obj, info);
  7262. }
  7263. }
  7264. break;
  7265. case "mindNetwork": //好友打开
  7266. aTool = 7;
  7267. _iframe = $$("iframe", {
  7268. "webkitallowfullscreen": "",
  7269. "mozallowfullscreen": "",
  7270. "allowfullscreen": "",
  7271. "frameborder": "no",
  7272. "border": "0",
  7273. "scrolling ": "no",
  7274. "style": {
  7275. "cssText": "border:0; width:100%; height:100%;"
  7276. },
  7277. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7278. })
  7279. _box.appendChild(_iframe);
  7280. _box.appendChild(_jie);
  7281. _formdiv = new U.UF.UI.form(
  7282. "思维网格-" + _username,
  7283. _box, {
  7284. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7285. "style": {
  7286. "width": "90%",
  7287. "height": "90%",
  7288. "overflow": 'hidden'
  7289. },
  7290. "onresize": function () { }
  7291. }, {
  7292. closecallback: function () { }
  7293. }, {
  7294. "style": {
  7295. "height": "36px"
  7296. }
  7297. }).form; //创建窗体
  7298. _taskbar = {
  7299. "id": str + _formdiv.id,
  7300. "style": {
  7301. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7302. },
  7303. "name": "思维网格",
  7304. "forms": _formdiv,
  7305. "click": function () {
  7306. U.MD.D.I.openApplication(str, obj, info);
  7307. }
  7308. }
  7309. break;
  7310. case "courseDesign":
  7311. _iframe = $$("iframe", {
  7312. "webkitallowfullscreen": "",
  7313. "mozallowfullscreen": "",
  7314. "allowfullscreen": "",
  7315. "frameborder": "no",
  7316. "border": "0",
  7317. "scrolling ": "no",
  7318. "style": {
  7319. "cssText": "border:0; width:100%; height:100%;"
  7320. },
  7321. "src": "/course-design-vue"
  7322. })
  7323. _box.appendChild(_iframe);
  7324. _box.appendChild(_jie);
  7325. _formdiv = new U.UF.UI.form(
  7326. "项目设计-" + _username,
  7327. _box, {
  7328. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7329. "style": {
  7330. "width": "90%",
  7331. "height": "90%",
  7332. "overflow": 'hidden'
  7333. },
  7334. "onresize": function () { }
  7335. }, {
  7336. closecallback: function () { }
  7337. }, {
  7338. "style": {
  7339. "height": "36px"
  7340. }
  7341. }).form; //创建窗体
  7342. _taskbar = {
  7343. "id": str + _formdiv.id,
  7344. "style": {
  7345. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7346. },
  7347. "name": "项目设计",
  7348. "forms": _formdiv,
  7349. "click": function () {
  7350. U.MD.D.I.openApplication(str, obj, info);
  7351. }
  7352. }
  7353. break;
  7354. }
  7355. const script1 = document.createElement("script");
  7356. script1.type = "text/javascript";
  7357. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7358. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7359. const script2 = document.createElement("script");
  7360. script2.type = "text/javascript";
  7361. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7362. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7363. const script3 = document.createElement("script");
  7364. script3.type = "text/javascript";
  7365. script3.charset = "UTF-8";
  7366. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7367. const script4 = document.createElement("script");
  7368. script4.type = "text/javascript";
  7369. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7370. script4.src = window.origin + "/js/Common/jietu2E.js";
  7371. if (_iframe) {
  7372. if (str == 'doc') {
  7373. _iframe = _formdiv.querySelector('iframe')
  7374. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7375. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7376. _iframe.contentWindow.document.body.appendChild(script1);
  7377. _iframe.contentWindow.document.body.appendChild(script2);
  7378. // _iframe.contentWindow.document.body.appendChild(script3);
  7379. _iframe.contentWindow.document.body.appendChild(script4);
  7380. })
  7381. if (onloadListener) {
  7382. _iframe.contentDocument.location.reload()
  7383. } else {
  7384. _iframe.contentDocument.location.reload()
  7385. }
  7386. } else if (str == 'courseDesign') {
  7387. U.UF.DL.iframeLoad(_iframe, function () {
  7388. // _iframe.contentWindow.U.MD.O.W.load();
  7389. // _iframe.contentWindow.document.body.appendChild(script1);
  7390. _iframe.contentWindow.document.body.appendChild(script2);
  7391. _iframe.contentWindow.document.body.appendChild(script4);
  7392. })
  7393. } else if (str == 'mind') {
  7394. _iframe = _formdiv.querySelector('iframe')
  7395. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7396. //
  7397. _iframe.contentWindow.document.body.appendChild(script1);
  7398. _iframe.contentWindow.document.body.appendChild(script2);
  7399. _iframe.contentWindow.document.body.appendChild(script4);
  7400. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7401. })
  7402. if (onloadListener) {
  7403. _iframe.contentDocument.location.reload()
  7404. } else {
  7405. _iframe.contentDocument.location.reload()
  7406. }
  7407. } else if (str == 'whiteboard') {
  7408. _iframe = _formdiv.querySelector('iframe')
  7409. let onloadListener = _iframe.onload = () => {
  7410. _iframe.contentWindow.document.body.appendChild(script1);
  7411. _iframe.contentWindow.document.body.appendChild(script2);
  7412. _iframe.contentWindow.document.body.appendChild(script4);
  7413. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7414. };
  7415. // if (onloadListener) {
  7416. // try {
  7417. // _iframe.src += "?cocorobo="+new Date().getTime()
  7418. // _iframe.contentWindow.document.location.reload()
  7419. // } catch (error) {
  7420. // }
  7421. // } else {
  7422. // _iframe.contentDocument.location.reload()
  7423. // }
  7424. } else {
  7425. _iframe.onload = () => {
  7426. _iframe.contentWindow.document.body.appendChild(script1);
  7427. _iframe.contentWindow.document.body.appendChild(script2);
  7428. // _iframe.contentWindow.document.body.appendChild(script3);
  7429. _iframe.contentWindow.document.body.appendChild(script4);
  7430. };
  7431. }
  7432. _jie.onclick = async () => {
  7433. let text = ''
  7434. if (aTool == 1) {
  7435. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7436. } else if (aTool == 6) {
  7437. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7438. } else if (aTool == 3) {
  7439. text = await U.MD.D.I.getEditorContent(_iframe);
  7440. }
  7441. _loading.style.display = 'flex'
  7442. console.log(_loading);
  7443. var _ajs = _iframe.contentWindow.document.createElement("script");
  7444. _ajs.type = "text/javascript";
  7445. _ajs.innerHTML =
  7446. // 'console.log(' + _loading + ');\n' +
  7447. 'var _js = document.createElement("script");\n' +
  7448. '_js.type="text/javascript";\n' +
  7449. '_js.charset="UTF-8";\n' +
  7450. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7451. "_js.onload = function(){\n" +
  7452. ' var a = document.getElementsByTagName("img")\n' +
  7453. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7454. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7455. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7456. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7457. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7458. "beforeUpload_shishi(file," +
  7459. "'" +
  7460. _userid +
  7461. "'" +
  7462. ", " +
  7463. "'" +
  7464. _cid +
  7465. "'" +
  7466. ", " +
  7467. "'" +
  7468. _stage +
  7469. "'" +
  7470. ", " +
  7471. "'" +
  7472. _task +
  7473. "'" +
  7474. ", " +
  7475. "'" +
  7476. _tool +
  7477. "'" +
  7478. ", " +
  7479. "'" +
  7480. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7481. "'" +
  7482. ", " +
  7483. "'" +
  7484. aTool +
  7485. "'" +
  7486. ", " +
  7487. "`" +
  7488. text +
  7489. "`" +
  7490. ")\n" +
  7491. " });\n" +
  7492. "}\n" +
  7493. "document.head.appendChild(_js);\n";
  7494. _iframe.contentWindow.document.head.appendChild(_ajs);
  7495. }
  7496. }
  7497. }
  7498. U.MD.D.I.getEditorContent = function (iframe) {
  7499. return new Promise((resolve, reject) => {
  7500. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7501. console.log(content);
  7502. resolve(content)
  7503. });
  7504. });
  7505. }
  7506. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7507. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7508. // if (res.value[0].length > 0) {
  7509. // // resolve(res.value[0][0].text);
  7510. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7511. // $(fileInput).val('');
  7512. // });
  7513. // }
  7514. // }, [], { "type": "GET", "withCredentials": true });
  7515. var xmlhttp;
  7516. var Mac, Sn, DeviceId
  7517. if (window.XMLHttpRequest) {
  7518. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7519. xmlhttp = new XMLHttpRequest();
  7520. } else {
  7521. // IE6, IE5 浏览器执行代码
  7522. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7523. }
  7524. xmlhttp.onreadystatechange = function () {
  7525. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7526. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7527. // resolve(res.value[0][0].text);
  7528. if (type == '2') {
  7529. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7530. } else if (type == '3') {
  7531. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7532. }
  7533. } else {
  7534. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7535. }
  7536. }
  7537. }
  7538. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7539. xmlhttp.send();
  7540. }
  7541. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7542. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7543. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7544. _userinfo = US.userInfo, //登录用户信息
  7545. _userid = US.userInfo.userid //登录用户id
  7546. let _iframe;
  7547. let _cid = cid,
  7548. _stage = stage,
  7549. _task = task,
  7550. _tool = tool;
  7551. var _jie = $$("div", {
  7552. "style": {
  7553. "position": "absolute",
  7554. "bottom": "50px",
  7555. "right": "50px",
  7556. "zIndex": "9999",
  7557. "backgroundColor": "#2268bc",
  7558. "color": "#fff",
  7559. "padding": "12px 20px",
  7560. "cursor": "pointer",
  7561. "borderRadius": "4px",
  7562. },
  7563. "innerHTML": "确认并提交"
  7564. })
  7565. let aTool = ''
  7566. let _loading = document.createElement('div')
  7567. _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;"
  7568. // _loading.id = "";
  7569. let _lchild = document.createElement('div')
  7570. let _limg = document.createElement('img')
  7571. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7572. _limg.style = "width: 26px;margin-right: 10px;"
  7573. _lchild.appendChild(_limg)
  7574. let _lspan = document.createElement('span')
  7575. _lspan.innerHTML = "上传中..."
  7576. _lchild.appendChild(_lspan)
  7577. _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%);"
  7578. _loading.appendChild(_lchild)
  7579. var _box = $$('div', {
  7580. "style": {
  7581. "position": "relative",
  7582. "width": "100%",
  7583. "height": "100%",
  7584. },
  7585. })
  7586. _box.appendChild(_loading)
  7587. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7588. switch (str) {
  7589. case "whiteboard":
  7590. aTool = 1;
  7591. _iframe = $$("iframe", {
  7592. "frameborder": "no",
  7593. "border": "0",
  7594. "scrolling ": "no",
  7595. "style": {
  7596. "cssText": "border:0;width:100%;height:100%"
  7597. },
  7598. "src": "https://beta.iwb.cocorobo.cn/"
  7599. })
  7600. _box.appendChild(_iframe);
  7601. _box.appendChild(_jie);
  7602. _formdiv = new U.UF.UI.form(
  7603. "电子白板",
  7604. _box, {
  7605. "id": "whiteboards" + cid + stage + task + tool,
  7606. "style": {
  7607. "width": "90%",
  7608. "height": "90%",
  7609. "overflow": 'hidden'
  7610. },
  7611. "onresize": function () { }
  7612. }, {
  7613. closecallback: function () { }
  7614. }, {
  7615. "style": {
  7616. "height": "36px"
  7617. }
  7618. }).form; //创建窗体
  7619. _taskbar = {
  7620. "id": str + _formdiv.id,
  7621. "style": {
  7622. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7623. },
  7624. "name": "电子白板",
  7625. "forms": _formdiv,
  7626. "click": function () {
  7627. U.MD.D.I.openApplication(str, obj, info);
  7628. }
  7629. }
  7630. break;
  7631. case "mind":
  7632. aTool = 3;
  7633. _iframe = $$("iframe", {
  7634. "frameborder": "no",
  7635. "border": "0",
  7636. "scrolling ": "no",
  7637. "style": {
  7638. "cssText": "border:0;width:100%;height:100%"
  7639. },
  7640. "src": "/kityminder-editor/dist/index.html"
  7641. });
  7642. _box.appendChild(_iframe);
  7643. _box.appendChild(_jie);
  7644. _formdiv = new U.UF.UI.form(
  7645. "思维导图",
  7646. _box, { //"/jsmind/example/demo.html"
  7647. "id": "minds" + cid + stage + task + tool,
  7648. "style": {
  7649. "width": "90%",
  7650. "height": "90%",
  7651. "overflow": 'hidden'
  7652. },
  7653. "onresize": function () { }
  7654. }, {
  7655. closecallback: function () { }
  7656. }, {
  7657. "style": {
  7658. "height": "36px"
  7659. }
  7660. }).form; //创建窗体
  7661. _taskbar = {
  7662. "id": str + _formdiv.id,
  7663. "style": {
  7664. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7665. },
  7666. "name": "思维导图",
  7667. "forms": _formdiv,
  7668. "click": function () {
  7669. U.MD.D.I.openApplication(str, obj, info);
  7670. }
  7671. }
  7672. break;
  7673. case "doc":
  7674. aTool = 6;
  7675. _iframe = $$("iframe", {
  7676. "frameborder": "no",
  7677. "border": "0",
  7678. "scrolling ": "no",
  7679. "style": {
  7680. "cssText": "border:0;width:100%;height:100%"
  7681. },
  7682. "src": "/Office/Word/WordEditArea.htm"
  7683. })
  7684. _box.appendChild(_iframe);
  7685. _box.appendChild(_jie);
  7686. _formdiv = new U.UF.UI.form(
  7687. "协同文档",
  7688. _box, {
  7689. "id": "docs" + cid + stage + task + tool,
  7690. "style": {
  7691. "width": "90%",
  7692. "height": "90%",
  7693. "overflow": 'hidden'
  7694. },
  7695. "onresize": function () { }
  7696. }, {
  7697. closecallback: function () { }
  7698. }, {
  7699. "style": {
  7700. "height": "36px"
  7701. }
  7702. }).form; //创建窗体
  7703. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7704. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7705. })
  7706. _taskbar = {
  7707. "id": str + _formdiv.id,
  7708. "style": {
  7709. "backgroundImage": "url(/img/icon/doc.png)"
  7710. },
  7711. "name": "协同文档",
  7712. "forms": _formdiv,
  7713. "click": function () {
  7714. U.MD.D.I.openApplication(str, obj, info);
  7715. }
  7716. }
  7717. break;
  7718. }
  7719. const script1 = document.createElement("script");
  7720. script1.type = "text/javascript";
  7721. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7722. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7723. const script2 = document.createElement("script");
  7724. script2.type = "text/javascript";
  7725. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7726. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7727. const script3 = document.createElement("script");
  7728. script3.type = "text/javascript";
  7729. script3.charset = "UTF-8";
  7730. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7731. const script4 = document.createElement("script");
  7732. script4.type = "text/javascript";
  7733. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7734. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7735. if (_iframe) {
  7736. if (str == 'doc') {
  7737. _iframe = _formdiv.querySelector('iframe')
  7738. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7739. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7740. _iframe.contentWindow.document.body.appendChild(script1);
  7741. _iframe.contentWindow.document.body.appendChild(script2);
  7742. // _iframe.contentWindow.document.body.appendChild(script3);
  7743. _iframe.contentWindow.document.body.appendChild(script4);
  7744. })
  7745. if (onloadListener) {
  7746. _iframe.contentDocument.location.reload()
  7747. } else {
  7748. _iframe.contentDocument.location.reload()
  7749. }
  7750. } else if (str == 'mind') {
  7751. _iframe = _formdiv.querySelector('iframe')
  7752. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7753. _iframe.contentWindow.document.body.appendChild(script1);
  7754. _iframe.contentWindow.document.body.appendChild(script2);
  7755. _iframe.contentWindow.document.body.appendChild(script4);
  7756. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7757. })
  7758. if (onloadListener) {
  7759. _iframe.contentDocument.location.reload()
  7760. } else {
  7761. _iframe.contentDocument.location.reload()
  7762. }
  7763. } else {
  7764. _iframe.onload = () => {
  7765. _iframe.contentWindow.document.body.appendChild(script1);
  7766. _iframe.contentWindow.document.body.appendChild(script2);
  7767. // _iframe.contentWindow.document.body.appendChild(script3);
  7768. _iframe.contentWindow.document.body.appendChild(script4);
  7769. };
  7770. }
  7771. _jie.onclick = async () => {
  7772. let text = ''
  7773. if (aTool == 6) {
  7774. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7775. } else if (aTool == 3) {
  7776. text = await U.MD.D.I.getEditorContent(_iframe);
  7777. }
  7778. _loading.style.display = 'flex'
  7779. console.log(_loading);
  7780. var _ajs = _iframe.contentWindow.document.createElement("script");
  7781. _ajs.type = "text/javascript";
  7782. _ajs.innerHTML =
  7783. // 'console.log(' + _loading + ');\n' +
  7784. 'var _js = document.createElement("script");\n' +
  7785. '_js.type="text/javascript";\n' +
  7786. '_js.charset="UTF-8";\n' +
  7787. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7788. "_js.onload = function(){\n" +
  7789. ' var a = document.getElementsByTagName("img")\n' +
  7790. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7791. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7792. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7793. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7794. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7795. "beforeUpload_shishi(file," +
  7796. "'" +
  7797. _userid +
  7798. "'" +
  7799. ", " +
  7800. "'" +
  7801. _cid +
  7802. "'" +
  7803. ", " +
  7804. "'" +
  7805. _stage +
  7806. "'" +
  7807. ", " +
  7808. "'" +
  7809. _task +
  7810. "'" +
  7811. ", " +
  7812. "'" +
  7813. _tool +
  7814. "'" +
  7815. ", " +
  7816. "'" +
  7817. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7818. "'" +
  7819. ", " +
  7820. "'" +
  7821. aTool +
  7822. "'" +
  7823. ", " +
  7824. "`" +
  7825. text +
  7826. "`" +
  7827. ")\n" +
  7828. " });\n" +
  7829. "}\n" +
  7830. "document.head.appendChild(_js);\n";
  7831. _iframe.contentWindow.document.head.appendChild(_ajs);
  7832. }
  7833. }
  7834. //U.MD.D.I.openClick(str);
  7835. //如果有任务栏信息
  7836. // if (_taskbar) {
  7837. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7838. // }
  7839. }
  7840. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7841. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7842. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7843. _userinfo = US.userInfo, //登录用户信息
  7844. _userid = US.userInfo.userid //登录用户id
  7845. let _iframe;
  7846. let _cid = cid,
  7847. _stage = stage,
  7848. _task = task,
  7849. _tool = tool;
  7850. var _jie = $$("div", {
  7851. "style": {
  7852. "position": "absolute",
  7853. "bottom": "50px",
  7854. "right": "50px",
  7855. "zIndex": "9999",
  7856. "backgroundColor": "#2268bc",
  7857. "color": "#fff",
  7858. "padding": "12px 20px",
  7859. "cursor": "pointer",
  7860. "borderRadius": "4px",
  7861. },
  7862. "innerHTML": "确认并提交"
  7863. })
  7864. let aTool = ''
  7865. let _loading = document.createElement('div')
  7866. _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;"
  7867. // _loading.id = "";
  7868. let _lchild = document.createElement('div')
  7869. let _limg = document.createElement('img')
  7870. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7871. _limg.style = "width: 26px;margin-right: 10px;"
  7872. _lchild.appendChild(_limg)
  7873. let _lspan = document.createElement('span')
  7874. _lspan.innerHTML = "上传中..."
  7875. _lchild.appendChild(_lspan)
  7876. _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%);"
  7877. _loading.appendChild(_lchild)
  7878. var _box = $$('div', {
  7879. "style": {
  7880. "position": "relative",
  7881. "width": "100%",
  7882. "height": "100%",
  7883. },
  7884. })
  7885. _box.appendChild(_loading)
  7886. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7887. switch (str) {
  7888. case "whiteboard":
  7889. aTool = 1;
  7890. _iframe = $$("iframe", {
  7891. "frameborder": "no",
  7892. "border": "0",
  7893. "scrolling ": "no",
  7894. "style": {
  7895. "cssText": "border:0;width:100%;height:100%"
  7896. },
  7897. "src": "https://beta.iwb.cocorobo.cn/"
  7898. })
  7899. _box.appendChild(_iframe);
  7900. _box.appendChild(_jie);
  7901. _formdiv = new U.UF.UI.form(
  7902. "电子白板",
  7903. _box, {
  7904. "id": "whiteboards" + cid + stage + task + tool,
  7905. "style": {
  7906. "width": "90%",
  7907. "height": "90%",
  7908. "overflow": 'hidden'
  7909. },
  7910. "onresize": function () { }
  7911. }, {
  7912. closecallback: function () { }
  7913. }, {
  7914. "style": {
  7915. "height": "36px"
  7916. }
  7917. }).form; //创建窗体
  7918. _taskbar = {
  7919. "id": str + _formdiv.id,
  7920. "style": {
  7921. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7922. },
  7923. "name": "电子白板",
  7924. "forms": _formdiv,
  7925. "click": function () {
  7926. U.MD.D.I.openApplication(str, obj, info);
  7927. }
  7928. }
  7929. break;
  7930. case "mind":
  7931. aTool = 3;
  7932. _iframe = $$("iframe", {
  7933. "frameborder": "no",
  7934. "border": "0",
  7935. "scrolling ": "no",
  7936. "style": {
  7937. "cssText": "border:0;width:100%;height:100%"
  7938. },
  7939. "src": "/kityminder-editor/dist/index.html"
  7940. });
  7941. _box.appendChild(_iframe);
  7942. _box.appendChild(_jie);
  7943. _formdiv = new U.UF.UI.form(
  7944. "思维导图",
  7945. _box, { //"/jsmind/example/demo.html"
  7946. "id": "minds" + cid + stage + task + tool,
  7947. "style": {
  7948. "width": "90%",
  7949. "height": "90%",
  7950. "overflow": 'hidden'
  7951. },
  7952. "onresize": function () { }
  7953. }, {
  7954. closecallback: function () { }
  7955. }, {
  7956. "style": {
  7957. "height": "36px"
  7958. }
  7959. }).form; //创建窗体
  7960. _taskbar = {
  7961. "id": str + _formdiv.id,
  7962. "style": {
  7963. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7964. },
  7965. "name": "思维导图",
  7966. "forms": _formdiv,
  7967. "click": function () {
  7968. U.MD.D.I.openApplication(str, obj, info);
  7969. }
  7970. }
  7971. break;
  7972. case "doc":
  7973. aTool = 6;
  7974. _iframe = $$("iframe", {
  7975. "frameborder": "no",
  7976. "border": "0",
  7977. "scrolling ": "no",
  7978. "style": {
  7979. "cssText": "border:0;width:100%;height:100%"
  7980. },
  7981. "src": "/Office/Word/WordEditArea.htm"
  7982. })
  7983. _box.appendChild(_iframe);
  7984. _box.appendChild(_jie);
  7985. _formdiv = new U.UF.UI.form(
  7986. "协同文档",
  7987. _box, {
  7988. "id": "docs" + cid + stage + task + tool,
  7989. "style": {
  7990. "width": "90%",
  7991. "height": "90%",
  7992. "overflow": 'hidden'
  7993. },
  7994. "onresize": function () { }
  7995. }, {
  7996. closecallback: function () { }
  7997. }, {
  7998. "style": {
  7999. "height": "36px"
  8000. }
  8001. }).form; //创建窗体
  8002. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8003. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8004. })
  8005. _taskbar = {
  8006. "id": str + _formdiv.id,
  8007. "style": {
  8008. "backgroundImage": "url(/img/icon/doc.png)"
  8009. },
  8010. "name": "协同文档",
  8011. "forms": _formdiv,
  8012. "click": function () {
  8013. U.MD.D.I.openApplication(str, obj, info);
  8014. }
  8015. }
  8016. break;
  8017. }
  8018. const script1 = document.createElement("script");
  8019. script1.type = "text/javascript";
  8020. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8021. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  8022. const script2 = document.createElement("script");
  8023. script2.type = "text/javascript";
  8024. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8025. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  8026. const script3 = document.createElement("script");
  8027. script3.type = "text/javascript";
  8028. script3.charset = "UTF-8";
  8029. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  8030. const script4 = document.createElement("script");
  8031. script4.type = "text/javascript";
  8032. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8033. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  8034. if (_iframe) {
  8035. if (str == 'doc') {
  8036. _iframe = _formdiv.querySelector('iframe')
  8037. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8038. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8039. _iframe.contentWindow.document.body.appendChild(script1);
  8040. _iframe.contentWindow.document.body.appendChild(script2);
  8041. // _iframe.contentWindow.document.body.appendChild(script3);
  8042. _iframe.contentWindow.document.body.appendChild(script4);
  8043. })
  8044. if (onloadListener) {
  8045. _iframe.contentDocument.location.reload()
  8046. } else {
  8047. _iframe.contentDocument.location.reload()
  8048. }
  8049. } else if (str == 'mind') {
  8050. _iframe = _formdiv.querySelector('iframe')
  8051. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8052. _iframe.contentWindow.document.body.appendChild(script1);
  8053. _iframe.contentWindow.document.body.appendChild(script2);
  8054. _iframe.contentWindow.document.body.appendChild(script4);
  8055. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8056. })
  8057. if (onloadListener) {
  8058. _iframe.contentDocument.location.reload()
  8059. } else {
  8060. _iframe.contentDocument.location.reload()
  8061. }
  8062. } else {
  8063. _iframe.onload = () => {
  8064. _iframe.contentWindow.document.body.appendChild(script1);
  8065. _iframe.contentWindow.document.body.appendChild(script2);
  8066. // _iframe.contentWindow.document.body.appendChild(script3);
  8067. _iframe.contentWindow.document.body.appendChild(script4);
  8068. };
  8069. }
  8070. _jie.onclick = async () => {
  8071. let text = ''
  8072. if (aTool == 6) {
  8073. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8074. } else if (aTool == 3) {
  8075. text = await U.MD.D.I.getEditorContent(_iframe);
  8076. }
  8077. _loading.style.display = 'flex'
  8078. console.log(_loading);
  8079. var _ajs = _iframe.contentWindow.document.createElement("script");
  8080. _ajs.type = "text/javascript";
  8081. _ajs.innerHTML =
  8082. // 'console.log(' + _loading + ');\n' +
  8083. 'var _js = document.createElement("script");\n' +
  8084. '_js.type="text/javascript";\n' +
  8085. '_js.charset="UTF-8";\n' +
  8086. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  8087. "_js.onload = function(){\n" +
  8088. ' var a = document.getElementsByTagName("img")\n' +
  8089. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8090. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8091. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8092. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8093. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  8094. "beforeUpload_shishi(file," +
  8095. "'" +
  8096. _userid +
  8097. "'" +
  8098. ", " +
  8099. "'" +
  8100. _cid +
  8101. "'" +
  8102. ", " +
  8103. "'" +
  8104. _stage +
  8105. "'" +
  8106. ", " +
  8107. "'" +
  8108. _task +
  8109. "'" +
  8110. ", " +
  8111. "'" +
  8112. _tool +
  8113. "'" +
  8114. ", " +
  8115. "'" +
  8116. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  8117. "'" +
  8118. ", " +
  8119. "'" +
  8120. aTool +
  8121. "'" +
  8122. ", " +
  8123. "`" +
  8124. text +
  8125. "`" +
  8126. ")\n" +
  8127. " });\n" +
  8128. "}\n" +
  8129. "document.head.appendChild(_js);\n";
  8130. _iframe.contentWindow.document.head.appendChild(_ajs);
  8131. }
  8132. }
  8133. //U.MD.D.I.openClick(str);
  8134. //如果有任务栏信息
  8135. // if (_taskbar) {
  8136. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8137. // }
  8138. }
  8139. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8140. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8141. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8142. _userinfo = US.userInfo, //登录用户信息
  8143. _userid = US.userInfo.userid //登录用户id
  8144. let _iframe;
  8145. let _cid = cid,
  8146. _stage = stage,
  8147. _task = task,
  8148. _tool = tool;
  8149. var _jie = $$("div", {
  8150. "style": {
  8151. "position": "absolute",
  8152. "bottom": "50px",
  8153. "right": "50px",
  8154. "zIndex": "9999",
  8155. "backgroundColor": "#2268bc",
  8156. "color": "#fff",
  8157. "padding": "12px 20px",
  8158. "cursor": "pointer",
  8159. "borderRadius": "4px",
  8160. },
  8161. "innerHTML": "上传模板"
  8162. })
  8163. let aTool = ''
  8164. let _loading = document.createElement('div')
  8165. _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;"
  8166. // _loading.id = "";
  8167. let _lchild = document.createElement('div')
  8168. let _limg = document.createElement('img')
  8169. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8170. _limg.style = "width: 26px;margin-right: 10px;"
  8171. _lchild.appendChild(_limg)
  8172. let _lspan = document.createElement('span')
  8173. _lspan.innerHTML = "上传中..."
  8174. _lchild.appendChild(_lspan)
  8175. _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%);"
  8176. _loading.appendChild(_lchild)
  8177. var _box = $$('div', {
  8178. "style": {
  8179. "position": "relative",
  8180. "width": "100%",
  8181. "height": "100%",
  8182. },
  8183. })
  8184. _box.appendChild(_loading)
  8185. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8186. switch (str) {
  8187. case "whiteboard":
  8188. aTool = 1;
  8189. _iframe = $$("iframe", {
  8190. "frameborder": "no",
  8191. "border": "0",
  8192. "scrolling ": "no",
  8193. "style": {
  8194. "cssText": "border:0;width:100%;height:100%"
  8195. },
  8196. "src": "https://beta.iwb.cocorobo.cn/"
  8197. })
  8198. _box.appendChild(_iframe);
  8199. _box.appendChild(_jie);
  8200. _formdiv = new U.UF.UI.form(
  8201. "电子白板",
  8202. _box, {
  8203. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8204. "style": {
  8205. "width": "90%",
  8206. "height": "90%",
  8207. "overflow": 'hidden'
  8208. },
  8209. "onresize": function () { }
  8210. }, {
  8211. closecallback: function () { }
  8212. }, {
  8213. "style": {
  8214. "height": "36px"
  8215. }
  8216. }).form; //创建窗体
  8217. _taskbar = {
  8218. "id": str + _formdiv.id,
  8219. "style": {
  8220. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8221. },
  8222. "name": "电子白板",
  8223. "forms": _formdiv,
  8224. "click": function () {
  8225. U.MD.D.I.openApplication(str, obj, info);
  8226. }
  8227. }
  8228. break;
  8229. case "mind":
  8230. aTool = 3;
  8231. _iframe = $$("iframe", {
  8232. "frameborder": "no",
  8233. "border": "0",
  8234. "scrolling ": "no",
  8235. "style": {
  8236. "cssText": "border:0;width:100%;height:100%"
  8237. },
  8238. "src": "/kityminder-editor/dist/index.html"
  8239. });
  8240. _box.appendChild(_iframe);
  8241. _box.appendChild(_jie);
  8242. _formdiv = new U.UF.UI.form(
  8243. "思维导图",
  8244. _box, { //"/jsmind/example/demo.html"
  8245. "id": "minds_Yu" + cid + stage + task + tool,
  8246. "style": {
  8247. "width": "90%",
  8248. "height": "90%",
  8249. "overflow": 'hidden'
  8250. },
  8251. "onresize": function () { }
  8252. }, {
  8253. closecallback: function () { }
  8254. }, {
  8255. "style": {
  8256. "height": "36px"
  8257. }
  8258. }).form; //创建窗体
  8259. _taskbar = {
  8260. "id": str + _formdiv.id,
  8261. "style": {
  8262. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8263. },
  8264. "name": "思维导图",
  8265. "forms": _formdiv,
  8266. "click": function () {
  8267. U.MD.D.I.openApplication(str, obj, info);
  8268. }
  8269. }
  8270. break;
  8271. case "doc":
  8272. aTool = 6;
  8273. _iframe = $$("iframe", {
  8274. "frameborder": "no",
  8275. "border": "0",
  8276. "scrolling ": "no",
  8277. "style": {
  8278. "cssText": "border:0;width:100%;height:100%"
  8279. },
  8280. "src": "/Office/Word/WordEditArea.htm"
  8281. })
  8282. _box.appendChild(_iframe);
  8283. _box.appendChild(_jie);
  8284. _formdiv = new U.UF.UI.form(
  8285. "协同文档",
  8286. _box, {
  8287. "id": "docs_Yu" + cid + stage + task + tool,
  8288. "style": {
  8289. "width": "90%",
  8290. "height": "90%",
  8291. "overflow": 'hidden'
  8292. },
  8293. "onresize": function () { }
  8294. }, {
  8295. closecallback: function () { }
  8296. }, {
  8297. "style": {
  8298. "height": "36px"
  8299. }
  8300. }).form; //创建窗体
  8301. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8302. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8303. })
  8304. _taskbar = {
  8305. "id": str + _formdiv.id,
  8306. "style": {
  8307. "backgroundImage": "url(/img/icon/doc.png)"
  8308. },
  8309. "name": "协同文档",
  8310. "forms": _formdiv,
  8311. "click": function () {
  8312. U.MD.D.I.openApplication(str, obj, info);
  8313. }
  8314. }
  8315. break;
  8316. case "CocoPi":
  8317. aTool = 57;
  8318. _iframe = $$("iframe", {
  8319. "allowpaymentrequest": "allowpaymentrequest",
  8320. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8321. "webkitallowfullscreen": "",
  8322. "mozallowfullscreen": "",
  8323. "frameborder": "no",
  8324. "border": "0",
  8325. "scrolling ": "no",
  8326. "style": {
  8327. "cssText": "border:0;width:100%;height:100%"
  8328. },
  8329. "src": "https://pi.cocorobo.cn/"
  8330. })
  8331. _box.appendChild(_iframe);
  8332. _box.appendChild(_jie);
  8333. _formdiv = new U.UF.UI.form(
  8334. "CocoPi",
  8335. _box, {
  8336. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8337. "style": {
  8338. "width": "90%",
  8339. "height": "90%",
  8340. "overflow": 'hidden'
  8341. },
  8342. "onresize": function () { }
  8343. }, {
  8344. closecallback: function () { }
  8345. }, {
  8346. "style": {
  8347. "height": "36px"
  8348. }
  8349. }).form; //创建窗体
  8350. _taskbar = {
  8351. "id": str + _formdiv.id,
  8352. "style": {
  8353. "backgroundImage": "url(/img/icon/cocopi.png)"
  8354. },
  8355. "name": "CocoPi",
  8356. "forms": _formdiv,
  8357. "click": function () {
  8358. U.MD.D.I.openApplication(str, obj, info);
  8359. }
  8360. }
  8361. break;
  8362. }
  8363. if (_iframe) {
  8364. if (str == 'doc') {
  8365. _iframe = _formdiv.querySelector('iframe')
  8366. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8367. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8368. })
  8369. if (onloadListener) {
  8370. _iframe.contentDocument.location.reload()
  8371. } else {
  8372. _iframe.contentDocument.location.reload()
  8373. }
  8374. } else if (str == 'mind') {
  8375. _iframe = _formdiv.querySelector('iframe')
  8376. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8377. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8378. })
  8379. if (onloadListener) {
  8380. _iframe.contentDocument.location.reload()
  8381. } else {
  8382. _iframe.contentDocument.location.reload()
  8383. }
  8384. } else if (str == 'whiteboard') {
  8385. _iframe = _formdiv.querySelector('iframe')
  8386. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8387. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8388. })
  8389. // if (onloadListener) {
  8390. // try {
  8391. // _iframe.src += "?cocorobo="+new Date().getTime()
  8392. // _iframe.contentWindow.document.location.reload()
  8393. // } catch (error) {
  8394. // }
  8395. // } else {
  8396. // _iframe.contentDocument.location.reload()
  8397. // }
  8398. } else if (str == 'CocoPi') {
  8399. _iframe = _formdiv.querySelector('iframe')
  8400. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8401. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8402. })
  8403. if (onloadListener) {
  8404. _iframe.contentDocument.location.reload()
  8405. } else {
  8406. _iframe.contentDocument.location.reload()
  8407. }
  8408. } else {
  8409. _iframe.onload = () => { };
  8410. }
  8411. _jie.onclick = async () => {
  8412. let text = ''
  8413. let type = '2'
  8414. if (aTool == 1) {
  8415. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8416. type = '3'
  8417. } else if (aTool == 6) {
  8418. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8419. type = '1'
  8420. } else if (aTool == 3) {
  8421. text = await U.MD.D.I.getEditorContent(_iframe);
  8422. type = '2'
  8423. } else if (aTool == 57) {
  8424. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8425. type = '4'
  8426. }
  8427. _loading.style.display = 'flex'
  8428. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8429. }
  8430. }
  8431. //U.MD.D.I.openClick(str);
  8432. //如果有任务栏信息
  8433. // if (_taskbar) {
  8434. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8435. // }
  8436. }
  8437. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8438. var xmlhttp;
  8439. var Mac, Sn, DeviceId
  8440. if (window.XMLHttpRequest) {
  8441. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8442. xmlhttp = new XMLHttpRequest();
  8443. } else {
  8444. // IE6, IE5 浏览器执行代码
  8445. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8446. }
  8447. xmlhttp.onreadystatechange = function () {
  8448. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8449. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8450. // resolve(res.value[0][0].text);
  8451. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8452. }
  8453. }
  8454. }
  8455. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8456. xmlhttp.send();
  8457. }
  8458. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8459. var xmlhttp;
  8460. var Mac, Sn, DeviceId
  8461. if (window.XMLHttpRequest) {
  8462. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8463. xmlhttp = new XMLHttpRequest();
  8464. } else {
  8465. // IE6, IE5 浏览器执行代码
  8466. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8467. }
  8468. xmlhttp.onreadystatechange = function () {
  8469. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8470. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8471. // resolve(res.value[0][0].text);
  8472. if (type == '2') {
  8473. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8474. } else if (type == '3') {
  8475. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8476. } else if (type == '4') {
  8477. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8478. }
  8479. } else {
  8480. if (type == '2') {
  8481. iframe.contentWindow.editor.minder.importData('json', '')
  8482. } else if (type == '3') {
  8483. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8484. } else if (type == '4') {
  8485. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8486. }
  8487. }
  8488. }
  8489. }
  8490. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8491. xmlhttp.send();
  8492. }
  8493. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8494. var xmlhttp;
  8495. var Mac, Sn, DeviceId
  8496. if (window.XMLHttpRequest) {
  8497. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8498. xmlhttp = new XMLHttpRequest();
  8499. } else {
  8500. // IE6, IE5 浏览器执行代码
  8501. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8502. }
  8503. xmlhttp.onreadystatechange = function () {
  8504. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8505. if (xmlhttp.response) {
  8506. // resolve(res.value[0][0].text);
  8507. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8508. // $(fileInput).val('');
  8509. // });
  8510. span.innerHTML = '上传成功'
  8511. setTimeout(() => {
  8512. loading.style.display = 'none'
  8513. }, 1000);
  8514. }
  8515. }
  8516. }
  8517. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8518. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8519. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8520. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8521. // 设置请求头,表示请求体的编码格式
  8522. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8523. // 设置请求体,使用url-encoded格式的数据
  8524. }
  8525. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8526. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8527. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8528. _userinfo = US.userInfo, //登录用户信息
  8529. _userid = US.userInfo.userid //登录用户id
  8530. let _iframe;
  8531. let _cid = cid,
  8532. _stage = stage,
  8533. _task = task,
  8534. _tool = tool;
  8535. var _jie = $$("div", {
  8536. "style": {
  8537. "position": "absolute",
  8538. "bottom": "50px",
  8539. "right": "50px",
  8540. "zIndex": "9999",
  8541. "backgroundColor": "#2268bc",
  8542. "color": "#fff",
  8543. "padding": "12px 20px",
  8544. "cursor": "pointer",
  8545. "borderRadius": "4px",
  8546. },
  8547. "innerHTML": "提交作业"
  8548. })
  8549. let aTool = ''
  8550. let _loading = document.createElement('div')
  8551. _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;"
  8552. // _loading.id = "";
  8553. let _lchild = document.createElement('div')
  8554. let _limg = document.createElement('img')
  8555. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8556. _limg.style = "width: 26px;margin-right: 10px;"
  8557. _lchild.appendChild(_limg)
  8558. let _lspan = document.createElement('span')
  8559. _lspan.innerHTML = "上传中..."
  8560. _lchild.appendChild(_lspan)
  8561. _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%);"
  8562. _loading.appendChild(_lchild)
  8563. var _box = $$('div', {
  8564. "style": {
  8565. "position": "relative",
  8566. "width": "100%",
  8567. "height": "100%",
  8568. },
  8569. })
  8570. _box.appendChild(_loading)
  8571. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8572. switch (str) {
  8573. case "CocoPi":
  8574. aTool = 57;
  8575. _iframe = $$("iframe", {
  8576. "allowpaymentrequest": "allowpaymentrequest",
  8577. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8578. "webkitallowfullscreen": "",
  8579. "mozallowfullscreen": "",
  8580. "frameborder": "no",
  8581. "border": "0",
  8582. "scrolling ": "no",
  8583. "style": {
  8584. "cssText": "border:0;width:100%;height:100%"
  8585. },
  8586. "src": "https://pi.cocorobo.cn/"
  8587. })
  8588. _box.appendChild(_iframe);
  8589. _box.appendChild(_jie);
  8590. _formdiv = new U.UF.UI.form(
  8591. "CocoPi",
  8592. _box, {
  8593. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8594. "style": {
  8595. "width": "90%",
  8596. "height": "90%",
  8597. "overflow": 'hidden'
  8598. },
  8599. "onresize": function () { }
  8600. }, {
  8601. closecallback: function () { }
  8602. }, {
  8603. "style": {
  8604. "height": "36px"
  8605. }
  8606. }).form; //创建窗体
  8607. _taskbar = {
  8608. "id": str + _formdiv.id,
  8609. "style": {
  8610. "backgroundImage": "url(/img/icon/cocopi.png)"
  8611. },
  8612. "name": "CocoPi",
  8613. "forms": _formdiv,
  8614. "click": function () {
  8615. U.MD.D.I.openApplication(str, obj, info);
  8616. }
  8617. }
  8618. break;
  8619. }
  8620. if (_iframe) {
  8621. if (str == 'CocoPi') {
  8622. _iframe = _formdiv.querySelector('iframe')
  8623. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8624. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8625. })
  8626. if (onloadListener) {
  8627. _iframe.contentDocument.location.reload()
  8628. } else {
  8629. _iframe.contentDocument.location.reload()
  8630. }
  8631. }
  8632. _jie.onclick = async () => {
  8633. let text = ''
  8634. if (aTool == 57) {
  8635. text = _iframe.contentWindow.getLoadXmlStr()
  8636. }
  8637. _loading.style.display = 'flex'
  8638. console.log(_loading);
  8639. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8640. _loading.style.display = 'none'
  8641. let _div = document.createElement('div')
  8642. _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;"
  8643. let _inner = document.createElement('div')
  8644. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8645. _inner.innerHTML = "上传成功"
  8646. _div.appendChild(_inner)
  8647. _iframe.contentWindow.window.document.body.appendChild(_div)
  8648. _div.onclick = () => {
  8649. _iframe.contentWindow.window.document.body.removeChild(_div)
  8650. }
  8651. setTimeout(() => {
  8652. _iframe.contentWindow.window.document.body.removeChild(_div)
  8653. }, 1000);
  8654. }, [], { "type": "POST", "withCredentials": true });
  8655. }
  8656. }
  8657. }
  8658. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8659. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8660. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8661. _userid = student.userid, //登录用户id
  8662. _username = student.student //用户名字
  8663. let _iframe;
  8664. let _cid = cid,
  8665. _stage = stage,
  8666. _task = task,
  8667. _tool = tool;
  8668. var _jie = $$("div", {
  8669. "style": {
  8670. "position": "absolute",
  8671. "bottom": "50px",
  8672. "right": "50px",
  8673. "zIndex": "9999",
  8674. "backgroundColor": "#2268bc",
  8675. "color": "#fff",
  8676. "padding": "12px 20px",
  8677. "cursor": "pointer",
  8678. "borderRadius": "4px",
  8679. },
  8680. "innerHTML": "提交作业"
  8681. })
  8682. let aTool = ''
  8683. let _loading = document.createElement('div')
  8684. _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;"
  8685. // _loading.id = "";
  8686. let _lchild = document.createElement('div')
  8687. let _limg = document.createElement('img')
  8688. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8689. _limg.style = "width: 26px;margin-right: 10px;"
  8690. _lchild.appendChild(_limg)
  8691. let _lspan = document.createElement('span')
  8692. _lspan.innerHTML = "上传中..."
  8693. _lchild.appendChild(_lspan)
  8694. _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%);"
  8695. _loading.appendChild(_lchild)
  8696. var _box = $$('div', {
  8697. "style": {
  8698. "position": "relative",
  8699. "width": "100%",
  8700. "height": "100%",
  8701. },
  8702. })
  8703. _box.appendChild(_loading)
  8704. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8705. switch (str) {
  8706. case "CocoPi":
  8707. aTool = 57;
  8708. _iframe = $$("iframe", {
  8709. "allowpaymentrequest": "allowpaymentrequest",
  8710. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8711. "webkitallowfullscreen": "",
  8712. "mozallowfullscreen": "",
  8713. "frameborder": "no",
  8714. "border": "0",
  8715. "scrolling ": "no",
  8716. "style": {
  8717. "cssText": "border:0;width:100%;height:100%"
  8718. },
  8719. "src": "https://pi.cocorobo.cn/"
  8720. })
  8721. _box.appendChild(_iframe);
  8722. _box.appendChild(_jie);
  8723. _formdiv = new U.UF.UI.form(
  8724. "CocoPi-" + _username,
  8725. _box, {
  8726. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8727. "style": {
  8728. "width": "90%",
  8729. "height": "90%",
  8730. "overflow": 'hidden'
  8731. },
  8732. "onresize": function () { }
  8733. }, {
  8734. closecallback: function () { }
  8735. }, {
  8736. "style": {
  8737. "height": "36px"
  8738. }
  8739. }).form; //创建窗体
  8740. _taskbar = {
  8741. "id": str + _formdiv.id,
  8742. "style": {
  8743. "backgroundImage": "url(/img/icon/cocopi.png)"
  8744. },
  8745. "name": "CocoPi",
  8746. "forms": _formdiv,
  8747. "click": function () {
  8748. U.MD.D.I.openApplication(str, obj, info);
  8749. }
  8750. }
  8751. break;
  8752. }
  8753. if (_iframe) {
  8754. if (str == 'CocoPi') {
  8755. _iframe = _formdiv.querySelector('iframe')
  8756. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8757. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8758. })
  8759. if (onloadListener) {
  8760. _iframe.contentDocument.location.reload()
  8761. } else {
  8762. _iframe.contentDocument.location.reload()
  8763. }
  8764. }
  8765. _jie.onclick = async () => {
  8766. let text = ''
  8767. if (aTool == 57) {
  8768. text = _iframe.contentWindow.getLoadXmlStr()
  8769. }
  8770. _loading.style.display = 'flex'
  8771. console.log(_loading);
  8772. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8773. _loading.style.display = 'none'
  8774. let _div = document.createElement('div')
  8775. _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;"
  8776. let _inner = document.createElement('div')
  8777. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8778. _inner.innerHTML = "上传成功"
  8779. _div.appendChild(_inner)
  8780. _iframe.contentWindow.window.document.body.appendChild(_div)
  8781. _div.onclick = () => {
  8782. _iframe.contentWindow.window.document.body.removeChild(_div)
  8783. }
  8784. setTimeout(() => {
  8785. _iframe.contentWindow.window.document.body.removeChild(_div)
  8786. }, 1000);
  8787. }, [], { "type": "POST", "withCredentials": true });
  8788. }
  8789. }
  8790. }
  8791. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8792. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8793. if (res.value[0].length > 0) {
  8794. if (atool == 57) {
  8795. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8796. }
  8797. } else {
  8798. if (atool == 57) {
  8799. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8800. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8801. }
  8802. }
  8803. }, [], { "type": "POST", "withCredentials": true });
  8804. }