DeskTop.js 554 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院实小教师桌面图标的全局变量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  729. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  730. ];
  731. //hk
  732. U.MD.D.I.hkaceStudentDeskIcon = [
  733. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  734. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  735. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  736. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  739. ];
  740. //香海正覺蓮社佛教正覺中學
  741. U.MD.D.I.hkZJLSteacherDeskIcon = [
  742. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  743. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  744. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  745. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  746. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  747. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  748. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  749. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  750. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  751. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  752. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  753. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  754. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  755. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  757. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  758. ];
  759. //香海正覺蓮社佛教正覺中學
  760. U.MD.D.I.hkZJLSStudentDeskIcon = [
  761. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  762. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  763. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  764. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  765. ];
  766. //云海
  767. U.MD.D.I.yunhaiTeacherDeskIcon = [
  768. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  769. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  770. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  771. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  772. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  773. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  774. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  775. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  776. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  777. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  778. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  779. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  780. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  781. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  782. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  783. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  784. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  785. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  786. ];
  787. //福田
  788. U.MD.D.I.heyuanTeacherDeskIcon = [
  789. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  790. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  791. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  792. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  793. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  794. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  795. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  796. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  797. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  798. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  800. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  801. ];
  802. //福田
  803. U.MD.D.I.heyuanAdminDeskIcon = [
  804. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  805. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  806. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  807. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  808. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  809. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  810. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  811. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  812. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  813. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  814. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  815. ];
  816. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  817. U.MD.D.I.szherTeacherDeskIcon = [
  818. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  819. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  820. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  821. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  822. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  823. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  824. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  825. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  827. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  828. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  829. ];
  830. //dsei
  831. U.MD.D.I.dseiTeacherDeskIcon = [
  832. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  833. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  834. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  835. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  836. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  837. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  838. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  839. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  840. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  841. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  842. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  843. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  844. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  845. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  846. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  847. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  848. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  849. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  850. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  851. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  852. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  853. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  854. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  855. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  856. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  857. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  858. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  859. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  860. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  861. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  862. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  863. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  864. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  865. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  866. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  867. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  868. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  869. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  870. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  871. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  872. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  873. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  874. ];
  875. //dsei
  876. U.MD.D.I.dseiAdminDeskIcon = [
  877. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  878. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  879. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  880. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  881. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  882. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  883. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  884. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  885. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  886. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  887. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  888. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  889. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  890. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  891. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  892. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  893. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  894. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  895. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  896. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  897. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  898. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  899. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  900. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  901. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  902. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  903. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  904. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  905. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  906. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  907. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  908. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  909. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  910. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  911. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  912. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  913. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  914. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  916. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  917. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  918. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  919. ];
  920. //dsei
  921. U.MD.D.I.dseiStudentDeskIcon = [
  922. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  923. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  924. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  925. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  926. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  927. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  928. ];
  929. //未来教育基地
  930. U.MD.D.I.szjkyTeacherDeskIcon = [
  931. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  932. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  933. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  934. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  935. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  936. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  937. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  938. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  939. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  940. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  941. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  942. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  943. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  944. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  945. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  946. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  947. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  948. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  949. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  950. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  951. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  952. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  953. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  954. ];
  955. //未来教育基地
  956. U.MD.D.I.szjkyAdminDeskIcon = [
  957. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  958. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  962. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  963. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  964. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  965. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  966. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  967. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  968. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  969. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  970. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  971. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  972. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  973. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  974. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  975. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  976. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  977. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  978. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  979. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  980. ];
  981. //未来教育基地
  982. U.MD.D.I.szjkyStudentDeskIcon = [
  983. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  984. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  985. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  986. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  987. ];
  988. //成华教育局
  989. U.MD.D.I.chjyjTeacherDeskIcon = [
  990. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  991. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  992. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  993. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  994. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  995. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  996. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  997. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  998. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  999. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1000. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1001. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1002. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1003. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1004. ];
  1005. //成华教育局chjyj
  1006. U.MD.D.I.chjyjAdminDeskIcon = [
  1007. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1008. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1012. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1013. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1014. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1015. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1016. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1017. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1018. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1019. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1022. ];
  1023. //成华教育局chjyj
  1024. U.MD.D.I.chjyjStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //tpc
  1031. U.MD.D.I.tpcStudentDeskIcon = [
  1032. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1033. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1034. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1035. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. ];
  1037. //tpc
  1038. U.MD.D.I.tpcTeacherDeskIcon = [
  1039. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1040. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1041. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1042. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1043. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1044. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1045. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1046. ];
  1047. //tpc
  1048. U.MD.D.I.tpcAdminDeskIcon = [
  1049. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1050. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1051. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1052. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1053. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1054. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1055. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1056. ];
  1057. //THU-IOE
  1058. U.MD.D.I.thuioeTeacherDeskIcon = [
  1059. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1060. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1061. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1062. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1063. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1064. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1065. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1066. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1067. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1068. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1069. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1070. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1071. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1072. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1073. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1074. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1075. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1076. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1077. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1078. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1079. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1080. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1081. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1082. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1083. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1084. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1085. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1086. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1087. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1088. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1089. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1090. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1091. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1092. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1093. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1094. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1095. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1096. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1097. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1098. ];
  1099. //THU-IOE
  1100. U.MD.D.I.thuioeStudentDeskIcon = [
  1101. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1104. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1105. ];
  1106. //jccssyl
  1107. U.MD.D.I.jccssylTeacherDeskIcon = [
  1108. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1109. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1110. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1111. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1112. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1113. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1114. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1115. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1116. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1117. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1118. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1119. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1120. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1121. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1122. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1123. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1124. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1125. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1126. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1127. ];
  1128. //jccssyl
  1129. U.MD.D.I.jccssylStudentDeskIcon = [
  1130. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1131. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1132. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1133. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1134. ];
  1135. //cale
  1136. U.MD.D.I.caleTeacherDeskIcon = [
  1137. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1138. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1139. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1140. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1141. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1143. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1144. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1145. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1146. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1147. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1148. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1149. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1150. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1151. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1152. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1153. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1154. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1155. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1156. ];
  1157. //cale
  1158. U.MD.D.I.caleStudentDeskIcon = [
  1159. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1160. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1161. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1162. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1163. ];
  1164. //lqwmsgzs
  1165. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1166. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1167. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1168. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1169. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1170. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1171. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1172. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1173. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1174. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1175. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1176. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1177. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1178. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1179. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1180. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1181. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1182. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1183. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1184. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1185. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1186. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1187. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1188. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1189. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1190. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1191. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1192. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1193. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1194. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1195. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1196. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1197. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1198. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1199. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1200. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1201. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1202. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1203. ];
  1204. //lqwmsgzs
  1205. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1206. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1207. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1208. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1209. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1210. ];
  1211. //盐田区幼儿园
  1212. U.MD.D.I.ytyTeacherDeskIcon = [
  1213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1215. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1216. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1217. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1218. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1219. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1220. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1221. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1222. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1223. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1224. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1225. ];
  1226. //盐田区幼儿园
  1227. U.MD.D.I.ytyStudentDeskIcon = [
  1228. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1229. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1230. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1231. ];
  1232. //scnuai
  1233. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1234. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1235. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1236. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1237. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1238. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1239. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1240. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1241. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1242. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1243. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1244. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1245. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1246. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1247. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1248. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1249. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1250. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1251. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1252. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1253. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1254. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1255. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1256. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1257. ];
  1258. //scnuai
  1259. U.MD.D.I.scnuaiAdminDeskIcon = [
  1260. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1261. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1262. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1263. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1264. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1265. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1266. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1267. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1268. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1269. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1270. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1271. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1272. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1273. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1274. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1275. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1276. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1277. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1278. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1279. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1280. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1281. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1282. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1283. ];
  1284. //scnuai
  1285. U.MD.D.I.scnuaiStudentDeskIcon = [
  1286. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1287. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1288. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1289. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1290. ];
  1291. //#region 桌面初始化a
  1292. /**
  1293. * 初始化桌面的起始函数
  1294. *
  1295. */
  1296. U.MD.D.I.init = function () {
  1297. if ($("#U_MD_D_K")[0]) {
  1298. //初始化桌面图标
  1299. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1300. // var clickUrl = ':12588/requestIp.php';
  1301. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1302. // U.MD.D.I.Ip = data;
  1303. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1304. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1305. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1306. // })
  1307. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1308. // })
  1309. }
  1310. }
  1311. /**
  1312. * 模式切换
  1313. *
  1314. */
  1315. U.MD.D.I.ModeCheck = function (type) {
  1316. if (US.Config.type == type) {
  1317. return
  1318. }
  1319. US.Config.type = type
  1320. $('.U_PBL_Check .active')[0].className = ''
  1321. if (type == 1) {
  1322. $('.U_PBL_Check div')[0].className = 'active'
  1323. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1324. } else {
  1325. $('.U_PBL_Check div')[1].className = 'active'
  1326. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1327. }
  1328. //初始化桌面图标
  1329. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1330. if (type == 2) {
  1331. U.MD.D.I.openApplication("project")
  1332. }
  1333. }
  1334. /**
  1335. * 隐藏任务栏
  1336. *
  1337. * @param {element} 桌面元素
  1338. */
  1339. U.MD.D.I.hiddenTaskbar = function (el) {
  1340. //任务栏位置变小
  1341. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1342. //桌面的位置变大
  1343. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1344. }
  1345. /**
  1346. * 隐藏任务栏
  1347. *
  1348. * @param {element} 桌面元素
  1349. */
  1350. U.MD.D.I.hiddenTaskbarout = function (el) {
  1351. //任务栏位置变小
  1352. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1353. //任务栏位置变化
  1354. U.selectEl(el).css({ "bottom": "-60px" });
  1355. //桌面的位置变大
  1356. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1357. }
  1358. }
  1359. /**
  1360. * 初始化打印桌面图标
  1361. *
  1362. * @param {element} 桌面元素
  1363. */
  1364. U.MD.D.I.initDesktopIcons = function (el, type) {
  1365. var i, //用于循环
  1366. _content, //桌面图标元素
  1367. _iconcontent, //桌面图标元素
  1368. _frag = $$("frag"), //定义一个碎片元素
  1369. _type = US.userInfo.type,
  1370. _org = US.userInfo.org,
  1371. _oid = US.userInfo.organizeid,
  1372. _role = US.userInfo.role,
  1373. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1374. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1375. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1376. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1377. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1378. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1379. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1380. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1381. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1382. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1383. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1384. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1385. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1386. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1387. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1388. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1389. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1390. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1391. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1392. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1393. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1394. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1395. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1396. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1397. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1398. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1399. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1400. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1401. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1402. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1403. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1404. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1405. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1406. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1407. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1408. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1409. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1410. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1411. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1412. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1413. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1414. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1415. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1416. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1417. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1418. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1419. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1420. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1421. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1422. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1423. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1424. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1425. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1426. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1427. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1428. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1429. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1430. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1431. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1432. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1433. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1434. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1435. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1436. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1437. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1438. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1439. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
  1440. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1441. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1442. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1443. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1444. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344','884c5665-a453-46f3-b7b6-01d575290aa9'];
  1445. //清楚桌面图标
  1446. el.innerHTML = "";
  1447. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1448. _teacherDesktopIconInfo.push(
  1449. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1450. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1451. )
  1452. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1453. }
  1454. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1455. _teacherDesktopIconInfo.push(
  1456. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1457. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1458. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1459. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1460. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1461. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1462. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1463. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1464. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1465. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1466. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1467. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1468. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1469. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1470. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1471. )
  1472. }
  1473. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪学校
  1474. _teacherDesktopIconInfo.push(
  1475. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1476. )
  1477. }
  1478. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1479. // _teacherDesktopIconInfo.push(
  1480. // )
  1481. // }
  1482. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1483. _teacherDesktopIconInfo.push(
  1484. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1485. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1486. )
  1487. }
  1488. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1489. _teacherDesktopIconInfo.push(
  1490. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1491. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1492. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1493. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1494. )
  1495. _studentDesktopIconInfo.push(
  1496. )
  1497. }
  1498. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1499. _teacherDesktopIconInfo.push(
  1500. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1501. )
  1502. _studentDesktopIconInfo.push(
  1503. )
  1504. }
  1505. //麒麟二中 和 民新小学
  1506. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1507. _teacherDesktopIconInfo.push(
  1508. )
  1509. }
  1510. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1511. _teacherDesktopIconInfo.push(
  1512. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1513. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1514. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1515. )
  1516. }
  1517. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1518. _teacherDesktopIconInfo.push(
  1519. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1520. )
  1521. }
  1522. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1523. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1524. _teacherDesktopIconInfo.push(
  1525. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1526. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1527. )
  1528. }
  1529. //麒麟二中
  1530. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1531. _studentDesktopIconInfo.push(
  1532. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1533. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1534. )
  1535. }
  1536. //万科双语
  1537. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1538. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1539. if (el.Name == '项目管理') {
  1540. el.Name = 'PBL项目'
  1541. }
  1542. return el
  1543. })
  1544. _studentDesktopIconInfo3.push(
  1545. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1546. )
  1547. }
  1548. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1549. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1550. return el.Name != '魔盒识字' && el.Name != '24点'
  1551. })
  1552. }
  1553. if ((_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") && _type == 2) {
  1554. _studentDesktopIconInfo.push(
  1555. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1556. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1557. )
  1558. }
  1559. //循环创建桌面图标
  1560. if (type == 1) {
  1561. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1562. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1563. _content = $$("div", {
  1564. className: "U_MD_D_KO",
  1565. "onmousedown": U.UF.C.closure(function (obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_studentDesktopIconInfo[i]]),
  1569. "onclick": U.UF.C.closure(function (obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_studentDesktopIconInfo[i]])
  1573. }, _frag); //
  1574. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1575. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1576. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1577. }
  1578. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1579. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1580. _content = $$("div", {
  1581. className: "U_MD_D_KO",
  1582. "onmousedown": U.UF.C.closure(function (obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1586. "onclick": U.UF.C.closure(function (obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_hkZJLSStudentDeskIconInfo[i]])
  1590. }, _frag); //
  1591. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1592. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1593. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1594. } //
  1595. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1596. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1597. _content = $$("div", {
  1598. className: "U_MD_D_KO",
  1599. "onmousedown": U.UF.C.closure(function (obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_ytyStudentDeskIconInfo[i]]),
  1603. "onclick": U.UF.C.closure(function (obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_ytyStudentDeskIconInfo[i]])
  1607. }, _frag); //
  1608. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1609. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1610. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1611. } //
  1612. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1613. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1614. _content = $$("div", {
  1615. className: "U_MD_D_KO",
  1616. "onmousedown": U.UF.C.closure(function (obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_jccssylStudentDeskIconInfo[i]]),
  1620. "onclick": U.UF.C.closure(function (obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_jccssylStudentDeskIconInfo[i]])
  1624. }, _frag); //
  1625. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1628. }
  1629. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1630. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1631. _content = $$("div", {
  1632. className: "U_MD_D_KO",
  1633. "onmousedown": U.UF.C.closure(function (obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_scnuaiStudentDeskIconInfo[i]]),
  1637. "onclick": U.UF.C.closure(function (obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_scnuaiStudentDeskIconInfo[i]])
  1641. }, _frag); //
  1642. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1643. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1644. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1645. }
  1646. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1647. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1648. _content = $$("div", {
  1649. className: "U_MD_D_KO",
  1650. "onmousedown": U.UF.C.closure(function (obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_caleStudentDeskIconInfo[i]]),
  1654. "onclick": U.UF.C.closure(function (obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_caleStudentDeskIconInfo[i]])
  1658. }, _frag); //
  1659. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1660. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1661. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1662. }
  1663. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1664. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1665. _content = $$("div", {
  1666. className: "U_MD_D_KO",
  1667. "onmousedown": U.UF.C.closure(function (obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_thuioeStudentDeskIconInfo[i]]),
  1671. "onclick": U.UF.C.closure(function (obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_thuioeStudentDeskIconInfo[i]])
  1675. }, _frag); //
  1676. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1677. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1678. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1679. }
  1680. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1681. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1682. _content = $$("div", {
  1683. className: "U_MD_D_KO",
  1684. "onmousedown": U.UF.C.closure(function (obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_tpcStudentDeskIconInfo[i]]),
  1688. "onclick": U.UF.C.closure(function (obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_tpcStudentDeskIconInfo[i]])
  1692. }, _frag); //
  1693. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1694. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1695. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1696. } //
  1697. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1698. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1699. _content = $$("div", {
  1700. className: "U_MD_D_KO",
  1701. "onmousedown": U.UF.C.closure(function (obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_chjyjStudentDeskIconInfo[i]]),
  1705. "onclick": U.UF.C.closure(function (obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_chjyjStudentDeskIconInfo[i]])
  1709. }, _frag); //
  1710. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1711. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1712. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1713. }
  1714. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1715. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1716. _content = $$("div", {
  1717. className: "U_MD_D_KO",
  1718. "onmousedown": U.UF.C.closure(function (obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_szjkyStudentDeskIconInfo[i]]),
  1722. "onclick": U.UF.C.closure(function (obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_szjkyStudentDeskIconInfo[i]])
  1726. }, _frag); //
  1727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1730. }
  1731. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1732. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1733. _content = $$("div", {
  1734. className: "U_MD_D_KO",
  1735. "onmousedown": U.UF.C.closure(function (obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_dseiStudentDeskIconInfo[i]]),
  1739. "onclick": U.UF.C.closure(function (obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_dseiStudentDeskIconInfo[i]])
  1743. }, _frag); //
  1744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1747. }
  1748. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1749. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1750. _content = $$("div", {
  1751. className: "U_MD_D_KO",
  1752. "onmousedown": U.UF.C.closure(function (obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1756. "onclick": U.UF.C.closure(function (obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1760. }, _frag); //
  1761. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1762. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1763. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1764. }
  1765. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1766. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1767. _content = $$("div", {
  1768. className: "U_MD_D_KO",
  1769. "onmousedown": U.UF.C.closure(function (obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_siesStudentDeskIconInfo[i]]),
  1773. "onclick": U.UF.C.closure(function (obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_siesStudentDeskIconInfo[i]])
  1777. }, _frag); //
  1778. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1779. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1780. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1781. }
  1782. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1783. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1784. _content = $$("div", {
  1785. className: "U_MD_D_KO",
  1786. "onmousedown": U.UF.C.closure(function (obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_hkStudentDeskIconInfo[i]]),
  1790. "onclick": U.UF.C.closure(function (obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_hkStudentDeskIconInfo[i]])
  1794. }, _frag); //
  1795. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1796. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1797. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1798. }
  1799. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1800. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1801. _content = $$("div", {
  1802. className: "U_MD_D_KO",
  1803. "onmousedown": U.UF.C.closure(function (obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_hkaceStudentDeskIconInfo[i]]),
  1807. "onclick": U.UF.C.closure(function (obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_hkaceStudentDeskIconInfo[i]])
  1811. }, _frag); //
  1812. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1813. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1814. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1815. }
  1816. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1817. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1818. _content = $$("div", {
  1819. className: "U_MD_D_KO",
  1820. "onmousedown": U.UF.C.closure(function (obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_studentDesktopIconInfo[i]]),
  1824. "onclick": U.UF.C.closure(function (obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_studentDesktopIconInfo[i]])
  1828. }, _frag); //
  1829. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1830. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1831. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1832. }
  1833. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1834. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1835. _content = $$("div", {
  1836. className: "U_MD_D_KO",
  1837. "onmousedown": U.UF.C.closure(function (obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_tcStudentDeskIconInfo[i]]),
  1841. "onclick": U.UF.C.closure(function (obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_tcStudentDeskIconInfo[i]])
  1845. }, _frag); //
  1846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1849. }
  1850. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1851. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1852. _content = $$("div", {
  1853. className: "U_MD_D_KO",
  1854. "onmousedown": U.UF.C.closure(function (obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_szscStudentDeskIconInfo[i]]),
  1858. "onclick": U.UF.C.closure(function (obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_szscStudentDeskIconInfo[i]])
  1862. }, _frag); //
  1863. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1864. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1865. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1866. }
  1867. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1868. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1869. _content = $$("div", {
  1870. className: "U_MD_D_KO",
  1871. "onmousedown": U.UF.C.closure(function (obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_studentDesktopIconInfo3[i]]),
  1875. "onclick": U.UF.C.closure(function (obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_studentDesktopIconInfo3[i]])
  1879. }, _frag); //
  1880. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1881. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1882. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1883. }
  1884. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1885. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1886. _content = $$("div", {
  1887. className: "U_MD_D_KO",
  1888. "onmousedown": U.UF.C.closure(function (obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_studentDesktopIconInfo2[i]]),
  1892. "onclick": U.UF.C.closure(function (obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_studentDesktopIconInfo2[i]])
  1896. }, _frag); //
  1897. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1900. }
  1901. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1902. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1903. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  1904. continue
  1905. }
  1906. _content = $$("div", {
  1907. className: "U_MD_D_KO",
  1908. "onmousedown": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_wanketeacherDesktopIconInfo[i]]),
  1912. "onclick": U.UF.C.closure(function (obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_wanketeacherDesktopIconInfo[i]])
  1916. }, _frag); //
  1917. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1918. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1919. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1920. }
  1921. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1922. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1923. _content = $$("div", {
  1924. className: "U_MD_D_KO",
  1925. "onmousedown": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_wankeAdminDesktopIconInfo[i]]),
  1929. "onclick": U.UF.C.closure(function (obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_wankeAdminDesktopIconInfo[i]])
  1933. }, _frag); //
  1934. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1937. }
  1938. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  1939. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  1940. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  1941. continue
  1942. }
  1943. _content = $$("div", {
  1944. className: "U_MD_D_KO",
  1945. "onmousedown": U.UF.C.closure(function (obj) {
  1946. //防止拖动图标即打开了桌面应用
  1947. U.MD.D.click(this, obj);
  1948. }, [_scnuaiTeacherDeskIconInfo[i]]),
  1949. "onclick": U.UF.C.closure(function (obj) {
  1950. //防止拖动图标即打开了桌面应用
  1951. U.MD.D.click(this, obj);
  1952. }, [_scnuaiTeacherDeskIconInfo[i]])
  1953. }, _frag); //
  1954. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1955. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1956. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1957. }
  1958. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  1959. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  1960. _content = $$("div", {
  1961. className: "U_MD_D_KO",
  1962. "onmousedown": U.UF.C.closure(function (obj) {
  1963. //防止拖动图标即打开了桌面应用
  1964. U.MD.D.click(this, obj);
  1965. }, [_scnuaiAdminDeskIconInfo[i]]),
  1966. "onclick": U.UF.C.closure(function (obj) {
  1967. //防止拖动图标即打开了桌面应用
  1968. U.MD.D.click(this, obj);
  1969. }, [_scnuaiAdminDeskIconInfo[i]])
  1970. }, _frag); //
  1971. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1972. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  1973. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  1974. }
  1975. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1976. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1977. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  1978. continue
  1979. }
  1980. _content = $$("div", {
  1981. className: "U_MD_D_KO",
  1982. "onmousedown": U.UF.C.closure(function (obj) {
  1983. //防止拖动图标即打开了桌面应用
  1984. U.MD.D.click(this, obj);
  1985. }, [_jccssylTeacherDeskIconInfo[i]]),
  1986. "onclick": U.UF.C.closure(function (obj) {
  1987. //防止拖动图标即打开了桌面应用
  1988. U.MD.D.click(this, obj);
  1989. }, [_jccssylTeacherDeskIconInfo[i]])
  1990. }, _frag); //
  1991. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1992. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1993. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1994. }
  1995. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1996. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1997. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  1998. continue
  1999. }
  2000. _content = $$("div", {
  2001. className: "U_MD_D_KO",
  2002. "onmousedown": U.UF.C.closure(function (obj) {
  2003. //防止拖动图标即打开了桌面应用
  2004. U.MD.D.click(this, obj);
  2005. }, [_caleTeacherDeskIconInfo[i]]),
  2006. "onclick": U.UF.C.closure(function (obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_caleTeacherDeskIconInfo[i]])
  2010. }, _frag); //
  2011. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2012. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2013. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2014. }
  2015. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2016. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2017. _content = $$("div", {
  2018. className: "U_MD_D_KO",
  2019. "onmousedown": U.UF.C.closure(function (obj) {
  2020. //防止拖动图标即打开了桌面应用
  2021. U.MD.D.click(this, obj);
  2022. }, [_tpcOrganizerDeskIconInfo[i]]),
  2023. "onclick": U.UF.C.closure(function (obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_tpcOrganizerDeskIconInfo[i]])
  2027. }, _frag); //
  2028. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2029. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2030. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2031. }
  2032. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2033. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2034. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2035. continue
  2036. }
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function (obj) {
  2040. //防止拖动图标即打开了桌面应用
  2041. U.MD.D.click(this, obj);
  2042. }, [_tpcTeacherDeskIconInfo[i]]),
  2043. "onclick": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_tpcTeacherDeskIconInfo[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2051. }
  2052. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2053. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2054. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2055. continue
  2056. }
  2057. _content = $$("div", {
  2058. className: "U_MD_D_KO",
  2059. "onmousedown": U.UF.C.closure(function (obj) {
  2060. //防止拖动图标即打开了桌面应用
  2061. U.MD.D.click(this, obj);
  2062. }, [_teacherDesktopIconInfo2[i]]),
  2063. "onclick": U.UF.C.closure(function (obj) {
  2064. //防止拖动图标即打开了桌面应用
  2065. U.MD.D.click(this, obj);
  2066. }, [_teacherDesktopIconInfo2[i]])
  2067. }, _frag); //
  2068. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2069. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2070. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2071. }
  2072. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2073. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2074. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2075. continue
  2076. }
  2077. _content = $$("div", {
  2078. className: "U_MD_D_KO",
  2079. "onmousedown": U.UF.C.closure(function (obj) {
  2080. //防止拖动图标即打开了桌面应用
  2081. U.MD.D.click(this, obj);
  2082. }, [_thuioeTeacherDeskIconInfo[i]]),
  2083. "onclick": U.UF.C.closure(function (obj) {
  2084. //防止拖动图标即打开了桌面应用
  2085. U.MD.D.click(this, obj);
  2086. }, [_thuioeTeacherDeskIconInfo[i]])
  2087. }, _frag); //
  2088. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2089. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2090. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2091. }
  2092. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2093. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2094. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2095. continue
  2096. }
  2097. _content = $$("div", {
  2098. className: "U_MD_D_KO",
  2099. "onmousedown": U.UF.C.closure(function (obj) {
  2100. //防止拖动图标即打开了桌面应用
  2101. U.MD.D.click(this, obj);
  2102. }, [_lotechTeacherDeskIconInfo[i]]),
  2103. "onclick": U.UF.C.closure(function (obj) {
  2104. //防止拖动图标即打开了桌面应用
  2105. U.MD.D.click(this, obj);
  2106. }, [_lotechTeacherDeskIconInfo[i]])
  2107. }, _frag); //
  2108. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2109. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2110. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2111. }//
  2112. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2113. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2114. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2115. continue
  2116. }
  2117. _content = $$("div", {
  2118. className: "U_MD_D_KO",
  2119. "onmousedown": U.UF.C.closure(function (obj) {
  2120. //防止拖动图标即打开了桌面应用
  2121. U.MD.D.click(this, obj);
  2122. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2123. "onclick": U.UF.C.closure(function (obj) {
  2124. //防止拖动图标即打开了桌面应用
  2125. U.MD.D.click(this, obj);
  2126. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2127. }, _frag); //
  2128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2131. }
  2132. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2133. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2134. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2135. continue
  2136. }
  2137. _content = $$("div", {
  2138. className: "U_MD_D_KO",
  2139. "onmousedown": U.UF.C.closure(function (obj) {
  2140. //防止拖动图标即打开了桌面应用
  2141. U.MD.D.click(this, obj);
  2142. }, [_siesTeacherDeskIconInfo[i]]),
  2143. "onclick": U.UF.C.closure(function (obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_siesTeacherDeskIconInfo[i]])
  2147. }, _frag); //
  2148. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2149. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2150. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2151. }
  2152. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2153. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2154. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2155. continue
  2156. }
  2157. _content = $$("div", {
  2158. className: "U_MD_D_KO",
  2159. "onmousedown": U.UF.C.closure(function (obj) {
  2160. //防止拖动图标即打开了桌面应用
  2161. U.MD.D.click(this, obj);
  2162. }, [_longhuaTeacherDeskIconInfo[i]]),
  2163. "onclick": U.UF.C.closure(function (obj) {
  2164. //防止拖动图标即打开了桌面应用
  2165. U.MD.D.click(this, obj);
  2166. }, [_longhuaTeacherDeskIconInfo[i]])
  2167. }, _frag); //
  2168. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2169. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2170. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2171. }
  2172. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2173. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2174. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2175. continue
  2176. }
  2177. _content = $$("div", {
  2178. className: "U_MD_D_KO",
  2179. "onmousedown": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_ytyTeacherDeskIconInfo[i]]),
  2183. "onclick": U.UF.C.closure(function (obj) {
  2184. //防止拖动图标即打开了桌面应用
  2185. U.MD.D.click(this, obj);
  2186. }, [_ytyTeacherDeskIconInfo[i]])
  2187. }, _frag); //
  2188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2191. }
  2192. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2193. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2194. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2195. continue
  2196. }
  2197. _content = $$("div", {
  2198. className: "U_MD_D_KO",
  2199. "onmousedown": U.UF.C.closure(function (obj) {
  2200. //防止拖动图标即打开了桌面应用
  2201. U.MD.D.click(this, obj);
  2202. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2203. "onclick": U.UF.C.closure(function (obj) {
  2204. //防止拖动图标即打开了桌面应用
  2205. U.MD.D.click(this, obj);
  2206. }, [_yunhaiTeacherDeskIconInfo[i]])
  2207. }, _frag); //
  2208. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2209. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2210. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2211. } //_hkStudentDeskIconInfo
  2212. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2213. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2214. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2215. continue
  2216. }
  2217. _content = $$("div", {
  2218. className: "U_MD_D_KO",
  2219. "onmousedown": U.UF.C.closure(function (obj) {
  2220. //防止拖动图标即打开了桌面应用
  2221. U.MD.D.click(this, obj);
  2222. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2223. "onclick": U.UF.C.closure(function (obj) {
  2224. //防止拖动图标即打开了桌面应用
  2225. U.MD.D.click(this, obj);
  2226. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2227. }, _frag); //
  2228. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2229. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2230. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2231. }
  2232. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2233. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2234. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2235. continue
  2236. }
  2237. _content = $$("div", {
  2238. className: "U_MD_D_KO",
  2239. "onmousedown": U.UF.C.closure(function (obj) {
  2240. //防止拖动图标即打开了桌面应用
  2241. U.MD.D.click(this, obj);
  2242. }, [_hkTeacherDeskIconInfo[i]]),
  2243. "onclick": U.UF.C.closure(function (obj) {
  2244. //防止拖动图标即打开了桌面应用
  2245. U.MD.D.click(this, obj);
  2246. }, [_hkTeacherDeskIconInfo[i]])
  2247. }, _frag); //
  2248. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2249. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2250. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2251. }
  2252. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2253. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2254. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2255. continue
  2256. }
  2257. _content = $$("div", {
  2258. className: "U_MD_D_KO",
  2259. "onmousedown": U.UF.C.closure(function (obj) {
  2260. //防止拖动图标即打开了桌面应用
  2261. U.MD.D.click(this, obj);
  2262. }, [_hkaceTeacherDeskIconInfo[i]]),
  2263. "onclick": U.UF.C.closure(function (obj) {
  2264. //防止拖动图标即打开了桌面应用
  2265. U.MD.D.click(this, obj);
  2266. }, [_hkaceTeacherDeskIconInfo[i]])
  2267. }, _frag); //
  2268. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2269. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2270. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2271. }
  2272. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2273. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2274. _content = $$("div", {
  2275. className: "U_MD_D_KO",
  2276. "onmousedown": U.UF.C.closure(function (obj) {
  2277. //防止拖动图标即打开了桌面应用
  2278. U.MD.D.click(this, obj);
  2279. }, [_gdjgAdminDeskIconInfo[i]]),
  2280. "onclick": U.UF.C.closure(function (obj) {
  2281. //防止拖动图标即打开了桌面应用
  2282. U.MD.D.click(this, obj);
  2283. }, [_gdjgAdminDeskIconInfo[i]])
  2284. }, _frag); //
  2285. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2286. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2287. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2288. }
  2289. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2290. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2291. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2292. continue
  2293. }
  2294. _content = $$("div", {
  2295. className: "U_MD_D_KO",
  2296. "onmousedown": U.UF.C.closure(function (obj) {
  2297. //防止拖动图标即打开了桌面应用
  2298. U.MD.D.click(this, obj);
  2299. }, [_gdjgTeacherDeskIconInfo[i]]),
  2300. "onclick": U.UF.C.closure(function (obj) {
  2301. //防止拖动图标即打开了桌面应用
  2302. U.MD.D.click(this, obj);
  2303. }, [_gdjgTeacherDeskIconInfo[i]])
  2304. }, _frag); //
  2305. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2306. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2307. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2308. }
  2309. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2310. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2311. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2312. continue
  2313. }
  2314. _content = $$("div", {
  2315. className: "U_MD_D_KO",
  2316. "onmousedown": U.UF.C.closure(function (obj) {
  2317. //防止拖动图标即打开了桌面应用
  2318. U.MD.D.click(this, obj);
  2319. }, [_szherTeacherDeskIconInfo[i]]),
  2320. "onclick": U.UF.C.closure(function (obj) {
  2321. //防止拖动图标即打开了桌面应用
  2322. U.MD.D.click(this, obj);
  2323. }, [_szherTeacherDeskIconInfo[i]])
  2324. }, _frag); //
  2325. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2326. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2327. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2328. }
  2329. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2330. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2331. _content = $$("div", {
  2332. className: "U_MD_D_KO",
  2333. "onmousedown": U.UF.C.closure(function (obj) {
  2334. //防止拖动图标即打开了桌面应用
  2335. U.MD.D.click(this, obj);
  2336. }, [_heyuannAdminDeskIconInfo[i]]),
  2337. "onclick": U.UF.C.closure(function (obj) {
  2338. //防止拖动图标即打开了桌面应用
  2339. U.MD.D.click(this, obj);
  2340. }, [_heyuannAdminDeskIconInfo[i]])
  2341. }, _frag); //
  2342. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2343. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2344. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2345. }
  2346. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2347. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2348. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2349. continue
  2350. }
  2351. _content = $$("div", {
  2352. className: "U_MD_D_KO",
  2353. "onmousedown": U.UF.C.closure(function (obj) {
  2354. //防止拖动图标即打开了桌面应用
  2355. U.MD.D.click(this, obj);
  2356. }, [_heyuanTeacherDeskIconInfo[i]]),
  2357. "onclick": U.UF.C.closure(function (obj) {
  2358. //防止拖动图标即打开了桌面应用
  2359. U.MD.D.click(this, obj);
  2360. }, [_heyuanTeacherDeskIconInfo[i]])
  2361. }, _frag); //
  2362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2365. } //
  2366. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2367. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2368. _content = $$("div", {
  2369. className: "U_MD_D_KO",
  2370. "onmousedown": U.UF.C.closure(function (obj) {
  2371. //防止拖动图标即打开了桌面应用
  2372. U.MD.D.click(this, obj);
  2373. }, [_dseiAdminDeskIconInfo[i]]),
  2374. "onclick": U.UF.C.closure(function (obj) {
  2375. //防止拖动图标即打开了桌面应用
  2376. U.MD.D.click(this, obj);
  2377. }, [_dseiAdminDeskIconInfo[i]])
  2378. }, _frag); //
  2379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2382. }
  2383. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2384. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2385. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2386. continue
  2387. }
  2388. _content = $$("div", {
  2389. className: "U_MD_D_KO",
  2390. "onmousedown": U.UF.C.closure(function (obj) {
  2391. //防止拖动图标即打开了桌面应用
  2392. U.MD.D.click(this, obj);
  2393. }, [_dseiTeacherDeskIconInfo[i]]),
  2394. "onclick": U.UF.C.closure(function (obj) {
  2395. //防止拖动图标即打开了桌面应用
  2396. U.MD.D.click(this, obj);
  2397. }, [_dseiTeacherDeskIconInfo[i]])
  2398. }, _frag); //
  2399. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2400. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2401. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2402. } //
  2403. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2404. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2405. _content = $$("div", {
  2406. className: "U_MD_D_KO",
  2407. "onmousedown": U.UF.C.closure(function (obj) {
  2408. //防止拖动图标即打开了桌面应用
  2409. U.MD.D.click(this, obj);
  2410. }, [_chjyjAdminDeskIconInfo[i]]),
  2411. "onclick": U.UF.C.closure(function (obj) {
  2412. //防止拖动图标即打开了桌面应用
  2413. U.MD.D.click(this, obj);
  2414. }, [_chjyjAdminDeskIconInfo[i]])
  2415. }, _frag); //
  2416. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2417. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2418. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2419. }//
  2420. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2421. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2422. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2423. continue
  2424. }
  2425. _content = $$("div", {
  2426. className: "U_MD_D_KO",
  2427. "onmousedown": U.UF.C.closure(function (obj) {
  2428. //防止拖动图标即打开了桌面应用
  2429. U.MD.D.click(this, obj);
  2430. }, [_chjyjTeacherDeskIconInfo[i]]),
  2431. "onclick": U.UF.C.closure(function (obj) {
  2432. //防止拖动图标即打开了桌面应用
  2433. U.MD.D.click(this, obj);
  2434. }, [_chjyjTeacherDeskIconInfo[i]])
  2435. }, _frag); //
  2436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2439. }
  2440. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2441. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2442. _content = $$("div", {
  2443. className: "U_MD_D_KO",
  2444. "onmousedown": U.UF.C.closure(function (obj) {
  2445. //防止拖动图标即打开了桌面应用
  2446. U.MD.D.click(this, obj);
  2447. }, [_szjkyAdminDeskIconInfo[i]]),
  2448. "onclick": U.UF.C.closure(function (obj) {
  2449. //防止拖动图标即打开了桌面应用
  2450. U.MD.D.click(this, obj);
  2451. }, [_szjkyAdminDeskIconInfo[i]])
  2452. }, _frag); //
  2453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2456. }//
  2457. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2458. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2459. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2460. continue
  2461. }
  2462. _content = $$("div", {
  2463. className: "U_MD_D_KO",
  2464. "onmousedown": U.UF.C.closure(function (obj) {
  2465. //防止拖动图标即打开了桌面应用
  2466. U.MD.D.click(this, obj);
  2467. }, [_szjkyTeacherDeskIconInfo[i]]),
  2468. "onclick": U.UF.C.closure(function (obj) {
  2469. //防止拖动图标即打开了桌面应用
  2470. U.MD.D.click(this, obj);
  2471. }, [_szjkyTeacherDeskIconInfo[i]])
  2472. }, _frag); //
  2473. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2474. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2475. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2476. }
  2477. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2478. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2479. _content = $$("div", {
  2480. className: "U_MD_D_KO",
  2481. "onmousedown": U.UF.C.closure(function (obj) {
  2482. //防止拖动图标即打开了桌面应用
  2483. U.MD.D.click(this, obj);
  2484. }, [_futianAdminDeskIconInfo[i]]),
  2485. "onclick": U.UF.C.closure(function (obj) {
  2486. //防止拖动图标即打开了桌面应用
  2487. U.MD.D.click(this, obj);
  2488. }, [_futianAdminDeskIconInfo[i]])
  2489. }, _frag); //
  2490. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2491. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2492. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2493. }
  2494. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2495. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2496. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2497. continue
  2498. }
  2499. _content = $$("div", {
  2500. className: "U_MD_D_KO",
  2501. "onmousedown": U.UF.C.closure(function (obj) {
  2502. //防止拖动图标即打开了桌面应用
  2503. U.MD.D.click(this, obj);
  2504. }, [_futianTeacherDeskIconInfo[i]]),
  2505. "onclick": U.UF.C.closure(function (obj) {
  2506. //防止拖动图标即打开了桌面应用
  2507. U.MD.D.click(this, obj);
  2508. }, [_futianTeacherDeskIconInfo[i]])
  2509. }, _frag); //
  2510. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2511. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2512. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2513. }
  2514. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2515. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2516. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  2517. continue
  2518. }
  2519. _content = $$("div", {
  2520. className: "U_MD_D_KO",
  2521. "onmousedown": U.UF.C.closure(function (obj) {
  2522. //防止拖动图标即打开了桌面应用
  2523. U.MD.D.click(this, obj);
  2524. }, [_MingdeTeacherDeskIcon[i]]),
  2525. "onclick": U.UF.C.closure(function (obj) {
  2526. //防止拖动图标即打开了桌面应用
  2527. U.MD.D.click(this, obj);
  2528. }, [_MingdeTeacherDeskIcon[i]])
  2529. }, _frag); //
  2530. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2531. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2532. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2533. }
  2534. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2535. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2536. _content = $$("div", {
  2537. className: "U_MD_D_KO",
  2538. "onmousedown": U.UF.C.closure(function (obj) {
  2539. //防止拖动图标即打开了桌面应用
  2540. U.MD.D.click(this, obj);
  2541. }, [_lhsAdminDesktopIconInfo[i]]),
  2542. "onclick": U.UF.C.closure(function (obj) {
  2543. //防止拖动图标即打开了桌面应用
  2544. U.MD.D.click(this, obj);
  2545. }, [_lhsAdminDesktopIconInfo[i]])
  2546. }, _frag); //
  2547. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2548. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2549. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2550. }
  2551. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2552. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2553. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2554. continue
  2555. }
  2556. _content = $$("div", {
  2557. className: "U_MD_D_KO",
  2558. "onmousedown": U.UF.C.closure(function (obj) {
  2559. //防止拖动图标即打开了桌面应用
  2560. U.MD.D.click(this, obj);
  2561. }, [_lhsteacherDesktopIconInfo[i]]),
  2562. "onclick": U.UF.C.closure(function (obj) {
  2563. //防止拖动图标即打开了桌面应用
  2564. U.MD.D.click(this, obj);
  2565. }, [_lhsteacherDesktopIconInfo[i]])
  2566. }, _frag); //
  2567. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2568. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2569. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2570. }
  2571. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2572. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2573. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  2574. continue
  2575. }
  2576. _content = $$("div", {
  2577. className: "U_MD_D_KO",
  2578. "onmousedown": U.UF.C.closure(function (obj) {
  2579. //防止拖动图标即打开了桌面应用
  2580. U.MD.D.click(this, obj);
  2581. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2582. "onclick": U.UF.C.closure(function (obj) {
  2583. //防止拖动图标即打开了桌面应用
  2584. U.MD.D.click(this, obj);
  2585. }, [_zhoujiateacherDesktopIconInfo[i]])
  2586. }, _frag); //
  2587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2590. }
  2591. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2592. for (i = 0; i < _hanDeskIcon.length; i++) {
  2593. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  2594. continue
  2595. }
  2596. _content = $$("div", {
  2597. className: "U_MD_D_KO",
  2598. "onmousedown": U.UF.C.closure(function (obj) {
  2599. //防止拖动图标即打开了桌面应用
  2600. U.MD.D.click(this, obj);
  2601. }, [_hanDeskIcon[i]]),
  2602. "onclick": U.UF.C.closure(function (obj) {
  2603. //防止拖动图标即打开了桌面应用
  2604. U.MD.D.click(this, obj);
  2605. }, [_hanDeskIcon[i]])
  2606. }, _frag); //
  2607. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2608. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2609. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2610. }
  2611. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2612. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2613. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  2614. continue
  2615. }
  2616. _content = $$("div", {
  2617. className: "U_MD_D_KO",
  2618. "onmousedown": U.UF.C.closure(function (obj) {
  2619. //防止拖动图标即打开了桌面应用
  2620. U.MD.D.click(this, obj);
  2621. }, [_orgStemDeskIcon[i]]),
  2622. "onclick": U.UF.C.closure(function (obj) {
  2623. //防止拖动图标即打开了桌面应用
  2624. U.MD.D.click(this, obj);
  2625. }, [_orgStemDeskIcon[i]])
  2626. }, _frag); //
  2627. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2628. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2629. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2630. }
  2631. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2632. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2633. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  2634. continue
  2635. }
  2636. _content = $$("div", {
  2637. className: "U_MD_D_KO",
  2638. "onmousedown": U.UF.C.closure(function (obj) {
  2639. //防止拖动图标即打开了桌面应用
  2640. U.MD.D.click(this, obj);
  2641. }, [_szulsDeskIcon[i]]),
  2642. "onclick": U.UF.C.closure(function (obj) {
  2643. //防止拖动图标即打开了桌面应用
  2644. U.MD.D.click(this, obj);
  2645. }, [_szulsDeskIcon[i]])
  2646. }, _frag); //
  2647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2650. }
  2651. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2652. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2653. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  2654. continue
  2655. }
  2656. _content = $$("div", {
  2657. className: "U_MD_D_KO",
  2658. "onmousedown": U.UF.C.closure(function (obj) {
  2659. //防止拖动图标即打开了桌面应用
  2660. U.MD.D.click(this, obj);
  2661. }, [_orgDesktopIconInfo[i]]),
  2662. "onclick": U.UF.C.closure(function (obj) {
  2663. //防止拖动图标即打开了桌面应用
  2664. U.MD.D.click(this, obj);
  2665. }, [_orgDesktopIconInfo[i]])
  2666. }, _frag); //
  2667. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2668. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2669. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2670. }
  2671. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2672. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2673. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  2674. continue
  2675. }
  2676. _content = $$("div", {
  2677. className: "U_MD_D_KO",
  2678. "onmousedown": U.UF.C.closure(function (obj) {
  2679. //防止拖动图标即打开了桌面应用
  2680. U.MD.D.click(this, obj);
  2681. }, [_schoolDesktopIconInfo[i]]),
  2682. "onclick": U.UF.C.closure(function (obj) {
  2683. //防止拖动图标即打开了桌面应用
  2684. U.MD.D.click(this, obj);
  2685. }, [_schoolDesktopIconInfo[i]])
  2686. }, _frag); //
  2687. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2688. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2689. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2690. }
  2691. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2692. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2693. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2694. continue
  2695. }
  2696. _content = $$("div", {
  2697. className: "U_MD_D_KO",
  2698. "onmousedown": U.UF.C.closure(function (obj) {
  2699. //防止拖动图标即打开了桌面应用
  2700. U.MD.D.click(this, obj);
  2701. }, [_GMteacherDesktopIconInfo[i]]),
  2702. "onclick": U.UF.C.closure(function (obj) {
  2703. //防止拖动图标即打开了桌面应用
  2704. U.MD.D.click(this, obj);
  2705. }, [_GMteacherDesktopIconInfo[i]])
  2706. }, _frag); //
  2707. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2708. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2709. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2710. }
  2711. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2712. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2713. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2714. continue
  2715. }
  2716. _content = $$("div", {
  2717. className: "U_MD_D_KO",
  2718. "onmousedown": U.UF.C.closure(function (obj) {
  2719. //防止拖动图标即打开了桌面应用
  2720. U.MD.D.click(this, obj);
  2721. }, [_SONGteacherDesktopIconInfo[i]]),
  2722. "onclick": U.UF.C.closure(function (obj) {
  2723. //防止拖动图标即打开了桌面应用
  2724. U.MD.D.click(this, obj);
  2725. }, [_SONGteacherDesktopIconInfo[i]])
  2726. }, _frag); //
  2727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2730. }
  2731. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2732. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2733. _content = $$("div", {
  2734. className: "U_MD_D_KO",
  2735. "onmousedown": U.UF.C.closure(function (obj) {
  2736. //防止拖动图标即打开了桌面应用
  2737. U.MD.D.click(this, obj);
  2738. }, [_GMstudentDesktopIconInfo[i]]),
  2739. "onclick": U.UF.C.closure(function (obj) {
  2740. //防止拖动图标即打开了桌面应用
  2741. U.MD.D.click(this, obj);
  2742. }, [_GMstudentDesktopIconInfo[i]])
  2743. }, _frag); //
  2744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2747. }
  2748. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2749. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2750. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2751. continue
  2752. }
  2753. _content = $$("div", {
  2754. className: "U_MD_D_KO",
  2755. "onmousedown": U.UF.C.closure(function (obj) {
  2756. //防止拖动图标即打开了桌面应用
  2757. U.MD.D.click(this, obj);
  2758. }, [_tcTeacherDeskIconInfo[i]]),
  2759. "onclick": U.UF.C.closure(function (obj) {
  2760. //防止拖动图标即打开了桌面应用
  2761. U.MD.D.click(this, obj);
  2762. }, [_tcTeacherDeskIconInfo[i]])
  2763. }, _frag); //
  2764. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2765. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2766. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2767. }
  2768. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2769. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2770. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  2771. continue
  2772. }
  2773. _content = $$("div", {
  2774. className: "U_MD_D_KO",
  2775. "onmousedown": U.UF.C.closure(function (obj) {
  2776. //防止拖动图标即打开了桌面应用
  2777. U.MD.D.click(this, obj);
  2778. }, [_tcOrganizerDeskIconInfo[i]]),
  2779. "onclick": U.UF.C.closure(function (obj) {
  2780. //防止拖动图标即打开了桌面应用
  2781. U.MD.D.click(this, obj);
  2782. }, [_tcOrganizerDeskIconInfo[i]])
  2783. }, _frag); //
  2784. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2785. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2786. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2787. }
  2788. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2789. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2790. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2791. continue
  2792. }
  2793. _content = $$("div", {
  2794. className: "U_MD_D_KO",
  2795. "onmousedown": U.UF.C.closure(function (obj) {
  2796. //防止拖动图标即打开了桌面应用
  2797. U.MD.D.click(this, obj);
  2798. }, [_szscTeacherDeskIconInfo[i]]),
  2799. "onclick": U.UF.C.closure(function (obj) {
  2800. //防止拖动图标即打开了桌面应用
  2801. U.MD.D.click(this, obj);
  2802. }, [_szscTeacherDeskIconInfo[i]])
  2803. }, _frag); //
  2804. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2805. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2806. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2807. }
  2808. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2809. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2810. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  2811. continue
  2812. }
  2813. _content = $$("div", {
  2814. className: "U_MD_D_KO",
  2815. "onmousedown": U.UF.C.closure(function (obj) {
  2816. //防止拖动图标即打开了桌面应用
  2817. U.MD.D.click(this, obj);
  2818. }, [_szscOrganizerDeskIconInfo[i]]),
  2819. "onclick": U.UF.C.closure(function (obj) {
  2820. //防止拖动图标即打开了桌面应用
  2821. U.MD.D.click(this, obj);
  2822. }, [_szscOrganizerDeskIconInfo[i]])
  2823. }, _frag); //
  2824. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2825. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2826. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2827. }
  2828. } else {
  2829. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2830. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher'){
  2831. continue
  2832. }
  2833. _content = $$("div", {
  2834. className: "U_MD_D_KO",
  2835. "onmousedown": U.UF.C.closure(function (obj) {
  2836. //防止拖动图标即打开了桌面应用
  2837. U.MD.D.click(this, obj);
  2838. }, [_teacherDesktopIconInfo[i]]),
  2839. "onclick": U.UF.C.closure(function (obj) {
  2840. //防止拖动图标即打开了桌面应用
  2841. U.MD.D.click(this, obj);
  2842. }, [_teacherDesktopIconInfo[i]])
  2843. }, _frag); //
  2844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2847. }
  2848. }
  2849. } else {
  2850. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2851. _content = $$("div", {
  2852. className: "U_MD_D_KO",
  2853. style: { 'width': '124px', 'height': '145px' },
  2854. "onmousedown": U.UF.C.closure(function (obj) {
  2855. //防止拖动图标即打开了桌面应用
  2856. U.MD.D.click(this, obj);
  2857. }, [_easyDesktopIconInfo[i]]),
  2858. "onclick": U.UF.C.closure(function (obj) {
  2859. //防止拖动图标即打开了桌面应用
  2860. U.MD.D.click(this, obj);
  2861. }, [_easyDesktopIconInfo[i]])
  2862. }, _frag); //
  2863. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2864. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2865. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2866. }
  2867. }
  2868. if (type == 1) {
  2869. //加载好后给图标定位
  2870. U.MD.D.iconPostion($(_frag).Child());
  2871. } else {
  2872. //加载好后给图标定位
  2873. U.MD.D.iconPostion2($(_frag).Child());
  2874. }
  2875. //把图标加载到页面
  2876. el.appendChild(_frag);
  2877. }
  2878. /**
  2879. * 显示任务栏
  2880. *
  2881. * @param {element} 桌面元素
  2882. */
  2883. U.MD.D.I.displayTaskbar = function (el) {
  2884. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2885. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2886. //任务栏位置变化
  2887. U.selectEl(el).css({ "bottom": "0px" });
  2888. //桌面位置变话
  2889. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2890. }
  2891. }
  2892. //#region 桌面图标拖动逻辑
  2893. /**
  2894. * 桌面排列图标
  2895. *
  2896. * @param {element} 桌面元素
  2897. * @param {object} 上下相距的距离
  2898. * @param {object} 左右相距的距离
  2899. * @return {object} 命名空间
  2900. */
  2901. U.MD.D.iconPostion = function (childs, top, left) {
  2902. var i; //用于循环处理
  2903. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2904. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2905. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2906. for (i = 0; i < childs.length; i++) {
  2907. //如果竖排top超过了范围处理
  2908. if (top + 95 > US.height - 10) {
  2909. //left超过了页面范围处理,则向上重叠打印处理
  2910. if ((left + 180) > US.width) {
  2911. top -= 110;
  2912. left -= 90;
  2913. }
  2914. //没有超过范围,那么left+90添加到下一个竖排打印
  2915. else {
  2916. left += 90;
  2917. top = 15;
  2918. };
  2919. }
  2920. //给图标的位置赋值
  2921. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2922. if (i < childs.length - 1) {
  2923. //页面图标每次向下加95
  2924. top += 95;
  2925. }
  2926. }
  2927. //返回最后调用的图标的位置
  2928. return [top, left];
  2929. }
  2930. /**
  2931. * 桌面排列图标
  2932. *
  2933. * @param {element} 桌面元素
  2934. * @param {object} 上下相距的距离
  2935. * @param {object} 左右相距的距离
  2936. * @return {object} 命名空间
  2937. */
  2938. U.MD.D.iconPostion2 = function (childs, top, left) {
  2939. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2940. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2941. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2942. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2943. for (i = 0; i < childs.length; i++) {
  2944. //如果竖排top超过了范围处理
  2945. if (left + 150 > US.width - 10) {
  2946. //left超过了页面范围处理,则向上重叠打印处理
  2947. if ((top + 180) > US.Height) {
  2948. top -= 150;
  2949. left -= 150;
  2950. }
  2951. //没有超过范围,那么left+90添加到下一个竖排打印
  2952. else {
  2953. top += 150;
  2954. left = ol;
  2955. };
  2956. }
  2957. //给图标的位置赋值
  2958. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2959. if (i < childs.length - 1) {
  2960. //页面图标每次向下加95
  2961. left += 150;
  2962. }
  2963. }
  2964. //返回最后调用的图标的位置
  2965. return [top, left];
  2966. }
  2967. /**
  2968. * 桌面点击事件逻辑
  2969. *
  2970. * @param {element} 桌面元素
  2971. * @param {object} 上下相距的距离
  2972. * @param {object} 左右相距的距离
  2973. * @return {object} 命名空间
  2974. */
  2975. U.MD.D.click = function (el, obj) {
  2976. var _buttonnumber = event.button; //点击的按钮的事件值
  2977. var _userinfo = US.userInfo;
  2978. U.UF.EV.stopBubble(); //阻止向上冒泡
  2979. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2980. if (_buttonnumber < 2) {
  2981. //如果是click事件的处理
  2982. if (event.type == "click") {
  2983. //如果元素在mousemove事件中没有移动则出发click事件
  2984. if (!U.MD.D.I.IsDrag) {
  2985. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2986. U.alert("请先登录您的账号!");
  2987. setTimeout(() => {
  2988. U.MD.U.L.login();
  2989. }, 2000);
  2990. } else {
  2991. //打开应用处理
  2992. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2993. }
  2994. }
  2995. }
  2996. //如果是mouse事件的处理
  2997. else {
  2998. if (US.Config.type == '1') {
  2999. //拖动处理,添加拖动和拖动结束事件
  3000. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3001. }
  3002. }
  3003. U.MD.D.I.IsDrag = false;
  3004. }
  3005. }
  3006. /**
  3007. * 拖动的处理
  3008. *
  3009. */
  3010. U.MD.D.iconMove = function () {
  3011. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  3012. U.MD.D.I.IsDrag = true;
  3013. }
  3014. /**
  3015. * 拖动结束后,这里是定位处理,以网状的形式定位
  3016. *
  3017. * @param {element} 拖动的元素
  3018. * @return {object} 命名空间
  3019. */
  3020. U.MD.D.iconUp = function (el) {
  3021. var _top = 15,
  3022. _left = 20,
  3023. _margin,
  3024. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  3025. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  3026. if (_positioninfo["OT"] > 15) {
  3027. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  3028. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3029. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3030. }
  3031. if (_positioninfo["OL"] > 20) {
  3032. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  3033. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3034. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3035. }
  3036. //while循环判断么一个重叠的元素
  3037. do {
  3038. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  3039. _top = _positioninfo[0] + 95; //得到定位后的top
  3040. _left = _positioninfo[1]; //得到定位后的left
  3041. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3042. }
  3043. /**
  3044. * 判断拖动后图标是否重叠
  3045. *
  3046. * @param {element} 拖动的元素
  3047. * @param {element} 桌面所有的元素
  3048. * @param {array} 拖动元素的位置
  3049. ----------[0] 上 top
  3050. ----------[1] 左 left
  3051. * @return {object} 命名空间
  3052. */
  3053. U.MD.D.isOverlap = function (el, childs, postionarray) {
  3054. //循环所有的图标
  3055. for (var i = 0; i < childs.length; i++) {
  3056. //判断有没有和该图标诶子重叠的元素
  3057. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  3058. return childs[i]; //如果有返回
  3059. }
  3060. }
  3061. }
  3062. //#endregion
  3063. //#endregion
  3064. //#region 桌面应用
  3065. /**
  3066. * 打开应用
  3067. *
  3068. * @param {string} 类型
  3069. -----------------Disk 网盘系统
  3070. -----------------PDisk 学习系统网盘
  3071. -----------------Poto 图片
  3072. -----------------Video 视频
  3073. -----------------Music 音乐
  3074. -----------------Word word
  3075. -----------------Excel excel
  3076. -----------------Txt 记事本
  3077. -----------------PB 学习系统
  3078. -----------------Blog 朋友圈系统
  3079. -----------------FTP ftp系统
  3080. -----------------Group 好友群
  3081. -----------------SY 首页系统
  3082. -----------------Set 个人设置
  3083. -----------------XSet 系统设置
  3084. -----------------App 我们所有的app
  3085. -----------------BC c.1473.cn 平台
  3086. -----------------CWeb d.1473.cn 变成平台
  3087. -----------------其他的外联系统 我们统一用iframe打开
  3088. * @param {array} 类型
  3089. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  3090. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  3091. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  3092. 如果第一个参数为其他,则无第二个参数
  3093. * @returns {array}
  3094. */
  3095. window.addEventListener('message', function (e) { // 监听 message 事件
  3096. // alert(e.data.type);
  3097. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  3098. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  3099. //3是展示全部阶段 2学生 1老师 4专家
  3100. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  3101. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  3102. //3是展示全部阶段 2学生 1老师 4专家
  3103. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  3104. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  3105. //3是展示全部阶段 2学生 1老师 4专家
  3106. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  3107. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  3108. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  3109. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  3110. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  3111. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3112. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  3113. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3114. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  3115. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3116. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  3117. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3118. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  3119. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3120. //3是展示全部阶段 2学生 1老师 4专家
  3121. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  3122. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3123. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  3124. U.MD.D.I.selectUser();
  3125. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3126. var _formel = document.getElementById("study");
  3127. U.UF.F.windowZooming(_formel);
  3128. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3129. var _formel = document.getElementById("studyDetail");
  3130. U.UF.F.windowZooming(_formel);
  3131. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3132. var _formel = document.getElementById("studyDetail");
  3133. U.UF.F.windowZooming(_formel);
  3134. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3135. var _formel = document.getElementById("studentStudy");
  3136. U.UF.F.windowZooming(_formel);
  3137. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3138. // var _formel = document.getElementById("study");
  3139. //如果最大化了,那么就把他缩小
  3140. // if (_formel.ismaximize) {
  3141. // return;
  3142. // }
  3143. // U.UF.F.windowZooming(_formel);
  3144. // U.UF.F.topWindow(_formel);
  3145. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3146. // var _formel = document.getElementById("studyDetail");
  3147. //如果最大化了,那么就把他缩小
  3148. // if (_formel.ismaximize) {
  3149. // return;
  3150. // }
  3151. // U.UF.F.windowZooming(_formel);
  3152. // U.UF.F.topWindow(_formel);
  3153. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3154. // var _formel = document.getElementById("studentStudy");
  3155. // if (_formel.ismaximize) {
  3156. // return;
  3157. // }
  3158. // U.UF.F.windowZooming(_formel);
  3159. // U.UF.F.topWindow(_formel);
  3160. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3161. var _formel = document.getElementById("study");
  3162. // if (_formel.ismaximize) {
  3163. // return;
  3164. // }
  3165. // U.UF.F.windowZooming(_formel);
  3166. U.UF.F.topWindow(_formel);
  3167. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3168. var _formel = document.getElementById("studentIndex");
  3169. U.UF.F.windowZooming(_formel);
  3170. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3171. var _formel = document.getElementById("studyDetailS");
  3172. U.UF.F.windowZooming(_formel);
  3173. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3174. var _formel = document.getElementById("studioIndex");
  3175. U.UF.F.windowZooming(_formel);
  3176. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3177. var _formel = document.getElementById("studyDetailStudio");
  3178. U.UF.F.windowZooming(_formel);
  3179. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3180. var _formel = document.getElementById("studyDetailStudio");
  3181. U.UF.F.windowZooming(_formel);
  3182. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3183. var _formel = document.getElementById("studyDetailNT");
  3184. U.UF.F.windowZooming(_formel);
  3185. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3186. var _formel = document.getElementById("studyDetailS");
  3187. U.UF.F.windowZooming(_formel);
  3188. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3189. var _formel = document.getElementById("studyDetailS");
  3190. U.UF.F.topWindow(_formel);
  3191. } else if (e.data.tools && e.data.tools == "1") {
  3192. // U.MD.D.I.openApplication("whiteboard")
  3193. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3194. } else if (e.data.tools && e.data.tools == "2") {
  3195. U.MD.D.I.openApplication("note")
  3196. } else if (e.data.tools && e.data.tools == "3") {
  3197. // U.MD.D.I.openApplication("mind")
  3198. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3199. } else if (e.data.tools && e.data.tools == "4") {
  3200. U.MD.D.I.openApplication("investigation")
  3201. } else if (e.data.tools && e.data.tools == "6") {
  3202. // U.MD.D.I.openApplication("doc")
  3203. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3204. } else if (e.data.tools && e.data.tools == "7") {
  3205. // U.MD.D.I.openApplication("mindNetwork")
  3206. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3207. } else if (e.data.tools && e.data.tools == "8") {
  3208. U.MD.D.I.openApplication("library")
  3209. } else if (e.data.tools && e.data.tools == "17") {
  3210. U.MD.D.I.openApplication("stuLibrary")
  3211. } else if (e.data.tools && e.data.tools == "18") {
  3212. U.MD.D.I.openApplication("train")
  3213. } else if (e.data.tools && e.data.tools == "21") {
  3214. U.MD.D.I.openApplication("program")
  3215. } else if (e.data.tools && e.data.tools == "22") {
  3216. U.MD.D.I.openApplication("AIprogram2")
  3217. } else if (e.data.tools && e.data.tools == "23") {
  3218. U.MD.D.I.openApplication("Pythonprogram")
  3219. } else if (e.data.tools && e.data.tools == "24") {
  3220. U.MD.D.I.openApplication("AIprogram")
  3221. } else if (e.data.tools && e.data.tools == "25") {
  3222. U.MD.D.I.openApplication("sys")
  3223. } else if (e.data.tools && e.data.tools == "26") {
  3224. // U.MD.D.I.openApplication("courseDesign")
  3225. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3226. } else if (e.data.tools && e.data.tools == "31") {
  3227. U.MD.D.I.openApplication("netWorkPanel")
  3228. } else if (e.data.tools && e.data.tools == "32") {
  3229. U.MD.D.I.openApplication("codeEdit")
  3230. } else if (e.data.tools && e.data.tools == "57") {
  3231. U.MD.D.I.openApplication("CocoPi")
  3232. } else if (e.data.tools && e.data.tools == "63") {
  3233. U.MD.D.I.openApplication("Wood")
  3234. } else if (e.data.tools && e.data.tools == "58") {
  3235. U.MD.D.I.openApplication("car")
  3236. } else if (e.data.tools && e.data.tools == "59") {
  3237. U.MD.D.I.openApplication("lineSearch")
  3238. } else if (e.data.tools && e.data.tools == "60") {
  3239. U.MD.D.I.openApplication("deepLearning")
  3240. } else if (e.data.tools && e.data.tools == "61") {
  3241. U.MD.D.I.openApplication("allHistory")
  3242. } else if (e.data.tools && e.data.tools == "28") {
  3243. U.MD.D.I.openApplication("translation")
  3244. } else if (e.data.tools && e.data.tools == "37") {
  3245. U.MD.D.I.openApplication("mohe")
  3246. } else if (e.data.tools && e.data.tools == "38") {
  3247. U.MD.D.I.openApplication("24game")
  3248. } else if (e.data.tools && e.data.tools == "39") {
  3249. U.MD.D.I.openApplication("GeoGebra")
  3250. } else if (e.data.tools && e.data.tools == "43") {
  3251. U.MD.D.I.openApplication("studentEvaluate")
  3252. } else if (e.data.tools && e.data.tools == "44") {
  3253. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3254. } else if (e.data.tools && e.data.tools == "46") {
  3255. U.MD.D.I.openApplication("project")
  3256. } else if (e.data.tools && e.data.tools == "71") {
  3257. U.MD.D.I.openApplication("aigptCourse")
  3258. } else if (e.data.tools && e.data.tools == "1s") {
  3259. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3260. } else if (e.data.tools && e.data.tools == "3s") {
  3261. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3262. } else if (e.data.tools && e.data.tools == "6s") {
  3263. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3264. } else if (e.data.tools && e.data.tools == "1studio") {
  3265. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3266. } else if (e.data.tools && e.data.tools == "3studio") {
  3267. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3268. } else if (e.data.tools && e.data.tools == "6studio") {
  3269. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3270. } else if (e.data.tools && e.data.tools == "3y") {
  3271. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3272. } else if (e.data.tools && e.data.tools == "1y") {
  3273. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3274. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3275. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3276. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3277. U.MD.D.I.openApplication("AIAnalyse")
  3278. } else if (e.data.tools && e.data.tools == "1teacher") {
  3279. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3280. } else if (e.data.tools && e.data.tools == "3teacher") {
  3281. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3282. } else if (e.data.tools && e.data.tools == "7teacher") {
  3283. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3284. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3285. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3286. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3287. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3288. } else if (e.data.tools && e.data.tools == "1E") {
  3289. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3290. } else if (e.data.tools && e.data.tools == "3E") {
  3291. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3292. } else if (e.data.tools && e.data.tools == "57y") {
  3293. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3294. } else if (e.data.tools && e.data.tools == "57u") {
  3295. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3296. } else if (e.data.tools && e.data.tools == "57teacher") {
  3297. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3298. } else if (e.data.tools && e.data.tools == "64") {
  3299. U.MD.D.I.openApplication("AIChat")
  3300. } else if (e.data.tools && e.data.tools == "66") {
  3301. U.MD.D.I.openApplication("formulaEdi")
  3302. } else if (e.data.tools && e.data.tools == "67") {
  3303. U.MD.D.I.openApplication("molStr")
  3304. } else if (e.data.tools && e.data.tools == "68") {
  3305. U.MD.D.I.openApplication("timeAxis")
  3306. } else if (e.data.tools && e.data.tools == "openCourse") {
  3307. let _data = {
  3308. typea: e.data.typea || '',
  3309. typeb: e.data.typeb || '',
  3310. typed: e.data.typed || '',
  3311. }
  3312. U.MD.D.I.openInApplication("index", _data)
  3313. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3314. let _data = {
  3315. classid: e.data.classid || '',
  3316. }
  3317. U.MD.D.I.openInApplication("dataClass", _data)
  3318. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3319. let _data = {
  3320. cid: e.data.cid || '',
  3321. gid: e.data.gid || '',
  3322. }
  3323. U.MD.D.I.openInApplication("opencCscl", _data)
  3324. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3325. U.MD.D.I.openApplication("dataBoardTest")
  3326. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3327. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3328. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3329. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3330. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3331. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3332. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3333. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3334. }else if (e.data.tools && e.data.tools == "loginSz") {
  3335. U.MD.D.I.openInApplication("loginSz")
  3336. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3337. if($('#classroom_observation_board')[0]){
  3338. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  3339. }
  3340. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3341. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  3342. if($('#classroom_observation_ob_comment')[0]){
  3343. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  3344. }
  3345. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  3346. }
  3347. });
  3348. U.MD.D.I.selectUser = function () {
  3349. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3350. if (res.value[0].length > 0) {
  3351. US.userInfo = res.value[0][0];
  3352. $(".userName")[0].innerHTML = US.userInfo.username;
  3353. }
  3354. }, [], { "type": "GET", "withCredentials": true });
  3355. }
  3356. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3357. var _userinfo = US.userInfo, //登录用户信息
  3358. _userid = US.userInfo.userid, //登录用户id
  3359. _oid = _userinfo.organizeid,
  3360. _type = US.userInfo.type,
  3361. _org = US.userInfo.org,
  3362. _role = US.userInfo.role,
  3363. _classId = US.userInfo.classid;
  3364. if (_type == 4) {
  3365. tType = 4
  3366. }
  3367. switch (str) {
  3368. case "studyDetailNT": //无终端模式
  3369. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3370. setTimeout(() => {
  3371. U.MD.U.L.login();
  3372. }, 2000);
  3373. } else {
  3374. _formdiv = new U.UF.UI.form(
  3375. "课程详情",
  3376. $$("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 }), {
  3377. "id": "studyDetailNT",
  3378. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3379. "onresize": function () { }
  3380. }, {
  3381. closecallback: function () { }
  3382. }, { "style": { "height": "36px" } }).form; //创建窗体
  3383. _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); } }
  3384. break;
  3385. }
  3386. case "studyDetail":
  3387. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3388. setTimeout(() => {
  3389. U.MD.U.L.login();
  3390. }, 2000);
  3391. } else {
  3392. _formdiv = new U.UF.UI.form(
  3393. "课程详情",
  3394. $$("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 }), {
  3395. "id": "studyDetail",
  3396. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3397. "onresize": function () { }
  3398. }, {
  3399. closecallback: function () { }
  3400. }, { "style": { "height": "36px" } }).form; //创建窗体
  3401. _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); } }
  3402. break;
  3403. }
  3404. case "studyDetailTrain":
  3405. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3406. setTimeout(() => {
  3407. U.MD.U.L.login();
  3408. }, 2000);
  3409. } else {
  3410. _formdiv = new U.UF.UI.form(
  3411. "培训详情",
  3412. $$("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 }), {
  3413. "id": "studyDetailTrain",
  3414. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3415. "onresize": function () { }
  3416. }, {
  3417. closecallback: function () { }
  3418. }, { "style": { "height": "36px" } }).form; //创建窗体
  3419. _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); } }
  3420. break;
  3421. }
  3422. case "studyDetailS":
  3423. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3424. setTimeout(() => {
  3425. U.MD.U.L.login();
  3426. }, 2000);
  3427. } else {
  3428. _formdiv = new U.UF.UI.form(
  3429. "项目详情",
  3430. $$("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 }), {
  3431. "id": "studyDetailS",
  3432. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3433. "onresize": function () { }
  3434. }, {
  3435. closecallback: function () { }
  3436. }, { "style": { "height": "36px" } }).form; //创建窗体
  3437. _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); } }
  3438. break;
  3439. }
  3440. case "studyDetailStudio":
  3441. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3442. setTimeout(() => {
  3443. U.MD.U.L.login();
  3444. }, 2000);
  3445. } else {
  3446. _formdiv = new U.UF.UI.form(
  3447. "工作详情",
  3448. $$("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 }), {
  3449. "id": "studyDetailStudio",
  3450. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3451. "onresize": function () { }
  3452. }, {
  3453. closecallback: function () { }
  3454. }, { "style": { "height": "36px" } }).form; //创建窗体
  3455. _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); } }
  3456. break;
  3457. }
  3458. case "studyDetailS5":
  3459. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3460. setTimeout(() => {
  3461. U.MD.U.L.login();
  3462. }, 2000);
  3463. } else {
  3464. _formdiv = new U.UF.UI.form(
  3465. "项目详情",
  3466. $$("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 }), {
  3467. "id": "studyDetailS",
  3468. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3469. "onresize": function () { }
  3470. }, {
  3471. closecallback: function () { }
  3472. }, { "style": { "height": "36px" } }).form; //创建窗体
  3473. _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); } }
  3474. break;
  3475. }
  3476. case "studyDetailGM":
  3477. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3478. setTimeout(() => {
  3479. U.MD.U.L.login();
  3480. }, 2000);
  3481. } else {
  3482. _formdiv = new U.UF.UI.form(
  3483. "课程详情",
  3484. $$("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 }), {
  3485. "id": "studyDetail",
  3486. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3487. "onresize": function () { }
  3488. }, {
  3489. closecallback: function () { }
  3490. }, { "style": { "height": "36px" } }).form; //创建窗体
  3491. _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); } }
  3492. break;
  3493. }
  3494. case "hanUrl":
  3495. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3496. setTimeout(() => {
  3497. U.MD.U.L.login();
  3498. }, 2000);
  3499. } else {
  3500. _formdiv = new U.UF.UI.form(
  3501. "汉字宫",
  3502. $$("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" }), {
  3503. "id": "hanUrl",
  3504. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3505. "onresize": function () { }
  3506. }, {
  3507. closecallback: function () { }
  3508. }, { "style": { "height": "36px" } }).form; //创建窗体
  3509. _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); } }
  3510. break;
  3511. }
  3512. case "index":
  3513. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3514. setTimeout(() => {
  3515. U.MD.U.L.login();
  3516. }, 2000);
  3517. } else {
  3518. _formdiv = new U.UF.UI.form(
  3519. "课程中心",
  3520. $$("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 }), {
  3521. "id": "study",
  3522. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3523. "onresize": function () { }
  3524. }, {
  3525. closecallback: function () { }
  3526. }, { "style": { "height": "36px" } }).form; //创建窗体
  3527. _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); } }
  3528. break;
  3529. }
  3530. case "dataClass":
  3531. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3532. setTimeout(() => {
  3533. U.MD.U.L.login();
  3534. }, 2000);
  3535. } else {
  3536. _formdiv = new U.UF.UI.form(
  3537. "数据报告",
  3538. $$("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 }), {
  3539. "id": "dataClass",
  3540. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3541. "onresize": function () { }
  3542. }, {
  3543. closecallback: function () { }
  3544. }, { "style": { "height": "36px" } }).form; //创建窗体
  3545. _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); } }
  3546. break;
  3547. }
  3548. case "opencCscl":
  3549. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3550. setTimeout(() => {
  3551. U.MD.U.L.login();
  3552. }, 2000);
  3553. } else {
  3554. _formdiv = new U.UF.UI.form(
  3555. "协同建构",
  3556. $$("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 }), {
  3557. "id": "futureClass",
  3558. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3559. "onresize": function () { }
  3560. }, {
  3561. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3562. }, { "style": { "height": "36px" } }).form; //创建窗体
  3563. _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); } }
  3564. break;
  3565. }
  3566. case "openCourseUpdate":
  3567. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3568. setTimeout(() => {
  3569. U.MD.U.L.login();
  3570. }, 2000);
  3571. } else {
  3572. _formdiv = new U.UF.UI.form(
  3573. "课程管理",
  3574. $$("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 }), {
  3575. "id": "openCourseUpdate",
  3576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3577. "onresize": function () { }
  3578. }, {
  3579. closecallback: function () { }
  3580. }, { "style": { "height": "36px" } }).form; //创建窗体
  3581. break;
  3582. }
  3583. case "openNewCourseUpdate":
  3584. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3585. setTimeout(() => {
  3586. U.MD.U.L.login();
  3587. }, 2000);
  3588. } else {
  3589. _formdiv = new U.UF.UI.form(
  3590. "课程管理",
  3591. $$("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 }), {
  3592. "id": "openCourseUpdate",
  3593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function () { }
  3595. }, {
  3596. closecallback: function () { }
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. break;
  3599. }
  3600. case "openCourseEUpdate":
  3601. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3602. setTimeout(() => {
  3603. U.MD.U.L.login();
  3604. }, 2000);
  3605. } else {
  3606. _formdiv = new U.UF.UI.form(
  3607. "课程管理",
  3608. $$("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 }), {
  3609. "id": "openCourseUpdate",
  3610. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3611. "onresize": function () { }
  3612. }, {
  3613. closecallback: function () { }
  3614. }, { "style": { "height": "36px" } }).form; //创建窗体
  3615. break;
  3616. }
  3617. case "openCourseNewUpdate":
  3618. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3619. setTimeout(() => {
  3620. U.MD.U.L.login();
  3621. }, 2000);
  3622. } else {
  3623. _formdiv = new U.UF.UI.form(
  3624. "课程管理",
  3625. $$("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 }), {
  3626. "id": "openCourseUpdate",
  3627. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3628. "onresize": function () { }
  3629. }, {
  3630. closecallback: function () { }
  3631. }, { "style": { "height": "36px" } }).form; //创建窗体
  3632. break;
  3633. }
  3634. case "inviteLoginSz":
  3635. _formdiv = new U.UF.UI.form(
  3636. "随机码登录",
  3637. $$("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 }), {
  3638. "id": "loginSz",
  3639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3640. "onresize": function () { }
  3641. }, {
  3642. closecallback: function () { }
  3643. }, { "style": { "height": "36px" } }).form; //创建窗体
  3644. break;
  3645. case "loginSz":
  3646. _formdiv = new U.UF.UI.form(
  3647. "教师登录",
  3648. $$("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" }), {
  3649. "id": "loginSz",
  3650. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3651. "onresize": function () { }
  3652. }, {
  3653. closecallback: function () { }
  3654. }, { "style": { "height": "36px" } }).form; //创建窗体
  3655. break;
  3656. case "teacher":
  3657. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3658. setTimeout(() => {
  3659. U.MD.U.L.login();
  3660. }, 2000);
  3661. } else {
  3662. _formdiv = new U.UF.UI.form(
  3663. "教师管理",
  3664. $$("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 }), {
  3665. "id": "teacher",
  3666. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3667. "onresize": function () { }
  3668. }, {
  3669. closecallback: function () { }
  3670. }, { "style": { "height": "36px" } }).form; //创建窗体
  3671. break;
  3672. }
  3673. case "dataBoardSZArea":
  3674. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3675. setTimeout(() => {
  3676. U.MD.U.L.login();
  3677. }, 2000);
  3678. } else {
  3679. _formdiv = new U.UF.UI.form(
  3680. "综合数据看板",
  3681. $$("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 }), {
  3682. "id": "dataBoardSZArea",
  3683. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. break;
  3689. }
  3690. case "dataBoardSZCity":
  3691. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3692. setTimeout(() => {
  3693. U.MD.U.L.login();
  3694. }, 2000);
  3695. } else {
  3696. _formdiv = new U.UF.UI.form(
  3697. "综合数据看板",
  3698. $$("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 }), {
  3699. "id": "dataBoardSZCity",
  3700. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3701. "onresize": function () { }
  3702. }, {
  3703. closecallback: function () { }
  3704. }, { "style": { "height": "36px" } }).form; //创建窗体
  3705. break;
  3706. }
  3707. case "classroom_observation_board":
  3708. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3709. setTimeout(() => {
  3710. U.MD.U.L.login();
  3711. }, 2000);
  3712. } else {
  3713. _formdiv = new U.UF.UI.form(
  3714. "课堂观察",
  3715. $$("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 }), {
  3716. "id": "classroom_observation_board",
  3717. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //创建窗体
  3722. break;
  3723. }
  3724. case "classroom_observation_ob_comment":
  3725. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3726. setTimeout(() => {
  3727. U.MD.U.L.login();
  3728. }, 2000);
  3729. } else {
  3730. _formdiv = new U.UF.UI.form(
  3731. "课堂审核",
  3732. $$("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 }), {
  3733. "id": "classroom_observation_ob_comment",
  3734. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3735. "onresize": function () { }
  3736. }, {
  3737. closecallback: function () { }
  3738. }, { "style": { "height": "36px" } }).form; //创建窗体
  3739. break;
  3740. }
  3741. }
  3742. }
  3743. U.MD.D.I.openApplication = function (str, obj, info) {
  3744. obj = obj || {};
  3745. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3746. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3747. _userinfo = US.userInfo, //登录用户信息
  3748. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3749. _oid = obj.organizeid || _userinfo.organizeid,
  3750. _type = US.userInfo.type,
  3751. _org = US.userInfo.org,
  3752. _role = US.userInfo.role,
  3753. _classId = US.userInfo.classid,
  3754. _TscreenType = 1
  3755. _screenType = 2,
  3756. _SscreenType = 3;
  3757. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3758. return;
  3759. }
  3760. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3761. switch (str) {
  3762. case "studnetProject": //好友打开
  3763. _formdiv = new U.UF.UI.form(
  3764. "我的项目",
  3765. $$("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 }), {
  3766. "id": "studnetProject",
  3767. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3768. "onresize": function () { }
  3769. }, {
  3770. closecallback: function () { }
  3771. }, { "style": { "height": "36px" } }).form; //创建窗体
  3772. _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); } }
  3773. break;
  3774. case "studentEvaluate": //好友打开
  3775. _formdiv = new U.UF.UI.form(
  3776. "我的评价",
  3777. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3778. "id": "studentEvaluate",
  3779. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3785. break;
  3786. case "my":
  3787. _formdiv = new U.UF.UI.form(
  3788. "我的资料",
  3789. $$("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 }), {
  3790. "id": "my",
  3791. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _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); } }
  3797. break;
  3798. case "program":
  3799. _formdiv = new U.UF.UI.form(
  3800. "编程平台",
  3801. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3802. "id": "program",
  3803. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3804. "onresize": function () { }
  3805. }, {
  3806. closecallback: function () { }
  3807. }, { "style": { "height": "36px" } }).form; //创建窗体
  3808. _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); } }
  3809. break;
  3810. case "library":
  3811. _formdiv = new U.UF.UI.form(
  3812. "素材库",
  3813. $$("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 }), {
  3814. "id": "library",
  3815. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //创建窗体
  3820. _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); } }
  3821. break;
  3822. case "whiteboard":
  3823. _formdiv = new U.UF.UI.form(
  3824. "电子白板",
  3825. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  3826. "id": "whiteboard",
  3827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3828. "onresize": function () { }
  3829. }, {
  3830. closecallback: function () { }
  3831. }, { "style": { "height": "36px" } }).form; //创建窗体
  3832. _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); } }
  3833. break;
  3834. case "investigation":
  3835. _formdiv = new U.UF.UI.form(
  3836. "问卷调查",
  3837. $$("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 }), {
  3838. "id": "investigation",
  3839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3840. "onresize": function () { }
  3841. }, {
  3842. closecallback: function () { }
  3843. }, { "style": { "height": "36px" } }).form; //创建窗体
  3844. _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); } }
  3845. break;
  3846. case "note":
  3847. _formdiv = new U.UF.UI.form(
  3848. "便签分类",
  3849. $$("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 }), {
  3850. "id": "note",
  3851. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3852. "onresize": function () { }
  3853. }, {
  3854. closecallback: function () { }
  3855. }, { "style": { "height": "36px" } }).form; //创建窗体
  3856. _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); } }
  3857. break;
  3858. // case "score":
  3859. // _formdiv = new U.UF.UI.form(
  3860. // "量规评分",
  3861. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3862. // "id": "score",
  3863. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3864. // "onresize": function() {}
  3865. // }, {
  3866. // closecallback: function() {}
  3867. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3868. // _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); } }
  3869. // break;
  3870. case "mind":
  3871. _formdiv = new U.UF.UI.form(
  3872. "思维导图",
  3873. $$("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"
  3874. "id": "mind",
  3875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3876. "onresize": function () { }
  3877. }, {
  3878. closecallback: function () { }
  3879. }, { "style": { "height": "36px" } }).form; //创建窗体
  3880. _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); } }
  3881. break;
  3882. case "doc":
  3883. // U.MD.D.I.isRoom();
  3884. _formdiv = new U.UF.UI.form(
  3885. "协同文档",
  3886. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3887. "id": "doc",
  3888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3894. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3895. // })
  3896. _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); } }
  3897. break;
  3898. case "studentStudy":
  3899. _formdiv = new U.UF.UI.form(
  3900. "课程中心",
  3901. $$("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
  3902. "id": "studentStudy",
  3903. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3904. "onresize": function () { }
  3905. }, {
  3906. closecallback: function () { }
  3907. }, { "style": { "height": "36px" } }).form; //创建窗体
  3908. _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); } }
  3909. break;
  3910. case "train": //好友打开
  3911. _formdiv = new U.UF.UI.form(
  3912. "训练平台",
  3913. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3914. "id": "train",
  3915. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3916. "onresize": function () { }
  3917. }, {
  3918. closecallback: function () { }
  3919. }, { "style": { "height": "36px" } }).form; //创建窗体
  3920. _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); } }
  3921. break;
  3922. case "mindNetwork": //好友打开
  3923. _formdiv = new U.UF.UI.form(
  3924. "思维网格",
  3925. $$("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 }), {
  3926. "id": "mindNetwork",
  3927. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3928. "onresize": function () { }
  3929. }, {
  3930. closecallback: function () { }
  3931. }, { "style": { "height": "36px" } }).form; //创建窗体
  3932. _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); } }
  3933. break;
  3934. case "studentClassRoom": //好友打开
  3935. _formdiv = new U.UF.UI.form(
  3936. "实时课堂",
  3937. $$("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 }), {
  3938. "id": "studentClassRoom",
  3939. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function () { }
  3941. }, {
  3942. closecallback: function () { }
  3943. }, { "style": { "height": "36px" } }).form; //创建窗体
  3944. _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); } }
  3945. setTimeout(() => {
  3946. U.UF.F.windowZooming(_formdiv)
  3947. }, 0);
  3948. break;
  3949. }
  3950. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3951. switch (str) {
  3952. case "studnetProject": //好友打开
  3953. _formdiv = new U.UF.UI.form(
  3954. "我的项目",
  3955. $$("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 }), {
  3956. "id": "studnetProject",
  3957. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3958. "onresize": function () { }
  3959. }, {
  3960. closecallback: function () { }
  3961. }, { "style": { "height": "36px" } }).form; //创建窗体
  3962. _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); } }
  3963. break;
  3964. case "studentEvaluate": //好友打开
  3965. _formdiv = new U.UF.UI.form(
  3966. "我的评价",
  3967. $$("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 }), {
  3968. "id": "studentEvaluate",
  3969. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function () { }
  3971. }, {
  3972. closecallback: function () { }
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _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); } }
  3975. break;
  3976. case "my":
  3977. _formdiv = new U.UF.UI.form(
  3978. "我的资料",
  3979. $$("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 }), {
  3980. "id": "my",
  3981. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3982. "onresize": function () { }
  3983. }, {
  3984. closecallback: function () { }
  3985. }, { "style": { "height": "36px" } }).form; //创建窗体
  3986. _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); } }
  3987. break;
  3988. case "program":
  3989. _formdiv = new U.UF.UI.form(
  3990. "编程平台",
  3991. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3992. "id": "program",
  3993. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3994. "onresize": function () { }
  3995. }, {
  3996. closecallback: function () { }
  3997. }, { "style": { "height": "36px" } }).form; //创建窗体
  3998. _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); } }
  3999. break;
  4000. case "library":
  4001. _formdiv = new U.UF.UI.form(
  4002. "素材库",
  4003. $$("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 }), {
  4004. "id": "library",
  4005. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4006. "onresize": function () { }
  4007. }, {
  4008. closecallback: function () { }
  4009. }, { "style": { "height": "36px" } }).form; //创建窗体
  4010. _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); } }
  4011. break;
  4012. case "whiteboard":
  4013. _formdiv = new U.UF.UI.form(
  4014. "电子白板",
  4015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4016. "id": "whiteboard",
  4017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4018. "onresize": function () { }
  4019. }, {
  4020. closecallback: function () { }
  4021. }, { "style": { "height": "36px" } }).form; //创建窗体
  4022. _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); } }
  4023. break;
  4024. case "investigation":
  4025. _formdiv = new U.UF.UI.form(
  4026. "问卷调查",
  4027. $$("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 }), {
  4028. "id": "investigation",
  4029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4030. "onresize": function () { }
  4031. }, {
  4032. closecallback: function () { }
  4033. }, { "style": { "height": "36px" } }).form; //创建窗体
  4034. _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); } }
  4035. break;
  4036. case "note":
  4037. _formdiv = new U.UF.UI.form(
  4038. "便签分类",
  4039. $$("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 }), {
  4040. "id": "note",
  4041. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4042. "onresize": function () { }
  4043. }, {
  4044. closecallback: function () { }
  4045. }, { "style": { "height": "36px" } }).form; //创建窗体
  4046. _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); } }
  4047. break;
  4048. // case "score":
  4049. // _formdiv = new U.UF.UI.form(
  4050. // "量规评分",
  4051. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4052. // "id": "score",
  4053. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4054. // "onresize": function() {}
  4055. // }, {
  4056. // closecallback: function() {}
  4057. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4058. // _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); } }
  4059. // break;
  4060. case "mind":
  4061. _formdiv = new U.UF.UI.form(
  4062. "思维导图",
  4063. $$("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"
  4064. "id": "mind",
  4065. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4066. "onresize": function () { }
  4067. }, {
  4068. closecallback: function () { }
  4069. }, { "style": { "height": "36px" } }).form; //创建窗体
  4070. _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); } }
  4071. break;
  4072. case "doc":
  4073. // U.MD.D.I.isRoom();
  4074. _formdiv = new U.UF.UI.form(
  4075. "协同文档",
  4076. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4077. "id": "doc",
  4078. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4079. "onresize": function () { }
  4080. }, {
  4081. closecallback: function () { }
  4082. }, { "style": { "height": "36px" } }).form; //创建窗体
  4083. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4084. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4085. })
  4086. _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); } }
  4087. break;
  4088. case "train": //好友打开
  4089. _formdiv = new U.UF.UI.form(
  4090. "训练平台",
  4091. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4092. "id": "train",
  4093. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4094. "onresize": function () { }
  4095. }, {
  4096. closecallback: function () { }
  4097. }, { "style": { "height": "36px" } }).form; //创建窗体
  4098. _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); } }
  4099. break;
  4100. case "studentStudy":
  4101. _formdiv = new U.UF.UI.form(
  4102. "课程中心",
  4103. $$("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
  4104. "id": "studentStudy",
  4105. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4106. "onresize": function () { }
  4107. }, {
  4108. closecallback: function () { }
  4109. }, { "style": { "height": "36px" } }).form; //创建窗体
  4110. _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); } }
  4111. break;
  4112. case "mindNetwork": //好友打开
  4113. _formdiv = new U.UF.UI.form(
  4114. "思维网格",
  4115. $$("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 }), {
  4116. "id": "mindNetwork",
  4117. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4118. "onresize": function () { }
  4119. }, {
  4120. closecallback: function () { }
  4121. }, { "style": { "height": "36px" } }).form; //创建窗体
  4122. _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); } }
  4123. break;
  4124. case "studentClassRoom": //好友打开
  4125. _formdiv = new U.UF.UI.form(
  4126. "实时课堂",
  4127. $$("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 }), {
  4128. "id": "studentClassRoom",
  4129. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4130. "onresize": function () { }
  4131. }, {
  4132. closecallback: function () { }
  4133. }, { "style": { "height": "36px" } }).form; //创建窗体
  4134. _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); } }
  4135. setTimeout(() => {
  4136. U.UF.F.windowZooming(_formdiv)
  4137. }, 0);
  4138. break;
  4139. }
  4140. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4141. //选择应用处理
  4142. switch (str) {
  4143. case "project": //好友打开
  4144. _formdiv = new U.UF.UI.form(
  4145. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  4146. $$("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 }), {
  4147. "id": "project",
  4148. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4149. "onresize": function () { }
  4150. }, {
  4151. closecallback: function () { }
  4152. }, { "style": { "height": "36px" } }).form; //创建窗体
  4153. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4154. break;
  4155. case "student":
  4156. _formdiv = new U.UF.UI.form(
  4157. "学生管理",
  4158. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  4159. "id": "student",
  4160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4161. "onresize": function () { }
  4162. }, {
  4163. closecallback: function () { }
  4164. }, { "style": { "height": "36px" } }).form; //创建窗体
  4165. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4166. break;
  4167. case "evaluate":
  4168. _formdiv = new U.UF.UI.form(
  4169. "学生评价",
  4170. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4171. "id": "evaluate",
  4172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4173. "onresize": function () { }
  4174. }, {
  4175. closecallback: function () { }
  4176. }, { "style": { "height": "36px" } }).form; //创建窗体
  4177. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4178. break;
  4179. case "sys":
  4180. _formdiv = new U.UF.UI.form(
  4181. "目标管理",
  4182. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4183. "id": "sys",
  4184. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4185. "onresize": function () { }
  4186. }, {
  4187. closecallback: function () { }
  4188. }, { "style": { "height": "36px" } }).form; //创建窗体
  4189. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4190. break;
  4191. case "courseDesign":
  4192. _formdiv = new U.UF.UI.form(
  4193. "项目设计",
  4194. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4195. "id": "courseDesign",
  4196. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4197. "onresize": function () { }
  4198. }, {
  4199. closecallback: function () { }
  4200. }, { "style": { "height": "36px" } }).form; //创建窗体
  4201. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4202. break;
  4203. case "program":
  4204. _formdiv = new U.UF.UI.form(
  4205. "编程平台",
  4206. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4207. "id": "program",
  4208. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4209. "onresize": function () { }
  4210. }, {
  4211. closecallback: function () { }
  4212. }, { "style": { "height": "36px" } }).form; //创建窗体
  4213. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4214. break;
  4215. case "class":
  4216. _formdiv = new U.UF.UI.form(
  4217. "班级管理",
  4218. $$("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 }), {
  4219. "id": "class",
  4220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4221. "onresize": function () { }
  4222. }, {
  4223. closecallback: function () { }
  4224. }, { "style": { "height": "36px" } }).form; //创建窗体
  4225. _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); } }
  4226. break;
  4227. case "Grade":
  4228. _formdiv = new U.UF.UI.form(
  4229. "年级管理",
  4230. $$("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 }), {
  4231. "id": "Grade",
  4232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4233. "onresize": function () { }
  4234. }, {
  4235. closecallback: function () { }
  4236. }, { "style": { "height": "36px" } }).form; //创建窗体
  4237. _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); } }
  4238. break;
  4239. case "teacherOffice":
  4240. _formdiv = new U.UF.UI.form(
  4241. "教研室",
  4242. $$("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 }), {
  4243. "id": "teacherOffice",
  4244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4245. "onresize": function () { }
  4246. }, {
  4247. closecallback: function () { }
  4248. }, { "style": { "height": "36px" } }).form; //创建窗体
  4249. _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); } }
  4250. break;
  4251. case "my":
  4252. _formdiv = new U.UF.UI.form(
  4253. "我的资料",
  4254. $$("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 }), {
  4255. "id": "my",
  4256. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. _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); } }
  4262. break;
  4263. case "notice":
  4264. _formdiv = new U.UF.UI.form(
  4265. "通知公告",
  4266. $$("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 }), {
  4267. "id": "notice",
  4268. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4269. "onresize": function () { }
  4270. }, {
  4271. closecallback: function () { }
  4272. }, { "style": { "height": "36px" } }).form; //创建窗体
  4273. _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); } }
  4274. break;
  4275. case "library":
  4276. _formdiv = new U.UF.UI.form(
  4277. "素材库",
  4278. $$("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 }), {
  4279. "id": "library",
  4280. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4281. "onresize": function () { }
  4282. }, {
  4283. closecallback: function () { }
  4284. }, { "style": { "height": "36px" } }).form; //创建窗体
  4285. _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); } }
  4286. break;
  4287. case "whiteboard":
  4288. _formdiv = new U.UF.UI.form(
  4289. "电子白板",
  4290. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4291. "id": "whiteboard",
  4292. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //创建窗体
  4297. _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); } }
  4298. break;
  4299. case "investigation":
  4300. _formdiv = new U.UF.UI.form(
  4301. "问卷调查",
  4302. $$("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 }), {
  4303. "id": "investigation",
  4304. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4305. "onresize": function () { }
  4306. }, {
  4307. closecallback: function () { }
  4308. }, { "style": { "height": "36px" } }).form; //创建窗体
  4309. _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); } }
  4310. break;
  4311. case "note":
  4312. _formdiv = new U.UF.UI.form(
  4313. "便签分类",
  4314. $$("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 }), {
  4315. "id": "note",
  4316. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4317. "onresize": function () { }
  4318. }, {
  4319. closecallback: function () { }
  4320. }, { "style": { "height": "36px" } }).form; //创建窗体
  4321. _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); } }
  4322. break;
  4323. // case "score":
  4324. // _formdiv = new U.UF.UI.form(
  4325. // "量规评分",
  4326. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4327. // "id": "score",
  4328. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4329. // "onresize": function() {}
  4330. // }, {
  4331. // closecallback: function() {}
  4332. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4333. // _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); } }
  4334. // break;
  4335. case "mind":
  4336. _formdiv = new U.UF.UI.form(
  4337. "思维导图",
  4338. $$("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"
  4339. "id": "mind",
  4340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function () { }
  4342. }, {
  4343. closecallback: function () { }
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _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); } }
  4346. break;
  4347. case "doc":
  4348. // U.MD.D.I.isRoom();
  4349. _formdiv = new U.UF.UI.form(
  4350. "协同文档",
  4351. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4352. "id": "doc",
  4353. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4354. "onresize": function () { }
  4355. }, {
  4356. closecallback: function () { }
  4357. }, { "style": { "height": "36px" } }).form; //创建窗体
  4358. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4359. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4360. })
  4361. _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); } }
  4362. break;
  4363. case "study":
  4364. _formdiv = new U.UF.UI.form(
  4365. "课程中心",
  4366. $$("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
  4367. "id": "study",
  4368. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4369. "onresize": function () { }
  4370. }, {
  4371. closecallback: function () { }
  4372. }, { "style": { "height": "36px" } }).form; //创建窗体
  4373. _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); } }
  4374. break;
  4375. case "mindNetwork": //好友打开
  4376. _formdiv = new U.UF.UI.form(
  4377. "思维网格",
  4378. $$("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 }), {
  4379. "id": "mindNetwork",
  4380. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4381. "onresize": function () { }
  4382. }, {
  4383. closecallback: function () { }
  4384. }, { "style": { "height": "36px" } }).form; //创建窗体
  4385. _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); } }
  4386. break;
  4387. case "train": //好友打开
  4388. _formdiv = new U.UF.UI.form(
  4389. "训练平台",
  4390. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4391. "id": "mindNetwork",
  4392. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4393. "onresize": function () { }
  4394. }, {
  4395. closecallback: function () { }
  4396. }, { "style": { "height": "36px" } }).form; //创建窗体
  4397. _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); } }
  4398. break;
  4399. case "teacherClassRoom": //好友打开
  4400. _formdiv = new U.UF.UI.form(
  4401. "实时课堂",
  4402. $$("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 }), {
  4403. "id": "teacherClassRoom",
  4404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4405. "onresize": function () { }
  4406. }, {
  4407. closecallback: function () { }
  4408. }, { "style": { "height": "36px" } }).form; //创建窗体
  4409. _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); } }
  4410. setTimeout(() => {
  4411. U.UF.F.windowZooming(_formdiv)
  4412. }, 0);
  4413. break;
  4414. }
  4415. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4416. switch (str) {
  4417. case "project": //好友打开
  4418. _formdiv = new U.UF.UI.form(
  4419. "课程管理",
  4420. $$("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 }), {
  4421. "id": "project",
  4422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4423. "onresize": function () { }
  4424. }, {
  4425. closecallback: function () { }
  4426. }, { "style": { "height": "36px" } }).form; //创建窗体
  4427. _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); } }
  4428. break;
  4429. case "evaluate":
  4430. _formdiv = new U.UF.UI.form(
  4431. "学生评价",
  4432. $$("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 }), {
  4433. "id": "evaluate",
  4434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4435. "onresize": function () { }
  4436. }, {
  4437. closecallback: function () { }
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _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); } }
  4440. break;
  4441. case "notice":
  4442. _formdiv = new U.UF.UI.form(
  4443. "通知公告",
  4444. $$("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 }), {
  4445. "id": "notice",
  4446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4447. "onresize": function () { }
  4448. }, {
  4449. closecallback: function () { }
  4450. }, { "style": { "height": "36px" } }).form; //创建窗体
  4451. _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); } }
  4452. break;
  4453. case "stuLibrary":
  4454. _formdiv = new U.UF.UI.form(
  4455. "学习资料",
  4456. $$("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 }), {
  4457. "id": "stuLibrary",
  4458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function () { }
  4460. }, {
  4461. closecallback: function () { }
  4462. }, { "style": { "height": "36px" } }).form; //创建窗体
  4463. _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); } }
  4464. break;
  4465. case "program":
  4466. _formdiv = new U.UF.UI.form(
  4467. "编程平台",
  4468. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4469. "id": "program",
  4470. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4471. "onresize": function () { }
  4472. }, {
  4473. closecallback: function () { }
  4474. }, { "style": { "height": "36px" } }).form; //创建窗体
  4475. _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); } }
  4476. break;
  4477. case "whiteboard":
  4478. _formdiv = new U.UF.UI.form(
  4479. "电子白板",
  4480. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4481. "id": "whiteboard",
  4482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4483. "onresize": function () { }
  4484. }, {
  4485. closecallback: function () { }
  4486. }, { "style": { "height": "36px" } }).form; //创建窗体
  4487. _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); } }
  4488. break;
  4489. case "investigation":
  4490. _formdiv = new U.UF.UI.form(
  4491. "问卷调查",
  4492. $$("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 }), {
  4493. "id": "investigation",
  4494. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4495. "onresize": function () { }
  4496. }, {
  4497. closecallback: function () { }
  4498. }, { "style": { "height": "36px" } }).form; //创建窗体
  4499. _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); } }
  4500. break;
  4501. case "mind":
  4502. _formdiv = new U.UF.UI.form(
  4503. "思维导图",
  4504. $$("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"
  4505. "id": "mind",
  4506. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4507. "onresize": function () { }
  4508. }, {
  4509. closecallback: function () { }
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _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); } }
  4512. break;
  4513. case "doc":
  4514. // U.MD.D.I.isRoom();
  4515. _formdiv = new U.UF.UI.form(
  4516. "协同文档",
  4517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4518. "id": "doc",
  4519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4520. "onresize": function () { }
  4521. }, {
  4522. closecallback: function () { }
  4523. }, { "style": { "height": "36px" } }).form; //创建窗体
  4524. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4525. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4526. })
  4527. _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); } }
  4528. break;
  4529. case "study":
  4530. _formdiv = new U.UF.UI.form(
  4531. "课程中心",
  4532. $$("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
  4533. "id": "study",
  4534. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4535. "onresize": function () { }
  4536. }, {
  4537. closecallback: function () { }
  4538. }, { "style": { "height": "36px" } }).form; //创建窗体
  4539. _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); } }
  4540. break;
  4541. case "mindNetwork": //好友打开
  4542. _formdiv = new U.UF.UI.form(
  4543. "思维网格",
  4544. $$("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 }), {
  4545. "id": "mindNetwork",
  4546. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4547. "onresize": function () { }
  4548. }, {
  4549. closecallback: function () { }
  4550. }, { "style": { "height": "36px" } }).form; //创建窗体
  4551. _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); } }
  4552. break;
  4553. case "train": //好友打开
  4554. _formdiv = new U.UF.UI.form(
  4555. "训练平台",
  4556. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4557. "id": "train",
  4558. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4559. "onresize": function () { }
  4560. }, {
  4561. closecallback: function () { }
  4562. }, { "style": { "height": "36px" } }).form; //创建窗体
  4563. _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); } }
  4564. break;
  4565. case "sys":
  4566. _formdiv = new U.UF.UI.form(
  4567. "目标管理",
  4568. $$("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 }), {
  4569. "id": "sys",
  4570. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4571. "onresize": function () { }
  4572. }, {
  4573. closecallback: function () { }
  4574. }, { "style": { "height": "36px" } }).form; //创建窗体
  4575. _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); } }
  4576. break;
  4577. case "courseDesign":
  4578. _formdiv = new U.UF.UI.form(
  4579. "项目设计",
  4580. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4581. "id": "courseDesign",
  4582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4583. "onresize": function () { }
  4584. }, {
  4585. closecallback: function () { }
  4586. }, { "style": { "height": "36px" } }).form; //创建窗体
  4587. _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); } }
  4588. break;
  4589. }
  4590. } else if (!_type) {
  4591. switch (str) {
  4592. case "my":
  4593. _formdiv = new U.UF.UI.form(
  4594. "我的资料",
  4595. $$("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 }), {
  4596. "id": "my",
  4597. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4598. "onresize": function () { }
  4599. }, {
  4600. closecallback: function () { }
  4601. }, { "style": { "height": "36px" } }).form; //创建窗体
  4602. _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); } }
  4603. break;
  4604. }
  4605. }
  4606. switch (str) {
  4607. // AIprogram2 AI体验 aihub.cocorobo.cn
  4608. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4609. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4610. case "formulaEdi": //公式编辑
  4611. _formdiv = new U.UF.UI.form(
  4612. "公式编辑",
  4613. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4614. "id": "formulaEdi",
  4615. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4616. "onresize": function () { }
  4617. }, {
  4618. closecallback: function () { }
  4619. }, { "style": { "height": "36px" } }).form; //创建窗体
  4620. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4621. break;
  4622. case "molStr": //分子结构
  4623. _formdiv = new U.UF.UI.form(
  4624. "分子结构",
  4625. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4626. "id": "molStr",
  4627. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4628. "onresize": function () { }
  4629. }, {
  4630. closecallback: function () { }
  4631. }, { "style": { "height": "36px" } }).form; //创建窗体
  4632. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4633. break;
  4634. case "timeAxis": //时间轴
  4635. _formdiv = new U.UF.UI.form(
  4636. "时间轴",
  4637. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4638. "id": "timeAxis",
  4639. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4640. "onresize": function () { }
  4641. }, {
  4642. closecallback: function () { }
  4643. }, { "style": { "height": "36px" } }).form; //创建窗体
  4644. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4645. break;
  4646. case "AIprogram2": //AI体验
  4647. _formdiv = new U.UF.UI.form(
  4648. "AI体验",
  4649. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4650. "id": "AIprogram2",
  4651. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4652. "onresize": function () { }
  4653. }, {
  4654. closecallback: function () { }
  4655. }, { "style": { "height": "36px" } }).form; //创建窗体
  4656. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4657. break;
  4658. case "Pythonprogram": //python编程
  4659. _formdiv = new U.UF.UI.form(
  4660. "Python编程",
  4661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4662. "id": "Pythonprogram",
  4663. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4664. "onresize": function () { }
  4665. }, {
  4666. closecallback: function () { }
  4667. }, { "style": { "height": "36px" } }).form; //创建窗体
  4668. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4669. break;
  4670. case "AIprogram": //ai编程
  4671. _formdiv = new U.UF.UI.form(
  4672. "AI编程平台",
  4673. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4674. "id": "AIprogram",
  4675. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4676. "onresize": function () { }
  4677. }, {
  4678. closecallback: function () { }
  4679. }, { "style": { "height": "36px" } }).form; //创建窗体
  4680. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4681. break;
  4682. case "CocoPi": //CocoPi
  4683. _formdiv = new U.UF.UI.form(
  4684. "CocoPi",
  4685. $$("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" }), {
  4686. "id": "CocoPi",
  4687. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4688. "onresize": function () { }
  4689. }, {
  4690. closecallback: function () { }
  4691. }, { "style": { "height": "36px" } }).form; //创建窗体
  4692. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4693. break;
  4694. case "Wood": //Wood
  4695. _formdiv = new U.UF.UI.form(
  4696. "海龟编程",
  4697. $$("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/" }), {
  4698. "id": "Wood",
  4699. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4700. "onresize": function () { }
  4701. }, {
  4702. closecallback: function () { }
  4703. }, { "style": { "height": "36px" } }).form; //创建窗体
  4704. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4705. break;
  4706. case "car": //模拟驾驶
  4707. _formdiv = new U.UF.UI.form(
  4708. "模拟驾驶",
  4709. $$("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/" }), {
  4710. "id": "car",
  4711. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4712. "onresize": function () { }
  4713. }, {
  4714. closecallback: function () { }
  4715. }, { "style": { "height": "36px" } }).form; //创建窗体
  4716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4717. break;
  4718. case "lineSearch": //路径搜索
  4719. _formdiv = new U.UF.UI.form(
  4720. "路径搜索",
  4721. $$("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/" }), {
  4722. "id": "lineSearch",
  4723. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4724. "onresize": function () { }
  4725. }, {
  4726. closecallback: function () { }
  4727. }, { "style": { "height": "36px" } }).form; //创建窗体
  4728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4729. break;
  4730. case "deepLearning": //深度学习
  4731. _formdiv = new U.UF.UI.form(
  4732. "深度学习",
  4733. $$("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/#" }), {
  4734. "id": "deepLearning",
  4735. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, { "style": { "height": "36px" } }).form; //创建窗体
  4740. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4741. break;
  4742. case "allHistory": //深度学习
  4743. _formdiv = new U.UF.UI.form(
  4744. "全历史",
  4745. $$("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/" }), {
  4746. "id": "allHistory",
  4747. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4748. "onresize": function () { }
  4749. }, {
  4750. closecallback: function () { }
  4751. }, { "style": { "height": "36px" } }).form; //创建窗体
  4752. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4753. break;
  4754. case "chatPDF": //ai编程
  4755. _formdiv = new U.UF.UI.form(
  4756. "chatPDF",
  4757. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4758. "id": "chatPDF",
  4759. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4760. "onresize": function () { }
  4761. }, {
  4762. closecallback: function () { }
  4763. }, { "style": { "height": "36px" } }).form; //创建窗体
  4764. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4765. break;
  4766. case "resources": //国家教育
  4767. _formdiv = new U.UF.UI.form(
  4768. "国家教育",
  4769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4770. "id": "resources",
  4771. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4772. "onresize": function () { }
  4773. }, {
  4774. closecallback: function () { }
  4775. }, { "style": { "height": "36px" } }).form; //创建窗体
  4776. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4777. break;
  4778. case "codeEdit": //源码编辑
  4779. _formdiv = new U.UF.UI.form(
  4780. "源码编辑",
  4781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4782. "id": "codeEdit",
  4783. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4784. "onresize": function () { }
  4785. }, {
  4786. closecallback: function () { }
  4787. }, { "style": { "height": "36px" } }).form; //创建窗体
  4788. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4789. break; //
  4790. case "MindMap": //MindMap
  4791. _formdiv = new U.UF.UI.form(
  4792. "MindMap",
  4793. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4794. "id": "MindMap",
  4795. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4796. "onresize": function () { }
  4797. }, {
  4798. closecallback: function () { }
  4799. }, { "style": { "height": "36px" } }).form; //创建窗体
  4800. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4801. break;
  4802. case "netWorkPanel": //netWorkPanel
  4803. _formdiv = new U.UF.UI.form(
  4804. "netWorkPanel",
  4805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4806. "id": "netWorkPanel",
  4807. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4808. "onresize": function () { }
  4809. }, {
  4810. closecallback: function () { }
  4811. }, { "style": { "height": "36px" } }).form; //创建窗体
  4812. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4813. break;
  4814. case "GeoGebra": //GeoGebra
  4815. _formdiv = new U.UF.UI.form(
  4816. "GeoGebra",
  4817. $$("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" }), {
  4818. "id": "GeoGebra",
  4819. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4820. "onresize": function () { }
  4821. }, {
  4822. closecallback: function () { }
  4823. }, { "style": { "height": "36px" } }).form; //创建窗体
  4824. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4825. break;
  4826. case "translation": //翻译
  4827. _formdiv = new U.UF.UI.form(
  4828. "翻译",
  4829. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4830. "id": "translation",
  4831. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4832. "onresize": function () { }
  4833. }, {
  4834. closecallback: function () { }
  4835. }, { "style": { "height": "36px" } }).form; //创建窗体
  4836. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4837. break;
  4838. case "mohe": //魔盒
  4839. _formdiv = new U.UF.UI.form(
  4840. "魔盒识字",
  4841. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4842. "id": "mohe",
  4843. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4844. "onresize": function () { }
  4845. }, {
  4846. closecallback: function () { }
  4847. }, { "style": { "height": "36px" } }).form; //创建窗体
  4848. _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); } }
  4849. break;
  4850. case "24game": //24点
  4851. _formdiv = new U.UF.UI.form(
  4852. "24点",
  4853. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4854. "id": "24game",
  4855. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4856. "onresize": function () { }
  4857. }, {
  4858. closecallback: function () { }
  4859. }, { "style": { "height": "36px" } }).form; //创建窗体
  4860. _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); } }
  4861. break;
  4862. case "case":
  4863. _formdiv = new U.UF.UI.form(
  4864. "课程进展",
  4865. $$("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 }), {
  4866. "id": "case",
  4867. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4868. "onresize": function () { }
  4869. }, {
  4870. closecallback: function () { }
  4871. }, { "style": { "height": "36px" } }).form; //创建窗体
  4872. _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); } }
  4873. break;
  4874. case "snf":
  4875. _formdiv = new U.UF.UI.form(
  4876. "赛诺梵",
  4877. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  4878. "id": "snf",
  4879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4880. "onresize": function () { }
  4881. }, {
  4882. closecallback: function () { }
  4883. }, { "style": { "height": "36px" } }).form; //创建窗体
  4884. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4885. break;
  4886. case "hanFamily":
  4887. _formdiv = new U.UF.UI.form(
  4888. "汉字家族",
  4889. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4890. "id": "hanFamily",
  4891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4892. "onresize": function () { }
  4893. }, {
  4894. closecallback: function () { }
  4895. }, { "style": { "height": "36px" } }).form; //创建窗体
  4896. _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); } }
  4897. break;
  4898. case "hanClassics":
  4899. _formdiv = new U.UF.UI.form(
  4900. "国学经典",
  4901. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4902. "id": "hanClassics",
  4903. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4904. "onresize": function () { }
  4905. }, {
  4906. closecallback: function () { }
  4907. }, { "style": { "height": "36px" } }).form; //创建窗体
  4908. _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); } }
  4909. break;
  4910. case "hanTraining":
  4911. _formdiv = new U.UF.UI.form(
  4912. "笔画训练",
  4913. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4914. "id": "hanTraining",
  4915. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4916. "onresize": function () { }
  4917. }, {
  4918. closecallback: function () { }
  4919. }, { "style": { "height": "36px" } }).form; //创建窗体
  4920. _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); } }
  4921. break;
  4922. case "hanClass":
  4923. _formdiv = new U.UF.UI.form(
  4924. "书法课堂",
  4925. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4926. "id": "hanClass",
  4927. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4928. "onresize": function () { }
  4929. }, {
  4930. closecallback: function () { }
  4931. }, { "style": { "height": "36px" } }).form; //创建窗体
  4932. _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); } }
  4933. break;
  4934. case "han":
  4935. _formdiv = new U.UF.UI.form(
  4936. "汉字宫",
  4937. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4938. "id": "han",
  4939. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4940. "onresize": function () { }
  4941. }, {
  4942. closecallback: function () { }
  4943. }, { "style": { "height": "36px" } }).form; //创建窗体
  4944. _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); } }
  4945. break;
  4946. case "projectGM": //课程管理
  4947. _formdiv = new U.UF.UI.form(
  4948. "课程管理",
  4949. $$("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 }), {
  4950. "id": "projectGM",
  4951. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4952. "onresize": function () { }
  4953. }, {
  4954. closecallback: function () { }
  4955. }, { "style": { "height": "36px" } }).form; //创建窗体
  4956. _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); } }
  4957. break;
  4958. case "studyGM": //课程中心
  4959. _formdiv = new U.UF.UI.form(
  4960. "课程中心",
  4961. $$("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
  4962. "id": "study",
  4963. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4964. "onresize": function () { }
  4965. }, {
  4966. closecallback: function () { }
  4967. }, { "style": { "height": "36px" } }).form; //创建窗体
  4968. _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); } }
  4969. break;
  4970. // studentGM
  4971. case "studentGM": //学生管理
  4972. _formdiv = new U.UF.UI.form(
  4973. "学生管理",
  4974. $$("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 }), {
  4975. "id": "studentGM",
  4976. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4977. "onresize": function () { }
  4978. }, {
  4979. closecallback: function () { }
  4980. }, { "style": { "height": "36px" } }).form; //创建窗体
  4981. _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); } }
  4982. break;
  4983. case "evaluateGM": //学生评价
  4984. _formdiv = new U.UF.UI.form(
  4985. "学生评价",
  4986. $$("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 }), {
  4987. "id": "evaluateGM",
  4988. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4989. "onresize": function () { }
  4990. }, {
  4991. closecallback: function () { }
  4992. }, { "style": { "height": "36px" } }).form; //创建窗体
  4993. _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); } }
  4994. break;
  4995. // classGM
  4996. case "classGM": //班级管理
  4997. _formdiv = new U.UF.UI.form(
  4998. "班级管理",
  4999. $$("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 }), {
  5000. "id": "classGM",
  5001. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5002. "onresize": function () { }
  5003. }, {
  5004. closecallback: function () { }
  5005. }, { "style": { "height": "36px" } }).form; //创建窗体
  5006. _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); } }
  5007. break;
  5008. // dataGM
  5009. case "dataGM":
  5010. _formdiv = new U.UF.UI.form(
  5011. "我的资料",
  5012. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  5013. "id": "dataGM",
  5014. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5015. "onresize": function () { }
  5016. }, {
  5017. closecallback: function () { }
  5018. }, { "style": { "height": "36px" } }).form; //创建窗体
  5019. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5020. break;
  5021. // caseGM
  5022. case "caseGM": //课程进展
  5023. _formdiv = new U.UF.UI.form(
  5024. "课程进展",
  5025. $$("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 }), {
  5026. "id": "caseGM",
  5027. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5028. "onresize": function () { }
  5029. }, {
  5030. closecallback: function () { }
  5031. }, { "style": { "height": "36px" } }).form; //创建窗体
  5032. _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); } }
  5033. break;
  5034. // meterialGM
  5035. case "meterialGM": //素材库
  5036. _formdiv = new U.UF.UI.form(
  5037. "素材库",
  5038. $$("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 }), {
  5039. "id": "meterialGM",
  5040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5041. "onresize": function () { }
  5042. }, {
  5043. closecallback: function () { }
  5044. }, { "style": { "height": "36px" } }).form; //创建窗体
  5045. _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); } }
  5046. break;
  5047. // evaluateSGM
  5048. case "evaluateSGM": //我的评价
  5049. _formdiv = new U.UF.UI.form(
  5050. "我的评价",
  5051. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5052. "id": "evaluateSGM",
  5053. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5054. "onresize": function () { }
  5055. }, {
  5056. closecallback: function () { }
  5057. }, { "style": { "height": "36px" } }).form; //创建窗体
  5058. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5059. break;
  5060. case "jupyter": //jupyter
  5061. _formdiv = new U.UF.UI.form(
  5062. "jupyter",
  5063. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  5064. "id": "jupyter",
  5065. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5066. "onresize": function () { }
  5067. }, {
  5068. closecallback: function () { }
  5069. }, { "style": { "height": "36px" } }).form; //创建窗体
  5070. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5071. break;
  5072. case "number": //数字实验室
  5073. _formdiv = new U.UF.UI.form(
  5074. "数字实验室",
  5075. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  5076. "id": "number",
  5077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5078. "onresize": function () { }
  5079. }, {
  5080. closecallback: function () { }
  5081. }, { "style": { "height": "36px" } }).form; //创建窗体
  5082. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5083. break;
  5084. case "studentCourse": //项目管理 学生
  5085. _formdiv = new U.UF.UI.form(
  5086. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  5087. $$("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 }), {
  5088. "id": "studentCourse",
  5089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5090. "onresize": function () { }
  5091. }, {
  5092. closecallback: function () { }
  5093. }, { "style": { "height": "36px" } }).form; //创建窗体
  5094. _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); } }
  5095. break;
  5096. case "studentCourseS": //项目管理 老师
  5097. _formdiv = new U.UF.UI.form(
  5098. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  5099. $$("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 }), {
  5100. "id": "studentCourseS",
  5101. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5102. "onresize": function () { }
  5103. }, {
  5104. closecallback: function () { }
  5105. }, { "style": { "height": "36px" } }).form; //创建窗体
  5106. _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); } }
  5107. break;
  5108. case "studentIndex": //项目中心
  5109. _formdiv = new U.UF.UI.form(
  5110. "项目中心",
  5111. $$("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 }), {
  5112. "id": "studentIndex",
  5113. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5114. "onresize": function () { }
  5115. }, {
  5116. closecallback: function () { }
  5117. }, { "style": { "height": "36px" } }).form; //创建窗体
  5118. _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); } }
  5119. break;
  5120. case "CaseDesignS":
  5121. _formdiv = new U.UF.UI.form(
  5122. "项目进展",
  5123. $$("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 }), {
  5124. "id": "case",
  5125. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5126. "onresize": function () { }
  5127. }, {
  5128. closecallback: function () { }
  5129. }, { "style": { "height": "36px" } }).form; //创建窗体
  5130. _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); } }
  5131. break;
  5132. case "tcStudent": //腾讯学生管理
  5133. _formdiv = new U.UF.UI.form(
  5134. "学生管理",
  5135. $$("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 }), {
  5136. "id": "tcStudent",
  5137. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5138. "onresize": function () { }
  5139. }, {
  5140. closecallback: function () { }
  5141. }, { "style": { "height": "36px" } }).form; //创建窗体
  5142. _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); } }
  5143. break;
  5144. case "tcSchool": //腾讯学校管理
  5145. _formdiv = new U.UF.UI.form(
  5146. "学校管理",
  5147. $$("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 }), {
  5148. "id": "tcSchool",
  5149. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5150. "onresize": function () { }
  5151. }, {
  5152. closecallback: function () { }
  5153. }, { "style": { "height": "36px" } }).form; //创建窗体
  5154. _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); } }
  5155. break;
  5156. case "tcTeacher": //腾讯学校管理
  5157. _formdiv = new U.UF.UI.form(
  5158. "教师管理",
  5159. $$("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 }), {
  5160. "id": "tcTeacher",
  5161. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5162. "onresize": function () { }
  5163. }, {
  5164. closecallback: function () { }
  5165. }, { "style": { "height": "36px" } }).form; //创建窗体
  5166. _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); } }
  5167. break;
  5168. case "tcData": //腾讯我的资料
  5169. _formdiv = new U.UF.UI.form(
  5170. "我的资料",
  5171. $$("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 }), {
  5172. "id": "tcData",
  5173. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5174. "onresize": function () { }
  5175. }, {
  5176. closecallback: function () { }
  5177. }, { "style": { "height": "36px" } }).form; //创建窗体
  5178. _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); } }
  5179. break;
  5180. case "tcNotice": //腾讯消息通知
  5181. _formdiv = new U.UF.UI.form(
  5182. "消息通知",
  5183. $$("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 }), {
  5184. "id": "tcNotice",
  5185. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5186. "onresize": function () { }
  5187. }, {
  5188. closecallback: function () { }
  5189. }, { "style": { "height": "36px" } }).form; //创建窗体
  5190. _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); } }
  5191. break;
  5192. case "myReport": //好友打开
  5193. _formdiv = new U.UF.UI.form(
  5194. "我的评价",
  5195. $$("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 }), {
  5196. "id": "myReport",
  5197. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5198. "onresize": function () { }
  5199. }, {
  5200. closecallback: function () { }
  5201. }, { "style": { "height": "36px" } }).form; //创建窗体
  5202. _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); } }
  5203. break;
  5204. case "learnAna": //好友打开
  5205. _formdiv = new U.UF.UI.form(
  5206. "学习分析",
  5207. $$("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 }), {
  5208. "id": "learnAna",
  5209. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5210. "onresize": function () { }
  5211. }, {
  5212. closecallback: function () { }
  5213. }, { "style": { "height": "36px" } }).form; //创建窗体
  5214. _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); } }
  5215. break;
  5216. case "AIChat": //AI共创
  5217. _formdiv = new U.UF.UI.form(
  5218. "AI共创",
  5219. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  5220. "id": "AIChat",
  5221. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5222. "onresize": function () { }
  5223. }, {
  5224. istop: true,
  5225. closecallback: function () { $("#aichat_icon").remove(); },
  5226. narrowcallback: function () {
  5227. if (!$("#aichat_icon")[0]) {
  5228. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5229. }
  5230. },
  5231. }, { "style": { "height": "36px" } }).form; //创建窗体
  5232. _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); } }
  5233. break;
  5234. case "ainew": //AI共创
  5235. _formdiv = new U.UF.UI.form(
  5236. "AI协同",
  5237. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  5238. "id": "ainew",
  5239. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5240. "onresize": function () { }
  5241. }, {
  5242. closecallback: function () { }
  5243. }, { "style": { "height": "36px" } }).form; //创建窗体
  5244. _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); } }
  5245. break;
  5246. case "gpt4": //gpt4
  5247. _formdiv = new U.UF.UI.form(
  5248. "AI助手",
  5249. $$("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 }), {
  5250. "id": "gpt4",
  5251. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5252. "onresize": function () { }
  5253. }, {
  5254. closecallback: function () { }
  5255. }, { "style": { "height": "36px" } }).form; //创建窗体
  5256. _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); } }
  5257. break;
  5258. case "aigpt": //gpt4
  5259. _formdiv = new U.UF.UI.form(
  5260. "AI助手+",
  5261. $$("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 }), {
  5262. "id": "aigpt",
  5263. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5264. "onresize": function () { }
  5265. }, {
  5266. closecallback: function () { }
  5267. }, { "style": { "height": "36px" } }).form; //创建窗体
  5268. _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); } }
  5269. break;
  5270. case "futureClass": //AI共创
  5271. _formdiv = new U.UF.UI.form(
  5272. "协同建构",
  5273. $$("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
  5274. "id": "synergyCourse",
  5275. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5276. "onresize": function () { }
  5277. }, {
  5278. closecallback: function () {
  5279. $("iframe", _formdiv)[0].contentWindow.loginout();
  5280. }
  5281. }, { "style": { "height": "36px" } }).form; //创建窗体
  5282. _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); } }
  5283. break;
  5284. case "aiagent": //ai agent
  5285. _formdiv = new U.UF.UI.form(
  5286. "AI Agent",
  5287. $$("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" }), {
  5288. "id": "AIAgent",
  5289. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5290. "onresize": function () { }
  5291. }, {
  5292. closecallback: function () { }
  5293. }, { "style": { "height": "36px" } }).form; //创建窗体
  5294. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5295. break;
  5296. case "dataBoard": //数据看板
  5297. _formdiv = new U.UF.UI.form(
  5298. "数据看板",
  5299. $$("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 }), {
  5300. "id": "dataBoard",
  5301. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5302. "onresize": function () { }
  5303. }, {
  5304. closecallback: function () { }
  5305. }, { "style": { "height": "36px" } }).form; //创建窗体
  5306. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5307. break;
  5308. case "dataBoardSies": //数据融合
  5309. _formdiv = new U.UF.UI.form(
  5310. "数据融合",
  5311. $$("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 }), {
  5312. "id": "dataBoardSies",
  5313. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5314. "onresize": function () { }
  5315. }, {
  5316. closecallback: function () { }
  5317. }, { "style": { "height": "36px" } }).form; //创建窗体
  5318. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据融合", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5319. break;
  5320. case "dataBoardNew": //数据看板
  5321. _formdiv = new U.UF.UI.form(
  5322. "综合看板",
  5323. $$("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 }), {
  5324. "id": "dataBoardNew",
  5325. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5326. "onresize": function () { }
  5327. }, {
  5328. closecallback: function () { }
  5329. }, { "style": { "height": "36px" } }).form; //创建窗体
  5330. _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); } }
  5331. break;
  5332. case "dataBoardTest": //数据看板
  5333. _formdiv = new U.UF.UI.form(
  5334. "评测看板",
  5335. $$("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 }), {
  5336. "id": "dataBoardTest",
  5337. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5338. "onresize": function () { }
  5339. }, {
  5340. closecallback: function () { }
  5341. }, { "style": { "height": "36px" } }).form; //创建窗体
  5342. _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); } }
  5343. break;
  5344. case "AIAnalyse": //AI共创
  5345. _formdiv = new U.UF.UI.form(
  5346. "AI分析",
  5347. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5348. "id": "AIAnalyse",
  5349. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5350. "onresize": function () { }
  5351. }, {
  5352. closecallback: function () { }
  5353. }, { "style": { "height": "36px" } }).form; //创建窗体
  5354. _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); } }
  5355. break;
  5356. case "studioCourse": //AI共创
  5357. _formdiv = new U.UF.UI.form(
  5358. "工作管理",
  5359. $$("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 }), {
  5360. "id": "studioCourse",
  5361. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5362. "onresize": function () { }
  5363. }, {
  5364. closecallback: function () { }
  5365. }, { "style": { "height": "36px" } }).form; //创建窗体
  5366. _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); } }
  5367. break;
  5368. case "studioIndex": //AI共创
  5369. _formdiv = new U.UF.UI.form(
  5370. "工作中心",
  5371. $$("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 }), {
  5372. "id": "studioIndex",
  5373. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5374. "onresize": function () { }
  5375. }, {
  5376. closecallback: function () { }
  5377. }, { "style": { "height": "36px" } }).form; //创建窗体
  5378. _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); } }
  5379. break;
  5380. case "source":
  5381. _formdiv = new U.UF.UI.form(
  5382. "教学资源",
  5383. $$("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 }), {
  5384. "id": "source",
  5385. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5386. "onresize": function () { }
  5387. }, {
  5388. closecallback: function () { }
  5389. }, { "style": { "height": "36px" } }).form; //创建窗体
  5390. _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); } }
  5391. break;
  5392. case "testTeacher":
  5393. _formdiv = new U.UF.UI.form(
  5394. "教师管理",
  5395. $$("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 }), {
  5396. "id": "testTeacher",
  5397. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5398. "onresize": function () { }
  5399. }, {
  5400. closecallback: function () { }
  5401. }, { "style": { "height": "36px" } }).form; //创建窗体
  5402. _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); } }
  5403. break;
  5404. case "testStudent":
  5405. _formdiv = new U.UF.UI.form(
  5406. "教师中心",
  5407. $$("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 }), {
  5408. "id": "testStudent",
  5409. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5410. "onresize": function () { }
  5411. }, {
  5412. closecallback: function () { }
  5413. }, { "style": { "height": "36px" } }).form; //创建窗体
  5414. _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); } }
  5415. break;
  5416. case "testTeacherSies":
  5417. _formdiv = new U.UF.UI.form(
  5418. "教师管理",
  5419. $$("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 }), {
  5420. "id": "testTeacherSies",
  5421. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5422. "onresize": function () { }
  5423. }, {
  5424. closecallback: function () { }
  5425. }, { "style": { "height": "36px" } }).form; //创建窗体
  5426. _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); } }
  5427. break;
  5428. case "testStudentSies":
  5429. _formdiv = new U.UF.UI.form(
  5430. "教师中心",
  5431. $$("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 }), {
  5432. "id": "testStudentSies",
  5433. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5434. "onresize": function () { }
  5435. }, {
  5436. closecallback: function () { }
  5437. }, { "style": { "height": "36px" } }).form; //创建窗体
  5438. _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); } }
  5439. break;
  5440. case "ytpbl": //消息通知
  5441. _formdiv = new U.UF.UI.form(
  5442. "案例征集",
  5443. $$("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 }), {
  5444. "id": "ytpbl",
  5445. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5446. "onresize": function () { }
  5447. }, {
  5448. closecallback: function () { }
  5449. }, { "style": { "height": "36px" } }).form; //创建窗体
  5450. _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); } }
  5451. // 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");
  5452. break;
  5453. case "aiCourseResource": //人工智能窗体
  5454. _formdiv = new U.UF.UI.form(
  5455. false,
  5456. $$("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 }), {
  5457. "id": "aiCourseResource",
  5458. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5459. "onresize": function () { },
  5460. "isdrag": false,
  5461. }, {
  5462. closecallback: function () { }
  5463. }, { "style": { "height": "36px" } }).form; //创建窗体
  5464. _taskbar = ''
  5465. break;
  5466. case "szdjgCocooroboX": //图形化编程
  5467. _formdiv = new U.UF.UI.form(
  5468. "图形化编程",
  5469. $$("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" }), {
  5470. "id": "szdjgCocooroboX",
  5471. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5472. "onresize": function () { }
  5473. }, {
  5474. closecallback: function () { }
  5475. }, { "style": { "height": "36px" } }).form; //创建窗体
  5476. _taskbar = ''
  5477. break;
  5478. case "szdjgPython": //python编程
  5479. _formdiv = new U.UF.UI.form(
  5480. "Python编程",
  5481. $$("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" }), {
  5482. "id": "szdjgPython",
  5483. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5484. "onresize": function () { }
  5485. }, {
  5486. closecallback: function () { }
  5487. }, { "style": { "height": "36px" } }).form; //创建窗体
  5488. _taskbar = ''
  5489. break;
  5490. case "Record":
  5491. _formdiv = new U.UF.UI.form(
  5492. "观察记录",
  5493. $$("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 }), {
  5494. "id": "Record",
  5495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5496. "onresize": function () { }
  5497. }, {
  5498. closecallback: function () { }
  5499. }, { "style": { "height": "36px" } }).form; //创建窗体
  5500. _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); } }
  5501. break;
  5502. case "aigptCourse":
  5503. _formdiv = new U.UF.UI.form(
  5504. "AI智能体",
  5505. $$("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' }), {
  5506. "id": "aigptCourse",
  5507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5508. "onresize": function () { }
  5509. }, {
  5510. closecallback: function () { }
  5511. }, { "style": { "height": "36px" } }).form; //创建窗体
  5512. _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); } }
  5513. break;
  5514. case "classroomObservation":
  5515. _formdiv = new U.UF.UI.form(
  5516. "课堂观察",
  5517. $$("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 }), {
  5518. "id": "classroomObservation",
  5519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5520. "onresize": function () { }
  5521. }, {
  5522. closecallback: function () { }
  5523. }, { "style": { "height": "36px" } }).form; //创建窗体
  5524. _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); } }
  5525. break;
  5526. case "pblCourse":
  5527. _formdiv = new U.UF.UI.form(
  5528. "学生PBL",
  5529. $$("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 }), {
  5530. "id": "pblCourse",
  5531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5532. "onresize": function () { }
  5533. }, {
  5534. closecallback: function () { }
  5535. }, { "style": { "height": "36px" } }).form; //创建窗体
  5536. _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); } }
  5537. break;
  5538. }
  5539. //U.MD.D.I.openClick(str);
  5540. //如果有任务栏信息
  5541. if (_taskbar) {
  5542. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5543. }
  5544. }
  5545. // U.MD.D.I.openClick = function(str){
  5546. // var click = '';
  5547. // switch(str){
  5548. // case 'friend':
  5549. // click = '我的好友';
  5550. // break;
  5551. // case 'domain':
  5552. // click = '域名管理';
  5553. // break;
  5554. // case 'disk':
  5555. // click = '我的云盘';
  5556. // break;
  5557. // case 'word':
  5558. // click = 'Word';
  5559. // break;
  5560. // case 'excel':
  5561. // click = 'Execl';
  5562. // break;
  5563. // case 'txt':
  5564. // click = '文本文件';
  5565. // break;
  5566. // case 'lookupFriend':
  5567. // click = '查找好友';
  5568. // break;
  5569. // case 'ftp':
  5570. // click = 'FTP';
  5571. // break;
  5572. // case 'group':
  5573. // click = '群组';
  5574. // break;
  5575. // case 'set':
  5576. // click = '我的设置';
  5577. // break;
  5578. // case 'systemSet':
  5579. // click = '系统设置';
  5580. // break;
  5581. // case 'boomYun':
  5582. // click = '互联办公';
  5583. // break;
  5584. // case 'xz':
  5585. // click = '云端下载';
  5586. // break;
  5587. // case 'client':
  5588. // click = '有思浏览器';
  5589. // break;
  5590. // case 'backEndProgramming':
  5591. // click = '在线后台编程';
  5592. // break;
  5593. // case 'frontEndProgramming':
  5594. // click = '在线前端编程';
  5595. // break;
  5596. // default: break;
  5597. // }
  5598. // if(U.MD.D.I.Ip && click){
  5599. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5600. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5601. // })
  5602. // }
  5603. // }
  5604. /**
  5605. *函数作用:ajax简易函数,使用post格式
  5606. *@param url {data} 后台地址
  5607. *@param data {data} 参数json
  5608. *@param fn {data} 回调函数
  5609. *
  5610. */
  5611. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5612. // var xhr = new XMLHttpRequest();
  5613. // xhr.open("GET",url,true);
  5614. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5615. // xhr.onreadystatechange = function(){
  5616. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5617. // fn.call(this,xhr.responseText);
  5618. // }
  5619. // };
  5620. // xhr.send();
  5621. // }
  5622. /*判断是否是内网IP*/
  5623. // U.MD.D.I.isInnerIPFn = function(str){
  5624. // var curPageUrl = str;
  5625. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5626. // curPageUrl =curPageUrl.replace(reg1,'');
  5627. // // console.log('curPageUrl-1 '+curPageUrl);
  5628. // var reg2 = /\:+/g;//替换冒号为一点
  5629. // curPageUrl =curPageUrl.replace(reg2,'.');
  5630. // // console.log('curPageUrl-2 '+curPageUrl);
  5631. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5632. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5633. // if(curPageUrl[2] != '16'){
  5634. // return ipAddress;
  5635. // }else{
  5636. // return false;
  5637. // }
  5638. // }
  5639. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5640. // //compatibility for firefox and chrome
  5641. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5642. // var pc = new myPeerConnection({
  5643. // iceServers: []
  5644. // }),
  5645. // noop = function() {},
  5646. // localIPs = {},
  5647. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5648. // key;
  5649. // function iterateIP(ip) {
  5650. // if (!localIPs[ip]) onNewIP(ip);
  5651. // localIPs[ip] = true;
  5652. // }
  5653. // //create a bogus data channel
  5654. // pc.createDataChannel("");
  5655. // // create offer and set local description
  5656. // pc.createOffer().then(function(sdp) {
  5657. // sdp.sdp.split('\n').forEach(function(line) {
  5658. // if (line.indexOf('candidate') < 0) return;
  5659. // line.match(ipRegex).forEach(iterateIP);
  5660. // });
  5661. // pc.setLocalDescription(sdp, noop, noop);
  5662. // }).catch(function(reason) {
  5663. // // An error occurred, so handle the failure to connect
  5664. // });
  5665. // //sten for candidate events
  5666. // pc.onicecandidate = function(ice) {
  5667. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5668. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5669. // };
  5670. // }
  5671. // U.MD.D.I.getUserIpBool = function(callback){
  5672. // U.MD.D.I.getUserIP(function(ip){
  5673. // alert("Got IP! :" + ip);
  5674. // });
  5675. //}
  5676. //#endregion
  5677. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5678. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5679. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5680. _userinfo = US.userInfo, //登录用户信息
  5681. _userid = US.userInfo.userid //登录用户id
  5682. let _iframe;
  5683. let _cid = cid,
  5684. _stage = stage,
  5685. _task = task,
  5686. _tool = tool;
  5687. var _jie = $$("div", {
  5688. "style": {
  5689. "position": "absolute",
  5690. "bottom": "50px",
  5691. "right": "50px",
  5692. "zIndex": "9999",
  5693. "backgroundColor": "#2268bc",
  5694. "color": "#fff",
  5695. "padding": "12px 20px",
  5696. "cursor": "pointer",
  5697. "borderRadius": "4px",
  5698. },
  5699. "innerHTML": "提交作业"
  5700. })
  5701. let aTool = ''
  5702. let _loading = document.createElement('div')
  5703. _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;"
  5704. // _loading.id = "";
  5705. let _lchild = document.createElement('div')
  5706. let _limg = document.createElement('img')
  5707. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5708. _limg.style = "width: 26px;margin-right: 10px;"
  5709. _lchild.appendChild(_limg)
  5710. let _lspan = document.createElement('span')
  5711. _lspan.innerHTML = "上传中..."
  5712. _lchild.appendChild(_lspan)
  5713. _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%);"
  5714. _loading.appendChild(_lchild)
  5715. var _box = $$('div', {
  5716. "style": {
  5717. "position": "relative",
  5718. "width": "100%",
  5719. "height": "100%",
  5720. },
  5721. })
  5722. _box.appendChild(_loading)
  5723. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5724. switch (str) {
  5725. case "whiteboard":
  5726. aTool = 1;
  5727. _iframe = $$("iframe", {
  5728. "frameborder": "no",
  5729. "border": "0",
  5730. "scrolling ": "no",
  5731. "style": {
  5732. "cssText": "border:0;width:100%;height:100%"
  5733. },
  5734. "src": "https://beta.iwb.cocorobo.cn/"
  5735. })
  5736. _box.appendChild(_iframe);
  5737. _box.appendChild(_jie);
  5738. _formdiv = new U.UF.UI.form(
  5739. "电子白板",
  5740. _box, {
  5741. "id": "whiteboard" + cid + stage + task + tool,
  5742. "style": {
  5743. "width": "90%",
  5744. "height": "90%",
  5745. "overflow": 'hidden'
  5746. },
  5747. "onresize": function () { }
  5748. }, {
  5749. closecallback: function () { }
  5750. }, {
  5751. "style": {
  5752. "height": "36px"
  5753. }
  5754. }).form; //创建窗体
  5755. _taskbar = {
  5756. "id": str + _formdiv.id,
  5757. "style": {
  5758. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5759. },
  5760. "name": "电子白板",
  5761. "forms": _formdiv,
  5762. "click": function () {
  5763. U.MD.D.I.openApplication(str, obj, info);
  5764. }
  5765. }
  5766. break;
  5767. case "mind":
  5768. aTool = 3;
  5769. _iframe = $$("iframe", {
  5770. "frameborder": "no",
  5771. "border": "0",
  5772. "scrolling ": "no",
  5773. "style": {
  5774. "cssText": "border:0;width:100%;height:100%"
  5775. },
  5776. "src": "/kityminder-editor/dist/index.html"
  5777. })
  5778. _box.appendChild(_iframe);
  5779. _box.appendChild(_jie);
  5780. _formdiv = new U.UF.UI.form(
  5781. "思维导图",
  5782. _box, { //"/jsmind/example/demo.html"
  5783. "id": "mind" + cid + stage + task + tool,
  5784. "style": {
  5785. "width": "90%",
  5786. "height": "90%",
  5787. "overflow": 'hidden'
  5788. },
  5789. "onresize": function () { }
  5790. }, {
  5791. closecallback: function () { }
  5792. }, {
  5793. "style": {
  5794. "height": "36px"
  5795. }
  5796. }).form; //创建窗体
  5797. _taskbar = {
  5798. "id": str + _formdiv.id,
  5799. "style": {
  5800. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5801. },
  5802. "name": "思维导图",
  5803. "forms": _formdiv,
  5804. "click": function () {
  5805. U.MD.D.I.openApplication(str, obj, info);
  5806. }
  5807. }
  5808. break;
  5809. case "MindMap":
  5810. aTool = 3;
  5811. _iframe = $$("iframe", {
  5812. "frameborder": "no",
  5813. "border": "0",
  5814. "scrolling ": "no",
  5815. "style": {
  5816. "cssText": "border:0;width:100%;height:100%"
  5817. },
  5818. "src": "//cloud.cocorobo.cn/mind/"
  5819. })
  5820. _box.appendChild(_iframe);
  5821. _box.appendChild(_jie);
  5822. _formdiv = new U.UF.UI.form(
  5823. "思维导图",
  5824. _box, { //"/jsmind/example/demo.html"
  5825. "id": "mind" + cid + stage + task + tool,
  5826. "style": {
  5827. "width": "90%",
  5828. "height": "90%",
  5829. "overflow": 'hidden'
  5830. },
  5831. "onresize": function () { }
  5832. }, {
  5833. closecallback: function () { }
  5834. }, {
  5835. "style": {
  5836. "height": "36px"
  5837. }
  5838. }).form; //创建窗体
  5839. _taskbar = {
  5840. "id": str + _formdiv.id,
  5841. "style": {
  5842. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5843. },
  5844. "name": "思维导图",
  5845. "forms": _formdiv,
  5846. "click": function () {
  5847. U.MD.D.I.openApplication(str, obj, info);
  5848. }
  5849. }
  5850. break;
  5851. case "doc":
  5852. aTool = 6;
  5853. _iframe = $$("iframe", {
  5854. "frameborder": "no",
  5855. "border": "0",
  5856. "scrolling ": "no",
  5857. "style": {
  5858. "cssText": "border:0;width:100%;height:100%"
  5859. },
  5860. "src": "/Office/Word/WordEditArea.htm"
  5861. })
  5862. _box.appendChild(_iframe);
  5863. _box.appendChild(_jie);
  5864. _formdiv = new U.UF.UI.form(
  5865. "协同文档",
  5866. _box, {
  5867. "id": "doc" + cid + stage + task + tool,
  5868. "style": {
  5869. "width": "90%",
  5870. "height": "90%",
  5871. "overflow": 'hidden'
  5872. },
  5873. "onresize": function () { }
  5874. }, {
  5875. closecallback: function () { }
  5876. }, {
  5877. "style": {
  5878. "height": "36px"
  5879. }
  5880. }).form; //创建窗体
  5881. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5882. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5883. })
  5884. _taskbar = {
  5885. "id": str + _formdiv.id,
  5886. "style": {
  5887. "backgroundImage": "url(/img/icon/doc.png)"
  5888. },
  5889. "name": "协同文档",
  5890. "forms": _formdiv,
  5891. "click": function () {
  5892. U.MD.D.I.openApplication(str, obj, info);
  5893. }
  5894. }
  5895. break;
  5896. case "mindNetwork": //好友打开
  5897. aTool = 7;
  5898. _iframe = $$("iframe", {
  5899. "webkitallowfullscreen": "",
  5900. "mozallowfullscreen": "",
  5901. "allowfullscreen": "",
  5902. "frameborder": "no",
  5903. "border": "0",
  5904. "scrolling ": "no",
  5905. "style": {
  5906. "cssText": "border:0; width:100%; height:100%;"
  5907. },
  5908. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5909. })
  5910. _box.appendChild(_iframe);
  5911. _box.appendChild(_jie);
  5912. _formdiv = new U.UF.UI.form(
  5913. "思维网格",
  5914. _box, {
  5915. "id": "mindNetwork" + cid + stage + task + tool,
  5916. "style": {
  5917. "width": "90%",
  5918. "height": "90%",
  5919. "overflow": 'hidden'
  5920. },
  5921. "onresize": function () { }
  5922. }, {
  5923. closecallback: function () { }
  5924. }, {
  5925. "style": {
  5926. "height": "36px"
  5927. }
  5928. }).form; //创建窗体
  5929. _taskbar = {
  5930. "id": str + _formdiv.id,
  5931. "style": {
  5932. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5933. },
  5934. "name": "思维网格",
  5935. "forms": _formdiv,
  5936. "click": function () {
  5937. U.MD.D.I.openApplication(str, obj, info);
  5938. }
  5939. }
  5940. break;
  5941. case "courseDesign":
  5942. _iframe = $$("iframe", {
  5943. "webkitallowfullscreen": "",
  5944. "mozallowfullscreen": "",
  5945. "allowfullscreen": "",
  5946. "frameborder": "no",
  5947. "border": "0",
  5948. "scrolling ": "no",
  5949. "style": {
  5950. "cssText": "border:0; width:100%; height:100%;"
  5951. },
  5952. "src": "/course-design-vue"
  5953. })
  5954. _box.appendChild(_iframe);
  5955. _box.appendChild(_jie);
  5956. _formdiv = new U.UF.UI.form(
  5957. "项目设计",
  5958. _box, {
  5959. "id": "courseDesign" + cid + stage + task + tool,
  5960. "style": {
  5961. "width": "90%",
  5962. "height": "90%",
  5963. "overflow": 'hidden'
  5964. },
  5965. "onresize": function () { }
  5966. }, {
  5967. closecallback: function () { }
  5968. }, {
  5969. "style": {
  5970. "height": "36px"
  5971. }
  5972. }).form; //创建窗体
  5973. _taskbar = {
  5974. "id": str + _formdiv.id,
  5975. "style": {
  5976. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5977. },
  5978. "name": "项目设计",
  5979. "forms": _formdiv,
  5980. "click": function () {
  5981. U.MD.D.I.openApplication(str, obj, info);
  5982. }
  5983. }
  5984. break;
  5985. }
  5986. const script1 = document.createElement("script");
  5987. script1.type = "text/javascript";
  5988. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5989. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5990. const script2 = document.createElement("script");
  5991. script2.type = "text/javascript";
  5992. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5993. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5994. const script3 = document.createElement("script");
  5995. script3.type = "text/javascript";
  5996. script3.charset = "UTF-8";
  5997. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5998. const script4 = document.createElement("script");
  5999. script4.type = "text/javascript";
  6000. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6001. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6002. if (_iframe) {
  6003. if (str == 'doc') {
  6004. _iframe = _formdiv.querySelector('iframe')
  6005. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6006. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6007. _iframe.contentWindow.document.body.appendChild(script1);
  6008. _iframe.contentWindow.document.body.appendChild(script2);
  6009. // _iframe.contentWindow.document.body.appendChild(script3);
  6010. _iframe.contentWindow.document.body.appendChild(script4);
  6011. })
  6012. if (onloadListener) {
  6013. _iframe.contentDocument.location.reload()
  6014. } else {
  6015. _iframe.contentDocument.location.reload()
  6016. }
  6017. } else if (str == 'courseDesign') {
  6018. U.UF.DL.iframeLoad(_iframe, function () {
  6019. // _iframe.contentWindow.U.MD.O.W.load();
  6020. // _iframe.contentWindow.document.body.appendChild(script1);
  6021. _iframe.contentWindow.document.body.appendChild(script2);
  6022. _iframe.contentWindow.document.body.appendChild(script4);
  6023. })
  6024. } else if (str == 'mind') {
  6025. _iframe = _formdiv.querySelector('iframe')
  6026. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6027. //
  6028. _iframe.contentWindow.document.body.appendChild(script1);
  6029. _iframe.contentWindow.document.body.appendChild(script2);
  6030. _iframe.contentWindow.document.body.appendChild(script4);
  6031. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6032. })
  6033. if (onloadListener) {
  6034. _iframe.contentDocument.location.reload()
  6035. } else {
  6036. _iframe.contentDocument.location.reload()
  6037. }
  6038. } else if (str == 'whiteboard') {
  6039. _iframe = _formdiv.querySelector('iframe')
  6040. let onloadListener = _iframe.onload = () => {
  6041. _iframe.contentWindow.document.body.appendChild(script1);
  6042. _iframe.contentWindow.document.body.appendChild(script2);
  6043. _iframe.contentWindow.document.body.appendChild(script4);
  6044. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6045. };
  6046. // if (onloadListener) {
  6047. // try {
  6048. // _iframe.src += "?cocorobo="+new Date().getTime()
  6049. // _iframe.contentWindow.document.location.reload()
  6050. // } catch (error) {
  6051. // }
  6052. // } else {
  6053. // _iframe.contentDocument.location.reload()
  6054. // }
  6055. } else {
  6056. _iframe.onload = () => {
  6057. _iframe.contentWindow.document.body.appendChild(script1);
  6058. _iframe.contentWindow.document.body.appendChild(script2);
  6059. // _iframe.contentWindow.document.body.appendChild(script3);
  6060. _iframe.contentWindow.document.body.appendChild(script4);
  6061. };
  6062. }
  6063. _jie.onclick = async () => {
  6064. let text = ''
  6065. if (aTool == 1) {
  6066. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6067. } else if (aTool == 6) {
  6068. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6069. } else if (aTool == 3) {
  6070. text = await U.MD.D.I.getEditorContent(_iframe);
  6071. }
  6072. _loading.style.display = 'flex'
  6073. console.log(_loading);
  6074. var _ajs = _iframe.contentWindow.document.createElement("script");
  6075. _ajs.type = "text/javascript";
  6076. _ajs.innerHTML =
  6077. // 'console.log(' + _loading + ');\n' +
  6078. 'var _js = document.createElement("script");\n' +
  6079. '_js.type="text/javascript";\n' +
  6080. '_js.charset="UTF-8";\n' +
  6081. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6082. "_js.onload = function(){\n" +
  6083. ' var a = document.getElementsByTagName("img")\n' +
  6084. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6085. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6086. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6087. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6088. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6089. "beforeUpload_shishi(file," +
  6090. "'" +
  6091. _userid +
  6092. "'" +
  6093. ", " +
  6094. "'" +
  6095. _cid +
  6096. "'" +
  6097. ", " +
  6098. "'" +
  6099. _stage +
  6100. "'" +
  6101. ", " +
  6102. "'" +
  6103. _task +
  6104. "'" +
  6105. ", " +
  6106. "'" +
  6107. _tool +
  6108. "'" +
  6109. ", " +
  6110. "'" +
  6111. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  6112. "'" +
  6113. ", " +
  6114. "'" +
  6115. aTool +
  6116. "'" +
  6117. ", " +
  6118. "`" +
  6119. text +
  6120. "`" +
  6121. ")\n" +
  6122. " });\n" +
  6123. "}\n" +
  6124. "document.head.appendChild(_js);\n";
  6125. _iframe.contentWindow.document.head.appendChild(_ajs);
  6126. }
  6127. }
  6128. //U.MD.D.I.openClick(str);
  6129. //如果有任务栏信息
  6130. // if (_taskbar) {
  6131. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6132. // }
  6133. }
  6134. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6135. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6136. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6137. _userinfo = US.userInfo, //登录用户信息
  6138. _userid = US.userInfo.userid //登录用户id
  6139. let _iframe;
  6140. let _cid = cid,
  6141. _stage = stage,
  6142. _task = task,
  6143. _tool = tool;
  6144. var _jie = $$("div", {
  6145. "style": {
  6146. "position": "absolute",
  6147. "bottom": "50px",
  6148. "right": "50px",
  6149. "zIndex": "9999",
  6150. "backgroundColor": "#2268bc",
  6151. "color": "#fff",
  6152. "padding": "12px 20px",
  6153. "cursor": "pointer",
  6154. "borderRadius": "4px",
  6155. },
  6156. "innerHTML": "提交作业"
  6157. })
  6158. let aTool = ''
  6159. let _loading = document.createElement('div')
  6160. _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;"
  6161. // _loading.id = "";
  6162. let _lchild = document.createElement('div')
  6163. let _limg = document.createElement('img')
  6164. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6165. _limg.style = "width: 26px;margin-right: 10px;"
  6166. _lchild.appendChild(_limg)
  6167. let _lspan = document.createElement('span')
  6168. _lspan.innerHTML = "上传中..."
  6169. _lchild.appendChild(_lspan)
  6170. _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%);"
  6171. _loading.appendChild(_lchild)
  6172. let _box = $$('div', {
  6173. "style": {
  6174. "position": "relative",
  6175. "width": "100%",
  6176. "height": "100%",
  6177. },
  6178. })
  6179. _box.appendChild(_loading)
  6180. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6181. switch (str) {
  6182. case "whiteboard":
  6183. aTool = 1;
  6184. _iframe = $$("iframe", {
  6185. "frameborder": "no",
  6186. "border": "0",
  6187. "scrolling ": "no",
  6188. "style": {
  6189. "cssText": "border:0;width:100%;height:100%"
  6190. },
  6191. "src": "https://beta.iwb.cocorobo.cn/"
  6192. })
  6193. _box.appendChild(_iframe);
  6194. _box.appendChild(_jie);
  6195. _formdiv = new U.UF.UI.form(
  6196. "电子白板",
  6197. _box, {
  6198. "id": "whiteboard" + cid + stage + task + tool,
  6199. "style": {
  6200. "width": "90%",
  6201. "height": "90%",
  6202. "overflow": 'hidden'
  6203. },
  6204. "onresize": function () { }
  6205. }, {
  6206. closecallback: function () { }
  6207. }, {
  6208. "style": {
  6209. "height": "36px"
  6210. }
  6211. }).form; //创建窗体
  6212. _taskbar = {
  6213. "id": str + _formdiv.id,
  6214. "style": {
  6215. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6216. },
  6217. "name": "电子白板",
  6218. "forms": _formdiv,
  6219. "click": function () {
  6220. U.MD.D.I.openApplication(str, obj, info);
  6221. }
  6222. }
  6223. break;
  6224. case "mind":
  6225. aTool = 3;
  6226. _iframe = $$("iframe", {
  6227. "frameborder": "no",
  6228. "border": "0",
  6229. "scrolling ": "no",
  6230. "style": {
  6231. "cssText": "border:0;width:100%;height:100%"
  6232. },
  6233. "src": "/kityminder-editor/dist/index.html"
  6234. })
  6235. _box.appendChild(_iframe);
  6236. _box.appendChild(_jie);
  6237. _formdiv = new U.UF.UI.form(
  6238. "思维导图",
  6239. _box, { //"/jsmind/example/demo.html"
  6240. "id": "mind" + cid + stage + task + tool,
  6241. "style": {
  6242. "width": "90%",
  6243. "height": "90%",
  6244. "overflow": 'hidden'
  6245. },
  6246. "onresize": function () { }
  6247. }, {
  6248. closecallback: function () { }
  6249. }, {
  6250. "style": {
  6251. "height": "36px"
  6252. }
  6253. }).form; //创建窗体
  6254. _taskbar = {
  6255. "id": str + _formdiv.id,
  6256. "style": {
  6257. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6258. },
  6259. "name": "思维导图",
  6260. "forms": _formdiv,
  6261. "click": function () {
  6262. U.MD.D.I.openApplication(str, obj, info);
  6263. }
  6264. }
  6265. break;
  6266. case "MindMap":
  6267. aTool = 3;
  6268. _iframe = $$("iframe", {
  6269. "frameborder": "no",
  6270. "border": "0",
  6271. "scrolling ": "no",
  6272. "style": {
  6273. "cssText": "border:0;width:100%;height:100%"
  6274. },
  6275. "src": "//cloud.cocorobo.cn/mind/"
  6276. })
  6277. _box.appendChild(_iframe);
  6278. _box.appendChild(_jie);
  6279. _formdiv = new U.UF.UI.form(
  6280. "思维导图",
  6281. _box, { //"/jsmind/example/demo.html"
  6282. "id": "mind" + cid + stage + task + tool,
  6283. "style": {
  6284. "width": "90%",
  6285. "height": "90%",
  6286. "overflow": 'hidden'
  6287. },
  6288. "onresize": function () { }
  6289. }, {
  6290. closecallback: function () { }
  6291. }, {
  6292. "style": {
  6293. "height": "36px"
  6294. }
  6295. }).form; //创建窗体
  6296. _taskbar = {
  6297. "id": str + _formdiv.id,
  6298. "style": {
  6299. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6300. },
  6301. "name": "思维导图",
  6302. "forms": _formdiv,
  6303. "click": function () {
  6304. U.MD.D.I.openApplication(str, obj, info);
  6305. }
  6306. }
  6307. break;
  6308. case "doc":
  6309. aTool = 6;
  6310. _iframe = $$("iframe", {
  6311. "frameborder": "no",
  6312. "border": "0",
  6313. "scrolling ": "no",
  6314. "style": {
  6315. "cssText": "border:0;width:100%;height:100%"
  6316. },
  6317. "src": "/Office/Word/WordEditArea.htm"
  6318. })
  6319. _box.appendChild(_iframe);
  6320. _box.appendChild(_jie);
  6321. _formdiv = new U.UF.UI.form(
  6322. "协同文档",
  6323. _box, {
  6324. "id": "doc" + cid + stage + task + tool,
  6325. "style": {
  6326. "width": "90%",
  6327. "height": "90%",
  6328. "overflow": 'hidden'
  6329. },
  6330. "onresize": function () { }
  6331. }, {
  6332. closecallback: function () { }
  6333. }, {
  6334. "style": {
  6335. "height": "36px"
  6336. }
  6337. }).form; //创建窗体
  6338. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6339. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6340. })
  6341. _taskbar = {
  6342. "id": str + _formdiv.id,
  6343. "style": {
  6344. "backgroundImage": "url(/img/icon/doc.png)"
  6345. },
  6346. "name": "协同文档",
  6347. "forms": _formdiv,
  6348. "click": function () {
  6349. U.MD.D.I.openApplication(str, obj, info);
  6350. }
  6351. }
  6352. break;
  6353. case "mindNetwork": //好友打开
  6354. aTool = 7;
  6355. _iframe = $$("iframe", {
  6356. "webkitallowfullscreen": "",
  6357. "mozallowfullscreen": "",
  6358. "allowfullscreen": "",
  6359. "frameborder": "no",
  6360. "border": "0",
  6361. "scrolling ": "no",
  6362. "style": {
  6363. "cssText": "border:0; width:100%; height:100%;"
  6364. },
  6365. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6366. })
  6367. _box.appendChild(_iframe);
  6368. _box.appendChild(_jie);
  6369. _formdiv = new U.UF.UI.form(
  6370. "思维网格",
  6371. _box, {
  6372. "id": "mindNetwork" + cid + stage + task + tool,
  6373. "style": {
  6374. "width": "90%",
  6375. "height": "90%",
  6376. "overflow": 'hidden'
  6377. },
  6378. "onresize": function () { }
  6379. }, {
  6380. closecallback: function () { }
  6381. }, {
  6382. "style": {
  6383. "height": "36px"
  6384. }
  6385. }).form; //创建窗体
  6386. _taskbar = {
  6387. "id": str + _formdiv.id,
  6388. "style": {
  6389. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6390. },
  6391. "name": "思维网格",
  6392. "forms": _formdiv,
  6393. "click": function () {
  6394. U.MD.D.I.openApplication(str, obj, info);
  6395. }
  6396. }
  6397. break;
  6398. case "courseDesign":
  6399. _iframe = $$("iframe", {
  6400. "webkitallowfullscreen": "",
  6401. "mozallowfullscreen": "",
  6402. "allowfullscreen": "",
  6403. "frameborder": "no",
  6404. "border": "0",
  6405. "scrolling ": "no",
  6406. "style": {
  6407. "cssText": "border:0; width:100%; height:100%;"
  6408. },
  6409. "src": "/course-design-vue"
  6410. })
  6411. _box.appendChild(_iframe);
  6412. _box.appendChild(_jie);
  6413. _formdiv = new U.UF.UI.form(
  6414. "项目设计",
  6415. _box, {
  6416. "id": "courseDesign" + cid + stage + task + tool,
  6417. "style": {
  6418. "width": "90%",
  6419. "height": "90%",
  6420. "overflow": 'hidden'
  6421. },
  6422. "onresize": function () { }
  6423. }, {
  6424. closecallback: function () { }
  6425. }, {
  6426. "style": {
  6427. "height": "36px"
  6428. }
  6429. }).form; //创建窗体
  6430. _taskbar = {
  6431. "id": str + _formdiv.id,
  6432. "style": {
  6433. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6434. },
  6435. "name": "项目设计",
  6436. "forms": _formdiv,
  6437. "click": function () {
  6438. U.MD.D.I.openApplication(str, obj, info);
  6439. }
  6440. }
  6441. break;
  6442. }
  6443. const script1 = document.createElement("script");
  6444. script1.type = "text/javascript";
  6445. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6446. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6447. const script2 = document.createElement("script");
  6448. script2.type = "text/javascript";
  6449. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6450. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6451. const script3 = document.createElement("script");
  6452. script3.type = "text/javascript";
  6453. script3.charset = "UTF-8";
  6454. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6455. const script4 = document.createElement("script");
  6456. script4.type = "text/javascript";
  6457. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6458. script4.src = window.origin + "/js/Common/jietu2E.js";
  6459. if (_iframe) {
  6460. if (str == 'doc') {
  6461. _iframe = _formdiv.querySelector('iframe')
  6462. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6463. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6464. _iframe.contentWindow.document.body.appendChild(script1);
  6465. _iframe.contentWindow.document.body.appendChild(script2);
  6466. // _iframe.contentWindow.document.body.appendChild(script3);
  6467. _iframe.contentWindow.document.body.appendChild(script4);
  6468. })
  6469. if (onloadListener) {
  6470. _iframe.contentDocument.location.reload()
  6471. } else {
  6472. _iframe.contentDocument.location.reload()
  6473. }
  6474. } else if (str == 'courseDesign') {
  6475. U.UF.DL.iframeLoad(_iframe, function () {
  6476. // _iframe.contentWindow.U.MD.O.W.load();
  6477. // _iframe.contentWindow.document.body.appendChild(script1);
  6478. _iframe.contentWindow.document.body.appendChild(script2);
  6479. _iframe.contentWindow.document.body.appendChild(script4);
  6480. })
  6481. } else if (str == 'mind') {
  6482. _iframe = _formdiv.querySelector('iframe')
  6483. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6484. //
  6485. _iframe.contentWindow.document.body.appendChild(script1);
  6486. _iframe.contentWindow.document.body.appendChild(script2);
  6487. _iframe.contentWindow.document.body.appendChild(script4);
  6488. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6489. })
  6490. if (onloadListener) {
  6491. _iframe.contentDocument.location.reload()
  6492. } else {
  6493. _iframe.contentDocument.location.reload()
  6494. }
  6495. } else if (str == 'whiteboard') {
  6496. _iframe = _formdiv.querySelector('iframe')
  6497. let onloadListener = _iframe.onload = () => {
  6498. _iframe.contentWindow.document.body.appendChild(script1);
  6499. _iframe.contentWindow.document.body.appendChild(script2);
  6500. _iframe.contentWindow.document.body.appendChild(script4);
  6501. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6502. };
  6503. // if (onloadListener) {
  6504. // try {
  6505. // _iframe.src += "?cocorobo="+new Date().getTime()
  6506. // _iframe.contentWindow.document.location.reload()
  6507. // } catch (error) {
  6508. // }
  6509. // } else {
  6510. // _iframe.contentDocument.location.reload()
  6511. // }
  6512. } else {
  6513. _iframe.onload = () => {
  6514. _iframe.contentWindow.document.body.appendChild(script1);
  6515. _iframe.contentWindow.document.body.appendChild(script2);
  6516. // _iframe.contentWindow.document.body.appendChild(script3);
  6517. _iframe.contentWindow.document.body.appendChild(script4);
  6518. };
  6519. }
  6520. _jie.onclick = async () => {
  6521. let text = ''
  6522. if (aTool == 1) {
  6523. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6524. } else if (aTool == 6) {
  6525. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6526. } else if (aTool == 3) {
  6527. text = await U.MD.D.I.getEditorContent(_iframe);
  6528. }
  6529. _loading.style.display = 'flex'
  6530. console.log(_loading);
  6531. var _ajs = _iframe.contentWindow.document.createElement("script");
  6532. _ajs.type = "text/javascript";
  6533. _ajs.innerHTML =
  6534. // 'console.log(' + _loading + ');\n' +
  6535. 'var _js = document.createElement("script");\n' +
  6536. '_js.type="text/javascript";\n' +
  6537. '_js.charset="UTF-8";\n' +
  6538. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6539. "_js.onload = function(){\n" +
  6540. ' var a = document.getElementsByTagName("img")\n' +
  6541. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6542. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6543. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6544. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6545. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6546. "beforeUpload_shishi(file," +
  6547. "'" +
  6548. _userid +
  6549. "'" +
  6550. ", " +
  6551. "'" +
  6552. _cid +
  6553. "'" +
  6554. ", " +
  6555. "'" +
  6556. _stage +
  6557. "'" +
  6558. ", " +
  6559. "'" +
  6560. _task +
  6561. "'" +
  6562. ", " +
  6563. "'" +
  6564. _tool +
  6565. "'" +
  6566. ", " +
  6567. "'" +
  6568. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6569. "'" +
  6570. ", " +
  6571. "'" +
  6572. aTool +
  6573. "'" +
  6574. ", " +
  6575. "`" +
  6576. text +
  6577. "`" +
  6578. ")\n" +
  6579. " });\n" +
  6580. "}\n" +
  6581. "document.head.appendChild(_js);\n";
  6582. _iframe.contentWindow.document.head.appendChild(_ajs);
  6583. }
  6584. }
  6585. //U.MD.D.I.openClick(str);
  6586. //如果有任务栏信息
  6587. // if (_taskbar) {
  6588. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6589. // }
  6590. }
  6591. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6592. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6593. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6594. _userid = student.userid, //登录用户id
  6595. _username = student.student //用户名字
  6596. let _iframe;
  6597. let _cid = cid,
  6598. _stage = stage,
  6599. _task = task,
  6600. _tool = tool;
  6601. var _jie = $$("div", {
  6602. "style": {
  6603. "position": "absolute",
  6604. "bottom": "50px",
  6605. "right": "50px",
  6606. "zIndex": "9999",
  6607. "backgroundColor": "#2268bc",
  6608. "color": "#fff",
  6609. "padding": "12px 20px",
  6610. "cursor": "pointer",
  6611. "borderRadius": "4px",
  6612. },
  6613. "innerHTML": "提交作业"
  6614. })
  6615. let aTool = ''
  6616. let _loading = document.createElement('div')
  6617. _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;"
  6618. // _loading.id = "";
  6619. let _lchild = document.createElement('div')
  6620. let _limg = document.createElement('img')
  6621. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6622. _limg.style = "width: 26px;margin-right: 10px;"
  6623. _lchild.appendChild(_limg)
  6624. let _lspan = document.createElement('span')
  6625. _lspan.innerHTML = "上传中..."
  6626. _lchild.appendChild(_lspan)
  6627. _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%);"
  6628. _loading.appendChild(_lchild)
  6629. var _box = $$('div', {
  6630. "style": {
  6631. "position": "relative",
  6632. "width": "100%",
  6633. "height": "100%",
  6634. },
  6635. })
  6636. _box.appendChild(_loading)
  6637. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6638. switch (str) {
  6639. case "whiteboard":
  6640. aTool = 1;
  6641. _iframe = $$("iframe", {
  6642. "frameborder": "no",
  6643. "border": "0",
  6644. "scrolling ": "no",
  6645. "style": {
  6646. "cssText": "border:0;width:100%;height:100%"
  6647. },
  6648. "src": "https://beta.iwb.cocorobo.cn/"
  6649. })
  6650. _box.appendChild(_iframe);
  6651. _box.appendChild(_jie);
  6652. _formdiv = new U.UF.UI.form(
  6653. "电子白板-" + _username,
  6654. _box, {
  6655. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6656. "style": {
  6657. "width": "90%",
  6658. "height": "90%",
  6659. "overflow": 'hidden'
  6660. },
  6661. "onresize": function () { }
  6662. }, {
  6663. closecallback: function () { }
  6664. }, {
  6665. "style": {
  6666. "height": "36px"
  6667. }
  6668. }).form; //创建窗体
  6669. _taskbar = {
  6670. "id": str + _formdiv.id,
  6671. "style": {
  6672. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6673. },
  6674. "name": "电子白板",
  6675. "forms": _formdiv,
  6676. "click": function () {
  6677. U.MD.D.I.openApplication(str, obj, info);
  6678. }
  6679. }
  6680. break;
  6681. case "mind":
  6682. aTool = 3;
  6683. _iframe = $$("iframe", {
  6684. "frameborder": "no",
  6685. "border": "0",
  6686. "scrolling ": "no",
  6687. "style": {
  6688. "cssText": "border:0;width:100%;height:100%"
  6689. },
  6690. "src": "/kityminder-editor/dist/index.html"
  6691. })
  6692. _box.appendChild(_iframe);
  6693. _box.appendChild(_jie);
  6694. _formdiv = new U.UF.UI.form(
  6695. "思维导图-" + _username,
  6696. _box, { //"/jsmind/example/demo.html"
  6697. "id": "mind" + cid + stage + task + tool + _userid,
  6698. "style": {
  6699. "width": "90%",
  6700. "height": "90%",
  6701. "overflow": 'hidden'
  6702. },
  6703. "onresize": function () { }
  6704. }, {
  6705. closecallback: function () { }
  6706. }, {
  6707. "style": {
  6708. "height": "36px"
  6709. }
  6710. }).form; //创建窗体
  6711. _taskbar = {
  6712. "id": str + _formdiv.id,
  6713. "style": {
  6714. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6715. },
  6716. "name": "思维导图",
  6717. "forms": _formdiv,
  6718. "click": function () {
  6719. U.MD.D.I.openApplication(str, obj, info);
  6720. }
  6721. }
  6722. break;
  6723. case "MindMap":
  6724. aTool = 3;
  6725. _iframe = $$("iframe", {
  6726. "frameborder": "no",
  6727. "border": "0",
  6728. "scrolling ": "no",
  6729. "style": {
  6730. "cssText": "border:0;width:100%;height:100%"
  6731. },
  6732. "src": "//cloud.cocorobo.cn/mind/"
  6733. })
  6734. _box.appendChild(_iframe);
  6735. _box.appendChild(_jie);
  6736. _formdiv = new U.UF.UI.form(
  6737. "思维导图-" + _username,
  6738. _box, { //"/jsmind/example/demo.html"
  6739. "id": "mind" + cid + stage + task + tool + _userid,
  6740. "style": {
  6741. "width": "90%",
  6742. "height": "90%",
  6743. "overflow": 'hidden'
  6744. },
  6745. "onresize": function () { }
  6746. }, {
  6747. closecallback: function () { }
  6748. }, {
  6749. "style": {
  6750. "height": "36px"
  6751. }
  6752. }).form; //创建窗体
  6753. _taskbar = {
  6754. "id": str + _formdiv.id,
  6755. "style": {
  6756. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6757. },
  6758. "name": "思维导图",
  6759. "forms": _formdiv,
  6760. "click": function () {
  6761. U.MD.D.I.openApplication(str, obj, info);
  6762. }
  6763. }
  6764. break;
  6765. case "doc":
  6766. aTool = 6;
  6767. _iframe = $$("iframe", {
  6768. "frameborder": "no",
  6769. "border": "0",
  6770. "scrolling ": "no",
  6771. "style": {
  6772. "cssText": "border:0;width:100%;height:100%"
  6773. },
  6774. "src": "/Office/Word/WordEditArea.htm"
  6775. })
  6776. _box.appendChild(_iframe);
  6777. _box.appendChild(_jie);
  6778. _formdiv = new U.UF.UI.form(
  6779. "协同文档-" + _username,
  6780. _box, {
  6781. "id": "doc" + cid + stage + task + tool + _userid,
  6782. "style": {
  6783. "width": "90%",
  6784. "height": "90%",
  6785. "overflow": 'hidden'
  6786. },
  6787. "onresize": function () { }
  6788. }, {
  6789. closecallback: function () { }
  6790. }, {
  6791. "style": {
  6792. "height": "36px"
  6793. }
  6794. }).form; //创建窗体
  6795. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6796. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6797. })
  6798. _taskbar = {
  6799. "id": str + _formdiv.id,
  6800. "style": {
  6801. "backgroundImage": "url(/img/icon/doc.png)"
  6802. },
  6803. "name": "协同文档",
  6804. "forms": _formdiv,
  6805. "click": function () {
  6806. U.MD.D.I.openApplication(str, obj, info);
  6807. }
  6808. }
  6809. break;
  6810. case "mindNetwork": //好友打开
  6811. aTool = 7;
  6812. _iframe = $$("iframe", {
  6813. "webkitallowfullscreen": "",
  6814. "mozallowfullscreen": "",
  6815. "allowfullscreen": "",
  6816. "frameborder": "no",
  6817. "border": "0",
  6818. "scrolling ": "no",
  6819. "style": {
  6820. "cssText": "border:0; width:100%; height:100%;"
  6821. },
  6822. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6823. })
  6824. _box.appendChild(_iframe);
  6825. _box.appendChild(_jie);
  6826. _formdiv = new U.UF.UI.form(
  6827. "思维网格-" + _username,
  6828. _box, {
  6829. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6830. "style": {
  6831. "width": "90%",
  6832. "height": "90%",
  6833. "overflow": 'hidden'
  6834. },
  6835. "onresize": function () { }
  6836. }, {
  6837. closecallback: function () { }
  6838. }, {
  6839. "style": {
  6840. "height": "36px"
  6841. }
  6842. }).form; //创建窗体
  6843. _taskbar = {
  6844. "id": str + _formdiv.id,
  6845. "style": {
  6846. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6847. },
  6848. "name": "思维网格",
  6849. "forms": _formdiv,
  6850. "click": function () {
  6851. U.MD.D.I.openApplication(str, obj, info);
  6852. }
  6853. }
  6854. break;
  6855. case "courseDesign":
  6856. _iframe = $$("iframe", {
  6857. "webkitallowfullscreen": "",
  6858. "mozallowfullscreen": "",
  6859. "allowfullscreen": "",
  6860. "frameborder": "no",
  6861. "border": "0",
  6862. "scrolling ": "no",
  6863. "style": {
  6864. "cssText": "border:0; width:100%; height:100%;"
  6865. },
  6866. "src": "/course-design-vue"
  6867. })
  6868. _box.appendChild(_iframe);
  6869. _box.appendChild(_jie);
  6870. _formdiv = new U.UF.UI.form(
  6871. "项目设计-" + _username,
  6872. _box, {
  6873. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6874. "style": {
  6875. "width": "90%",
  6876. "height": "90%",
  6877. "overflow": 'hidden'
  6878. },
  6879. "onresize": function () { }
  6880. }, {
  6881. closecallback: function () { }
  6882. }, {
  6883. "style": {
  6884. "height": "36px"
  6885. }
  6886. }).form; //创建窗体
  6887. _taskbar = {
  6888. "id": str + _formdiv.id,
  6889. "style": {
  6890. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6891. },
  6892. "name": "项目设计",
  6893. "forms": _formdiv,
  6894. "click": function () {
  6895. U.MD.D.I.openApplication(str, obj, info);
  6896. }
  6897. }
  6898. break;
  6899. }
  6900. const script1 = document.createElement("script");
  6901. script1.type = "text/javascript";
  6902. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6903. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6904. const script2 = document.createElement("script");
  6905. script2.type = "text/javascript";
  6906. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6907. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6908. const script3 = document.createElement("script");
  6909. script3.type = "text/javascript";
  6910. script3.charset = "UTF-8";
  6911. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6912. const script4 = document.createElement("script");
  6913. script4.type = "text/javascript";
  6914. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6915. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6916. if (_iframe) {
  6917. if (str == 'doc') {
  6918. _iframe = _formdiv.querySelector('iframe')
  6919. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6920. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6921. _iframe.contentWindow.document.body.appendChild(script1);
  6922. _iframe.contentWindow.document.body.appendChild(script2);
  6923. // _iframe.contentWindow.document.body.appendChild(script3);
  6924. _iframe.contentWindow.document.body.appendChild(script4);
  6925. })
  6926. if (onloadListener) {
  6927. _iframe.contentDocument.location.reload()
  6928. } else {
  6929. _iframe.contentDocument.location.reload()
  6930. }
  6931. } else if (str == 'courseDesign') {
  6932. U.UF.DL.iframeLoad(_iframe, function () {
  6933. // _iframe.contentWindow.U.MD.O.W.load();
  6934. // _iframe.contentWindow.document.body.appendChild(script1);
  6935. _iframe.contentWindow.document.body.appendChild(script2);
  6936. _iframe.contentWindow.document.body.appendChild(script4);
  6937. })
  6938. } else if (str == 'mind') {
  6939. _iframe = _formdiv.querySelector('iframe')
  6940. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6941. //
  6942. _iframe.contentWindow.document.body.appendChild(script1);
  6943. _iframe.contentWindow.document.body.appendChild(script2);
  6944. _iframe.contentWindow.document.body.appendChild(script4);
  6945. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6946. })
  6947. if (onloadListener) {
  6948. _iframe.contentDocument.location.reload()
  6949. } else {
  6950. _iframe.contentDocument.location.reload()
  6951. }
  6952. } else if (str == 'whiteboard') {
  6953. _iframe = _formdiv.querySelector('iframe')
  6954. let onloadListener = _iframe.onload = () => {
  6955. _iframe.contentWindow.document.body.appendChild(script1);
  6956. _iframe.contentWindow.document.body.appendChild(script2);
  6957. _iframe.contentWindow.document.body.appendChild(script4);
  6958. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6959. };
  6960. // if (onloadListener) {
  6961. // try {
  6962. // _iframe.src += "?cocorobo="+new Date().getTime()
  6963. // _iframe.contentWindow.document.location.reload()
  6964. // } catch (error) {
  6965. // }
  6966. // } else {
  6967. // _iframe.contentDocument.location.reload()
  6968. // }
  6969. } else {
  6970. _iframe.onload = () => {
  6971. _iframe.contentWindow.document.body.appendChild(script1);
  6972. _iframe.contentWindow.document.body.appendChild(script2);
  6973. // _iframe.contentWindow.document.body.appendChild(script3);
  6974. _iframe.contentWindow.document.body.appendChild(script4);
  6975. };
  6976. }
  6977. _jie.onclick = async () => {
  6978. let text = ''
  6979. if (aTool == 1) {
  6980. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6981. } else if (aTool == 6) {
  6982. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6983. } else if (aTool == 3) {
  6984. text = await U.MD.D.I.getEditorContent(_iframe);
  6985. }
  6986. _loading.style.display = 'flex'
  6987. console.log(_loading);
  6988. var _ajs = _iframe.contentWindow.document.createElement("script");
  6989. _ajs.type = "text/javascript";
  6990. _ajs.innerHTML =
  6991. // 'console.log(' + _loading + ');\n' +
  6992. 'var _js = document.createElement("script");\n' +
  6993. '_js.type="text/javascript";\n' +
  6994. '_js.charset="UTF-8";\n' +
  6995. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6996. "_js.onload = function(){\n" +
  6997. ' var a = document.getElementsByTagName("img")\n' +
  6998. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6999. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7000. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7001. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7002. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7003. "beforeUpload_shishi(file," +
  7004. "'" +
  7005. _userid +
  7006. "'" +
  7007. ", " +
  7008. "'" +
  7009. _cid +
  7010. "'" +
  7011. ", " +
  7012. "'" +
  7013. _stage +
  7014. "'" +
  7015. ", " +
  7016. "'" +
  7017. _task +
  7018. "'" +
  7019. ", " +
  7020. "'" +
  7021. _tool +
  7022. "'" +
  7023. ", " +
  7024. "'" +
  7025. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  7026. "'" +
  7027. ", " +
  7028. "'" +
  7029. aTool +
  7030. "'" +
  7031. ", " +
  7032. "`" +
  7033. text +
  7034. "`" +
  7035. ")\n" +
  7036. " });\n" +
  7037. "}\n" +
  7038. "document.head.appendChild(_js);\n";
  7039. _iframe.contentWindow.document.head.appendChild(_ajs);
  7040. }
  7041. }
  7042. }
  7043. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  7044. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7045. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7046. _userid = student.userid, //登录用户id
  7047. _username = student.student //用户名字
  7048. let _iframe;
  7049. let _cid = cid,
  7050. _stage = stage,
  7051. _task = task,
  7052. _tool = tool;
  7053. var _jie = $$("div", {
  7054. "style": {
  7055. "position": "absolute",
  7056. "bottom": "50px",
  7057. "right": "50px",
  7058. "zIndex": "9999",
  7059. "backgroundColor": "#2268bc",
  7060. "color": "#fff",
  7061. "padding": "12px 20px",
  7062. "cursor": "pointer",
  7063. "borderRadius": "4px",
  7064. },
  7065. "innerHTML": "提交作业"
  7066. })
  7067. let aTool = ''
  7068. let _loading = document.createElement('div')
  7069. _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;"
  7070. // _loading.id = "";
  7071. let _lchild = document.createElement('div')
  7072. let _limg = document.createElement('img')
  7073. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7074. _limg.style = "width: 26px;margin-right: 10px;"
  7075. _lchild.appendChild(_limg)
  7076. let _lspan = document.createElement('span')
  7077. _lspan.innerHTML = "上传中..."
  7078. _lchild.appendChild(_lspan)
  7079. _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%);"
  7080. _loading.appendChild(_lchild)
  7081. var _box = $$('div', {
  7082. "style": {
  7083. "position": "relative",
  7084. "width": "100%",
  7085. "height": "100%",
  7086. },
  7087. })
  7088. _box.appendChild(_loading)
  7089. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  7090. switch (str) {
  7091. case "whiteboard":
  7092. aTool = 1;
  7093. _iframe = $$("iframe", {
  7094. "frameborder": "no",
  7095. "border": "0",
  7096. "scrolling ": "no",
  7097. "style": {
  7098. "cssText": "border:0;width:100%;height:100%"
  7099. },
  7100. "src": "https://beta.iwb.cocorobo.cn/"
  7101. })
  7102. _box.appendChild(_iframe);
  7103. _box.appendChild(_jie);
  7104. _formdiv = new U.UF.UI.form(
  7105. "电子白板-" + _username,
  7106. _box, {
  7107. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7108. "style": {
  7109. "width": "90%",
  7110. "height": "90%",
  7111. "overflow": 'hidden'
  7112. },
  7113. "onresize": function () { }
  7114. }, {
  7115. closecallback: function () { }
  7116. }, {
  7117. "style": {
  7118. "height": "36px"
  7119. }
  7120. }).form; //创建窗体
  7121. _taskbar = {
  7122. "id": str + _formdiv.id,
  7123. "style": {
  7124. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7125. },
  7126. "name": "电子白板",
  7127. "forms": _formdiv,
  7128. "click": function () {
  7129. U.MD.D.I.openApplication(str, obj, info);
  7130. }
  7131. }
  7132. break;
  7133. case "mind":
  7134. aTool = 3;
  7135. _iframe = $$("iframe", {
  7136. "frameborder": "no",
  7137. "border": "0",
  7138. "scrolling ": "no",
  7139. "style": {
  7140. "cssText": "border:0;width:100%;height:100%"
  7141. },
  7142. "src": "/kityminder-editor/dist/index.html"
  7143. })
  7144. _box.appendChild(_iframe);
  7145. _box.appendChild(_jie);
  7146. _formdiv = new U.UF.UI.form(
  7147. "思维导图-" + _username,
  7148. _box, { //"/jsmind/example/demo.html"
  7149. "id": "mind" + cid + stage + task + tool + _userid,
  7150. "style": {
  7151. "width": "90%",
  7152. "height": "90%",
  7153. "overflow": 'hidden'
  7154. },
  7155. "onresize": function () { }
  7156. }, {
  7157. closecallback: function () { }
  7158. }, {
  7159. "style": {
  7160. "height": "36px"
  7161. }
  7162. }).form; //创建窗体
  7163. _taskbar = {
  7164. "id": str + _formdiv.id,
  7165. "style": {
  7166. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7167. },
  7168. "name": "思维导图",
  7169. "forms": _formdiv,
  7170. "click": function () {
  7171. U.MD.D.I.openApplication(str, obj, info);
  7172. }
  7173. }
  7174. break;
  7175. case "MindMap":
  7176. aTool = 3;
  7177. _iframe = $$("iframe", {
  7178. "frameborder": "no",
  7179. "border": "0",
  7180. "scrolling ": "no",
  7181. "style": {
  7182. "cssText": "border:0;width:100%;height:100%"
  7183. },
  7184. "src": "//cloud.cocorobo.cn/mind/"
  7185. })
  7186. _box.appendChild(_iframe);
  7187. _box.appendChild(_jie);
  7188. _formdiv = new U.UF.UI.form(
  7189. "思维导图-" + _username,
  7190. _box, { //"/jsmind/example/demo.html"
  7191. "id": "mind" + cid + stage + task + tool + _userid,
  7192. "style": {
  7193. "width": "90%",
  7194. "height": "90%",
  7195. "overflow": 'hidden'
  7196. },
  7197. "onresize": function () { }
  7198. }, {
  7199. closecallback: function () { }
  7200. }, {
  7201. "style": {
  7202. "height": "36px"
  7203. }
  7204. }).form; //创建窗体
  7205. _taskbar = {
  7206. "id": str + _formdiv.id,
  7207. "style": {
  7208. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7209. },
  7210. "name": "思维导图",
  7211. "forms": _formdiv,
  7212. "click": function () {
  7213. U.MD.D.I.openApplication(str, obj, info);
  7214. }
  7215. }
  7216. break;
  7217. case "doc":
  7218. aTool = 6;
  7219. _iframe = $$("iframe", {
  7220. "frameborder": "no",
  7221. "border": "0",
  7222. "scrolling ": "no",
  7223. "style": {
  7224. "cssText": "border:0;width:100%;height:100%"
  7225. },
  7226. "src": "/Office/Word/WordEditArea.htm"
  7227. })
  7228. _box.appendChild(_iframe);
  7229. _box.appendChild(_jie);
  7230. _formdiv = new U.UF.UI.form(
  7231. "协同文档-" + _username,
  7232. _box, {
  7233. "id": "doc" + cid + stage + task + tool + _userid,
  7234. "style": {
  7235. "width": "90%",
  7236. "height": "90%",
  7237. "overflow": 'hidden'
  7238. },
  7239. "onresize": function () { }
  7240. }, {
  7241. closecallback: function () { }
  7242. }, {
  7243. "style": {
  7244. "height": "36px"
  7245. }
  7246. }).form; //创建窗体
  7247. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7248. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7249. })
  7250. _taskbar = {
  7251. "id": str + _formdiv.id,
  7252. "style": {
  7253. "backgroundImage": "url(/img/icon/doc.png)"
  7254. },
  7255. "name": "协同文档",
  7256. "forms": _formdiv,
  7257. "click": function () {
  7258. U.MD.D.I.openApplication(str, obj, info);
  7259. }
  7260. }
  7261. break;
  7262. case "mindNetwork": //好友打开
  7263. aTool = 7;
  7264. _iframe = $$("iframe", {
  7265. "webkitallowfullscreen": "",
  7266. "mozallowfullscreen": "",
  7267. "allowfullscreen": "",
  7268. "frameborder": "no",
  7269. "border": "0",
  7270. "scrolling ": "no",
  7271. "style": {
  7272. "cssText": "border:0; width:100%; height:100%;"
  7273. },
  7274. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7275. })
  7276. _box.appendChild(_iframe);
  7277. _box.appendChild(_jie);
  7278. _formdiv = new U.UF.UI.form(
  7279. "思维网格-" + _username,
  7280. _box, {
  7281. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7282. "style": {
  7283. "width": "90%",
  7284. "height": "90%",
  7285. "overflow": 'hidden'
  7286. },
  7287. "onresize": function () { }
  7288. }, {
  7289. closecallback: function () { }
  7290. }, {
  7291. "style": {
  7292. "height": "36px"
  7293. }
  7294. }).form; //创建窗体
  7295. _taskbar = {
  7296. "id": str + _formdiv.id,
  7297. "style": {
  7298. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7299. },
  7300. "name": "思维网格",
  7301. "forms": _formdiv,
  7302. "click": function () {
  7303. U.MD.D.I.openApplication(str, obj, info);
  7304. }
  7305. }
  7306. break;
  7307. case "courseDesign":
  7308. _iframe = $$("iframe", {
  7309. "webkitallowfullscreen": "",
  7310. "mozallowfullscreen": "",
  7311. "allowfullscreen": "",
  7312. "frameborder": "no",
  7313. "border": "0",
  7314. "scrolling ": "no",
  7315. "style": {
  7316. "cssText": "border:0; width:100%; height:100%;"
  7317. },
  7318. "src": "/course-design-vue"
  7319. })
  7320. _box.appendChild(_iframe);
  7321. _box.appendChild(_jie);
  7322. _formdiv = new U.UF.UI.form(
  7323. "项目设计-" + _username,
  7324. _box, {
  7325. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7326. "style": {
  7327. "width": "90%",
  7328. "height": "90%",
  7329. "overflow": 'hidden'
  7330. },
  7331. "onresize": function () { }
  7332. }, {
  7333. closecallback: function () { }
  7334. }, {
  7335. "style": {
  7336. "height": "36px"
  7337. }
  7338. }).form; //创建窗体
  7339. _taskbar = {
  7340. "id": str + _formdiv.id,
  7341. "style": {
  7342. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7343. },
  7344. "name": "项目设计",
  7345. "forms": _formdiv,
  7346. "click": function () {
  7347. U.MD.D.I.openApplication(str, obj, info);
  7348. }
  7349. }
  7350. break;
  7351. }
  7352. const script1 = document.createElement("script");
  7353. script1.type = "text/javascript";
  7354. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7355. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7356. const script2 = document.createElement("script");
  7357. script2.type = "text/javascript";
  7358. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7359. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7360. const script3 = document.createElement("script");
  7361. script3.type = "text/javascript";
  7362. script3.charset = "UTF-8";
  7363. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7364. const script4 = document.createElement("script");
  7365. script4.type = "text/javascript";
  7366. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7367. script4.src = window.origin + "/js/Common/jietu2E.js";
  7368. if (_iframe) {
  7369. if (str == 'doc') {
  7370. _iframe = _formdiv.querySelector('iframe')
  7371. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7372. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7373. _iframe.contentWindow.document.body.appendChild(script1);
  7374. _iframe.contentWindow.document.body.appendChild(script2);
  7375. // _iframe.contentWindow.document.body.appendChild(script3);
  7376. _iframe.contentWindow.document.body.appendChild(script4);
  7377. })
  7378. if (onloadListener) {
  7379. _iframe.contentDocument.location.reload()
  7380. } else {
  7381. _iframe.contentDocument.location.reload()
  7382. }
  7383. } else if (str == 'courseDesign') {
  7384. U.UF.DL.iframeLoad(_iframe, function () {
  7385. // _iframe.contentWindow.U.MD.O.W.load();
  7386. // _iframe.contentWindow.document.body.appendChild(script1);
  7387. _iframe.contentWindow.document.body.appendChild(script2);
  7388. _iframe.contentWindow.document.body.appendChild(script4);
  7389. })
  7390. } else if (str == 'mind') {
  7391. _iframe = _formdiv.querySelector('iframe')
  7392. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7393. //
  7394. _iframe.contentWindow.document.body.appendChild(script1);
  7395. _iframe.contentWindow.document.body.appendChild(script2);
  7396. _iframe.contentWindow.document.body.appendChild(script4);
  7397. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7398. })
  7399. if (onloadListener) {
  7400. _iframe.contentDocument.location.reload()
  7401. } else {
  7402. _iframe.contentDocument.location.reload()
  7403. }
  7404. } else if (str == 'whiteboard') {
  7405. _iframe = _formdiv.querySelector('iframe')
  7406. let onloadListener = _iframe.onload = () => {
  7407. _iframe.contentWindow.document.body.appendChild(script1);
  7408. _iframe.contentWindow.document.body.appendChild(script2);
  7409. _iframe.contentWindow.document.body.appendChild(script4);
  7410. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7411. };
  7412. // if (onloadListener) {
  7413. // try {
  7414. // _iframe.src += "?cocorobo="+new Date().getTime()
  7415. // _iframe.contentWindow.document.location.reload()
  7416. // } catch (error) {
  7417. // }
  7418. // } else {
  7419. // _iframe.contentDocument.location.reload()
  7420. // }
  7421. } else {
  7422. _iframe.onload = () => {
  7423. _iframe.contentWindow.document.body.appendChild(script1);
  7424. _iframe.contentWindow.document.body.appendChild(script2);
  7425. // _iframe.contentWindow.document.body.appendChild(script3);
  7426. _iframe.contentWindow.document.body.appendChild(script4);
  7427. };
  7428. }
  7429. _jie.onclick = async () => {
  7430. let text = ''
  7431. if (aTool == 1) {
  7432. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7433. } else if (aTool == 6) {
  7434. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7435. } else if (aTool == 3) {
  7436. text = await U.MD.D.I.getEditorContent(_iframe);
  7437. }
  7438. _loading.style.display = 'flex'
  7439. console.log(_loading);
  7440. var _ajs = _iframe.contentWindow.document.createElement("script");
  7441. _ajs.type = "text/javascript";
  7442. _ajs.innerHTML =
  7443. // 'console.log(' + _loading + ');\n' +
  7444. 'var _js = document.createElement("script");\n' +
  7445. '_js.type="text/javascript";\n' +
  7446. '_js.charset="UTF-8";\n' +
  7447. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7448. "_js.onload = function(){\n" +
  7449. ' var a = document.getElementsByTagName("img")\n' +
  7450. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7451. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7452. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7453. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7454. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7455. "beforeUpload_shishi(file," +
  7456. "'" +
  7457. _userid +
  7458. "'" +
  7459. ", " +
  7460. "'" +
  7461. _cid +
  7462. "'" +
  7463. ", " +
  7464. "'" +
  7465. _stage +
  7466. "'" +
  7467. ", " +
  7468. "'" +
  7469. _task +
  7470. "'" +
  7471. ", " +
  7472. "'" +
  7473. _tool +
  7474. "'" +
  7475. ", " +
  7476. "'" +
  7477. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7478. "'" +
  7479. ", " +
  7480. "'" +
  7481. aTool +
  7482. "'" +
  7483. ", " +
  7484. "`" +
  7485. text +
  7486. "`" +
  7487. ")\n" +
  7488. " });\n" +
  7489. "}\n" +
  7490. "document.head.appendChild(_js);\n";
  7491. _iframe.contentWindow.document.head.appendChild(_ajs);
  7492. }
  7493. }
  7494. }
  7495. U.MD.D.I.getEditorContent = function (iframe) {
  7496. return new Promise((resolve, reject) => {
  7497. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7498. console.log(content);
  7499. resolve(content)
  7500. });
  7501. });
  7502. }
  7503. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7504. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7505. // if (res.value[0].length > 0) {
  7506. // // resolve(res.value[0][0].text);
  7507. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7508. // $(fileInput).val('');
  7509. // });
  7510. // }
  7511. // }, [], { "type": "GET", "withCredentials": true });
  7512. var xmlhttp;
  7513. var Mac, Sn, DeviceId
  7514. if (window.XMLHttpRequest) {
  7515. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7516. xmlhttp = new XMLHttpRequest();
  7517. } else {
  7518. // IE6, IE5 浏览器执行代码
  7519. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7520. }
  7521. xmlhttp.onreadystatechange = function () {
  7522. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7523. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7524. // resolve(res.value[0][0].text);
  7525. if (type == '2') {
  7526. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7527. } else if (type == '3') {
  7528. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7529. }
  7530. } else {
  7531. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7532. }
  7533. }
  7534. }
  7535. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7536. xmlhttp.send();
  7537. }
  7538. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7539. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7540. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7541. _userinfo = US.userInfo, //登录用户信息
  7542. _userid = US.userInfo.userid //登录用户id
  7543. let _iframe;
  7544. let _cid = cid,
  7545. _stage = stage,
  7546. _task = task,
  7547. _tool = tool;
  7548. var _jie = $$("div", {
  7549. "style": {
  7550. "position": "absolute",
  7551. "bottom": "50px",
  7552. "right": "50px",
  7553. "zIndex": "9999",
  7554. "backgroundColor": "#2268bc",
  7555. "color": "#fff",
  7556. "padding": "12px 20px",
  7557. "cursor": "pointer",
  7558. "borderRadius": "4px",
  7559. },
  7560. "innerHTML": "确认并提交"
  7561. })
  7562. let aTool = ''
  7563. let _loading = document.createElement('div')
  7564. _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;"
  7565. // _loading.id = "";
  7566. let _lchild = document.createElement('div')
  7567. let _limg = document.createElement('img')
  7568. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7569. _limg.style = "width: 26px;margin-right: 10px;"
  7570. _lchild.appendChild(_limg)
  7571. let _lspan = document.createElement('span')
  7572. _lspan.innerHTML = "上传中..."
  7573. _lchild.appendChild(_lspan)
  7574. _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%);"
  7575. _loading.appendChild(_lchild)
  7576. var _box = $$('div', {
  7577. "style": {
  7578. "position": "relative",
  7579. "width": "100%",
  7580. "height": "100%",
  7581. },
  7582. })
  7583. _box.appendChild(_loading)
  7584. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7585. switch (str) {
  7586. case "whiteboard":
  7587. aTool = 1;
  7588. _iframe = $$("iframe", {
  7589. "frameborder": "no",
  7590. "border": "0",
  7591. "scrolling ": "no",
  7592. "style": {
  7593. "cssText": "border:0;width:100%;height:100%"
  7594. },
  7595. "src": "https://beta.iwb.cocorobo.cn/"
  7596. })
  7597. _box.appendChild(_iframe);
  7598. _box.appendChild(_jie);
  7599. _formdiv = new U.UF.UI.form(
  7600. "电子白板",
  7601. _box, {
  7602. "id": "whiteboards" + cid + stage + task + tool,
  7603. "style": {
  7604. "width": "90%",
  7605. "height": "90%",
  7606. "overflow": 'hidden'
  7607. },
  7608. "onresize": function () { }
  7609. }, {
  7610. closecallback: function () { }
  7611. }, {
  7612. "style": {
  7613. "height": "36px"
  7614. }
  7615. }).form; //创建窗体
  7616. _taskbar = {
  7617. "id": str + _formdiv.id,
  7618. "style": {
  7619. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7620. },
  7621. "name": "电子白板",
  7622. "forms": _formdiv,
  7623. "click": function () {
  7624. U.MD.D.I.openApplication(str, obj, info);
  7625. }
  7626. }
  7627. break;
  7628. case "mind":
  7629. aTool = 3;
  7630. _iframe = $$("iframe", {
  7631. "frameborder": "no",
  7632. "border": "0",
  7633. "scrolling ": "no",
  7634. "style": {
  7635. "cssText": "border:0;width:100%;height:100%"
  7636. },
  7637. "src": "/kityminder-editor/dist/index.html"
  7638. });
  7639. _box.appendChild(_iframe);
  7640. _box.appendChild(_jie);
  7641. _formdiv = new U.UF.UI.form(
  7642. "思维导图",
  7643. _box, { //"/jsmind/example/demo.html"
  7644. "id": "minds" + cid + stage + task + tool,
  7645. "style": {
  7646. "width": "90%",
  7647. "height": "90%",
  7648. "overflow": 'hidden'
  7649. },
  7650. "onresize": function () { }
  7651. }, {
  7652. closecallback: function () { }
  7653. }, {
  7654. "style": {
  7655. "height": "36px"
  7656. }
  7657. }).form; //创建窗体
  7658. _taskbar = {
  7659. "id": str + _formdiv.id,
  7660. "style": {
  7661. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7662. },
  7663. "name": "思维导图",
  7664. "forms": _formdiv,
  7665. "click": function () {
  7666. U.MD.D.I.openApplication(str, obj, info);
  7667. }
  7668. }
  7669. break;
  7670. case "doc":
  7671. aTool = 6;
  7672. _iframe = $$("iframe", {
  7673. "frameborder": "no",
  7674. "border": "0",
  7675. "scrolling ": "no",
  7676. "style": {
  7677. "cssText": "border:0;width:100%;height:100%"
  7678. },
  7679. "src": "/Office/Word/WordEditArea.htm"
  7680. })
  7681. _box.appendChild(_iframe);
  7682. _box.appendChild(_jie);
  7683. _formdiv = new U.UF.UI.form(
  7684. "协同文档",
  7685. _box, {
  7686. "id": "docs" + cid + stage + task + tool,
  7687. "style": {
  7688. "width": "90%",
  7689. "height": "90%",
  7690. "overflow": 'hidden'
  7691. },
  7692. "onresize": function () { }
  7693. }, {
  7694. closecallback: function () { }
  7695. }, {
  7696. "style": {
  7697. "height": "36px"
  7698. }
  7699. }).form; //创建窗体
  7700. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7701. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7702. })
  7703. _taskbar = {
  7704. "id": str + _formdiv.id,
  7705. "style": {
  7706. "backgroundImage": "url(/img/icon/doc.png)"
  7707. },
  7708. "name": "协同文档",
  7709. "forms": _formdiv,
  7710. "click": function () {
  7711. U.MD.D.I.openApplication(str, obj, info);
  7712. }
  7713. }
  7714. break;
  7715. }
  7716. const script1 = document.createElement("script");
  7717. script1.type = "text/javascript";
  7718. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7719. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7720. const script2 = document.createElement("script");
  7721. script2.type = "text/javascript";
  7722. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7723. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7724. const script3 = document.createElement("script");
  7725. script3.type = "text/javascript";
  7726. script3.charset = "UTF-8";
  7727. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7728. const script4 = document.createElement("script");
  7729. script4.type = "text/javascript";
  7730. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7731. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7732. if (_iframe) {
  7733. if (str == 'doc') {
  7734. _iframe = _formdiv.querySelector('iframe')
  7735. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7736. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7737. _iframe.contentWindow.document.body.appendChild(script1);
  7738. _iframe.contentWindow.document.body.appendChild(script2);
  7739. // _iframe.contentWindow.document.body.appendChild(script3);
  7740. _iframe.contentWindow.document.body.appendChild(script4);
  7741. })
  7742. if (onloadListener) {
  7743. _iframe.contentDocument.location.reload()
  7744. } else {
  7745. _iframe.contentDocument.location.reload()
  7746. }
  7747. } else if (str == 'mind') {
  7748. _iframe = _formdiv.querySelector('iframe')
  7749. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7750. _iframe.contentWindow.document.body.appendChild(script1);
  7751. _iframe.contentWindow.document.body.appendChild(script2);
  7752. _iframe.contentWindow.document.body.appendChild(script4);
  7753. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7754. })
  7755. if (onloadListener) {
  7756. _iframe.contentDocument.location.reload()
  7757. } else {
  7758. _iframe.contentDocument.location.reload()
  7759. }
  7760. } else {
  7761. _iframe.onload = () => {
  7762. _iframe.contentWindow.document.body.appendChild(script1);
  7763. _iframe.contentWindow.document.body.appendChild(script2);
  7764. // _iframe.contentWindow.document.body.appendChild(script3);
  7765. _iframe.contentWindow.document.body.appendChild(script4);
  7766. };
  7767. }
  7768. _jie.onclick = async () => {
  7769. let text = ''
  7770. if (aTool == 6) {
  7771. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7772. } else if (aTool == 3) {
  7773. text = await U.MD.D.I.getEditorContent(_iframe);
  7774. }
  7775. _loading.style.display = 'flex'
  7776. console.log(_loading);
  7777. var _ajs = _iframe.contentWindow.document.createElement("script");
  7778. _ajs.type = "text/javascript";
  7779. _ajs.innerHTML =
  7780. // 'console.log(' + _loading + ');\n' +
  7781. 'var _js = document.createElement("script");\n' +
  7782. '_js.type="text/javascript";\n' +
  7783. '_js.charset="UTF-8";\n' +
  7784. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7785. "_js.onload = function(){\n" +
  7786. ' var a = document.getElementsByTagName("img")\n' +
  7787. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7788. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7789. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7790. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7791. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7792. "beforeUpload_shishi(file," +
  7793. "'" +
  7794. _userid +
  7795. "'" +
  7796. ", " +
  7797. "'" +
  7798. _cid +
  7799. "'" +
  7800. ", " +
  7801. "'" +
  7802. _stage +
  7803. "'" +
  7804. ", " +
  7805. "'" +
  7806. _task +
  7807. "'" +
  7808. ", " +
  7809. "'" +
  7810. _tool +
  7811. "'" +
  7812. ", " +
  7813. "'" +
  7814. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7815. "'" +
  7816. ", " +
  7817. "'" +
  7818. aTool +
  7819. "'" +
  7820. ", " +
  7821. "`" +
  7822. text +
  7823. "`" +
  7824. ")\n" +
  7825. " });\n" +
  7826. "}\n" +
  7827. "document.head.appendChild(_js);\n";
  7828. _iframe.contentWindow.document.head.appendChild(_ajs);
  7829. }
  7830. }
  7831. //U.MD.D.I.openClick(str);
  7832. //如果有任务栏信息
  7833. // if (_taskbar) {
  7834. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7835. // }
  7836. }
  7837. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7838. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7839. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7840. _userinfo = US.userInfo, //登录用户信息
  7841. _userid = US.userInfo.userid //登录用户id
  7842. let _iframe;
  7843. let _cid = cid,
  7844. _stage = stage,
  7845. _task = task,
  7846. _tool = tool;
  7847. var _jie = $$("div", {
  7848. "style": {
  7849. "position": "absolute",
  7850. "bottom": "50px",
  7851. "right": "50px",
  7852. "zIndex": "9999",
  7853. "backgroundColor": "#2268bc",
  7854. "color": "#fff",
  7855. "padding": "12px 20px",
  7856. "cursor": "pointer",
  7857. "borderRadius": "4px",
  7858. },
  7859. "innerHTML": "确认并提交"
  7860. })
  7861. let aTool = ''
  7862. let _loading = document.createElement('div')
  7863. _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;"
  7864. // _loading.id = "";
  7865. let _lchild = document.createElement('div')
  7866. let _limg = document.createElement('img')
  7867. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7868. _limg.style = "width: 26px;margin-right: 10px;"
  7869. _lchild.appendChild(_limg)
  7870. let _lspan = document.createElement('span')
  7871. _lspan.innerHTML = "上传中..."
  7872. _lchild.appendChild(_lspan)
  7873. _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%);"
  7874. _loading.appendChild(_lchild)
  7875. var _box = $$('div', {
  7876. "style": {
  7877. "position": "relative",
  7878. "width": "100%",
  7879. "height": "100%",
  7880. },
  7881. })
  7882. _box.appendChild(_loading)
  7883. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7884. switch (str) {
  7885. case "whiteboard":
  7886. aTool = 1;
  7887. _iframe = $$("iframe", {
  7888. "frameborder": "no",
  7889. "border": "0",
  7890. "scrolling ": "no",
  7891. "style": {
  7892. "cssText": "border:0;width:100%;height:100%"
  7893. },
  7894. "src": "https://beta.iwb.cocorobo.cn/"
  7895. })
  7896. _box.appendChild(_iframe);
  7897. _box.appendChild(_jie);
  7898. _formdiv = new U.UF.UI.form(
  7899. "电子白板",
  7900. _box, {
  7901. "id": "whiteboards" + cid + stage + task + tool,
  7902. "style": {
  7903. "width": "90%",
  7904. "height": "90%",
  7905. "overflow": 'hidden'
  7906. },
  7907. "onresize": function () { }
  7908. }, {
  7909. closecallback: function () { }
  7910. }, {
  7911. "style": {
  7912. "height": "36px"
  7913. }
  7914. }).form; //创建窗体
  7915. _taskbar = {
  7916. "id": str + _formdiv.id,
  7917. "style": {
  7918. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7919. },
  7920. "name": "电子白板",
  7921. "forms": _formdiv,
  7922. "click": function () {
  7923. U.MD.D.I.openApplication(str, obj, info);
  7924. }
  7925. }
  7926. break;
  7927. case "mind":
  7928. aTool = 3;
  7929. _iframe = $$("iframe", {
  7930. "frameborder": "no",
  7931. "border": "0",
  7932. "scrolling ": "no",
  7933. "style": {
  7934. "cssText": "border:0;width:100%;height:100%"
  7935. },
  7936. "src": "/kityminder-editor/dist/index.html"
  7937. });
  7938. _box.appendChild(_iframe);
  7939. _box.appendChild(_jie);
  7940. _formdiv = new U.UF.UI.form(
  7941. "思维导图",
  7942. _box, { //"/jsmind/example/demo.html"
  7943. "id": "minds" + cid + stage + task + tool,
  7944. "style": {
  7945. "width": "90%",
  7946. "height": "90%",
  7947. "overflow": 'hidden'
  7948. },
  7949. "onresize": function () { }
  7950. }, {
  7951. closecallback: function () { }
  7952. }, {
  7953. "style": {
  7954. "height": "36px"
  7955. }
  7956. }).form; //创建窗体
  7957. _taskbar = {
  7958. "id": str + _formdiv.id,
  7959. "style": {
  7960. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7961. },
  7962. "name": "思维导图",
  7963. "forms": _formdiv,
  7964. "click": function () {
  7965. U.MD.D.I.openApplication(str, obj, info);
  7966. }
  7967. }
  7968. break;
  7969. case "doc":
  7970. aTool = 6;
  7971. _iframe = $$("iframe", {
  7972. "frameborder": "no",
  7973. "border": "0",
  7974. "scrolling ": "no",
  7975. "style": {
  7976. "cssText": "border:0;width:100%;height:100%"
  7977. },
  7978. "src": "/Office/Word/WordEditArea.htm"
  7979. })
  7980. _box.appendChild(_iframe);
  7981. _box.appendChild(_jie);
  7982. _formdiv = new U.UF.UI.form(
  7983. "协同文档",
  7984. _box, {
  7985. "id": "docs" + cid + stage + task + tool,
  7986. "style": {
  7987. "width": "90%",
  7988. "height": "90%",
  7989. "overflow": 'hidden'
  7990. },
  7991. "onresize": function () { }
  7992. }, {
  7993. closecallback: function () { }
  7994. }, {
  7995. "style": {
  7996. "height": "36px"
  7997. }
  7998. }).form; //创建窗体
  7999. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8000. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8001. })
  8002. _taskbar = {
  8003. "id": str + _formdiv.id,
  8004. "style": {
  8005. "backgroundImage": "url(/img/icon/doc.png)"
  8006. },
  8007. "name": "协同文档",
  8008. "forms": _formdiv,
  8009. "click": function () {
  8010. U.MD.D.I.openApplication(str, obj, info);
  8011. }
  8012. }
  8013. break;
  8014. }
  8015. const script1 = document.createElement("script");
  8016. script1.type = "text/javascript";
  8017. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8018. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  8019. const script2 = document.createElement("script");
  8020. script2.type = "text/javascript";
  8021. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8022. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  8023. const script3 = document.createElement("script");
  8024. script3.type = "text/javascript";
  8025. script3.charset = "UTF-8";
  8026. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  8027. const script4 = document.createElement("script");
  8028. script4.type = "text/javascript";
  8029. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8030. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  8031. if (_iframe) {
  8032. if (str == 'doc') {
  8033. _iframe = _formdiv.querySelector('iframe')
  8034. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8035. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8036. _iframe.contentWindow.document.body.appendChild(script1);
  8037. _iframe.contentWindow.document.body.appendChild(script2);
  8038. // _iframe.contentWindow.document.body.appendChild(script3);
  8039. _iframe.contentWindow.document.body.appendChild(script4);
  8040. })
  8041. if (onloadListener) {
  8042. _iframe.contentDocument.location.reload()
  8043. } else {
  8044. _iframe.contentDocument.location.reload()
  8045. }
  8046. } else if (str == 'mind') {
  8047. _iframe = _formdiv.querySelector('iframe')
  8048. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8049. _iframe.contentWindow.document.body.appendChild(script1);
  8050. _iframe.contentWindow.document.body.appendChild(script2);
  8051. _iframe.contentWindow.document.body.appendChild(script4);
  8052. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8053. })
  8054. if (onloadListener) {
  8055. _iframe.contentDocument.location.reload()
  8056. } else {
  8057. _iframe.contentDocument.location.reload()
  8058. }
  8059. } else {
  8060. _iframe.onload = () => {
  8061. _iframe.contentWindow.document.body.appendChild(script1);
  8062. _iframe.contentWindow.document.body.appendChild(script2);
  8063. // _iframe.contentWindow.document.body.appendChild(script3);
  8064. _iframe.contentWindow.document.body.appendChild(script4);
  8065. };
  8066. }
  8067. _jie.onclick = async () => {
  8068. let text = ''
  8069. if (aTool == 6) {
  8070. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8071. } else if (aTool == 3) {
  8072. text = await U.MD.D.I.getEditorContent(_iframe);
  8073. }
  8074. _loading.style.display = 'flex'
  8075. console.log(_loading);
  8076. var _ajs = _iframe.contentWindow.document.createElement("script");
  8077. _ajs.type = "text/javascript";
  8078. _ajs.innerHTML =
  8079. // 'console.log(' + _loading + ');\n' +
  8080. 'var _js = document.createElement("script");\n' +
  8081. '_js.type="text/javascript";\n' +
  8082. '_js.charset="UTF-8";\n' +
  8083. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  8084. "_js.onload = function(){\n" +
  8085. ' var a = document.getElementsByTagName("img")\n' +
  8086. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8087. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8088. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8089. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8090. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  8091. "beforeUpload_shishi(file," +
  8092. "'" +
  8093. _userid +
  8094. "'" +
  8095. ", " +
  8096. "'" +
  8097. _cid +
  8098. "'" +
  8099. ", " +
  8100. "'" +
  8101. _stage +
  8102. "'" +
  8103. ", " +
  8104. "'" +
  8105. _task +
  8106. "'" +
  8107. ", " +
  8108. "'" +
  8109. _tool +
  8110. "'" +
  8111. ", " +
  8112. "'" +
  8113. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  8114. "'" +
  8115. ", " +
  8116. "'" +
  8117. aTool +
  8118. "'" +
  8119. ", " +
  8120. "`" +
  8121. text +
  8122. "`" +
  8123. ")\n" +
  8124. " });\n" +
  8125. "}\n" +
  8126. "document.head.appendChild(_js);\n";
  8127. _iframe.contentWindow.document.head.appendChild(_ajs);
  8128. }
  8129. }
  8130. //U.MD.D.I.openClick(str);
  8131. //如果有任务栏信息
  8132. // if (_taskbar) {
  8133. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8134. // }
  8135. }
  8136. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8137. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8138. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8139. _userinfo = US.userInfo, //登录用户信息
  8140. _userid = US.userInfo.userid //登录用户id
  8141. let _iframe;
  8142. let _cid = cid,
  8143. _stage = stage,
  8144. _task = task,
  8145. _tool = tool;
  8146. var _jie = $$("div", {
  8147. "style": {
  8148. "position": "absolute",
  8149. "bottom": "50px",
  8150. "right": "50px",
  8151. "zIndex": "9999",
  8152. "backgroundColor": "#2268bc",
  8153. "color": "#fff",
  8154. "padding": "12px 20px",
  8155. "cursor": "pointer",
  8156. "borderRadius": "4px",
  8157. },
  8158. "innerHTML": "上传模板"
  8159. })
  8160. let aTool = ''
  8161. let _loading = document.createElement('div')
  8162. _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;"
  8163. // _loading.id = "";
  8164. let _lchild = document.createElement('div')
  8165. let _limg = document.createElement('img')
  8166. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8167. _limg.style = "width: 26px;margin-right: 10px;"
  8168. _lchild.appendChild(_limg)
  8169. let _lspan = document.createElement('span')
  8170. _lspan.innerHTML = "上传中..."
  8171. _lchild.appendChild(_lspan)
  8172. _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%);"
  8173. _loading.appendChild(_lchild)
  8174. var _box = $$('div', {
  8175. "style": {
  8176. "position": "relative",
  8177. "width": "100%",
  8178. "height": "100%",
  8179. },
  8180. })
  8181. _box.appendChild(_loading)
  8182. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8183. switch (str) {
  8184. case "whiteboard":
  8185. aTool = 1;
  8186. _iframe = $$("iframe", {
  8187. "frameborder": "no",
  8188. "border": "0",
  8189. "scrolling ": "no",
  8190. "style": {
  8191. "cssText": "border:0;width:100%;height:100%"
  8192. },
  8193. "src": "https://beta.iwb.cocorobo.cn/"
  8194. })
  8195. _box.appendChild(_iframe);
  8196. _box.appendChild(_jie);
  8197. _formdiv = new U.UF.UI.form(
  8198. "电子白板",
  8199. _box, {
  8200. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8201. "style": {
  8202. "width": "90%",
  8203. "height": "90%",
  8204. "overflow": 'hidden'
  8205. },
  8206. "onresize": function () { }
  8207. }, {
  8208. closecallback: function () { }
  8209. }, {
  8210. "style": {
  8211. "height": "36px"
  8212. }
  8213. }).form; //创建窗体
  8214. _taskbar = {
  8215. "id": str + _formdiv.id,
  8216. "style": {
  8217. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8218. },
  8219. "name": "电子白板",
  8220. "forms": _formdiv,
  8221. "click": function () {
  8222. U.MD.D.I.openApplication(str, obj, info);
  8223. }
  8224. }
  8225. break;
  8226. case "mind":
  8227. aTool = 3;
  8228. _iframe = $$("iframe", {
  8229. "frameborder": "no",
  8230. "border": "0",
  8231. "scrolling ": "no",
  8232. "style": {
  8233. "cssText": "border:0;width:100%;height:100%"
  8234. },
  8235. "src": "/kityminder-editor/dist/index.html"
  8236. });
  8237. _box.appendChild(_iframe);
  8238. _box.appendChild(_jie);
  8239. _formdiv = new U.UF.UI.form(
  8240. "思维导图",
  8241. _box, { //"/jsmind/example/demo.html"
  8242. "id": "minds_Yu" + cid + stage + task + tool,
  8243. "style": {
  8244. "width": "90%",
  8245. "height": "90%",
  8246. "overflow": 'hidden'
  8247. },
  8248. "onresize": function () { }
  8249. }, {
  8250. closecallback: function () { }
  8251. }, {
  8252. "style": {
  8253. "height": "36px"
  8254. }
  8255. }).form; //创建窗体
  8256. _taskbar = {
  8257. "id": str + _formdiv.id,
  8258. "style": {
  8259. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8260. },
  8261. "name": "思维导图",
  8262. "forms": _formdiv,
  8263. "click": function () {
  8264. U.MD.D.I.openApplication(str, obj, info);
  8265. }
  8266. }
  8267. break;
  8268. case "doc":
  8269. aTool = 6;
  8270. _iframe = $$("iframe", {
  8271. "frameborder": "no",
  8272. "border": "0",
  8273. "scrolling ": "no",
  8274. "style": {
  8275. "cssText": "border:0;width:100%;height:100%"
  8276. },
  8277. "src": "/Office/Word/WordEditArea.htm"
  8278. })
  8279. _box.appendChild(_iframe);
  8280. _box.appendChild(_jie);
  8281. _formdiv = new U.UF.UI.form(
  8282. "协同文档",
  8283. _box, {
  8284. "id": "docs_Yu" + cid + stage + task + tool,
  8285. "style": {
  8286. "width": "90%",
  8287. "height": "90%",
  8288. "overflow": 'hidden'
  8289. },
  8290. "onresize": function () { }
  8291. }, {
  8292. closecallback: function () { }
  8293. }, {
  8294. "style": {
  8295. "height": "36px"
  8296. }
  8297. }).form; //创建窗体
  8298. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8299. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8300. })
  8301. _taskbar = {
  8302. "id": str + _formdiv.id,
  8303. "style": {
  8304. "backgroundImage": "url(/img/icon/doc.png)"
  8305. },
  8306. "name": "协同文档",
  8307. "forms": _formdiv,
  8308. "click": function () {
  8309. U.MD.D.I.openApplication(str, obj, info);
  8310. }
  8311. }
  8312. break;
  8313. case "CocoPi":
  8314. aTool = 57;
  8315. _iframe = $$("iframe", {
  8316. "allowpaymentrequest": "allowpaymentrequest",
  8317. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8318. "webkitallowfullscreen": "",
  8319. "mozallowfullscreen": "",
  8320. "frameborder": "no",
  8321. "border": "0",
  8322. "scrolling ": "no",
  8323. "style": {
  8324. "cssText": "border:0;width:100%;height:100%"
  8325. },
  8326. "src": "https://pi.cocorobo.cn/"
  8327. })
  8328. _box.appendChild(_iframe);
  8329. _box.appendChild(_jie);
  8330. _formdiv = new U.UF.UI.form(
  8331. "CocoPi",
  8332. _box, {
  8333. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8334. "style": {
  8335. "width": "90%",
  8336. "height": "90%",
  8337. "overflow": 'hidden'
  8338. },
  8339. "onresize": function () { }
  8340. }, {
  8341. closecallback: function () { }
  8342. }, {
  8343. "style": {
  8344. "height": "36px"
  8345. }
  8346. }).form; //创建窗体
  8347. _taskbar = {
  8348. "id": str + _formdiv.id,
  8349. "style": {
  8350. "backgroundImage": "url(/img/icon/cocopi.png)"
  8351. },
  8352. "name": "CocoPi",
  8353. "forms": _formdiv,
  8354. "click": function () {
  8355. U.MD.D.I.openApplication(str, obj, info);
  8356. }
  8357. }
  8358. break;
  8359. }
  8360. if (_iframe) {
  8361. if (str == 'doc') {
  8362. _iframe = _formdiv.querySelector('iframe')
  8363. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8364. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8365. })
  8366. if (onloadListener) {
  8367. _iframe.contentDocument.location.reload()
  8368. } else {
  8369. _iframe.contentDocument.location.reload()
  8370. }
  8371. } else if (str == 'mind') {
  8372. _iframe = _formdiv.querySelector('iframe')
  8373. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8374. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8375. })
  8376. if (onloadListener) {
  8377. _iframe.contentDocument.location.reload()
  8378. } else {
  8379. _iframe.contentDocument.location.reload()
  8380. }
  8381. } else if (str == 'whiteboard') {
  8382. _iframe = _formdiv.querySelector('iframe')
  8383. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8384. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8385. })
  8386. // if (onloadListener) {
  8387. // try {
  8388. // _iframe.src += "?cocorobo="+new Date().getTime()
  8389. // _iframe.contentWindow.document.location.reload()
  8390. // } catch (error) {
  8391. // }
  8392. // } else {
  8393. // _iframe.contentDocument.location.reload()
  8394. // }
  8395. } else if (str == 'CocoPi') {
  8396. _iframe = _formdiv.querySelector('iframe')
  8397. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8398. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8399. })
  8400. if (onloadListener) {
  8401. _iframe.contentDocument.location.reload()
  8402. } else {
  8403. _iframe.contentDocument.location.reload()
  8404. }
  8405. } else {
  8406. _iframe.onload = () => { };
  8407. }
  8408. _jie.onclick = async () => {
  8409. let text = ''
  8410. let type = '2'
  8411. if (aTool == 1) {
  8412. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8413. type = '3'
  8414. } else if (aTool == 6) {
  8415. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8416. type = '1'
  8417. } else if (aTool == 3) {
  8418. text = await U.MD.D.I.getEditorContent(_iframe);
  8419. type = '2'
  8420. } else if (aTool == 57) {
  8421. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8422. type = '4'
  8423. }
  8424. _loading.style.display = 'flex'
  8425. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8426. }
  8427. }
  8428. //U.MD.D.I.openClick(str);
  8429. //如果有任务栏信息
  8430. // if (_taskbar) {
  8431. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8432. // }
  8433. }
  8434. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8435. var xmlhttp;
  8436. var Mac, Sn, DeviceId
  8437. if (window.XMLHttpRequest) {
  8438. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8439. xmlhttp = new XMLHttpRequest();
  8440. } else {
  8441. // IE6, IE5 浏览器执行代码
  8442. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8443. }
  8444. xmlhttp.onreadystatechange = function () {
  8445. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8446. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8447. // resolve(res.value[0][0].text);
  8448. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8449. }
  8450. }
  8451. }
  8452. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8453. xmlhttp.send();
  8454. }
  8455. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8456. var xmlhttp;
  8457. var Mac, Sn, DeviceId
  8458. if (window.XMLHttpRequest) {
  8459. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8460. xmlhttp = new XMLHttpRequest();
  8461. } else {
  8462. // IE6, IE5 浏览器执行代码
  8463. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8464. }
  8465. xmlhttp.onreadystatechange = function () {
  8466. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8467. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8468. // resolve(res.value[0][0].text);
  8469. if (type == '2') {
  8470. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8471. } else if (type == '3') {
  8472. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8473. } else if (type == '4') {
  8474. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8475. }
  8476. } else {
  8477. if (type == '2') {
  8478. iframe.contentWindow.editor.minder.importData('json', '')
  8479. } else if (type == '3') {
  8480. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8481. } else if (type == '4') {
  8482. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8483. }
  8484. }
  8485. }
  8486. }
  8487. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8488. xmlhttp.send();
  8489. }
  8490. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8491. var xmlhttp;
  8492. var Mac, Sn, DeviceId
  8493. if (window.XMLHttpRequest) {
  8494. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8495. xmlhttp = new XMLHttpRequest();
  8496. } else {
  8497. // IE6, IE5 浏览器执行代码
  8498. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8499. }
  8500. xmlhttp.onreadystatechange = function () {
  8501. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8502. if (xmlhttp.response) {
  8503. // resolve(res.value[0][0].text);
  8504. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8505. // $(fileInput).val('');
  8506. // });
  8507. span.innerHTML = '上传成功'
  8508. setTimeout(() => {
  8509. loading.style.display = 'none'
  8510. }, 1000);
  8511. }
  8512. }
  8513. }
  8514. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8515. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8516. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8517. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8518. // 设置请求头,表示请求体的编码格式
  8519. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8520. // 设置请求体,使用url-encoded格式的数据
  8521. }
  8522. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8523. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8524. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8525. _userinfo = US.userInfo, //登录用户信息
  8526. _userid = US.userInfo.userid //登录用户id
  8527. let _iframe;
  8528. let _cid = cid,
  8529. _stage = stage,
  8530. _task = task,
  8531. _tool = tool;
  8532. var _jie = $$("div", {
  8533. "style": {
  8534. "position": "absolute",
  8535. "bottom": "50px",
  8536. "right": "50px",
  8537. "zIndex": "9999",
  8538. "backgroundColor": "#2268bc",
  8539. "color": "#fff",
  8540. "padding": "12px 20px",
  8541. "cursor": "pointer",
  8542. "borderRadius": "4px",
  8543. },
  8544. "innerHTML": "提交作业"
  8545. })
  8546. let aTool = ''
  8547. let _loading = document.createElement('div')
  8548. _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;"
  8549. // _loading.id = "";
  8550. let _lchild = document.createElement('div')
  8551. let _limg = document.createElement('img')
  8552. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8553. _limg.style = "width: 26px;margin-right: 10px;"
  8554. _lchild.appendChild(_limg)
  8555. let _lspan = document.createElement('span')
  8556. _lspan.innerHTML = "上传中..."
  8557. _lchild.appendChild(_lspan)
  8558. _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%);"
  8559. _loading.appendChild(_lchild)
  8560. var _box = $$('div', {
  8561. "style": {
  8562. "position": "relative",
  8563. "width": "100%",
  8564. "height": "100%",
  8565. },
  8566. })
  8567. _box.appendChild(_loading)
  8568. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8569. switch (str) {
  8570. case "CocoPi":
  8571. aTool = 57;
  8572. _iframe = $$("iframe", {
  8573. "allowpaymentrequest": "allowpaymentrequest",
  8574. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8575. "webkitallowfullscreen": "",
  8576. "mozallowfullscreen": "",
  8577. "frameborder": "no",
  8578. "border": "0",
  8579. "scrolling ": "no",
  8580. "style": {
  8581. "cssText": "border:0;width:100%;height:100%"
  8582. },
  8583. "src": "https://pi.cocorobo.cn/"
  8584. })
  8585. _box.appendChild(_iframe);
  8586. _box.appendChild(_jie);
  8587. _formdiv = new U.UF.UI.form(
  8588. "CocoPi",
  8589. _box, {
  8590. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8591. "style": {
  8592. "width": "90%",
  8593. "height": "90%",
  8594. "overflow": 'hidden'
  8595. },
  8596. "onresize": function () { }
  8597. }, {
  8598. closecallback: function () { }
  8599. }, {
  8600. "style": {
  8601. "height": "36px"
  8602. }
  8603. }).form; //创建窗体
  8604. _taskbar = {
  8605. "id": str + _formdiv.id,
  8606. "style": {
  8607. "backgroundImage": "url(/img/icon/cocopi.png)"
  8608. },
  8609. "name": "CocoPi",
  8610. "forms": _formdiv,
  8611. "click": function () {
  8612. U.MD.D.I.openApplication(str, obj, info);
  8613. }
  8614. }
  8615. break;
  8616. }
  8617. if (_iframe) {
  8618. if (str == 'CocoPi') {
  8619. _iframe = _formdiv.querySelector('iframe')
  8620. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8621. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8622. })
  8623. if (onloadListener) {
  8624. _iframe.contentDocument.location.reload()
  8625. } else {
  8626. _iframe.contentDocument.location.reload()
  8627. }
  8628. }
  8629. _jie.onclick = async () => {
  8630. let text = ''
  8631. if (aTool == 57) {
  8632. text = _iframe.contentWindow.getLoadXmlStr()
  8633. }
  8634. _loading.style.display = 'flex'
  8635. console.log(_loading);
  8636. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8637. _loading.style.display = 'none'
  8638. let _div = document.createElement('div')
  8639. _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;"
  8640. let _inner = document.createElement('div')
  8641. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8642. _inner.innerHTML = "上传成功"
  8643. _div.appendChild(_inner)
  8644. _iframe.contentWindow.window.document.body.appendChild(_div)
  8645. _div.onclick = () => {
  8646. _iframe.contentWindow.window.document.body.removeChild(_div)
  8647. }
  8648. setTimeout(() => {
  8649. _iframe.contentWindow.window.document.body.removeChild(_div)
  8650. }, 1000);
  8651. }, [], { "type": "POST", "withCredentials": true });
  8652. }
  8653. }
  8654. }
  8655. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8656. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8657. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8658. _userid = student.userid, //登录用户id
  8659. _username = student.student //用户名字
  8660. let _iframe;
  8661. let _cid = cid,
  8662. _stage = stage,
  8663. _task = task,
  8664. _tool = tool;
  8665. var _jie = $$("div", {
  8666. "style": {
  8667. "position": "absolute",
  8668. "bottom": "50px",
  8669. "right": "50px",
  8670. "zIndex": "9999",
  8671. "backgroundColor": "#2268bc",
  8672. "color": "#fff",
  8673. "padding": "12px 20px",
  8674. "cursor": "pointer",
  8675. "borderRadius": "4px",
  8676. },
  8677. "innerHTML": "提交作业"
  8678. })
  8679. let aTool = ''
  8680. let _loading = document.createElement('div')
  8681. _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;"
  8682. // _loading.id = "";
  8683. let _lchild = document.createElement('div')
  8684. let _limg = document.createElement('img')
  8685. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8686. _limg.style = "width: 26px;margin-right: 10px;"
  8687. _lchild.appendChild(_limg)
  8688. let _lspan = document.createElement('span')
  8689. _lspan.innerHTML = "上传中..."
  8690. _lchild.appendChild(_lspan)
  8691. _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%);"
  8692. _loading.appendChild(_lchild)
  8693. var _box = $$('div', {
  8694. "style": {
  8695. "position": "relative",
  8696. "width": "100%",
  8697. "height": "100%",
  8698. },
  8699. })
  8700. _box.appendChild(_loading)
  8701. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8702. switch (str) {
  8703. case "CocoPi":
  8704. aTool = 57;
  8705. _iframe = $$("iframe", {
  8706. "allowpaymentrequest": "allowpaymentrequest",
  8707. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8708. "webkitallowfullscreen": "",
  8709. "mozallowfullscreen": "",
  8710. "frameborder": "no",
  8711. "border": "0",
  8712. "scrolling ": "no",
  8713. "style": {
  8714. "cssText": "border:0;width:100%;height:100%"
  8715. },
  8716. "src": "https://pi.cocorobo.cn/"
  8717. })
  8718. _box.appendChild(_iframe);
  8719. _box.appendChild(_jie);
  8720. _formdiv = new U.UF.UI.form(
  8721. "CocoPi-" + _username,
  8722. _box, {
  8723. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8724. "style": {
  8725. "width": "90%",
  8726. "height": "90%",
  8727. "overflow": 'hidden'
  8728. },
  8729. "onresize": function () { }
  8730. }, {
  8731. closecallback: function () { }
  8732. }, {
  8733. "style": {
  8734. "height": "36px"
  8735. }
  8736. }).form; //创建窗体
  8737. _taskbar = {
  8738. "id": str + _formdiv.id,
  8739. "style": {
  8740. "backgroundImage": "url(/img/icon/cocopi.png)"
  8741. },
  8742. "name": "CocoPi",
  8743. "forms": _formdiv,
  8744. "click": function () {
  8745. U.MD.D.I.openApplication(str, obj, info);
  8746. }
  8747. }
  8748. break;
  8749. }
  8750. if (_iframe) {
  8751. if (str == 'CocoPi') {
  8752. _iframe = _formdiv.querySelector('iframe')
  8753. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8754. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8755. })
  8756. if (onloadListener) {
  8757. _iframe.contentDocument.location.reload()
  8758. } else {
  8759. _iframe.contentDocument.location.reload()
  8760. }
  8761. }
  8762. _jie.onclick = async () => {
  8763. let text = ''
  8764. if (aTool == 57) {
  8765. text = _iframe.contentWindow.getLoadXmlStr()
  8766. }
  8767. _loading.style.display = 'flex'
  8768. console.log(_loading);
  8769. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8770. _loading.style.display = 'none'
  8771. let _div = document.createElement('div')
  8772. _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;"
  8773. let _inner = document.createElement('div')
  8774. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8775. _inner.innerHTML = "上传成功"
  8776. _div.appendChild(_inner)
  8777. _iframe.contentWindow.window.document.body.appendChild(_div)
  8778. _div.onclick = () => {
  8779. _iframe.contentWindow.window.document.body.removeChild(_div)
  8780. }
  8781. setTimeout(() => {
  8782. _iframe.contentWindow.window.document.body.removeChild(_div)
  8783. }, 1000);
  8784. }, [], { "type": "POST", "withCredentials": true });
  8785. }
  8786. }
  8787. }
  8788. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8789. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8790. if (res.value[0].length > 0) {
  8791. if (atool == 57) {
  8792. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8793. }
  8794. } else {
  8795. if (atool == 57) {
  8796. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8797. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8798. }
  8799. }
  8800. }, [], { "type": "POST", "withCredentials": true });
  8801. }