DeskTop.js 492 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257
  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. ];
  190. U.MD.D.I.orgStemDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  194. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  195. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  196. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  197. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  211. ];
  212. U.MD.D.I.szulsDeskIcon = [
  213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  215. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  216. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  217. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  218. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  219. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  220. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  221. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  224. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  225. ];
  226. U.MD.D.I.hanDeskIcon = [
  227. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  228. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  229. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  230. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  231. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  232. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  233. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  236. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  239. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  240. ];
  241. U.MD.D.I.GMteacherDeskIcon = [
  242. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  243. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  244. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  245. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  246. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  247. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  248. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  249. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  250. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  251. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  252. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  256. ];
  257. U.MD.D.I.GMstudentDeskIcon = [
  258. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  259. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  260. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  261. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  262. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  263. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  264. ];
  265. //北师大
  266. U.MD.D.I.BSDNSteacherDeskIcon = [
  267. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  268. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  269. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  270. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  271. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  272. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  273. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  274. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  275. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  276. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  277. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  278. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  279. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  280. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  281. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  282. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  283. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  284. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  285. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  286. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  287. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  288. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  289. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  290. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  291. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  292. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  293. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  294. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  295. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  296. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  297. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  298. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  299. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  300. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  301. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  302. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  303. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  304. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. //松山湖
  308. U.MD.D.I.SONGteacherDeskIcon = [
  309. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  310. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  311. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  312. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  313. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  314. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  315. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  316. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  317. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  318. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  319. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  320. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  321. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  322. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  323. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  324. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  325. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  326. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  327. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  328. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  329. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  330. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  331. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  332. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  333. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  334. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  335. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  336. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  337. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  338. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  339. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  341. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  342. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  343. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  344. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  345. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  346. ];
  347. U.MD.D.I.tcStudentDeskIcon = [
  348. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.tcTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  358. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  359. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  360. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  361. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  362. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  363. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  364. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  365. ];
  366. U.MD.D.I.tcOrganizerDeskIcon = [
  367. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  370. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  371. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  372. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  378. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  379. ];
  380. U.MD.D.I.szscStudentDeskIcon = [
  381. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscTeacherDeskIcon = [
  388. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  393. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  394. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  395. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  396. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  397. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  400. ];
  401. U.MD.D.I.szscOrganizerDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  407. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  408. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  409. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  413. ];
  414. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  415. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  416. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  417. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  418. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  419. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  420. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  421. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  422. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  423. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  424. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  425. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  426. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  429. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  430. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  431. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  432. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  433. ];
  434. U.MD.D.I.wankeAdminDeskIcon = [
  435. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  436. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  437. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  438. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  439. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  440. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  441. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  446. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  447. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  448. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  451. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  453. ];
  454. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  455. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  456. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  457. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  458. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  459. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  460. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  461. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  462. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  463. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  464. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  465. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  468. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  469. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  470. ];
  471. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  472. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  479. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  480. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  481. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  482. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  485. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  486. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  487. ];
  488. //明德教师桌面图标的全局变量
  489. U.MD.D.I.MingdeTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  497. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  498. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  499. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  500. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  501. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  502. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  503. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  504. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  505. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  506. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  507. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  508. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  509. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  510. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  511. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  512. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  513. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  514. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  515. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  516. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  517. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  522. ];
  523. //97c4ee8b-d010-4042-986d-e9d3c217264f
  524. //教师桌面图标的全局变量
  525. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  526. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  533. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  536. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  537. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  538. ];
  539. //福田
  540. U.MD.D.I.futianTeacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  546. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  549. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  550. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  553. ];
  554. //福田
  555. U.MD.D.I.futianAdminDeskIcon = [
  556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  563. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  564. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  565. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  566. ];
  567. //lotech
  568. U.MD.D.I.lotechTeacherDeskIcon = [
  569. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  570. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  573. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  574. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  575. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  576. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  577. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  578. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  579. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  580. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  581. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  584. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  585. ];
  586. //龙华中心小学教师桌面图标的全局变量
  587. U.MD.D.I.longhuateacherDeskIcon = [
  588. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  589. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  590. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  591. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  592. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  593. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  594. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  595. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  596. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  597. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  598. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  599. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  600. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  601. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  602. ];
  603. //教科院实小教师桌面图标的全局变量
  604. U.MD.D.I.siesteacherDeskIcon = [
  605. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  608. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  609. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  610. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  611. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  612. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  613. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  614. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  615. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  616. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  617. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  620. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  621. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  624. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  625. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  626. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  627. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  628. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  629. ];
  630. //教科院实小教师桌面图标的全局变量
  631. U.MD.D.I.siesStudentDeskIcon = [
  632. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  633. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  636. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  637. ];
  638. //福田
  639. U.MD.D.I.gdjgTeacherDeskIcon = [
  640. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  641. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  647. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  648. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  649. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  650. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  651. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  652. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  653. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  654. ];
  655. //gdjg
  656. U.MD.D.I.gdjgAdminDeskIcon = [
  657. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  658. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  660. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  661. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  662. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  663. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  664. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  665. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  666. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  667. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  668. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  669. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  670. ];
  671. //hk
  672. U.MD.D.I.hkteacherDeskIcon = [
  673. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  674. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  675. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  676. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  677. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  680. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  681. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  682. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  683. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  684. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  685. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  690. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  691. ];
  692. //hk
  693. U.MD.D.I.hkStudentDeskIcon = [
  694. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  699. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  700. ];
  701. //hk
  702. U.MD.D.I.hkaceteacherDeskIcon = [
  703. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  704. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  705. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  706. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  707. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  708. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  709. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  710. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  711. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  712. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  713. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  714. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  715. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  716. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  717. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  718. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  719. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  720. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  721. ];
  722. //hk
  723. U.MD.D.I.hkaceStudentDeskIcon = [
  724. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  725. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  726. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  727. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  728. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  730. ];
  731. //香海正覺蓮社佛教正覺中學
  732. U.MD.D.I.hkZJLSteacherDeskIcon = [
  733. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  734. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  735. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  736. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  737. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  738. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  739. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  740. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  741. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  742. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  743. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  744. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  745. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  746. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  748. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  749. ];
  750. //香海正覺蓮社佛教正覺中學
  751. U.MD.D.I.hkZJLSStudentDeskIcon = [
  752. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  753. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  754. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  755. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  756. ];
  757. //云海
  758. U.MD.D.I.yunhaiTeacherDeskIcon = [
  759. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  760. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  761. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  762. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  763. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  764. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  765. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  766. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  767. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  768. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  769. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  770. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  771. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  772. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  773. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  774. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  775. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  776. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  777. ];
  778. //福田
  779. U.MD.D.I.heyuanTeacherDeskIcon = [
  780. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  781. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  782. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  783. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  784. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  785. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  786. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  787. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  788. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  792. ];
  793. //福田
  794. U.MD.D.I.heyuanAdminDeskIcon = [
  795. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  796. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  800. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  801. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  802. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  803. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  804. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  805. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  806. ];
  807. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  808. U.MD.D.I.szherTeacherDeskIcon = [
  809. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  810. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  811. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  812. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  813. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  814. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  815. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  816. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  818. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  819. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  820. ];
  821. //dsei
  822. U.MD.D.I.dseiTeacherDeskIcon = [
  823. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  824. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  825. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  826. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  827. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  828. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  829. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  830. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  831. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  832. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  833. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  834. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  835. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  836. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  837. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  838. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  839. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  840. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  841. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  842. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  843. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  844. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  845. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  846. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  847. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  848. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  849. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  850. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  851. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  852. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  853. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  854. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  855. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  856. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  857. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  858. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  859. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  860. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  864. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  865. ];
  866. //dsei
  867. U.MD.D.I.dseiAdminDeskIcon = [
  868. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  869. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  870. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  871. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  872. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  873. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  874. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  875. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  876. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  877. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  878. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  879. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  880. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  881. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  882. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  883. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  884. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  885. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  886. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  887. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  888. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  889. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  890. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  891. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  892. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  893. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  894. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  895. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  896. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  897. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  898. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  899. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  900. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  901. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  902. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  903. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  904. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  905. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  906. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  907. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  908. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  909. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  910. ];
  911. //dsei
  912. U.MD.D.I.dseiStudentDeskIcon = [
  913. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  914. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  915. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  916. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  917. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  918. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  919. ];
  920. //未来教育基地
  921. U.MD.D.I.szjkyTeacherDeskIcon = [
  922. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  923. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  924. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  925. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  926. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  927. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  928. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  929. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  930. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  931. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  932. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  933. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  934. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  935. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  936. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  937. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  938. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  939. ];
  940. //未来教育基地
  941. U.MD.D.I.szjkyAdminDeskIcon = [
  942. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  943. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  944. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  945. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  946. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  947. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  948. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  949. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  950. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  951. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  952. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  953. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  954. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  955. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  956. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  957. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  958. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  959. ];
  960. //未来教育基地
  961. U.MD.D.I.szjkyStudentDeskIcon = [
  962. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  963. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  964. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  965. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  966. ];
  967. //成华教育局
  968. U.MD.D.I.chjyjTeacherDeskIcon = [
  969. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  970. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  971. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  972. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  973. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  974. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  975. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  976. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  977. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  978. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  979. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  980. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  981. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  982. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  983. ];
  984. //成华教育局chjyj
  985. U.MD.D.I.chjyjAdminDeskIcon = [
  986. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  987. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  988. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  989. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  990. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  991. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  992. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  993. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  994. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  995. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  996. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  997. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  998. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  999. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1000. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1001. ];
  1002. //成华教育局chjyj
  1003. U.MD.D.I.chjyjStudentDeskIcon = [
  1004. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1005. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1006. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1007. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1008. ];
  1009. //tpc
  1010. U.MD.D.I.tpcStudentDeskIcon = [
  1011. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1012. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1013. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1014. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. ];
  1016. //tpc
  1017. U.MD.D.I.tpcTeacherDeskIcon = [
  1018. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1019. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1020. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1021. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1022. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1024. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1025. ];
  1026. //tpc
  1027. U.MD.D.I.tpcAdminDeskIcon = [
  1028. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1029. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1030. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1031. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1032. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1033. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1034. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1035. ];
  1036. //THU-IOE
  1037. U.MD.D.I.thuioeTeacherDeskIcon = [
  1038. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1039. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1040. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1041. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1042. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1045. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1046. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1047. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1048. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1049. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1050. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1051. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1052. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1053. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1054. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1055. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1056. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1057. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1058. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1059. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1060. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1061. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1062. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1063. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1064. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1065. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1066. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1067. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1068. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1069. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1070. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1071. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1072. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1073. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1074. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1075. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1076. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1077. ];
  1078. //THU-IOE
  1079. U.MD.D.I.thuioeStudentDeskIcon = [
  1080. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1081. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1082. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1083. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1084. ];
  1085. //jccssyl
  1086. U.MD.D.I.jccssylTeacherDeskIcon = [
  1087. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1088. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1089. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1090. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1091. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1092. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1093. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1094. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1095. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1096. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1097. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1098. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1099. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1100. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1101. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1102. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1103. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1105. ];
  1106. //jccssyl
  1107. U.MD.D.I.jccssylStudentDeskIcon = [
  1108. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1109. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1110. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1111. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1112. ];
  1113. //#region 桌面初始化a
  1114. /**
  1115. * 初始化桌面的起始函数
  1116. *
  1117. */
  1118. U.MD.D.I.init = function () {
  1119. if ($("#U_MD_D_K")[0]) {
  1120. //初始化桌面图标
  1121. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1122. // var clickUrl = ':12588/requestIp.php';
  1123. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1124. // U.MD.D.I.Ip = data;
  1125. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1126. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1127. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1128. // })
  1129. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1130. // })
  1131. }
  1132. }
  1133. /**
  1134. * 模式切换
  1135. *
  1136. */
  1137. U.MD.D.I.ModeCheck = function (type) {
  1138. if (US.Config.type == type) {
  1139. return
  1140. }
  1141. US.Config.type = type
  1142. $('.U_PBL_Check .active')[0].className = ''
  1143. if (type == 1) {
  1144. $('.U_PBL_Check div')[0].className = 'active'
  1145. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1146. } else {
  1147. $('.U_PBL_Check div')[1].className = 'active'
  1148. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1149. }
  1150. //初始化桌面图标
  1151. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1152. if (type == 2) {
  1153. U.MD.D.I.openApplication("project")
  1154. }
  1155. }
  1156. /**
  1157. * 隐藏任务栏
  1158. *
  1159. * @param {element} 桌面元素
  1160. */
  1161. U.MD.D.I.hiddenTaskbar = function (el) {
  1162. //任务栏位置变小
  1163. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1164. //桌面的位置变大
  1165. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1166. }
  1167. /**
  1168. * 隐藏任务栏
  1169. *
  1170. * @param {element} 桌面元素
  1171. */
  1172. U.MD.D.I.hiddenTaskbarout = function (el) {
  1173. //任务栏位置变小
  1174. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1175. //任务栏位置变化
  1176. U.selectEl(el).css({ "bottom": "-60px" });
  1177. //桌面的位置变大
  1178. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1179. }
  1180. }
  1181. /**
  1182. * 初始化打印桌面图标
  1183. *
  1184. * @param {element} 桌面元素
  1185. */
  1186. U.MD.D.I.initDesktopIcons = function (el, type) {
  1187. var i, //用于循环
  1188. _content, //桌面图标元素
  1189. _iconcontent, //桌面图标元素
  1190. _frag = $$("frag"), //定义一个碎片元素
  1191. _type = US.userInfo.type,
  1192. _org = US.userInfo.org,
  1193. _oid = US.userInfo.organizeid,
  1194. _role = US.userInfo.role,
  1195. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1196. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1197. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1198. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1199. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1200. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1201. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1202. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1203. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1204. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1205. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1206. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1207. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1208. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1209. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1210. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1211. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1212. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1213. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1214. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1215. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1216. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1217. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1218. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1219. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1220. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1221. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1222. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1223. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1224. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1225. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1226. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1227. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1228. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1229. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1230. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1231. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1232. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1233. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1234. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1235. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1236. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1237. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1238. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1239. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1240. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1241. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1242. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1243. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1244. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1245. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1246. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1247. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1248. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1249. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1250. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1251. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1252. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1253. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1254. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1255. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1256. 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'];
  1257. 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'];
  1258. //清楚桌面图标
  1259. el.innerHTML = "";
  1260. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1261. _teacherDesktopIconInfo.push(
  1262. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1263. { "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)" } },
  1264. )
  1265. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1266. }
  1267. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1268. _teacherDesktopIconInfo.push(
  1269. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1270. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1271. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1272. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1273. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1274. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1275. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1276. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.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. )
  1281. }
  1282. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1283. // _teacherDesktopIconInfo.push(
  1284. // )
  1285. // }
  1286. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1287. _teacherDesktopIconInfo.push(
  1288. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1289. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1290. )
  1291. }
  1292. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1293. _teacherDesktopIconInfo.push(
  1294. )
  1295. }
  1296. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1297. _teacherDesktopIconInfo.push(
  1298. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1299. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1300. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1301. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1302. )
  1303. _studentDesktopIconInfo.push(
  1304. )
  1305. }
  1306. //麒麟二中 和 民新小学
  1307. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1308. _teacherDesktopIconInfo.push(
  1309. )
  1310. }
  1311. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1312. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1313. _teacherDesktopIconInfo.push(
  1314. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1315. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1316. )
  1317. }
  1318. //麒麟二中
  1319. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1320. _studentDesktopIconInfo.push(
  1321. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1322. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1323. )
  1324. }
  1325. //万科双语
  1326. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1327. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1328. if (el.Name == '项目管理') {
  1329. el.Name = 'PBL项目'
  1330. }
  1331. return el
  1332. })
  1333. _studentDesktopIconInfo3.push(
  1334. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1335. )
  1336. }
  1337. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1338. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1339. return el.Name != '魔盒识字' && el.Name != '24点'
  1340. })
  1341. }
  1342. 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) {
  1343. _studentDesktopIconInfo.push(
  1344. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1345. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1346. )
  1347. }
  1348. //循环创建桌面图标
  1349. if (type == 1) {
  1350. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1351. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1352. _content = $$("div", {
  1353. className: "U_MD_D_KO",
  1354. "onmousedown": U.UF.C.closure(function (obj) {
  1355. //防止拖动图标即打开了桌面应用
  1356. U.MD.D.click(this, obj);
  1357. }, [_studentDesktopIconInfo[i]]),
  1358. "onclick": U.UF.C.closure(function (obj) {
  1359. //防止拖动图标即打开了桌面应用
  1360. U.MD.D.click(this, obj);
  1361. }, [_studentDesktopIconInfo[i]])
  1362. }, _frag); //
  1363. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1364. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1365. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1366. }
  1367. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1368. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1369. _content = $$("div", {
  1370. className: "U_MD_D_KO",
  1371. "onmousedown": U.UF.C.closure(function (obj) {
  1372. //防止拖动图标即打开了桌面应用
  1373. U.MD.D.click(this, obj);
  1374. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1375. "onclick": U.UF.C.closure(function (obj) {
  1376. //防止拖动图标即打开了桌面应用
  1377. U.MD.D.click(this, obj);
  1378. }, [_hkZJLSStudentDeskIconInfo[i]])
  1379. }, _frag); //
  1380. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1381. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1382. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1383. } //
  1384. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1385. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1386. _content = $$("div", {
  1387. className: "U_MD_D_KO",
  1388. "onmousedown": U.UF.C.closure(function (obj) {
  1389. //防止拖动图标即打开了桌面应用
  1390. U.MD.D.click(this, obj);
  1391. }, [_jccssylStudentDeskIconInfo[i]]),
  1392. "onclick": U.UF.C.closure(function (obj) {
  1393. //防止拖动图标即打开了桌面应用
  1394. U.MD.D.click(this, obj);
  1395. }, [_jccssylStudentDeskIconInfo[i]])
  1396. }, _frag); //
  1397. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1398. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1399. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1400. }
  1401. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1402. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1403. _content = $$("div", {
  1404. className: "U_MD_D_KO",
  1405. "onmousedown": U.UF.C.closure(function (obj) {
  1406. //防止拖动图标即打开了桌面应用
  1407. U.MD.D.click(this, obj);
  1408. }, [_thuioeStudentDeskIconInfo[i]]),
  1409. "onclick": U.UF.C.closure(function (obj) {
  1410. //防止拖动图标即打开了桌面应用
  1411. U.MD.D.click(this, obj);
  1412. }, [_thuioeStudentDeskIconInfo[i]])
  1413. }, _frag); //
  1414. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1415. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1416. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1417. }
  1418. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1419. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1420. _content = $$("div", {
  1421. className: "U_MD_D_KO",
  1422. "onmousedown": U.UF.C.closure(function (obj) {
  1423. //防止拖动图标即打开了桌面应用
  1424. U.MD.D.click(this, obj);
  1425. }, [_tpcStudentDeskIconInfo[i]]),
  1426. "onclick": U.UF.C.closure(function (obj) {
  1427. //防止拖动图标即打开了桌面应用
  1428. U.MD.D.click(this, obj);
  1429. }, [_tpcStudentDeskIconInfo[i]])
  1430. }, _frag); //
  1431. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1432. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1433. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1434. } //
  1435. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1436. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1437. _content = $$("div", {
  1438. className: "U_MD_D_KO",
  1439. "onmousedown": U.UF.C.closure(function (obj) {
  1440. //防止拖动图标即打开了桌面应用
  1441. U.MD.D.click(this, obj);
  1442. }, [_chjyjStudentDeskIconInfo[i]]),
  1443. "onclick": U.UF.C.closure(function (obj) {
  1444. //防止拖动图标即打开了桌面应用
  1445. U.MD.D.click(this, obj);
  1446. }, [_chjyjStudentDeskIconInfo[i]])
  1447. }, _frag); //
  1448. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1449. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1450. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1451. }
  1452. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1453. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1454. _content = $$("div", {
  1455. className: "U_MD_D_KO",
  1456. "onmousedown": U.UF.C.closure(function (obj) {
  1457. //防止拖动图标即打开了桌面应用
  1458. U.MD.D.click(this, obj);
  1459. }, [_szjkyStudentDeskIconInfo[i]]),
  1460. "onclick": U.UF.C.closure(function (obj) {
  1461. //防止拖动图标即打开了桌面应用
  1462. U.MD.D.click(this, obj);
  1463. }, [_szjkyStudentDeskIconInfo[i]])
  1464. }, _frag); //
  1465. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1466. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1467. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1468. }
  1469. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1470. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1471. _content = $$("div", {
  1472. className: "U_MD_D_KO",
  1473. "onmousedown": U.UF.C.closure(function (obj) {
  1474. //防止拖动图标即打开了桌面应用
  1475. U.MD.D.click(this, obj);
  1476. }, [_dseiStudentDeskIconInfo[i]]),
  1477. "onclick": U.UF.C.closure(function (obj) {
  1478. //防止拖动图标即打开了桌面应用
  1479. U.MD.D.click(this, obj);
  1480. }, [_dseiStudentDeskIconInfo[i]])
  1481. }, _frag); //
  1482. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1483. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1484. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1485. }
  1486. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1487. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1488. _content = $$("div", {
  1489. className: "U_MD_D_KO",
  1490. "onmousedown": U.UF.C.closure(function (obj) {
  1491. //防止拖动图标即打开了桌面应用
  1492. U.MD.D.click(this, obj);
  1493. }, [_siesStudentDeskIconInfo[i]]),
  1494. "onclick": U.UF.C.closure(function (obj) {
  1495. //防止拖动图标即打开了桌面应用
  1496. U.MD.D.click(this, obj);
  1497. }, [_siesStudentDeskIconInfo[i]])
  1498. }, _frag); //
  1499. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1500. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1501. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1502. }
  1503. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1504. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1505. _content = $$("div", {
  1506. className: "U_MD_D_KO",
  1507. "onmousedown": U.UF.C.closure(function (obj) {
  1508. //防止拖动图标即打开了桌面应用
  1509. U.MD.D.click(this, obj);
  1510. }, [_hkStudentDeskIconInfo[i]]),
  1511. "onclick": U.UF.C.closure(function (obj) {
  1512. //防止拖动图标即打开了桌面应用
  1513. U.MD.D.click(this, obj);
  1514. }, [_hkStudentDeskIconInfo[i]])
  1515. }, _frag); //
  1516. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1517. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1518. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1519. }
  1520. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1521. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1522. _content = $$("div", {
  1523. className: "U_MD_D_KO",
  1524. "onmousedown": U.UF.C.closure(function (obj) {
  1525. //防止拖动图标即打开了桌面应用
  1526. U.MD.D.click(this, obj);
  1527. }, [_hkaceStudentDeskIconInfo[i]]),
  1528. "onclick": U.UF.C.closure(function (obj) {
  1529. //防止拖动图标即打开了桌面应用
  1530. U.MD.D.click(this, obj);
  1531. }, [_hkaceStudentDeskIconInfo[i]])
  1532. }, _frag); //
  1533. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1534. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1535. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1536. }
  1537. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1538. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1539. _content = $$("div", {
  1540. className: "U_MD_D_KO",
  1541. "onmousedown": U.UF.C.closure(function (obj) {
  1542. //防止拖动图标即打开了桌面应用
  1543. U.MD.D.click(this, obj);
  1544. }, [_studentDesktopIconInfo[i]]),
  1545. "onclick": U.UF.C.closure(function (obj) {
  1546. //防止拖动图标即打开了桌面应用
  1547. U.MD.D.click(this, obj);
  1548. }, [_studentDesktopIconInfo[i]])
  1549. }, _frag); //
  1550. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1551. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1552. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1553. }
  1554. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1555. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1556. _content = $$("div", {
  1557. className: "U_MD_D_KO",
  1558. "onmousedown": U.UF.C.closure(function (obj) {
  1559. //防止拖动图标即打开了桌面应用
  1560. U.MD.D.click(this, obj);
  1561. }, [_tcStudentDeskIconInfo[i]]),
  1562. "onclick": U.UF.C.closure(function (obj) {
  1563. //防止拖动图标即打开了桌面应用
  1564. U.MD.D.click(this, obj);
  1565. }, [_tcStudentDeskIconInfo[i]])
  1566. }, _frag); //
  1567. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1568. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1569. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1570. }
  1571. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1572. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1573. _content = $$("div", {
  1574. className: "U_MD_D_KO",
  1575. "onmousedown": U.UF.C.closure(function (obj) {
  1576. //防止拖动图标即打开了桌面应用
  1577. U.MD.D.click(this, obj);
  1578. }, [_szscStudentDeskIconInfo[i]]),
  1579. "onclick": U.UF.C.closure(function (obj) {
  1580. //防止拖动图标即打开了桌面应用
  1581. U.MD.D.click(this, obj);
  1582. }, [_szscStudentDeskIconInfo[i]])
  1583. }, _frag); //
  1584. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1585. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1586. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1587. }
  1588. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1589. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1590. _content = $$("div", {
  1591. className: "U_MD_D_KO",
  1592. "onmousedown": U.UF.C.closure(function (obj) {
  1593. //防止拖动图标即打开了桌面应用
  1594. U.MD.D.click(this, obj);
  1595. }, [_studentDesktopIconInfo3[i]]),
  1596. "onclick": U.UF.C.closure(function (obj) {
  1597. //防止拖动图标即打开了桌面应用
  1598. U.MD.D.click(this, obj);
  1599. }, [_studentDesktopIconInfo3[i]])
  1600. }, _frag); //
  1601. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1602. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1603. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1604. }
  1605. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1606. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1607. _content = $$("div", {
  1608. className: "U_MD_D_KO",
  1609. "onmousedown": U.UF.C.closure(function (obj) {
  1610. //防止拖动图标即打开了桌面应用
  1611. U.MD.D.click(this, obj);
  1612. }, [_studentDesktopIconInfo2[i]]),
  1613. "onclick": U.UF.C.closure(function (obj) {
  1614. //防止拖动图标即打开了桌面应用
  1615. U.MD.D.click(this, obj);
  1616. }, [_studentDesktopIconInfo2[i]])
  1617. }, _frag); //
  1618. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1619. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1620. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1621. }
  1622. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1623. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1624. _content = $$("div", {
  1625. className: "U_MD_D_KO",
  1626. "onmousedown": U.UF.C.closure(function (obj) {
  1627. //防止拖动图标即打开了桌面应用
  1628. U.MD.D.click(this, obj);
  1629. }, [_wanketeacherDesktopIconInfo[i]]),
  1630. "onclick": U.UF.C.closure(function (obj) {
  1631. //防止拖动图标即打开了桌面应用
  1632. U.MD.D.click(this, obj);
  1633. }, [_wanketeacherDesktopIconInfo[i]])
  1634. }, _frag); //
  1635. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1636. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1637. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1638. }
  1639. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1640. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1641. _content = $$("div", {
  1642. className: "U_MD_D_KO",
  1643. "onmousedown": U.UF.C.closure(function (obj) {
  1644. //防止拖动图标即打开了桌面应用
  1645. U.MD.D.click(this, obj);
  1646. }, [_wankeAdminDesktopIconInfo[i]]),
  1647. "onclick": U.UF.C.closure(function (obj) {
  1648. //防止拖动图标即打开了桌面应用
  1649. U.MD.D.click(this, obj);
  1650. }, [_wankeAdminDesktopIconInfo[i]])
  1651. }, _frag); //
  1652. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1653. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1654. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1655. }
  1656. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1657. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1658. _content = $$("div", {
  1659. className: "U_MD_D_KO",
  1660. "onmousedown": U.UF.C.closure(function (obj) {
  1661. //防止拖动图标即打开了桌面应用
  1662. U.MD.D.click(this, obj);
  1663. }, [_jccssylTeacherDeskIconInfo[i]]),
  1664. "onclick": U.UF.C.closure(function (obj) {
  1665. //防止拖动图标即打开了桌面应用
  1666. U.MD.D.click(this, obj);
  1667. }, [_jccssylTeacherDeskIconInfo[i]])
  1668. }, _frag); //
  1669. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1670. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1671. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1672. }
  1673. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1674. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1675. _content = $$("div", {
  1676. className: "U_MD_D_KO",
  1677. "onmousedown": U.UF.C.closure(function (obj) {
  1678. //防止拖动图标即打开了桌面应用
  1679. U.MD.D.click(this, obj);
  1680. }, [_tpcOrganizerDeskIconInfo[i]]),
  1681. "onclick": U.UF.C.closure(function (obj) {
  1682. //防止拖动图标即打开了桌面应用
  1683. U.MD.D.click(this, obj);
  1684. }, [_tpcOrganizerDeskIconInfo[i]])
  1685. }, _frag); //
  1686. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1687. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1688. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1689. }
  1690. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1691. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1692. _content = $$("div", {
  1693. className: "U_MD_D_KO",
  1694. "onmousedown": U.UF.C.closure(function (obj) {
  1695. //防止拖动图标即打开了桌面应用
  1696. U.MD.D.click(this, obj);
  1697. }, [_tpcTeacherDeskIconInfo[i]]),
  1698. "onclick": U.UF.C.closure(function (obj) {
  1699. //防止拖动图标即打开了桌面应用
  1700. U.MD.D.click(this, obj);
  1701. }, [_tpcTeacherDeskIconInfo[i]])
  1702. }, _frag); //
  1703. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1704. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1705. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1706. }
  1707. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1708. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1709. _content = $$("div", {
  1710. className: "U_MD_D_KO",
  1711. "onmousedown": U.UF.C.closure(function (obj) {
  1712. //防止拖动图标即打开了桌面应用
  1713. U.MD.D.click(this, obj);
  1714. }, [_teacherDesktopIconInfo2[i]]),
  1715. "onclick": U.UF.C.closure(function (obj) {
  1716. //防止拖动图标即打开了桌面应用
  1717. U.MD.D.click(this, obj);
  1718. }, [_teacherDesktopIconInfo2[i]])
  1719. }, _frag); //
  1720. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1721. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1722. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1723. }
  1724. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1725. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1726. _content = $$("div", {
  1727. className: "U_MD_D_KO",
  1728. "onmousedown": U.UF.C.closure(function (obj) {
  1729. //防止拖动图标即打开了桌面应用
  1730. U.MD.D.click(this, obj);
  1731. }, [_thuioeTeacherDeskIconInfo[i]]),
  1732. "onclick": U.UF.C.closure(function (obj) {
  1733. //防止拖动图标即打开了桌面应用
  1734. U.MD.D.click(this, obj);
  1735. }, [_thuioeTeacherDeskIconInfo[i]])
  1736. }, _frag); //
  1737. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1738. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1739. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1740. }
  1741. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1742. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1743. _content = $$("div", {
  1744. className: "U_MD_D_KO",
  1745. "onmousedown": U.UF.C.closure(function (obj) {
  1746. //防止拖动图标即打开了桌面应用
  1747. U.MD.D.click(this, obj);
  1748. }, [_lotechTeacherDeskIconInfo[i]]),
  1749. "onclick": U.UF.C.closure(function (obj) {
  1750. //防止拖动图标即打开了桌面应用
  1751. U.MD.D.click(this, obj);
  1752. }, [_lotechTeacherDeskIconInfo[i]])
  1753. }, _frag); //
  1754. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1755. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1756. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1757. }//
  1758. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1759. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1760. _content = $$("div", {
  1761. className: "U_MD_D_KO",
  1762. "onmousedown": U.UF.C.closure(function (obj) {
  1763. //防止拖动图标即打开了桌面应用
  1764. U.MD.D.click(this, obj);
  1765. }, [_siesTeacherDeskIconInfo[i]]),
  1766. "onclick": U.UF.C.closure(function (obj) {
  1767. //防止拖动图标即打开了桌面应用
  1768. U.MD.D.click(this, obj);
  1769. }, [_siesTeacherDeskIconInfo[i]])
  1770. }, _frag); //
  1771. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1772. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1773. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1774. }
  1775. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1776. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1777. _content = $$("div", {
  1778. className: "U_MD_D_KO",
  1779. "onmousedown": U.UF.C.closure(function (obj) {
  1780. //防止拖动图标即打开了桌面应用
  1781. U.MD.D.click(this, obj);
  1782. }, [_longhuaTeacherDeskIconInfo[i]]),
  1783. "onclick": U.UF.C.closure(function (obj) {
  1784. //防止拖动图标即打开了桌面应用
  1785. U.MD.D.click(this, obj);
  1786. }, [_longhuaTeacherDeskIconInfo[i]])
  1787. }, _frag); //
  1788. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1789. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1790. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1791. }
  1792. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1793. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1794. _content = $$("div", {
  1795. className: "U_MD_D_KO",
  1796. "onmousedown": U.UF.C.closure(function (obj) {
  1797. //防止拖动图标即打开了桌面应用
  1798. U.MD.D.click(this, obj);
  1799. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1800. "onclick": U.UF.C.closure(function (obj) {
  1801. //防止拖动图标即打开了桌面应用
  1802. U.MD.D.click(this, obj);
  1803. }, [_yunhaiTeacherDeskIconInfo[i]])
  1804. }, _frag); //
  1805. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1806. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1807. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1808. } //_hkStudentDeskIconInfo
  1809. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1810. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1811. _content = $$("div", {
  1812. className: "U_MD_D_KO",
  1813. "onmousedown": U.UF.C.closure(function (obj) {
  1814. //防止拖动图标即打开了桌面应用
  1815. U.MD.D.click(this, obj);
  1816. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1817. "onclick": U.UF.C.closure(function (obj) {
  1818. //防止拖动图标即打开了桌面应用
  1819. U.MD.D.click(this, obj);
  1820. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1821. }, _frag); //
  1822. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1823. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1824. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1825. }
  1826. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1827. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1828. _content = $$("div", {
  1829. className: "U_MD_D_KO",
  1830. "onmousedown": U.UF.C.closure(function (obj) {
  1831. //防止拖动图标即打开了桌面应用
  1832. U.MD.D.click(this, obj);
  1833. }, [_hkTeacherDeskIconInfo[i]]),
  1834. "onclick": U.UF.C.closure(function (obj) {
  1835. //防止拖动图标即打开了桌面应用
  1836. U.MD.D.click(this, obj);
  1837. }, [_hkTeacherDeskIconInfo[i]])
  1838. }, _frag); //
  1839. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1840. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1841. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1842. }
  1843. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1844. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1845. _content = $$("div", {
  1846. className: "U_MD_D_KO",
  1847. "onmousedown": U.UF.C.closure(function (obj) {
  1848. //防止拖动图标即打开了桌面应用
  1849. U.MD.D.click(this, obj);
  1850. }, [_hkaceTeacherDeskIconInfo[i]]),
  1851. "onclick": U.UF.C.closure(function (obj) {
  1852. //防止拖动图标即打开了桌面应用
  1853. U.MD.D.click(this, obj);
  1854. }, [_hkaceTeacherDeskIconInfo[i]])
  1855. }, _frag); //
  1856. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1857. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1858. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1859. }
  1860. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1861. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1862. _content = $$("div", {
  1863. className: "U_MD_D_KO",
  1864. "onmousedown": U.UF.C.closure(function (obj) {
  1865. //防止拖动图标即打开了桌面应用
  1866. U.MD.D.click(this, obj);
  1867. }, [_gdjgAdminDeskIconInfo[i]]),
  1868. "onclick": U.UF.C.closure(function (obj) {
  1869. //防止拖动图标即打开了桌面应用
  1870. U.MD.D.click(this, obj);
  1871. }, [_gdjgAdminDeskIconInfo[i]])
  1872. }, _frag); //
  1873. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1874. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1875. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1876. }
  1877. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1878. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1879. _content = $$("div", {
  1880. className: "U_MD_D_KO",
  1881. "onmousedown": U.UF.C.closure(function (obj) {
  1882. //防止拖动图标即打开了桌面应用
  1883. U.MD.D.click(this, obj);
  1884. }, [_gdjgTeacherDeskIconInfo[i]]),
  1885. "onclick": U.UF.C.closure(function (obj) {
  1886. //防止拖动图标即打开了桌面应用
  1887. U.MD.D.click(this, obj);
  1888. }, [_gdjgTeacherDeskIconInfo[i]])
  1889. }, _frag); //
  1890. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1891. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1892. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1893. }
  1894. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1895. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1896. _content = $$("div", {
  1897. className: "U_MD_D_KO",
  1898. "onmousedown": U.UF.C.closure(function (obj) {
  1899. //防止拖动图标即打开了桌面应用
  1900. U.MD.D.click(this, obj);
  1901. }, [_szherTeacherDeskIconInfo[i]]),
  1902. "onclick": U.UF.C.closure(function (obj) {
  1903. //防止拖动图标即打开了桌面应用
  1904. U.MD.D.click(this, obj);
  1905. }, [_szherTeacherDeskIconInfo[i]])
  1906. }, _frag); //
  1907. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1908. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1909. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1910. }
  1911. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1912. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1913. _content = $$("div", {
  1914. className: "U_MD_D_KO",
  1915. "onmousedown": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_heyuannAdminDeskIconInfo[i]]),
  1919. "onclick": U.UF.C.closure(function (obj) {
  1920. //防止拖动图标即打开了桌面应用
  1921. U.MD.D.click(this, obj);
  1922. }, [_heyuannAdminDeskIconInfo[i]])
  1923. }, _frag); //
  1924. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1925. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1926. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1927. }
  1928. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1929. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1930. _content = $$("div", {
  1931. className: "U_MD_D_KO",
  1932. "onmousedown": U.UF.C.closure(function (obj) {
  1933. //防止拖动图标即打开了桌面应用
  1934. U.MD.D.click(this, obj);
  1935. }, [_heyuanTeacherDeskIconInfo[i]]),
  1936. "onclick": U.UF.C.closure(function (obj) {
  1937. //防止拖动图标即打开了桌面应用
  1938. U.MD.D.click(this, obj);
  1939. }, [_heyuanTeacherDeskIconInfo[i]])
  1940. }, _frag); //
  1941. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1942. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1943. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1944. } //
  1945. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1946. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1947. _content = $$("div", {
  1948. className: "U_MD_D_KO",
  1949. "onmousedown": U.UF.C.closure(function (obj) {
  1950. //防止拖动图标即打开了桌面应用
  1951. U.MD.D.click(this, obj);
  1952. }, [_dseiAdminDeskIconInfo[i]]),
  1953. "onclick": U.UF.C.closure(function (obj) {
  1954. //防止拖动图标即打开了桌面应用
  1955. U.MD.D.click(this, obj);
  1956. }, [_dseiAdminDeskIconInfo[i]])
  1957. }, _frag); //
  1958. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1959. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1960. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1961. }
  1962. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1963. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1964. _content = $$("div", {
  1965. className: "U_MD_D_KO",
  1966. "onmousedown": U.UF.C.closure(function (obj) {
  1967. //防止拖动图标即打开了桌面应用
  1968. U.MD.D.click(this, obj);
  1969. }, [_dseiTeacherDeskIconInfo[i]]),
  1970. "onclick": U.UF.C.closure(function (obj) {
  1971. //防止拖动图标即打开了桌面应用
  1972. U.MD.D.click(this, obj);
  1973. }, [_dseiTeacherDeskIconInfo[i]])
  1974. }, _frag); //
  1975. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1976. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1977. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1978. } //
  1979. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1980. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1981. _content = $$("div", {
  1982. className: "U_MD_D_KO",
  1983. "onmousedown": U.UF.C.closure(function (obj) {
  1984. //防止拖动图标即打开了桌面应用
  1985. U.MD.D.click(this, obj);
  1986. }, [_chjyjAdminDeskIconInfo[i]]),
  1987. "onclick": U.UF.C.closure(function (obj) {
  1988. //防止拖动图标即打开了桌面应用
  1989. U.MD.D.click(this, obj);
  1990. }, [_chjyjAdminDeskIconInfo[i]])
  1991. }, _frag); //
  1992. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1993. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1994. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1995. }//
  1996. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1997. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1998. _content = $$("div", {
  1999. className: "U_MD_D_KO",
  2000. "onmousedown": U.UF.C.closure(function (obj) {
  2001. //防止拖动图标即打开了桌面应用
  2002. U.MD.D.click(this, obj);
  2003. }, [_chjyjTeacherDeskIconInfo[i]]),
  2004. "onclick": U.UF.C.closure(function (obj) {
  2005. //防止拖动图标即打开了桌面应用
  2006. U.MD.D.click(this, obj);
  2007. }, [_chjyjTeacherDeskIconInfo[i]])
  2008. }, _frag); //
  2009. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2010. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2011. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2012. }
  2013. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2014. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2015. _content = $$("div", {
  2016. className: "U_MD_D_KO",
  2017. "onmousedown": U.UF.C.closure(function (obj) {
  2018. //防止拖动图标即打开了桌面应用
  2019. U.MD.D.click(this, obj);
  2020. }, [_szjkyAdminDeskIconInfo[i]]),
  2021. "onclick": U.UF.C.closure(function (obj) {
  2022. //防止拖动图标即打开了桌面应用
  2023. U.MD.D.click(this, obj);
  2024. }, [_szjkyAdminDeskIconInfo[i]])
  2025. }, _frag); //
  2026. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2027. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2028. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2029. }//
  2030. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2031. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2032. _content = $$("div", {
  2033. className: "U_MD_D_KO",
  2034. "onmousedown": U.UF.C.closure(function (obj) {
  2035. //防止拖动图标即打开了桌面应用
  2036. U.MD.D.click(this, obj);
  2037. }, [_szjkyTeacherDeskIconInfo[i]]),
  2038. "onclick": U.UF.C.closure(function (obj) {
  2039. //防止拖动图标即打开了桌面应用
  2040. U.MD.D.click(this, obj);
  2041. }, [_szjkyTeacherDeskIconInfo[i]])
  2042. }, _frag); //
  2043. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2044. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2045. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2046. }
  2047. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2048. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2049. _content = $$("div", {
  2050. className: "U_MD_D_KO",
  2051. "onmousedown": U.UF.C.closure(function (obj) {
  2052. //防止拖动图标即打开了桌面应用
  2053. U.MD.D.click(this, obj);
  2054. }, [_futianAdminDeskIconInfo[i]]),
  2055. "onclick": U.UF.C.closure(function (obj) {
  2056. //防止拖动图标即打开了桌面应用
  2057. U.MD.D.click(this, obj);
  2058. }, [_futianAdminDeskIconInfo[i]])
  2059. }, _frag); //
  2060. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2061. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2062. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2063. }
  2064. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2065. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2066. _content = $$("div", {
  2067. className: "U_MD_D_KO",
  2068. "onmousedown": U.UF.C.closure(function (obj) {
  2069. //防止拖动图标即打开了桌面应用
  2070. U.MD.D.click(this, obj);
  2071. }, [_futianTeacherDeskIconInfo[i]]),
  2072. "onclick": U.UF.C.closure(function (obj) {
  2073. //防止拖动图标即打开了桌面应用
  2074. U.MD.D.click(this, obj);
  2075. }, [_futianTeacherDeskIconInfo[i]])
  2076. }, _frag); //
  2077. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2078. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2079. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2080. }
  2081. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2082. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2083. _content = $$("div", {
  2084. className: "U_MD_D_KO",
  2085. "onmousedown": U.UF.C.closure(function (obj) {
  2086. //防止拖动图标即打开了桌面应用
  2087. U.MD.D.click(this, obj);
  2088. }, [_MingdeTeacherDeskIcon[i]]),
  2089. "onclick": U.UF.C.closure(function (obj) {
  2090. //防止拖动图标即打开了桌面应用
  2091. U.MD.D.click(this, obj);
  2092. }, [_MingdeTeacherDeskIcon[i]])
  2093. }, _frag); //
  2094. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2095. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2096. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2097. }
  2098. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2099. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2100. _content = $$("div", {
  2101. className: "U_MD_D_KO",
  2102. "onmousedown": U.UF.C.closure(function (obj) {
  2103. //防止拖动图标即打开了桌面应用
  2104. U.MD.D.click(this, obj);
  2105. }, [_lhsAdminDesktopIconInfo[i]]),
  2106. "onclick": U.UF.C.closure(function (obj) {
  2107. //防止拖动图标即打开了桌面应用
  2108. U.MD.D.click(this, obj);
  2109. }, [_lhsAdminDesktopIconInfo[i]])
  2110. }, _frag); //
  2111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2114. }
  2115. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2116. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  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. }, [_lhsteacherDesktopIconInfo[i]]),
  2123. "onclick": U.UF.C.closure(function (obj) {
  2124. //防止拖动图标即打开了桌面应用
  2125. U.MD.D.click(this, obj);
  2126. }, [_lhsteacherDesktopIconInfo[i]])
  2127. }, _frag); //
  2128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2131. }
  2132. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2133. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2134. _content = $$("div", {
  2135. className: "U_MD_D_KO",
  2136. "onmousedown": U.UF.C.closure(function (obj) {
  2137. //防止拖动图标即打开了桌面应用
  2138. U.MD.D.click(this, obj);
  2139. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2140. "onclick": U.UF.C.closure(function (obj) {
  2141. //防止拖动图标即打开了桌面应用
  2142. U.MD.D.click(this, obj);
  2143. }, [_zhoujiateacherDesktopIconInfo[i]])
  2144. }, _frag); //
  2145. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2146. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2147. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2148. }
  2149. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2150. for (i = 0; i < _hanDeskIcon.length; i++) {
  2151. _content = $$("div", {
  2152. className: "U_MD_D_KO",
  2153. "onmousedown": U.UF.C.closure(function (obj) {
  2154. //防止拖动图标即打开了桌面应用
  2155. U.MD.D.click(this, obj);
  2156. }, [_hanDeskIcon[i]]),
  2157. "onclick": U.UF.C.closure(function (obj) {
  2158. //防止拖动图标即打开了桌面应用
  2159. U.MD.D.click(this, obj);
  2160. }, [_hanDeskIcon[i]])
  2161. }, _frag); //
  2162. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2163. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2164. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2165. }
  2166. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2167. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2168. _content = $$("div", {
  2169. className: "U_MD_D_KO",
  2170. "onmousedown": U.UF.C.closure(function (obj) {
  2171. //防止拖动图标即打开了桌面应用
  2172. U.MD.D.click(this, obj);
  2173. }, [_orgStemDeskIcon[i]]),
  2174. "onclick": U.UF.C.closure(function (obj) {
  2175. //防止拖动图标即打开了桌面应用
  2176. U.MD.D.click(this, obj);
  2177. }, [_orgStemDeskIcon[i]])
  2178. }, _frag); //
  2179. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2180. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2181. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2182. }
  2183. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2184. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2185. _content = $$("div", {
  2186. className: "U_MD_D_KO",
  2187. "onmousedown": U.UF.C.closure(function (obj) {
  2188. //防止拖动图标即打开了桌面应用
  2189. U.MD.D.click(this, obj);
  2190. }, [_szulsDeskIcon[i]]),
  2191. "onclick": U.UF.C.closure(function (obj) {
  2192. //防止拖动图标即打开了桌面应用
  2193. U.MD.D.click(this, obj);
  2194. }, [_szulsDeskIcon[i]])
  2195. }, _frag); //
  2196. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2197. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2198. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2199. }
  2200. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2201. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2202. _content = $$("div", {
  2203. className: "U_MD_D_KO",
  2204. "onmousedown": U.UF.C.closure(function (obj) {
  2205. //防止拖动图标即打开了桌面应用
  2206. U.MD.D.click(this, obj);
  2207. }, [_orgDesktopIconInfo[i]]),
  2208. "onclick": U.UF.C.closure(function (obj) {
  2209. //防止拖动图标即打开了桌面应用
  2210. U.MD.D.click(this, obj);
  2211. }, [_orgDesktopIconInfo[i]])
  2212. }, _frag); //
  2213. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2214. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2215. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2216. }
  2217. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2218. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2219. _content = $$("div", {
  2220. className: "U_MD_D_KO",
  2221. "onmousedown": U.UF.C.closure(function (obj) {
  2222. //防止拖动图标即打开了桌面应用
  2223. U.MD.D.click(this, obj);
  2224. }, [_schoolDesktopIconInfo[i]]),
  2225. "onclick": U.UF.C.closure(function (obj) {
  2226. //防止拖动图标即打开了桌面应用
  2227. U.MD.D.click(this, obj);
  2228. }, [_schoolDesktopIconInfo[i]])
  2229. }, _frag); //
  2230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2233. }
  2234. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2235. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2236. _content = $$("div", {
  2237. className: "U_MD_D_KO",
  2238. "onmousedown": U.UF.C.closure(function (obj) {
  2239. //防止拖动图标即打开了桌面应用
  2240. U.MD.D.click(this, obj);
  2241. }, [_GMteacherDesktopIconInfo[i]]),
  2242. "onclick": U.UF.C.closure(function (obj) {
  2243. //防止拖动图标即打开了桌面应用
  2244. U.MD.D.click(this, obj);
  2245. }, [_GMteacherDesktopIconInfo[i]])
  2246. }, _frag); //
  2247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2250. }
  2251. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2252. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2253. _content = $$("div", {
  2254. className: "U_MD_D_KO",
  2255. "onmousedown": U.UF.C.closure(function (obj) {
  2256. //防止拖动图标即打开了桌面应用
  2257. U.MD.D.click(this, obj);
  2258. }, [_SONGteacherDesktopIconInfo[i]]),
  2259. "onclick": U.UF.C.closure(function (obj) {
  2260. //防止拖动图标即打开了桌面应用
  2261. U.MD.D.click(this, obj);
  2262. }, [_SONGteacherDesktopIconInfo[i]])
  2263. }, _frag); //
  2264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2267. }
  2268. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2269. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2270. _content = $$("div", {
  2271. className: "U_MD_D_KO",
  2272. "onmousedown": U.UF.C.closure(function (obj) {
  2273. //防止拖动图标即打开了桌面应用
  2274. U.MD.D.click(this, obj);
  2275. }, [_GMstudentDesktopIconInfo[i]]),
  2276. "onclick": U.UF.C.closure(function (obj) {
  2277. //防止拖动图标即打开了桌面应用
  2278. U.MD.D.click(this, obj);
  2279. }, [_GMstudentDesktopIconInfo[i]])
  2280. }, _frag); //
  2281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2284. }
  2285. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2286. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2287. _content = $$("div", {
  2288. className: "U_MD_D_KO",
  2289. "onmousedown": U.UF.C.closure(function (obj) {
  2290. //防止拖动图标即打开了桌面应用
  2291. U.MD.D.click(this, obj);
  2292. }, [_tcTeacherDeskIconInfo[i]]),
  2293. "onclick": U.UF.C.closure(function (obj) {
  2294. //防止拖动图标即打开了桌面应用
  2295. U.MD.D.click(this, obj);
  2296. }, [_tcTeacherDeskIconInfo[i]])
  2297. }, _frag); //
  2298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2301. }
  2302. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2303. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2304. _content = $$("div", {
  2305. className: "U_MD_D_KO",
  2306. "onmousedown": U.UF.C.closure(function (obj) {
  2307. //防止拖动图标即打开了桌面应用
  2308. U.MD.D.click(this, obj);
  2309. }, [_tcOrganizerDeskIconInfo[i]]),
  2310. "onclick": U.UF.C.closure(function (obj) {
  2311. //防止拖动图标即打开了桌面应用
  2312. U.MD.D.click(this, obj);
  2313. }, [_tcOrganizerDeskIconInfo[i]])
  2314. }, _frag); //
  2315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2318. }
  2319. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2320. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2321. _content = $$("div", {
  2322. className: "U_MD_D_KO",
  2323. "onmousedown": U.UF.C.closure(function (obj) {
  2324. //防止拖动图标即打开了桌面应用
  2325. U.MD.D.click(this, obj);
  2326. }, [_szscTeacherDeskIconInfo[i]]),
  2327. "onclick": U.UF.C.closure(function (obj) {
  2328. //防止拖动图标即打开了桌面应用
  2329. U.MD.D.click(this, obj);
  2330. }, [_szscTeacherDeskIconInfo[i]])
  2331. }, _frag); //
  2332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2335. }
  2336. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2337. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2338. _content = $$("div", {
  2339. className: "U_MD_D_KO",
  2340. "onmousedown": U.UF.C.closure(function (obj) {
  2341. //防止拖动图标即打开了桌面应用
  2342. U.MD.D.click(this, obj);
  2343. }, [_szscOrganizerDeskIconInfo[i]]),
  2344. "onclick": U.UF.C.closure(function (obj) {
  2345. //防止拖动图标即打开了桌面应用
  2346. U.MD.D.click(this, obj);
  2347. }, [_szscOrganizerDeskIconInfo[i]])
  2348. }, _frag); //
  2349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2352. }
  2353. } else {
  2354. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2355. _content = $$("div", {
  2356. className: "U_MD_D_KO",
  2357. "onmousedown": U.UF.C.closure(function (obj) {
  2358. //防止拖动图标即打开了桌面应用
  2359. U.MD.D.click(this, obj);
  2360. }, [_teacherDesktopIconInfo[i]]),
  2361. "onclick": U.UF.C.closure(function (obj) {
  2362. //防止拖动图标即打开了桌面应用
  2363. U.MD.D.click(this, obj);
  2364. }, [_teacherDesktopIconInfo[i]])
  2365. }, _frag); //
  2366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2369. }
  2370. }
  2371. } else {
  2372. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2373. _content = $$("div", {
  2374. className: "U_MD_D_KO",
  2375. style: { 'width': '124px', 'height': '145px' },
  2376. "onmousedown": U.UF.C.closure(function (obj) {
  2377. //防止拖动图标即打开了桌面应用
  2378. U.MD.D.click(this, obj);
  2379. }, [_easyDesktopIconInfo[i]]),
  2380. "onclick": U.UF.C.closure(function (obj) {
  2381. //防止拖动图标即打开了桌面应用
  2382. U.MD.D.click(this, obj);
  2383. }, [_easyDesktopIconInfo[i]])
  2384. }, _frag); //
  2385. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2388. }
  2389. }
  2390. if (type == 1) {
  2391. //加载好后给图标定位
  2392. U.MD.D.iconPostion($(_frag).Child());
  2393. } else {
  2394. //加载好后给图标定位
  2395. U.MD.D.iconPostion2($(_frag).Child());
  2396. }
  2397. //把图标加载到页面
  2398. el.appendChild(_frag);
  2399. }
  2400. /**
  2401. * 显示任务栏
  2402. *
  2403. * @param {element} 桌面元素
  2404. */
  2405. U.MD.D.I.displayTaskbar = function (el) {
  2406. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2407. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2408. //任务栏位置变化
  2409. U.selectEl(el).css({ "bottom": "0px" });
  2410. //桌面位置变话
  2411. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2412. }
  2413. }
  2414. //#region 桌面图标拖动逻辑
  2415. /**
  2416. * 桌面排列图标
  2417. *
  2418. * @param {element} 桌面元素
  2419. * @param {object} 上下相距的距离
  2420. * @param {object} 左右相距的距离
  2421. * @return {object} 命名空间
  2422. */
  2423. U.MD.D.iconPostion = function (childs, top, left) {
  2424. var i; //用于循环处理
  2425. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2426. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2427. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2428. for (i = 0; i < childs.length; i++) {
  2429. //如果竖排top超过了范围处理
  2430. if (top + 95 > US.height - 10) {
  2431. //left超过了页面范围处理,则向上重叠打印处理
  2432. if ((left + 180) > US.width) {
  2433. top -= 110;
  2434. left -= 90;
  2435. }
  2436. //没有超过范围,那么left+90添加到下一个竖排打印
  2437. else {
  2438. left += 90;
  2439. top = 15;
  2440. };
  2441. }
  2442. //给图标的位置赋值
  2443. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2444. if (i < childs.length - 1) {
  2445. //页面图标每次向下加95
  2446. top += 95;
  2447. }
  2448. }
  2449. //返回最后调用的图标的位置
  2450. return [top, left];
  2451. }
  2452. /**
  2453. * 桌面排列图标
  2454. *
  2455. * @param {element} 桌面元素
  2456. * @param {object} 上下相距的距离
  2457. * @param {object} 左右相距的距离
  2458. * @return {object} 命名空间
  2459. */
  2460. U.MD.D.iconPostion2 = function (childs, top, left) {
  2461. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2462. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2463. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2464. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2465. for (i = 0; i < childs.length; i++) {
  2466. //如果竖排top超过了范围处理
  2467. if (left + 150 > US.width - 10) {
  2468. //left超过了页面范围处理,则向上重叠打印处理
  2469. if ((top + 180) > US.Height) {
  2470. top -= 150;
  2471. left -= 150;
  2472. }
  2473. //没有超过范围,那么left+90添加到下一个竖排打印
  2474. else {
  2475. top += 150;
  2476. left = ol;
  2477. };
  2478. }
  2479. //给图标的位置赋值
  2480. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2481. if (i < childs.length - 1) {
  2482. //页面图标每次向下加95
  2483. left += 150;
  2484. }
  2485. }
  2486. //返回最后调用的图标的位置
  2487. return [top, left];
  2488. }
  2489. /**
  2490. * 桌面点击事件逻辑
  2491. *
  2492. * @param {element} 桌面元素
  2493. * @param {object} 上下相距的距离
  2494. * @param {object} 左右相距的距离
  2495. * @return {object} 命名空间
  2496. */
  2497. U.MD.D.click = function (el, obj) {
  2498. var _buttonnumber = event.button; //点击的按钮的事件值
  2499. var _userinfo = US.userInfo;
  2500. U.UF.EV.stopBubble(); //阻止向上冒泡
  2501. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2502. if (_buttonnumber < 2) {
  2503. //如果是click事件的处理
  2504. if (event.type == "click") {
  2505. //如果元素在mousemove事件中没有移动则出发click事件
  2506. if (!U.MD.D.I.IsDrag) {
  2507. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2508. U.alert("请先登录您的账号!");
  2509. setTimeout(() => {
  2510. U.MD.U.L.login();
  2511. }, 2000);
  2512. } else {
  2513. //打开应用处理
  2514. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2515. }
  2516. }
  2517. }
  2518. //如果是mouse事件的处理
  2519. else {
  2520. if (US.Config.type == '1') {
  2521. //拖动处理,添加拖动和拖动结束事件
  2522. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2523. }
  2524. }
  2525. U.MD.D.I.IsDrag = false;
  2526. }
  2527. }
  2528. /**
  2529. * 拖动的处理
  2530. *
  2531. */
  2532. U.MD.D.iconMove = function () {
  2533. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2534. U.MD.D.I.IsDrag = true;
  2535. }
  2536. /**
  2537. * 拖动结束后,这里是定位处理,以网状的形式定位
  2538. *
  2539. * @param {element} 拖动的元素
  2540. * @return {object} 命名空间
  2541. */
  2542. U.MD.D.iconUp = function (el) {
  2543. var _top = 15,
  2544. _left = 20,
  2545. _margin,
  2546. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2547. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2548. if (_positioninfo["OT"] > 15) {
  2549. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2550. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2551. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2552. }
  2553. if (_positioninfo["OL"] > 20) {
  2554. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2555. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2556. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2557. }
  2558. //while循环判断么一个重叠的元素
  2559. do {
  2560. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2561. _top = _positioninfo[0] + 95; //得到定位后的top
  2562. _left = _positioninfo[1]; //得到定位后的left
  2563. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2564. }
  2565. /**
  2566. * 判断拖动后图标是否重叠
  2567. *
  2568. * @param {element} 拖动的元素
  2569. * @param {element} 桌面所有的元素
  2570. * @param {array} 拖动元素的位置
  2571. ----------[0] 上 top
  2572. ----------[1] 左 left
  2573. * @return {object} 命名空间
  2574. */
  2575. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2576. //循环所有的图标
  2577. for (var i = 0; i < childs.length; i++) {
  2578. //判断有没有和该图标诶子重叠的元素
  2579. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2580. return childs[i]; //如果有返回
  2581. }
  2582. }
  2583. }
  2584. //#endregion
  2585. //#endregion
  2586. //#region 桌面应用
  2587. /**
  2588. * 打开应用
  2589. *
  2590. * @param {string} 类型
  2591. -----------------Disk 网盘系统
  2592. -----------------PDisk 学习系统网盘
  2593. -----------------Poto 图片
  2594. -----------------Video 视频
  2595. -----------------Music 音乐
  2596. -----------------Word word
  2597. -----------------Excel excel
  2598. -----------------Txt 记事本
  2599. -----------------PB 学习系统
  2600. -----------------Blog 朋友圈系统
  2601. -----------------FTP ftp系统
  2602. -----------------Group 好友群
  2603. -----------------SY 首页系统
  2604. -----------------Set 个人设置
  2605. -----------------XSet 系统设置
  2606. -----------------App 我们所有的app
  2607. -----------------BC c.1473.cn 平台
  2608. -----------------CWeb d.1473.cn 变成平台
  2609. -----------------其他的外联系统 我们统一用iframe打开
  2610. * @param {array} 类型
  2611. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2612. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2613. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2614. 如果第一个参数为其他,则无第二个参数
  2615. * @returns {array}
  2616. */
  2617. window.addEventListener('message', function (e) { // 监听 message 事件
  2618. // alert(e.data.type);
  2619. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2620. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2621. //3是展示全部阶段 2学生 1老师 4专家
  2622. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2623. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2624. //3是展示全部阶段 2学生 1老师 4专家
  2625. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2626. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2627. //3是展示全部阶段 2学生 1老师 4专家
  2628. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2629. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2630. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2631. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2632. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2633. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2634. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2635. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2636. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2637. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2638. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2639. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2640. //3是展示全部阶段 2学生 1老师 4专家
  2641. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2642. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2643. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2644. U.MD.D.I.selectUser();
  2645. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2646. var _formel = document.getElementById("study");
  2647. U.UF.F.windowZooming(_formel);
  2648. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2649. var _formel = document.getElementById("studyDetail");
  2650. U.UF.F.windowZooming(_formel);
  2651. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2652. var _formel = document.getElementById("studyDetail");
  2653. U.UF.F.windowZooming(_formel);
  2654. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2655. var _formel = document.getElementById("studentStudy");
  2656. U.UF.F.windowZooming(_formel);
  2657. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2658. // var _formel = document.getElementById("study");
  2659. //如果最大化了,那么就把他缩小
  2660. // if (_formel.ismaximize) {
  2661. // return;
  2662. // }
  2663. // U.UF.F.windowZooming(_formel);
  2664. // U.UF.F.topWindow(_formel);
  2665. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2666. // var _formel = document.getElementById("studyDetail");
  2667. //如果最大化了,那么就把他缩小
  2668. // if (_formel.ismaximize) {
  2669. // return;
  2670. // }
  2671. // U.UF.F.windowZooming(_formel);
  2672. // U.UF.F.topWindow(_formel);
  2673. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2674. // var _formel = document.getElementById("studentStudy");
  2675. // if (_formel.ismaximize) {
  2676. // return;
  2677. // }
  2678. // U.UF.F.windowZooming(_formel);
  2679. // U.UF.F.topWindow(_formel);
  2680. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2681. var _formel = document.getElementById("study");
  2682. // if (_formel.ismaximize) {
  2683. // return;
  2684. // }
  2685. // U.UF.F.windowZooming(_formel);
  2686. U.UF.F.topWindow(_formel);
  2687. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2688. var _formel = document.getElementById("studentIndex");
  2689. U.UF.F.windowZooming(_formel);
  2690. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2691. var _formel = document.getElementById("studyDetailS");
  2692. U.UF.F.windowZooming(_formel);
  2693. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2694. var _formel = document.getElementById("studioIndex");
  2695. U.UF.F.windowZooming(_formel);
  2696. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2697. var _formel = document.getElementById("studyDetailStudio");
  2698. U.UF.F.windowZooming(_formel);
  2699. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2700. var _formel = document.getElementById("studyDetailStudio");
  2701. U.UF.F.windowZooming(_formel);
  2702. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2703. var _formel = document.getElementById("studyDetailNT");
  2704. U.UF.F.windowZooming(_formel);
  2705. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2706. var _formel = document.getElementById("studyDetailS");
  2707. U.UF.F.windowZooming(_formel);
  2708. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2709. var _formel = document.getElementById("studyDetailS");
  2710. U.UF.F.topWindow(_formel);
  2711. } else if (e.data.tools && e.data.tools == "1") {
  2712. // U.MD.D.I.openApplication("whiteboard")
  2713. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2714. } else if (e.data.tools && e.data.tools == "2") {
  2715. U.MD.D.I.openApplication("note")
  2716. } else if (e.data.tools && e.data.tools == "3") {
  2717. // U.MD.D.I.openApplication("mind")
  2718. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2719. } else if (e.data.tools && e.data.tools == "4") {
  2720. U.MD.D.I.openApplication("investigation")
  2721. } else if (e.data.tools && e.data.tools == "6") {
  2722. // U.MD.D.I.openApplication("doc")
  2723. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2724. } else if (e.data.tools && e.data.tools == "7") {
  2725. // U.MD.D.I.openApplication("mindNetwork")
  2726. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2727. } else if (e.data.tools && e.data.tools == "8") {
  2728. U.MD.D.I.openApplication("library")
  2729. } else if (e.data.tools && e.data.tools == "17") {
  2730. U.MD.D.I.openApplication("stuLibrary")
  2731. } else if (e.data.tools && e.data.tools == "18") {
  2732. U.MD.D.I.openApplication("train")
  2733. } else if (e.data.tools && e.data.tools == "21") {
  2734. U.MD.D.I.openApplication("program")
  2735. } else if (e.data.tools && e.data.tools == "22") {
  2736. U.MD.D.I.openApplication("AIprogram2")
  2737. } else if (e.data.tools && e.data.tools == "23") {
  2738. U.MD.D.I.openApplication("Pythonprogram")
  2739. } else if (e.data.tools && e.data.tools == "24") {
  2740. U.MD.D.I.openApplication("AIprogram")
  2741. } else if (e.data.tools && e.data.tools == "25") {
  2742. U.MD.D.I.openApplication("sys")
  2743. } else if (e.data.tools && e.data.tools == "26") {
  2744. // U.MD.D.I.openApplication("courseDesign")
  2745. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2746. } else if (e.data.tools && e.data.tools == "31") {
  2747. U.MD.D.I.openApplication("netWorkPanel")
  2748. } else if (e.data.tools && e.data.tools == "32") {
  2749. U.MD.D.I.openApplication("codeEdit")
  2750. } else if (e.data.tools && e.data.tools == "57") {
  2751. U.MD.D.I.openApplication("CocoPi")
  2752. } else if (e.data.tools && e.data.tools == "63") {
  2753. U.MD.D.I.openApplication("Wood")
  2754. } else if (e.data.tools && e.data.tools == "58") {
  2755. U.MD.D.I.openApplication("car")
  2756. } else if (e.data.tools && e.data.tools == "59") {
  2757. U.MD.D.I.openApplication("lineSearch")
  2758. } else if (e.data.tools && e.data.tools == "60") {
  2759. U.MD.D.I.openApplication("deepLearning")
  2760. } else if (e.data.tools && e.data.tools == "61") {
  2761. U.MD.D.I.openApplication("allHistory")
  2762. } else if (e.data.tools && e.data.tools == "28") {
  2763. U.MD.D.I.openApplication("translation")
  2764. } else if (e.data.tools && e.data.tools == "37") {
  2765. U.MD.D.I.openApplication("mohe")
  2766. } else if (e.data.tools && e.data.tools == "38") {
  2767. U.MD.D.I.openApplication("24game")
  2768. } else if (e.data.tools && e.data.tools == "39") {
  2769. U.MD.D.I.openApplication("GeoGebra")
  2770. } else if (e.data.tools && e.data.tools == "43") {
  2771. U.MD.D.I.openApplication("studentEvaluate")
  2772. } else if (e.data.tools && e.data.tools == "44") {
  2773. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2774. } else if (e.data.tools && e.data.tools == "46") {
  2775. U.MD.D.I.openApplication("project")
  2776. } else if (e.data.tools && e.data.tools == "1s") {
  2777. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2778. } else if (e.data.tools && e.data.tools == "3s") {
  2779. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2780. } else if (e.data.tools && e.data.tools == "6s") {
  2781. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2782. } else if (e.data.tools && e.data.tools == "1studio") {
  2783. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2784. } else if (e.data.tools && e.data.tools == "3studio") {
  2785. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2786. } else if (e.data.tools && e.data.tools == "6studio") {
  2787. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2788. } else if (e.data.tools && e.data.tools == "3y") {
  2789. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2790. } else if (e.data.tools && e.data.tools == "1y") {
  2791. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2792. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2793. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2794. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2795. U.MD.D.I.openApplication("AIAnalyse")
  2796. } else if (e.data.tools && e.data.tools == "1teacher") {
  2797. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2798. } else if (e.data.tools && e.data.tools == "3teacher") {
  2799. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2800. } else if (e.data.tools && e.data.tools == "7teacher") {
  2801. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2802. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2803. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2804. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2805. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2806. } else if (e.data.tools && e.data.tools == "1E") {
  2807. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2808. } else if (e.data.tools && e.data.tools == "3E") {
  2809. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2810. } else if (e.data.tools && e.data.tools == "57y") {
  2811. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2812. } else if (e.data.tools && e.data.tools == "57u") {
  2813. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2814. } else if (e.data.tools && e.data.tools == "57teacher") {
  2815. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2816. } else if (e.data.tools && e.data.tools == "64") {
  2817. U.MD.D.I.openApplication("AIChat")
  2818. } else if (e.data.tools && e.data.tools == "66") {
  2819. U.MD.D.I.openApplication("formulaEdi")
  2820. } else if (e.data.tools && e.data.tools == "67") {
  2821. U.MD.D.I.openApplication("molStr")
  2822. } else if (e.data.tools && e.data.tools == "68") {
  2823. U.MD.D.I.openApplication("timeAxis")
  2824. } else if (e.data.tools && e.data.tools == "openCourse") {
  2825. let _data = {
  2826. typea: e.data.typea || '',
  2827. typeb: e.data.typeb || '',
  2828. typed: e.data.typed || '',
  2829. }
  2830. U.MD.D.I.openInApplication("index", _data)
  2831. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2832. let _data = {
  2833. classid: e.data.classid || '',
  2834. }
  2835. U.MD.D.I.openInApplication("dataClass", _data)
  2836. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2837. let _data = {
  2838. cid: e.data.cid || '',
  2839. gid: e.data.gid || '',
  2840. }
  2841. U.MD.D.I.openInApplication("opencCscl", _data)
  2842. }
  2843. });
  2844. U.MD.D.I.selectUser = function () {
  2845. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2846. if (res.value[0].length > 0) {
  2847. US.userInfo = res.value[0][0];
  2848. $(".userName")[0].innerHTML = US.userInfo.username;
  2849. }
  2850. }, [], { "type": "GET", "withCredentials": true });
  2851. }
  2852. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2853. var _userinfo = US.userInfo, //登录用户信息
  2854. _userid = US.userInfo.userid, //登录用户id
  2855. _oid = _userinfo.organizeid,
  2856. _type = US.userInfo.type,
  2857. _org = US.userInfo.org,
  2858. _role = US.userInfo.role,
  2859. _classId = US.userInfo.classid;
  2860. if (_type == 4) {
  2861. tType = 4
  2862. }
  2863. switch (str) {
  2864. case "studyDetailNT": //无终端模式
  2865. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2866. setTimeout(() => {
  2867. U.MD.U.L.login();
  2868. }, 2000);
  2869. } else {
  2870. _formdiv = new U.UF.UI.form(
  2871. "课程详情",
  2872. $$("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 }), {
  2873. "id": "studyDetailNT",
  2874. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2875. "onresize": function () { }
  2876. }, {
  2877. closecallback: function () { }
  2878. }, { "style": { "height": "36px" } }).form; //创建窗体
  2879. _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); } }
  2880. break;
  2881. }
  2882. case "studyDetail":
  2883. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2884. setTimeout(() => {
  2885. U.MD.U.L.login();
  2886. }, 2000);
  2887. } else {
  2888. _formdiv = new U.UF.UI.form(
  2889. "课程详情",
  2890. $$("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 }), {
  2891. "id": "studyDetail",
  2892. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2893. "onresize": function () { }
  2894. }, {
  2895. closecallback: function () { }
  2896. }, { "style": { "height": "36px" } }).form; //创建窗体
  2897. _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); } }
  2898. break;
  2899. }
  2900. case "studyDetailS":
  2901. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2902. setTimeout(() => {
  2903. U.MD.U.L.login();
  2904. }, 2000);
  2905. } else {
  2906. _formdiv = new U.UF.UI.form(
  2907. "项目详情",
  2908. $$("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 }), {
  2909. "id": "studyDetailS",
  2910. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2911. "onresize": function () { }
  2912. }, {
  2913. closecallback: function () { }
  2914. }, { "style": { "height": "36px" } }).form; //创建窗体
  2915. _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); } }
  2916. break;
  2917. }
  2918. case "studyDetailStudio":
  2919. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2920. setTimeout(() => {
  2921. U.MD.U.L.login();
  2922. }, 2000);
  2923. } else {
  2924. _formdiv = new U.UF.UI.form(
  2925. "工作详情",
  2926. $$("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 }), {
  2927. "id": "studyDetailStudio",
  2928. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2929. "onresize": function () { }
  2930. }, {
  2931. closecallback: function () { }
  2932. }, { "style": { "height": "36px" } }).form; //创建窗体
  2933. _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); } }
  2934. break;
  2935. }
  2936. case "studyDetailS5":
  2937. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2938. setTimeout(() => {
  2939. U.MD.U.L.login();
  2940. }, 2000);
  2941. } else {
  2942. _formdiv = new U.UF.UI.form(
  2943. "项目详情",
  2944. $$("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 }), {
  2945. "id": "studyDetailS",
  2946. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2947. "onresize": function () { }
  2948. }, {
  2949. closecallback: function () { }
  2950. }, { "style": { "height": "36px" } }).form; //创建窗体
  2951. _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); } }
  2952. break;
  2953. }
  2954. case "studyDetailGM":
  2955. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2956. setTimeout(() => {
  2957. U.MD.U.L.login();
  2958. }, 2000);
  2959. } else {
  2960. _formdiv = new U.UF.UI.form(
  2961. "课程详情",
  2962. $$("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 }), {
  2963. "id": "studyDetail",
  2964. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2965. "onresize": function () { }
  2966. }, {
  2967. closecallback: function () { }
  2968. }, { "style": { "height": "36px" } }).form; //创建窗体
  2969. _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); } }
  2970. break;
  2971. }
  2972. case "hanUrl":
  2973. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2974. setTimeout(() => {
  2975. U.MD.U.L.login();
  2976. }, 2000);
  2977. } else {
  2978. _formdiv = new U.UF.UI.form(
  2979. "汉字宫",
  2980. $$("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" }), {
  2981. "id": "hanUrl",
  2982. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2983. "onresize": function () { }
  2984. }, {
  2985. closecallback: function () { }
  2986. }, { "style": { "height": "36px" } }).form; //创建窗体
  2987. _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); } }
  2988. break;
  2989. }
  2990. case "index":
  2991. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2992. setTimeout(() => {
  2993. U.MD.U.L.login();
  2994. }, 2000);
  2995. } else {
  2996. _formdiv = new U.UF.UI.form(
  2997. "课程中心",
  2998. $$("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 }), {
  2999. "id": "study",
  3000. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3001. "onresize": function () { }
  3002. }, {
  3003. closecallback: function () { }
  3004. }, { "style": { "height": "36px" } }).form; //创建窗体
  3005. _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); } }
  3006. break;
  3007. }
  3008. case "dataClass":
  3009. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3010. setTimeout(() => {
  3011. U.MD.U.L.login();
  3012. }, 2000);
  3013. } else {
  3014. _formdiv = new U.UF.UI.form(
  3015. "数据报告",
  3016. $$("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 }), {
  3017. "id": "dataClass",
  3018. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3019. "onresize": function () { }
  3020. }, {
  3021. closecallback: function () { }
  3022. }, { "style": { "height": "36px" } }).form; //创建窗体
  3023. _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); } }
  3024. break;
  3025. }
  3026. case "opencCscl":
  3027. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3028. setTimeout(() => {
  3029. U.MD.U.L.login();
  3030. }, 2000);
  3031. } else {
  3032. _formdiv = new U.UF.UI.form(
  3033. "协同建构",
  3034. $$("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 }), {
  3035. "id": "futureClass",
  3036. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3037. "onresize": function () { }
  3038. }, {
  3039. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3040. }, { "style": { "height": "36px" } }).form; //创建窗体
  3041. _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); } }
  3042. break;
  3043. }
  3044. }
  3045. }
  3046. U.MD.D.I.openApplication = function (str, obj, info) {
  3047. obj = obj || {};
  3048. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3049. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3050. _userinfo = US.userInfo, //登录用户信息
  3051. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3052. _oid = obj.organizeid || _userinfo.organizeid,
  3053. _type = US.userInfo.type,
  3054. _org = US.userInfo.org,
  3055. _role = US.userInfo.role,
  3056. _classId = US.userInfo.classid,
  3057. _TscreenType = 1
  3058. _screenType = 2,
  3059. _SscreenType = 3;
  3060. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3061. return;
  3062. }
  3063. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3064. switch (str) {
  3065. case "studnetProject": //好友打开
  3066. _formdiv = new U.UF.UI.form(
  3067. "我的项目",
  3068. $$("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 }), {
  3069. "id": "studnetProject",
  3070. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { }
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _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); } }
  3076. break;
  3077. case "studentEvaluate": //好友打开
  3078. _formdiv = new U.UF.UI.form(
  3079. "我的评价",
  3080. $$("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 }), {
  3081. "id": "studentEvaluate",
  3082. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function () { }
  3084. }, {
  3085. closecallback: function () { }
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _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); } }
  3088. break;
  3089. case "my":
  3090. _formdiv = new U.UF.UI.form(
  3091. "我的资料",
  3092. $$("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 }), {
  3093. "id": "my",
  3094. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3095. "onresize": function () { }
  3096. }, {
  3097. closecallback: function () { }
  3098. }, { "style": { "height": "36px" } }).form; //创建窗体
  3099. _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); } }
  3100. break;
  3101. case "program":
  3102. _formdiv = new U.UF.UI.form(
  3103. "编程平台",
  3104. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3105. "id": "program",
  3106. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3107. "onresize": function () { }
  3108. }, {
  3109. closecallback: function () { }
  3110. }, { "style": { "height": "36px" } }).form; //创建窗体
  3111. _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); } }
  3112. break;
  3113. case "library":
  3114. _formdiv = new U.UF.UI.form(
  3115. "素材库",
  3116. $$("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 }), {
  3117. "id": "library",
  3118. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3119. "onresize": function () { }
  3120. }, {
  3121. closecallback: function () { }
  3122. }, { "style": { "height": "36px" } }).form; //创建窗体
  3123. _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); } }
  3124. break;
  3125. case "whiteboard":
  3126. _formdiv = new U.UF.UI.form(
  3127. "电子白板",
  3128. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3129. "id": "whiteboard",
  3130. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3131. "onresize": function () { }
  3132. }, {
  3133. closecallback: function () { }
  3134. }, { "style": { "height": "36px" } }).form; //创建窗体
  3135. _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); } }
  3136. break;
  3137. case "investigation":
  3138. _formdiv = new U.UF.UI.form(
  3139. "问卷调查",
  3140. $$("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 }), {
  3141. "id": "investigation",
  3142. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3143. "onresize": function () { }
  3144. }, {
  3145. closecallback: function () { }
  3146. }, { "style": { "height": "36px" } }).form; //创建窗体
  3147. _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); } }
  3148. break;
  3149. case "note":
  3150. _formdiv = new U.UF.UI.form(
  3151. "便签分类",
  3152. $$("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 }), {
  3153. "id": "note",
  3154. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3155. "onresize": function () { }
  3156. }, {
  3157. closecallback: function () { }
  3158. }, { "style": { "height": "36px" } }).form; //创建窗体
  3159. _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); } }
  3160. break;
  3161. // case "score":
  3162. // _formdiv = new U.UF.UI.form(
  3163. // "量规评分",
  3164. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3165. // "id": "score",
  3166. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3167. // "onresize": function() {}
  3168. // }, {
  3169. // closecallback: function() {}
  3170. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3171. // _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); } }
  3172. // break;
  3173. case "mind":
  3174. _formdiv = new U.UF.UI.form(
  3175. "思维导图",
  3176. $$("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"
  3177. "id": "mind",
  3178. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3179. "onresize": function () { }
  3180. }, {
  3181. closecallback: function () { }
  3182. }, { "style": { "height": "36px" } }).form; //创建窗体
  3183. _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); } }
  3184. break;
  3185. case "doc":
  3186. // U.MD.D.I.isRoom();
  3187. _formdiv = new U.UF.UI.form(
  3188. "协同文档",
  3189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3190. "id": "doc",
  3191. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3192. "onresize": function () { }
  3193. }, {
  3194. closecallback: function () { }
  3195. }, { "style": { "height": "36px" } }).form; //创建窗体
  3196. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3197. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3198. // })
  3199. _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); } }
  3200. break;
  3201. case "studentStudy":
  3202. _formdiv = new U.UF.UI.form(
  3203. "课程中心",
  3204. $$("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
  3205. "id": "studentStudy",
  3206. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3207. "onresize": function () { }
  3208. }, {
  3209. closecallback: function () { }
  3210. }, { "style": { "height": "36px" } }).form; //创建窗体
  3211. _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); } }
  3212. break;
  3213. case "train": //好友打开
  3214. _formdiv = new U.UF.UI.form(
  3215. "训练平台",
  3216. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3217. "id": "train",
  3218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3219. "onresize": function () { }
  3220. }, {
  3221. closecallback: function () { }
  3222. }, { "style": { "height": "36px" } }).form; //创建窗体
  3223. _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); } }
  3224. break;
  3225. case "mindNetwork": //好友打开
  3226. _formdiv = new U.UF.UI.form(
  3227. "思维网格",
  3228. $$("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 }), {
  3229. "id": "mindNetwork",
  3230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3231. "onresize": function () { }
  3232. }, {
  3233. closecallback: function () { }
  3234. }, { "style": { "height": "36px" } }).form; //创建窗体
  3235. _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); } }
  3236. break;
  3237. case "studentClassRoom": //好友打开
  3238. _formdiv = new U.UF.UI.form(
  3239. "实时课堂",
  3240. $$("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 }), {
  3241. "id": "studentClassRoom",
  3242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3243. "onresize": function () { }
  3244. }, {
  3245. closecallback: function () { }
  3246. }, { "style": { "height": "36px" } }).form; //创建窗体
  3247. _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); } }
  3248. setTimeout(() => {
  3249. U.UF.F.windowZooming(_formdiv)
  3250. }, 0);
  3251. break;
  3252. }
  3253. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3254. switch (str) {
  3255. case "studnetProject": //好友打开
  3256. _formdiv = new U.UF.UI.form(
  3257. "我的项目",
  3258. $$("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 }), {
  3259. "id": "studnetProject",
  3260. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3261. "onresize": function () { }
  3262. }, {
  3263. closecallback: function () { }
  3264. }, { "style": { "height": "36px" } }).form; //创建窗体
  3265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3266. break;
  3267. case "studentEvaluate": //好友打开
  3268. _formdiv = new U.UF.UI.form(
  3269. "我的评价",
  3270. $$("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 }), {
  3271. "id": "studentEvaluate",
  3272. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function () { }
  3274. }, {
  3275. closecallback: function () { }
  3276. }, { "style": { "height": "36px" } }).form; //创建窗体
  3277. _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); } }
  3278. break;
  3279. case "my":
  3280. _formdiv = new U.UF.UI.form(
  3281. "我的资料",
  3282. $$("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 }), {
  3283. "id": "my",
  3284. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3285. "onresize": function () { }
  3286. }, {
  3287. closecallback: function () { }
  3288. }, { "style": { "height": "36px" } }).form; //创建窗体
  3289. _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); } }
  3290. break;
  3291. case "program":
  3292. _formdiv = new U.UF.UI.form(
  3293. "编程平台",
  3294. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3295. "id": "program",
  3296. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3297. "onresize": function () { }
  3298. }, {
  3299. closecallback: function () { }
  3300. }, { "style": { "height": "36px" } }).form; //创建窗体
  3301. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3302. break;
  3303. case "library":
  3304. _formdiv = new U.UF.UI.form(
  3305. "素材库",
  3306. $$("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 }), {
  3307. "id": "library",
  3308. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3309. "onresize": function () { }
  3310. }, {
  3311. closecallback: function () { }
  3312. }, { "style": { "height": "36px" } }).form; //创建窗体
  3313. _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); } }
  3314. break;
  3315. case "whiteboard":
  3316. _formdiv = new U.UF.UI.form(
  3317. "电子白板",
  3318. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3319. "id": "whiteboard",
  3320. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3321. "onresize": function () { }
  3322. }, {
  3323. closecallback: function () { }
  3324. }, { "style": { "height": "36px" } }).form; //创建窗体
  3325. _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); } }
  3326. break;
  3327. case "investigation":
  3328. _formdiv = new U.UF.UI.form(
  3329. "问卷调查",
  3330. $$("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 }), {
  3331. "id": "investigation",
  3332. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3333. "onresize": function () { }
  3334. }, {
  3335. closecallback: function () { }
  3336. }, { "style": { "height": "36px" } }).form; //创建窗体
  3337. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3338. break;
  3339. case "note":
  3340. _formdiv = new U.UF.UI.form(
  3341. "便签分类",
  3342. $$("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 }), {
  3343. "id": "note",
  3344. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3345. "onresize": function () { }
  3346. }, {
  3347. closecallback: function () { }
  3348. }, { "style": { "height": "36px" } }).form; //创建窗体
  3349. _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); } }
  3350. break;
  3351. // case "score":
  3352. // _formdiv = new U.UF.UI.form(
  3353. // "量规评分",
  3354. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3355. // "id": "score",
  3356. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3357. // "onresize": function() {}
  3358. // }, {
  3359. // closecallback: function() {}
  3360. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3361. // _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); } }
  3362. // break;
  3363. case "mind":
  3364. _formdiv = new U.UF.UI.form(
  3365. "思维导图",
  3366. $$("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"
  3367. "id": "mind",
  3368. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3369. "onresize": function () { }
  3370. }, {
  3371. closecallback: function () { }
  3372. }, { "style": { "height": "36px" } }).form; //创建窗体
  3373. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3374. break;
  3375. case "doc":
  3376. // U.MD.D.I.isRoom();
  3377. _formdiv = new U.UF.UI.form(
  3378. "协同文档",
  3379. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3380. "id": "doc",
  3381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3387. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3388. })
  3389. _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); } }
  3390. break;
  3391. case "train": //好友打开
  3392. _formdiv = new U.UF.UI.form(
  3393. "训练平台",
  3394. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3395. "id": "train",
  3396. "style": { "width": "90%", "height": "90%", "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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3402. break;
  3403. case "studentStudy":
  3404. _formdiv = new U.UF.UI.form(
  3405. "课程中心",
  3406. $$("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
  3407. "id": "studentStudy",
  3408. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3409. "onresize": function () { }
  3410. }, {
  3411. closecallback: function () { }
  3412. }, { "style": { "height": "36px" } }).form; //创建窗体
  3413. _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); } }
  3414. break;
  3415. case "mindNetwork": //好友打开
  3416. _formdiv = new U.UF.UI.form(
  3417. "思维网格",
  3418. $$("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 }), {
  3419. "id": "mindNetwork",
  3420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3421. "onresize": function () { }
  3422. }, {
  3423. closecallback: function () { }
  3424. }, { "style": { "height": "36px" } }).form; //创建窗体
  3425. _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); } }
  3426. break;
  3427. case "studentClassRoom": //好友打开
  3428. _formdiv = new U.UF.UI.form(
  3429. "实时课堂",
  3430. $$("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 }), {
  3431. "id": "studentClassRoom",
  3432. "style": { "width": "90%", "height": "90%", "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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3438. setTimeout(() => {
  3439. U.UF.F.windowZooming(_formdiv)
  3440. }, 0);
  3441. break;
  3442. }
  3443. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3444. //选择应用处理
  3445. switch (str) {
  3446. case "project": //好友打开
  3447. _formdiv = new U.UF.UI.form(
  3448. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3449. $$("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 }), {
  3450. "id": "project",
  3451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function () { }
  3453. }, {
  3454. closecallback: function () { }
  3455. }, { "style": { "height": "36px" } }).form; //创建窗体
  3456. _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); } }
  3457. break;
  3458. case "student":
  3459. _formdiv = new U.UF.UI.form(
  3460. "学生管理",
  3461. $$("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 }), {
  3462. "id": "student",
  3463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3464. "onresize": function () { }
  3465. }, {
  3466. closecallback: function () { }
  3467. }, { "style": { "height": "36px" } }).form; //创建窗体
  3468. _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); } }
  3469. break;
  3470. case "evaluate":
  3471. _formdiv = new U.UF.UI.form(
  3472. "学生评价",
  3473. $$("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 }), {
  3474. "id": "evaluate",
  3475. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3476. "onresize": function () { }
  3477. }, {
  3478. closecallback: function () { }
  3479. }, { "style": { "height": "36px" } }).form; //创建窗体
  3480. _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); } }
  3481. break;
  3482. case "sys":
  3483. _formdiv = new U.UF.UI.form(
  3484. "目标管理",
  3485. $$("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 }), {
  3486. "id": "sys",
  3487. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3488. "onresize": function () { }
  3489. }, {
  3490. closecallback: function () { }
  3491. }, { "style": { "height": "36px" } }).form; //创建窗体
  3492. _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); } }
  3493. break;
  3494. case "courseDesign":
  3495. _formdiv = new U.UF.UI.form(
  3496. "项目设计",
  3497. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3498. "id": "courseDesign",
  3499. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3500. "onresize": function () { }
  3501. }, {
  3502. closecallback: function () { }
  3503. }, { "style": { "height": "36px" } }).form; //创建窗体
  3504. _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); } }
  3505. break;
  3506. case "program":
  3507. _formdiv = new U.UF.UI.form(
  3508. "编程平台",
  3509. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3510. "id": "program",
  3511. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3512. "onresize": function () { }
  3513. }, {
  3514. closecallback: function () { }
  3515. }, { "style": { "height": "36px" } }).form; //创建窗体
  3516. _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); } }
  3517. break;
  3518. case "class":
  3519. _formdiv = new U.UF.UI.form(
  3520. "班级管理",
  3521. $$("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 }), {
  3522. "id": "class",
  3523. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3524. "onresize": function () { }
  3525. }, {
  3526. closecallback: function () { }
  3527. }, { "style": { "height": "36px" } }).form; //创建窗体
  3528. _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); } }
  3529. break;
  3530. case "Grade":
  3531. _formdiv = new U.UF.UI.form(
  3532. "年级管理",
  3533. $$("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 }), {
  3534. "id": "Grade",
  3535. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function () { }
  3537. }, {
  3538. closecallback: function () { }
  3539. }, { "style": { "height": "36px" } }).form; //创建窗体
  3540. _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); } }
  3541. break;
  3542. case "teacherOffice":
  3543. _formdiv = new U.UF.UI.form(
  3544. "教研室",
  3545. $$("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 }), {
  3546. "id": "teacherOffice",
  3547. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3548. "onresize": function () { }
  3549. }, {
  3550. closecallback: function () { }
  3551. }, { "style": { "height": "36px" } }).form; //创建窗体
  3552. _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); } }
  3553. break;
  3554. case "my":
  3555. _formdiv = new U.UF.UI.form(
  3556. "我的资料",
  3557. $$("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 }), {
  3558. "id": "my",
  3559. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3560. "onresize": function () { }
  3561. }, {
  3562. closecallback: function () { }
  3563. }, { "style": { "height": "36px" } }).form; //创建窗体
  3564. _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); } }
  3565. break;
  3566. case "notice":
  3567. _formdiv = new U.UF.UI.form(
  3568. "通知公告",
  3569. $$("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 }), {
  3570. "id": "notice",
  3571. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3572. "onresize": function () { }
  3573. }, {
  3574. closecallback: function () { }
  3575. }, { "style": { "height": "36px" } }).form; //创建窗体
  3576. _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); } }
  3577. break;
  3578. case "library":
  3579. _formdiv = new U.UF.UI.form(
  3580. "素材库",
  3581. $$("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 }), {
  3582. "id": "library",
  3583. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3584. "onresize": function () { }
  3585. }, {
  3586. closecallback: function () { }
  3587. }, { "style": { "height": "36px" } }).form; //创建窗体
  3588. _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); } }
  3589. break;
  3590. case "whiteboard":
  3591. _formdiv = new U.UF.UI.form(
  3592. "电子白板",
  3593. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3594. "id": "whiteboard",
  3595. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3596. "onresize": function () { }
  3597. }, {
  3598. closecallback: function () { }
  3599. }, { "style": { "height": "36px" } }).form; //创建窗体
  3600. _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); } }
  3601. break;
  3602. case "investigation":
  3603. _formdiv = new U.UF.UI.form(
  3604. "问卷调查",
  3605. $$("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 }), {
  3606. "id": "investigation",
  3607. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3608. "onresize": function () { }
  3609. }, {
  3610. closecallback: function () { }
  3611. }, { "style": { "height": "36px" } }).form; //创建窗体
  3612. _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); } }
  3613. break;
  3614. case "note":
  3615. _formdiv = new U.UF.UI.form(
  3616. "便签分类",
  3617. $$("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 }), {
  3618. "id": "note",
  3619. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3620. "onresize": function () { }
  3621. }, {
  3622. closecallback: function () { }
  3623. }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. _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); } }
  3625. break;
  3626. // case "score":
  3627. // _formdiv = new U.UF.UI.form(
  3628. // "量规评分",
  3629. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3630. // "id": "score",
  3631. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3632. // "onresize": function() {}
  3633. // }, {
  3634. // closecallback: function() {}
  3635. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3636. // _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); } }
  3637. // break;
  3638. case "mind":
  3639. _formdiv = new U.UF.UI.form(
  3640. "思维导图",
  3641. $$("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"
  3642. "id": "mind",
  3643. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3644. "onresize": function () { }
  3645. }, {
  3646. closecallback: function () { }
  3647. }, { "style": { "height": "36px" } }).form; //创建窗体
  3648. _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); } }
  3649. break;
  3650. case "doc":
  3651. // U.MD.D.I.isRoom();
  3652. _formdiv = new U.UF.UI.form(
  3653. "协同文档",
  3654. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3655. "id": "doc",
  3656. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function () { }
  3658. }, {
  3659. closecallback: function () { }
  3660. }, { "style": { "height": "36px" } }).form; //创建窗体
  3661. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3662. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3663. })
  3664. _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); } }
  3665. break;
  3666. case "study":
  3667. _formdiv = new U.UF.UI.form(
  3668. "课程中心",
  3669. $$("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
  3670. "id": "study",
  3671. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3677. break;
  3678. case "mindNetwork": //好友打开
  3679. _formdiv = new U.UF.UI.form(
  3680. "思维网格",
  3681. $$("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 }), {
  3682. "id": "mindNetwork",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3689. break;
  3690. case "train": //好友打开
  3691. _formdiv = new U.UF.UI.form(
  3692. "训练平台",
  3693. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3694. "id": "mindNetwork",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3701. break;
  3702. case "teacherClassRoom": //好友打开
  3703. _formdiv = new U.UF.UI.form(
  3704. "实时课堂",
  3705. $$("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 }), {
  3706. "id": "teacherClassRoom",
  3707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3713. setTimeout(() => {
  3714. U.UF.F.windowZooming(_formdiv)
  3715. }, 0);
  3716. break;
  3717. }
  3718. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3719. switch (str) {
  3720. case "project": //好友打开
  3721. _formdiv = new U.UF.UI.form(
  3722. "课程管理",
  3723. $$("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 }), {
  3724. "id": "project",
  3725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _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); } }
  3731. break;
  3732. case "evaluate":
  3733. _formdiv = new U.UF.UI.form(
  3734. "学生评价",
  3735. $$("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 }), {
  3736. "id": "evaluate",
  3737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3738. "onresize": function () { }
  3739. }, {
  3740. closecallback: function () { }
  3741. }, { "style": { "height": "36px" } }).form; //创建窗体
  3742. _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); } }
  3743. break;
  3744. case "notice":
  3745. _formdiv = new U.UF.UI.form(
  3746. "通知公告",
  3747. $$("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 }), {
  3748. "id": "notice",
  3749. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3750. "onresize": function () { }
  3751. }, {
  3752. closecallback: function () { }
  3753. }, { "style": { "height": "36px" } }).form; //创建窗体
  3754. _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); } }
  3755. break;
  3756. case "stuLibrary":
  3757. _formdiv = new U.UF.UI.form(
  3758. "学习资料",
  3759. $$("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 }), {
  3760. "id": "stuLibrary",
  3761. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3762. "onresize": function () { }
  3763. }, {
  3764. closecallback: function () { }
  3765. }, { "style": { "height": "36px" } }).form; //创建窗体
  3766. _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); } }
  3767. break;
  3768. case "program":
  3769. _formdiv = new U.UF.UI.form(
  3770. "编程平台",
  3771. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3772. "id": "program",
  3773. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3774. "onresize": function () { }
  3775. }, {
  3776. closecallback: function () { }
  3777. }, { "style": { "height": "36px" } }).form; //创建窗体
  3778. _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); } }
  3779. break;
  3780. case "whiteboard":
  3781. _formdiv = new U.UF.UI.form(
  3782. "电子白板",
  3783. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3784. "id": "whiteboard",
  3785. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3786. "onresize": function () { }
  3787. }, {
  3788. closecallback: function () { }
  3789. }, { "style": { "height": "36px" } }).form; //创建窗体
  3790. _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); } }
  3791. break;
  3792. case "investigation":
  3793. _formdiv = new U.UF.UI.form(
  3794. "问卷调查",
  3795. $$("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 }), {
  3796. "id": "investigation",
  3797. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3798. "onresize": function () { }
  3799. }, {
  3800. closecallback: function () { }
  3801. }, { "style": { "height": "36px" } }).form; //创建窗体
  3802. _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); } }
  3803. break;
  3804. case "mind":
  3805. _formdiv = new U.UF.UI.form(
  3806. "思维导图",
  3807. $$("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"
  3808. "id": "mind",
  3809. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3810. "onresize": function () { }
  3811. }, {
  3812. closecallback: function () { }
  3813. }, { "style": { "height": "36px" } }).form; //创建窗体
  3814. _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); } }
  3815. break;
  3816. case "doc":
  3817. // U.MD.D.I.isRoom();
  3818. _formdiv = new U.UF.UI.form(
  3819. "协同文档",
  3820. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3821. "id": "doc",
  3822. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3823. "onresize": function () { }
  3824. }, {
  3825. closecallback: function () { }
  3826. }, { "style": { "height": "36px" } }).form; //创建窗体
  3827. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3828. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3829. })
  3830. _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); } }
  3831. break;
  3832. case "study":
  3833. _formdiv = new U.UF.UI.form(
  3834. "课程中心",
  3835. $$("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
  3836. "id": "study",
  3837. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3838. "onresize": function () { }
  3839. }, {
  3840. closecallback: function () { }
  3841. }, { "style": { "height": "36px" } }).form; //创建窗体
  3842. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3843. break;
  3844. case "mindNetwork": //好友打开
  3845. _formdiv = new U.UF.UI.form(
  3846. "思维网格",
  3847. $$("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 }), {
  3848. "id": "mindNetwork",
  3849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function () { }
  3851. }, {
  3852. closecallback: function () { }
  3853. }, { "style": { "height": "36px" } }).form; //创建窗体
  3854. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3855. break;
  3856. case "train": //好友打开
  3857. _formdiv = new U.UF.UI.form(
  3858. "训练平台",
  3859. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3860. "id": "train",
  3861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3862. "onresize": function () { }
  3863. }, {
  3864. closecallback: function () { }
  3865. }, { "style": { "height": "36px" } }).form; //创建窗体
  3866. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3867. break;
  3868. case "sys":
  3869. _formdiv = new U.UF.UI.form(
  3870. "目标管理",
  3871. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3872. "id": "sys",
  3873. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3874. "onresize": function () { }
  3875. }, {
  3876. closecallback: function () { }
  3877. }, { "style": { "height": "36px" } }).form; //创建窗体
  3878. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3879. break;
  3880. case "courseDesign":
  3881. _formdiv = new U.UF.UI.form(
  3882. "项目设计",
  3883. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3884. "id": "courseDesign",
  3885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3886. "onresize": function () { }
  3887. }, {
  3888. closecallback: function () { }
  3889. }, { "style": { "height": "36px" } }).form; //创建窗体
  3890. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3891. break;
  3892. }
  3893. } else if (!_type) {
  3894. switch (str) {
  3895. case "my":
  3896. _formdiv = new U.UF.UI.form(
  3897. "我的资料",
  3898. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3899. "id": "my",
  3900. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3901. "onresize": function () { }
  3902. }, {
  3903. closecallback: function () { }
  3904. }, { "style": { "height": "36px" } }).form; //创建窗体
  3905. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3906. break;
  3907. }
  3908. }
  3909. switch (str) {
  3910. // AIprogram2 AI体验 aihub.cocorobo.cn
  3911. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3912. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3913. case "formulaEdi": //公式编辑
  3914. _formdiv = new U.UF.UI.form(
  3915. "公式编辑",
  3916. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3917. "id": "formulaEdi",
  3918. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3919. "onresize": function () { }
  3920. }, {
  3921. closecallback: function () { }
  3922. }, { "style": { "height": "36px" } }).form; //创建窗体
  3923. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3924. break;
  3925. case "molStr": //分子结构
  3926. _formdiv = new U.UF.UI.form(
  3927. "分子结构",
  3928. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3929. "id": "molStr",
  3930. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function () { }
  3932. }, {
  3933. closecallback: function () { }
  3934. }, { "style": { "height": "36px" } }).form; //创建窗体
  3935. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3936. break;
  3937. case "timeAxis": //时间轴
  3938. _formdiv = new U.UF.UI.form(
  3939. "时间轴",
  3940. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3941. "id": "timeAxis",
  3942. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3943. "onresize": function () { }
  3944. }, {
  3945. closecallback: function () { }
  3946. }, { "style": { "height": "36px" } }).form; //创建窗体
  3947. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3948. break;
  3949. case "AIprogram2": //AI体验
  3950. _formdiv = new U.UF.UI.form(
  3951. "AI体验",
  3952. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3953. "id": "AIprogram2",
  3954. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3955. "onresize": function () { }
  3956. }, {
  3957. closecallback: function () { }
  3958. }, { "style": { "height": "36px" } }).form; //创建窗体
  3959. _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); } }
  3960. break;
  3961. case "Pythonprogram": //python编程
  3962. _formdiv = new U.UF.UI.form(
  3963. "Python编程",
  3964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3965. "id": "Pythonprogram",
  3966. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3967. "onresize": function () { }
  3968. }, {
  3969. closecallback: function () { }
  3970. }, { "style": { "height": "36px" } }).form; //创建窗体
  3971. _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); } }
  3972. break;
  3973. case "AIprogram": //ai编程
  3974. _formdiv = new U.UF.UI.form(
  3975. "AI编程平台",
  3976. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3977. "id": "AIprogram",
  3978. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3979. "onresize": function () { }
  3980. }, {
  3981. closecallback: function () { }
  3982. }, { "style": { "height": "36px" } }).form; //创建窗体
  3983. _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); } }
  3984. break;
  3985. case "CocoPi": //CocoPi
  3986. _formdiv = new U.UF.UI.form(
  3987. "CocoPi",
  3988. $$("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" }), {
  3989. "id": "CocoPi",
  3990. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3991. "onresize": function () { }
  3992. }, {
  3993. closecallback: function () { }
  3994. }, { "style": { "height": "36px" } }).form; //创建窗体
  3995. _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); } }
  3996. break;
  3997. case "Wood": //Wood
  3998. _formdiv = new U.UF.UI.form(
  3999. "海龟编程",
  4000. $$("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/" }), {
  4001. "id": "Wood",
  4002. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4003. "onresize": function () { }
  4004. }, {
  4005. closecallback: function () { }
  4006. }, { "style": { "height": "36px" } }).form; //创建窗体
  4007. _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); } }
  4008. break;
  4009. case "car": //模拟驾驶
  4010. _formdiv = new U.UF.UI.form(
  4011. "模拟驾驶",
  4012. $$("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/" }), {
  4013. "id": "car",
  4014. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4015. "onresize": function () { }
  4016. }, {
  4017. closecallback: function () { }
  4018. }, { "style": { "height": "36px" } }).form; //创建窗体
  4019. _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); } }
  4020. break;
  4021. case "lineSearch": //路径搜索
  4022. _formdiv = new U.UF.UI.form(
  4023. "路径搜索",
  4024. $$("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/" }), {
  4025. "id": "lineSearch",
  4026. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4027. "onresize": function () { }
  4028. }, {
  4029. closecallback: function () { }
  4030. }, { "style": { "height": "36px" } }).form; //创建窗体
  4031. _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); } }
  4032. break;
  4033. case "deepLearning": //深度学习
  4034. _formdiv = new U.UF.UI.form(
  4035. "深度学习",
  4036. $$("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/#" }), {
  4037. "id": "deepLearning",
  4038. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4044. break;
  4045. case "allHistory": //深度学习
  4046. _formdiv = new U.UF.UI.form(
  4047. "全历史",
  4048. $$("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/" }), {
  4049. "id": "allHistory",
  4050. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4056. break;
  4057. case "chatPDF": //ai编程
  4058. _formdiv = new U.UF.UI.form(
  4059. "chatPDF",
  4060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4061. "id": "chatPDF",
  4062. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //创建窗体
  4067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4068. break;
  4069. case "resources": //国家教育
  4070. _formdiv = new U.UF.UI.form(
  4071. "国家教育",
  4072. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4073. "id": "resources",
  4074. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4080. break;
  4081. case "codeEdit": //源码编辑
  4082. _formdiv = new U.UF.UI.form(
  4083. "源码编辑",
  4084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4085. "id": "codeEdit",
  4086. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4087. "onresize": function () { }
  4088. }, {
  4089. closecallback: function () { }
  4090. }, { "style": { "height": "36px" } }).form; //创建窗体
  4091. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4092. break; //
  4093. case "MindMap": //MindMap
  4094. _formdiv = new U.UF.UI.form(
  4095. "MindMap",
  4096. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4097. "id": "MindMap",
  4098. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //创建窗体
  4103. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4104. break;
  4105. case "netWorkPanel": //netWorkPanel
  4106. _formdiv = new U.UF.UI.form(
  4107. "netWorkPanel",
  4108. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4109. "id": "netWorkPanel",
  4110. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4111. "onresize": function () { }
  4112. }, {
  4113. closecallback: function () { }
  4114. }, { "style": { "height": "36px" } }).form; //创建窗体
  4115. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4116. break;
  4117. case "GeoGebra": //GeoGebra
  4118. _formdiv = new U.UF.UI.form(
  4119. "GeoGebra",
  4120. $$("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" }), {
  4121. "id": "GeoGebra",
  4122. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4123. "onresize": function () { }
  4124. }, {
  4125. closecallback: function () { }
  4126. }, { "style": { "height": "36px" } }).form; //创建窗体
  4127. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4128. break;
  4129. case "translation": //翻译
  4130. _formdiv = new U.UF.UI.form(
  4131. "翻译",
  4132. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4133. "id": "translation",
  4134. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4135. "onresize": function () { }
  4136. }, {
  4137. closecallback: function () { }
  4138. }, { "style": { "height": "36px" } }).form; //创建窗体
  4139. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4140. break;
  4141. case "mohe": //魔盒
  4142. _formdiv = new U.UF.UI.form(
  4143. "魔盒识字",
  4144. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4145. "id": "mohe",
  4146. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4147. "onresize": function () { }
  4148. }, {
  4149. closecallback: function () { }
  4150. }, { "style": { "height": "36px" } }).form; //创建窗体
  4151. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4152. break;
  4153. case "24game": //24点
  4154. _formdiv = new U.UF.UI.form(
  4155. "24点",
  4156. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4157. "id": "24game",
  4158. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4159. "onresize": function () { }
  4160. }, {
  4161. closecallback: function () { }
  4162. }, { "style": { "height": "36px" } }).form; //创建窗体
  4163. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4164. break;
  4165. case "case":
  4166. _formdiv = new U.UF.UI.form(
  4167. "课程进展",
  4168. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4169. "id": "case",
  4170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4171. "onresize": function () { }
  4172. }, {
  4173. closecallback: function () { }
  4174. }, { "style": { "height": "36px" } }).form; //创建窗体
  4175. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4176. break;
  4177. case "snf":
  4178. _formdiv = new U.UF.UI.form(
  4179. "赛诺梵",
  4180. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  4181. "id": "snf",
  4182. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //创建窗体
  4187. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4188. break;
  4189. case "hanFamily":
  4190. _formdiv = new U.UF.UI.form(
  4191. "汉字家族",
  4192. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4193. "id": "hanFamily",
  4194. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4195. "onresize": function () { }
  4196. }, {
  4197. closecallback: function () { }
  4198. }, { "style": { "height": "36px" } }).form; //创建窗体
  4199. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4200. break;
  4201. case "hanClassics":
  4202. _formdiv = new U.UF.UI.form(
  4203. "国学经典",
  4204. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4205. "id": "hanClassics",
  4206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4207. "onresize": function () { }
  4208. }, {
  4209. closecallback: function () { }
  4210. }, { "style": { "height": "36px" } }).form; //创建窗体
  4211. _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); } }
  4212. break;
  4213. case "hanTraining":
  4214. _formdiv = new U.UF.UI.form(
  4215. "笔画训练",
  4216. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4217. "id": "hanTraining",
  4218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4219. "onresize": function () { }
  4220. }, {
  4221. closecallback: function () { }
  4222. }, { "style": { "height": "36px" } }).form; //创建窗体
  4223. _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); } }
  4224. break;
  4225. case "hanClass":
  4226. _formdiv = new U.UF.UI.form(
  4227. "书法课堂",
  4228. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4229. "id": "hanClass",
  4230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4231. "onresize": function () { }
  4232. }, {
  4233. closecallback: function () { }
  4234. }, { "style": { "height": "36px" } }).form; //创建窗体
  4235. _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); } }
  4236. break;
  4237. case "han":
  4238. _formdiv = new U.UF.UI.form(
  4239. "汉字宫",
  4240. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4241. "id": "han",
  4242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4243. "onresize": function () { }
  4244. }, {
  4245. closecallback: function () { }
  4246. }, { "style": { "height": "36px" } }).form; //创建窗体
  4247. _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); } }
  4248. break;
  4249. case "projectGM": //课程管理
  4250. _formdiv = new U.UF.UI.form(
  4251. "课程管理",
  4252. $$("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 }), {
  4253. "id": "projectGM",
  4254. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4255. "onresize": function () { }
  4256. }, {
  4257. closecallback: function () { }
  4258. }, { "style": { "height": "36px" } }).form; //创建窗体
  4259. _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); } }
  4260. break;
  4261. case "studyGM": //课程中心
  4262. _formdiv = new U.UF.UI.form(
  4263. "课程中心",
  4264. $$("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
  4265. "id": "study",
  4266. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4267. "onresize": function () { }
  4268. }, {
  4269. closecallback: function () { }
  4270. }, { "style": { "height": "36px" } }).form; //创建窗体
  4271. _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); } }
  4272. break;
  4273. // studentGM
  4274. case "studentGM": //学生管理
  4275. _formdiv = new U.UF.UI.form(
  4276. "学生管理",
  4277. $$("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 }), {
  4278. "id": "studentGM",
  4279. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4280. "onresize": function () { }
  4281. }, {
  4282. closecallback: function () { }
  4283. }, { "style": { "height": "36px" } }).form; //创建窗体
  4284. _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); } }
  4285. break;
  4286. case "evaluateGM": //学生评价
  4287. _formdiv = new U.UF.UI.form(
  4288. "学生评价",
  4289. $$("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 }), {
  4290. "id": "evaluateGM",
  4291. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4292. "onresize": function () { }
  4293. }, {
  4294. closecallback: function () { }
  4295. }, { "style": { "height": "36px" } }).form; //创建窗体
  4296. _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); } }
  4297. break;
  4298. // classGM
  4299. case "classGM": //班级管理
  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/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4303. "id": "classGM",
  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/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4310. break;
  4311. // dataGM
  4312. case "dataGM":
  4313. _formdiv = new U.UF.UI.form(
  4314. "我的资料",
  4315. $$("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 }), {
  4316. "id": "dataGM",
  4317. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4318. "onresize": function () { }
  4319. }, {
  4320. closecallback: function () { }
  4321. }, { "style": { "height": "36px" } }).form; //创建窗体
  4322. _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); } }
  4323. break;
  4324. // caseGM
  4325. case "caseGM": //课程进展
  4326. _formdiv = new U.UF.UI.form(
  4327. "课程进展",
  4328. $$("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 }), {
  4329. "id": "caseGM",
  4330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4331. "onresize": function () { }
  4332. }, {
  4333. closecallback: function () { }
  4334. }, { "style": { "height": "36px" } }).form; //创建窗体
  4335. _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); } }
  4336. break;
  4337. // meterialGM
  4338. case "meterialGM": //素材库
  4339. _formdiv = new U.UF.UI.form(
  4340. "素材库",
  4341. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4342. "id": "meterialGM",
  4343. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4344. "onresize": function () { }
  4345. }, {
  4346. closecallback: function () { }
  4347. }, { "style": { "height": "36px" } }).form; //创建窗体
  4348. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4349. break;
  4350. // evaluateSGM
  4351. case "evaluateSGM": //我的评价
  4352. _formdiv = new U.UF.UI.form(
  4353. "我的评价",
  4354. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4355. "id": "evaluateSGM",
  4356. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4357. "onresize": function () { }
  4358. }, {
  4359. closecallback: function () { }
  4360. }, { "style": { "height": "36px" } }).form; //创建窗体
  4361. _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); } }
  4362. break;
  4363. case "jupyter": //jupyter
  4364. _formdiv = new U.UF.UI.form(
  4365. "jupyter",
  4366. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4367. "id": "jupyter",
  4368. "style": { "width": "90%", "height": "90%", "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/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4374. break;
  4375. case "number": //数字实验室
  4376. _formdiv = new U.UF.UI.form(
  4377. "数字实验室",
  4378. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4379. "id": "number",
  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/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4386. break;
  4387. case "studentCourse": //项目管理 学生
  4388. _formdiv = new U.UF.UI.form(
  4389. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4390. $$("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 }), {
  4391. "id": "studentCourse",
  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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4398. break;
  4399. case "studentCourseS": //项目管理 老师
  4400. _formdiv = new U.UF.UI.form(
  4401. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4402. $$("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 }), {
  4403. "id": "studentCourseS",
  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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4410. break;
  4411. case "studentIndex": //项目中心
  4412. _formdiv = new U.UF.UI.form(
  4413. "项目中心",
  4414. $$("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 }), {
  4415. "id": "studentIndex",
  4416. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4417. "onresize": function () { }
  4418. }, {
  4419. closecallback: function () { }
  4420. }, { "style": { "height": "36px" } }).form; //创建窗体
  4421. _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); } }
  4422. break;
  4423. case "CaseDesignS":
  4424. _formdiv = new U.UF.UI.form(
  4425. "项目进展",
  4426. $$("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 }), {
  4427. "id": "case",
  4428. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4429. "onresize": function () { }
  4430. }, {
  4431. closecallback: function () { }
  4432. }, { "style": { "height": "36px" } }).form; //创建窗体
  4433. _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); } }
  4434. break;
  4435. case "tcStudent": //腾讯学生管理
  4436. _formdiv = new U.UF.UI.form(
  4437. "学生管理",
  4438. $$("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 }), {
  4439. "id": "tcStudent",
  4440. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4441. "onresize": function () { }
  4442. }, {
  4443. closecallback: function () { }
  4444. }, { "style": { "height": "36px" } }).form; //创建窗体
  4445. _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); } }
  4446. break;
  4447. case "tcSchool": //腾讯学校管理
  4448. _formdiv = new U.UF.UI.form(
  4449. "学校管理",
  4450. $$("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 }), {
  4451. "id": "tcSchool",
  4452. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4453. "onresize": function () { }
  4454. }, {
  4455. closecallback: function () { }
  4456. }, { "style": { "height": "36px" } }).form; //创建窗体
  4457. _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); } }
  4458. break;
  4459. case "tcTeacher": //腾讯学校管理
  4460. _formdiv = new U.UF.UI.form(
  4461. "教师管理",
  4462. $$("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 }), {
  4463. "id": "tcTeacher",
  4464. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4465. "onresize": function () { }
  4466. }, {
  4467. closecallback: function () { }
  4468. }, { "style": { "height": "36px" } }).form; //创建窗体
  4469. _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); } }
  4470. break;
  4471. case "tcData": //腾讯我的资料
  4472. _formdiv = new U.UF.UI.form(
  4473. "我的资料",
  4474. $$("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 }), {
  4475. "id": "tcData",
  4476. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4477. "onresize": function () { }
  4478. }, {
  4479. closecallback: function () { }
  4480. }, { "style": { "height": "36px" } }).form; //创建窗体
  4481. _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); } }
  4482. break;
  4483. case "tcNotice": //腾讯消息通知
  4484. _formdiv = new U.UF.UI.form(
  4485. "消息通知",
  4486. $$("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 }), {
  4487. "id": "tcNotice",
  4488. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4489. "onresize": function () { }
  4490. }, {
  4491. closecallback: function () { }
  4492. }, { "style": { "height": "36px" } }).form; //创建窗体
  4493. _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); } }
  4494. break;
  4495. case "myReport": //好友打开
  4496. _formdiv = new U.UF.UI.form(
  4497. "我的评价",
  4498. $$("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 }), {
  4499. "id": "myReport",
  4500. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4501. "onresize": function () { }
  4502. }, {
  4503. closecallback: function () { }
  4504. }, { "style": { "height": "36px" } }).form; //创建窗体
  4505. _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); } }
  4506. break;
  4507. case "learnAna": //好友打开
  4508. _formdiv = new U.UF.UI.form(
  4509. "学习分析",
  4510. $$("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 }), {
  4511. "id": "learnAna",
  4512. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4513. "onresize": function () { }
  4514. }, {
  4515. closecallback: function () { }
  4516. }, { "style": { "height": "36px" } }).form; //创建窗体
  4517. _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); } }
  4518. break;
  4519. case "AIChat": //AI共创
  4520. _formdiv = new U.UF.UI.form(
  4521. "AI共创",
  4522. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4523. "id": "AIChat",
  4524. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4525. "onresize": function () { }
  4526. }, {
  4527. istop: true,
  4528. closecallback: function () { $("#aichat_icon").remove(); },
  4529. narrowcallback: function () {
  4530. if (!$("#aichat_icon")[0]) {
  4531. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4532. }
  4533. },
  4534. }, { "style": { "height": "36px" } }).form; //创建窗体
  4535. _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); } }
  4536. break;
  4537. case "ainew": //AI共创
  4538. _formdiv = new U.UF.UI.form(
  4539. "AI协同",
  4540. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4541. "id": "ainew",
  4542. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4543. "onresize": function () { }
  4544. }, {
  4545. closecallback: function () { }
  4546. }, { "style": { "height": "36px" } }).form; //创建窗体
  4547. _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); } }
  4548. break;
  4549. case "gpt4": //gpt4
  4550. _formdiv = new U.UF.UI.form(
  4551. "AI助手",
  4552. $$("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/" }), {
  4553. "id": "ainew",
  4554. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4555. "onresize": function () { }
  4556. }, {
  4557. closecallback: function () { }
  4558. }, { "style": { "height": "36px" } }).form; //创建窗体
  4559. _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); } }
  4560. break;
  4561. case "futureClass": //AI共创
  4562. _formdiv = new U.UF.UI.form(
  4563. "协同建构",
  4564. $$("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
  4565. "id": "synergyCourse",
  4566. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4567. "onresize": function () { }
  4568. }, {
  4569. closecallback: function () {
  4570. $("iframe", _formdiv)[0].contentWindow.loginout();
  4571. }
  4572. }, { "style": { "height": "36px" } }).form; //创建窗体
  4573. _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); } }
  4574. break;
  4575. case "aiagent": //ai agent
  4576. _formdiv = new U.UF.UI.form(
  4577. "AI Agent",
  4578. $$("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" }), {
  4579. "id": "AIAgent",
  4580. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4581. "onresize": function () { }
  4582. }, {
  4583. closecallback: function () { }
  4584. }, { "style": { "height": "36px" } }).form; //创建窗体
  4585. _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); } }
  4586. break;
  4587. case "dataBoard": //数据看板
  4588. _formdiv = new U.UF.UI.form(
  4589. "数据看板",
  4590. $$("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 }), {
  4591. "id": "dataBoard",
  4592. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4593. "onresize": function () { }
  4594. }, {
  4595. closecallback: function () { }
  4596. }, { "style": { "height": "36px" } }).form; //创建窗体
  4597. _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); } }
  4598. break;
  4599. case "dataBoardSies": //数据融合
  4600. _formdiv = new U.UF.UI.form(
  4601. "数据融合",
  4602. $$("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 }), {
  4603. "id": "dataBoardSies",
  4604. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4605. "onresize": function () { }
  4606. }, {
  4607. closecallback: function () { }
  4608. }, { "style": { "height": "36px" } }).form; //创建窗体
  4609. _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); } }
  4610. break;
  4611. case "dataBoardNew": //数据看板
  4612. _formdiv = new U.UF.UI.form(
  4613. "综合看板",
  4614. $$("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 }), {
  4615. "id": "dataBoardNew",
  4616. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4617. "onresize": function () { }
  4618. }, {
  4619. closecallback: function () { }
  4620. }, { "style": { "height": "36px" } }).form; //创建窗体
  4621. _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); } }
  4622. break;
  4623. case "AIAnalyse": //AI共创
  4624. _formdiv = new U.UF.UI.form(
  4625. "AI分析",
  4626. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4627. "id": "AIAnalyse",
  4628. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4629. "onresize": function () { }
  4630. }, {
  4631. closecallback: function () { }
  4632. }, { "style": { "height": "36px" } }).form; //创建窗体
  4633. _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); } }
  4634. break;
  4635. case "studioCourse": //AI共创
  4636. _formdiv = new U.UF.UI.form(
  4637. "工作管理",
  4638. $$("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 }), {
  4639. "id": "studioCourse",
  4640. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4641. "onresize": function () { }
  4642. }, {
  4643. closecallback: function () { }
  4644. }, { "style": { "height": "36px" } }).form; //创建窗体
  4645. _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); } }
  4646. break;
  4647. case "studioIndex": //AI共创
  4648. _formdiv = new U.UF.UI.form(
  4649. "工作中心",
  4650. $$("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 }), {
  4651. "id": "studioIndex",
  4652. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, { "style": { "height": "36px" } }).form; //创建窗体
  4657. _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); } }
  4658. break;
  4659. case "source":
  4660. _formdiv = new U.UF.UI.form(
  4661. "教学资源",
  4662. $$("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 }), {
  4663. "id": "source",
  4664. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4665. "onresize": function () { }
  4666. }, {
  4667. closecallback: function () { }
  4668. }, { "style": { "height": "36px" } }).form; //创建窗体
  4669. _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); } }
  4670. break;
  4671. case "testTeacher":
  4672. _formdiv = new U.UF.UI.form(
  4673. "评测管理",
  4674. $$("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 }), {
  4675. "id": "testTeacher",
  4676. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4677. "onresize": function () { }
  4678. }, {
  4679. closecallback: function () { }
  4680. }, { "style": { "height": "36px" } }).form; //创建窗体
  4681. _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); } }
  4682. break;
  4683. case "testStudent":
  4684. _formdiv = new U.UF.UI.form(
  4685. "评测中心",
  4686. $$("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 }), {
  4687. "id": "testStudent",
  4688. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4689. "onresize": function () { }
  4690. }, {
  4691. closecallback: function () { }
  4692. }, { "style": { "height": "36px" } }).form; //创建窗体
  4693. _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); } }
  4694. break;
  4695. case "testTeacherSies":
  4696. _formdiv = new U.UF.UI.form(
  4697. "教师管理",
  4698. $$("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 }), {
  4699. "id": "testTeacherSies",
  4700. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4701. "onresize": function () { }
  4702. }, {
  4703. closecallback: function () { }
  4704. }, { "style": { "height": "36px" } }).form; //创建窗体
  4705. _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); } }
  4706. break;
  4707. case "testStudentSies":
  4708. _formdiv = new U.UF.UI.form(
  4709. "教师中心",
  4710. $$("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 }), {
  4711. "id": "testStudentSies",
  4712. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4713. "onresize": function () { }
  4714. }, {
  4715. closecallback: function () { }
  4716. }, { "style": { "height": "36px" } }).form; //创建窗体
  4717. _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); } }
  4718. break;
  4719. }
  4720. //U.MD.D.I.openClick(str);
  4721. //如果有任务栏信息
  4722. if (_taskbar) {
  4723. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4724. }
  4725. }
  4726. // U.MD.D.I.openClick = function(str){
  4727. // var click = '';
  4728. // switch(str){
  4729. // case 'friend':
  4730. // click = '我的好友';
  4731. // break;
  4732. // case 'domain':
  4733. // click = '域名管理';
  4734. // break;
  4735. // case 'disk':
  4736. // click = '我的云盘';
  4737. // break;
  4738. // case 'word':
  4739. // click = 'Word';
  4740. // break;
  4741. // case 'excel':
  4742. // click = 'Execl';
  4743. // break;
  4744. // case 'txt':
  4745. // click = '文本文件';
  4746. // break;
  4747. // case 'lookupFriend':
  4748. // click = '查找好友';
  4749. // break;
  4750. // case 'ftp':
  4751. // click = 'FTP';
  4752. // break;
  4753. // case 'group':
  4754. // click = '群组';
  4755. // break;
  4756. // case 'set':
  4757. // click = '我的设置';
  4758. // break;
  4759. // case 'systemSet':
  4760. // click = '系统设置';
  4761. // break;
  4762. // case 'boomYun':
  4763. // click = '互联办公';
  4764. // break;
  4765. // case 'xz':
  4766. // click = '云端下载';
  4767. // break;
  4768. // case 'client':
  4769. // click = '有思浏览器';
  4770. // break;
  4771. // case 'backEndProgramming':
  4772. // click = '在线后台编程';
  4773. // break;
  4774. // case 'frontEndProgramming':
  4775. // click = '在线前端编程';
  4776. // break;
  4777. // default: break;
  4778. // }
  4779. // if(U.MD.D.I.Ip && click){
  4780. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4781. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4782. // })
  4783. // }
  4784. // }
  4785. /**
  4786. *函数作用:ajax简易函数,使用post格式
  4787. *@param url {data} 后台地址
  4788. *@param data {data} 参数json
  4789. *@param fn {data} 回调函数
  4790. *
  4791. */
  4792. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4793. // var xhr = new XMLHttpRequest();
  4794. // xhr.open("GET",url,true);
  4795. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4796. // xhr.onreadystatechange = function(){
  4797. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4798. // fn.call(this,xhr.responseText);
  4799. // }
  4800. // };
  4801. // xhr.send();
  4802. // }
  4803. /*判断是否是内网IP*/
  4804. // U.MD.D.I.isInnerIPFn = function(str){
  4805. // var curPageUrl = str;
  4806. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4807. // curPageUrl =curPageUrl.replace(reg1,'');
  4808. // // console.log('curPageUrl-1 '+curPageUrl);
  4809. // var reg2 = /\:+/g;//替换冒号为一点
  4810. // curPageUrl =curPageUrl.replace(reg2,'.');
  4811. // // console.log('curPageUrl-2 '+curPageUrl);
  4812. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4813. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4814. // if(curPageUrl[2] != '16'){
  4815. // return ipAddress;
  4816. // }else{
  4817. // return false;
  4818. // }
  4819. // }
  4820. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4821. // //compatibility for firefox and chrome
  4822. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4823. // var pc = new myPeerConnection({
  4824. // iceServers: []
  4825. // }),
  4826. // noop = function() {},
  4827. // localIPs = {},
  4828. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4829. // key;
  4830. // function iterateIP(ip) {
  4831. // if (!localIPs[ip]) onNewIP(ip);
  4832. // localIPs[ip] = true;
  4833. // }
  4834. // //create a bogus data channel
  4835. // pc.createDataChannel("");
  4836. // // create offer and set local description
  4837. // pc.createOffer().then(function(sdp) {
  4838. // sdp.sdp.split('\n').forEach(function(line) {
  4839. // if (line.indexOf('candidate') < 0) return;
  4840. // line.match(ipRegex).forEach(iterateIP);
  4841. // });
  4842. // pc.setLocalDescription(sdp, noop, noop);
  4843. // }).catch(function(reason) {
  4844. // // An error occurred, so handle the failure to connect
  4845. // });
  4846. // //sten for candidate events
  4847. // pc.onicecandidate = function(ice) {
  4848. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4849. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4850. // };
  4851. // }
  4852. // U.MD.D.I.getUserIpBool = function(callback){
  4853. // U.MD.D.I.getUserIP(function(ip){
  4854. // alert("Got IP! :" + ip);
  4855. // });
  4856. //}
  4857. //#endregion
  4858. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4859. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4860. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4861. _userinfo = US.userInfo, //登录用户信息
  4862. _userid = US.userInfo.userid //登录用户id
  4863. let _iframe;
  4864. let _cid = cid,
  4865. _stage = stage,
  4866. _task = task,
  4867. _tool = tool;
  4868. var _jie = $$("div", {
  4869. "style": {
  4870. "position": "absolute",
  4871. "bottom": "50px",
  4872. "right": "50px",
  4873. "zIndex": "9999",
  4874. "backgroundColor": "#2268bc",
  4875. "color": "#fff",
  4876. "padding": "12px 20px",
  4877. "cursor": "pointer",
  4878. "borderRadius": "4px",
  4879. },
  4880. "innerHTML": "提交作业"
  4881. })
  4882. let aTool = ''
  4883. let _loading = document.createElement('div')
  4884. _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;"
  4885. // _loading.id = "";
  4886. let _lchild = document.createElement('div')
  4887. let _limg = document.createElement('img')
  4888. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4889. _limg.style = "width: 26px;margin-right: 10px;"
  4890. _lchild.appendChild(_limg)
  4891. let _lspan = document.createElement('span')
  4892. _lspan.innerHTML = "上传中..."
  4893. _lchild.appendChild(_lspan)
  4894. _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%);"
  4895. _loading.appendChild(_lchild)
  4896. var _box = $$('div', {
  4897. "style": {
  4898. "position": "relative",
  4899. "width": "100%",
  4900. "height": "100%",
  4901. },
  4902. })
  4903. _box.appendChild(_loading)
  4904. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4905. switch (str) {
  4906. case "whiteboard":
  4907. aTool = 1;
  4908. _iframe = $$("iframe", {
  4909. "frameborder": "no",
  4910. "border": "0",
  4911. "scrolling ": "no",
  4912. "style": {
  4913. "cssText": "border:0;width:100%;height:100%"
  4914. },
  4915. "src": "https://iwb.cocorobo.cn/"
  4916. })
  4917. _box.appendChild(_iframe);
  4918. _box.appendChild(_jie);
  4919. _formdiv = new U.UF.UI.form(
  4920. "电子白板",
  4921. _box, {
  4922. "id": "whiteboard" + cid + stage + task + tool,
  4923. "style": {
  4924. "width": "90%",
  4925. "height": "90%",
  4926. "overflow": 'hidden'
  4927. },
  4928. "onresize": function () { }
  4929. }, {
  4930. closecallback: function () { }
  4931. }, {
  4932. "style": {
  4933. "height": "36px"
  4934. }
  4935. }).form; //创建窗体
  4936. _taskbar = {
  4937. "id": str + _formdiv.id,
  4938. "style": {
  4939. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4940. },
  4941. "name": "电子白板",
  4942. "forms": _formdiv,
  4943. "click": function () {
  4944. U.MD.D.I.openApplication(str, obj, info);
  4945. }
  4946. }
  4947. break;
  4948. case "mind":
  4949. aTool = 3;
  4950. _iframe = $$("iframe", {
  4951. "frameborder": "no",
  4952. "border": "0",
  4953. "scrolling ": "no",
  4954. "style": {
  4955. "cssText": "border:0;width:100%;height:100%"
  4956. },
  4957. "src": "/kityminder-editor/dist/index.html"
  4958. })
  4959. _box.appendChild(_iframe);
  4960. _box.appendChild(_jie);
  4961. _formdiv = new U.UF.UI.form(
  4962. "思维导图",
  4963. _box, { //"/jsmind/example/demo.html"
  4964. "id": "mind" + cid + stage + task + tool,
  4965. "style": {
  4966. "width": "90%",
  4967. "height": "90%",
  4968. "overflow": 'hidden'
  4969. },
  4970. "onresize": function () { }
  4971. }, {
  4972. closecallback: function () { }
  4973. }, {
  4974. "style": {
  4975. "height": "36px"
  4976. }
  4977. }).form; //创建窗体
  4978. _taskbar = {
  4979. "id": str + _formdiv.id,
  4980. "style": {
  4981. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4982. },
  4983. "name": "思维导图",
  4984. "forms": _formdiv,
  4985. "click": function () {
  4986. U.MD.D.I.openApplication(str, obj, info);
  4987. }
  4988. }
  4989. break;
  4990. case "MindMap":
  4991. aTool = 3;
  4992. _iframe = $$("iframe", {
  4993. "frameborder": "no",
  4994. "border": "0",
  4995. "scrolling ": "no",
  4996. "style": {
  4997. "cssText": "border:0;width:100%;height:100%"
  4998. },
  4999. "src": "//cloud.cocorobo.cn/mind/"
  5000. })
  5001. _box.appendChild(_iframe);
  5002. _box.appendChild(_jie);
  5003. _formdiv = new U.UF.UI.form(
  5004. "思维导图",
  5005. _box, { //"/jsmind/example/demo.html"
  5006. "id": "mind" + cid + stage + task + tool,
  5007. "style": {
  5008. "width": "90%",
  5009. "height": "90%",
  5010. "overflow": 'hidden'
  5011. },
  5012. "onresize": function () { }
  5013. }, {
  5014. closecallback: function () { }
  5015. }, {
  5016. "style": {
  5017. "height": "36px"
  5018. }
  5019. }).form; //创建窗体
  5020. _taskbar = {
  5021. "id": str + _formdiv.id,
  5022. "style": {
  5023. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5024. },
  5025. "name": "思维导图",
  5026. "forms": _formdiv,
  5027. "click": function () {
  5028. U.MD.D.I.openApplication(str, obj, info);
  5029. }
  5030. }
  5031. break;
  5032. case "doc":
  5033. aTool = 6;
  5034. _iframe = $$("iframe", {
  5035. "frameborder": "no",
  5036. "border": "0",
  5037. "scrolling ": "no",
  5038. "style": {
  5039. "cssText": "border:0;width:100%;height:100%"
  5040. },
  5041. "src": "/Office/Word/WordEditArea.htm"
  5042. })
  5043. _box.appendChild(_iframe);
  5044. _box.appendChild(_jie);
  5045. _formdiv = new U.UF.UI.form(
  5046. "协同文档",
  5047. _box, {
  5048. "id": "doc" + cid + stage + task + tool,
  5049. "style": {
  5050. "width": "90%",
  5051. "height": "90%",
  5052. "overflow": 'hidden'
  5053. },
  5054. "onresize": function () { }
  5055. }, {
  5056. closecallback: function () { }
  5057. }, {
  5058. "style": {
  5059. "height": "36px"
  5060. }
  5061. }).form; //创建窗体
  5062. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5063. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5064. })
  5065. _taskbar = {
  5066. "id": str + _formdiv.id,
  5067. "style": {
  5068. "backgroundImage": "url(/img/icon/doc.png)"
  5069. },
  5070. "name": "协同文档",
  5071. "forms": _formdiv,
  5072. "click": function () {
  5073. U.MD.D.I.openApplication(str, obj, info);
  5074. }
  5075. }
  5076. break;
  5077. case "mindNetwork": //好友打开
  5078. aTool = 7;
  5079. _iframe = $$("iframe", {
  5080. "webkitallowfullscreen": "",
  5081. "mozallowfullscreen": "",
  5082. "allowfullscreen": "",
  5083. "frameborder": "no",
  5084. "border": "0",
  5085. "scrolling ": "no",
  5086. "style": {
  5087. "cssText": "border:0; width:100%; height:100%;"
  5088. },
  5089. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5090. })
  5091. _box.appendChild(_iframe);
  5092. _box.appendChild(_jie);
  5093. _formdiv = new U.UF.UI.form(
  5094. "思维网格",
  5095. _box, {
  5096. "id": "mindNetwork" + cid + stage + task + tool,
  5097. "style": {
  5098. "width": "90%",
  5099. "height": "90%",
  5100. "overflow": 'hidden'
  5101. },
  5102. "onresize": function () { }
  5103. }, {
  5104. closecallback: function () { }
  5105. }, {
  5106. "style": {
  5107. "height": "36px"
  5108. }
  5109. }).form; //创建窗体
  5110. _taskbar = {
  5111. "id": str + _formdiv.id,
  5112. "style": {
  5113. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5114. },
  5115. "name": "思维网格",
  5116. "forms": _formdiv,
  5117. "click": function () {
  5118. U.MD.D.I.openApplication(str, obj, info);
  5119. }
  5120. }
  5121. break;
  5122. case "courseDesign":
  5123. _iframe = $$("iframe", {
  5124. "webkitallowfullscreen": "",
  5125. "mozallowfullscreen": "",
  5126. "allowfullscreen": "",
  5127. "frameborder": "no",
  5128. "border": "0",
  5129. "scrolling ": "no",
  5130. "style": {
  5131. "cssText": "border:0; width:100%; height:100%;"
  5132. },
  5133. "src": "/course-design-vue"
  5134. })
  5135. _box.appendChild(_iframe);
  5136. _box.appendChild(_jie);
  5137. _formdiv = new U.UF.UI.form(
  5138. "项目设计",
  5139. _box, {
  5140. "id": "courseDesign" + cid + stage + task + tool,
  5141. "style": {
  5142. "width": "90%",
  5143. "height": "90%",
  5144. "overflow": 'hidden'
  5145. },
  5146. "onresize": function () { }
  5147. }, {
  5148. closecallback: function () { }
  5149. }, {
  5150. "style": {
  5151. "height": "36px"
  5152. }
  5153. }).form; //创建窗体
  5154. _taskbar = {
  5155. "id": str + _formdiv.id,
  5156. "style": {
  5157. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5158. },
  5159. "name": "项目设计",
  5160. "forms": _formdiv,
  5161. "click": function () {
  5162. U.MD.D.I.openApplication(str, obj, info);
  5163. }
  5164. }
  5165. break;
  5166. }
  5167. const script1 = document.createElement("script");
  5168. script1.type = "text/javascript";
  5169. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5170. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5171. const script2 = document.createElement("script");
  5172. script2.type = "text/javascript";
  5173. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5174. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5175. const script3 = document.createElement("script");
  5176. script3.type = "text/javascript";
  5177. script3.charset = "UTF-8";
  5178. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5179. const script4 = document.createElement("script");
  5180. script4.type = "text/javascript";
  5181. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5182. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5183. if (_iframe) {
  5184. if (str == 'doc') {
  5185. _iframe = _formdiv.querySelector('iframe')
  5186. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5187. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5188. _iframe.contentWindow.document.body.appendChild(script1);
  5189. _iframe.contentWindow.document.body.appendChild(script2);
  5190. // _iframe.contentWindow.document.body.appendChild(script3);
  5191. _iframe.contentWindow.document.body.appendChild(script4);
  5192. })
  5193. if (onloadListener) {
  5194. _iframe.contentDocument.location.reload()
  5195. } else {
  5196. _iframe.contentDocument.location.reload()
  5197. }
  5198. } else if (str == 'courseDesign') {
  5199. U.UF.DL.iframeLoad(_iframe, function () {
  5200. // _iframe.contentWindow.U.MD.O.W.load();
  5201. // _iframe.contentWindow.document.body.appendChild(script1);
  5202. _iframe.contentWindow.document.body.appendChild(script2);
  5203. _iframe.contentWindow.document.body.appendChild(script4);
  5204. })
  5205. } else if (str == 'mind') {
  5206. _iframe = _formdiv.querySelector('iframe')
  5207. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5208. //
  5209. _iframe.contentWindow.document.body.appendChild(script1);
  5210. _iframe.contentWindow.document.body.appendChild(script2);
  5211. _iframe.contentWindow.document.body.appendChild(script4);
  5212. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5213. })
  5214. if (onloadListener) {
  5215. _iframe.contentDocument.location.reload()
  5216. } else {
  5217. _iframe.contentDocument.location.reload()
  5218. }
  5219. } else if (str == 'whiteboard') {
  5220. _iframe = _formdiv.querySelector('iframe')
  5221. let onloadListener = _iframe.onload = () => {
  5222. _iframe.contentWindow.document.body.appendChild(script1);
  5223. _iframe.contentWindow.document.body.appendChild(script2);
  5224. _iframe.contentWindow.document.body.appendChild(script4);
  5225. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5226. };
  5227. if (onloadListener) {
  5228. _iframe.contentDocument.location.reload()
  5229. } else {
  5230. _iframe.contentDocument.location.reload()
  5231. }
  5232. } else {
  5233. _iframe.onload = () => {
  5234. _iframe.contentWindow.document.body.appendChild(script1);
  5235. _iframe.contentWindow.document.body.appendChild(script2);
  5236. // _iframe.contentWindow.document.body.appendChild(script3);
  5237. _iframe.contentWindow.document.body.appendChild(script4);
  5238. };
  5239. }
  5240. _jie.onclick = async () => {
  5241. let text = ''
  5242. if (aTool == 1) {
  5243. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5244. } else if (aTool == 6) {
  5245. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5246. } else if (aTool == 3) {
  5247. text = await U.MD.D.I.getEditorContent(_iframe);
  5248. }
  5249. _loading.style.display = 'flex'
  5250. console.log(_loading);
  5251. var _ajs = _iframe.contentWindow.document.createElement("script");
  5252. _ajs.type = "text/javascript";
  5253. _ajs.innerHTML =
  5254. // 'console.log(' + _loading + ');\n' +
  5255. 'var _js = document.createElement("script");\n' +
  5256. '_js.type="text/javascript";\n' +
  5257. '_js.charset="UTF-8";\n' +
  5258. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5259. "_js.onload = function(){\n" +
  5260. ' var a = document.getElementsByTagName("img")\n' +
  5261. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5262. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5263. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5264. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5265. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5266. "beforeUpload_shishi(file," +
  5267. "'" +
  5268. _userid +
  5269. "'" +
  5270. ", " +
  5271. "'" +
  5272. _cid +
  5273. "'" +
  5274. ", " +
  5275. "'" +
  5276. _stage +
  5277. "'" +
  5278. ", " +
  5279. "'" +
  5280. _task +
  5281. "'" +
  5282. ", " +
  5283. "'" +
  5284. _tool +
  5285. "'" +
  5286. ", " +
  5287. "'" +
  5288. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5289. "'" +
  5290. ", " +
  5291. "'" +
  5292. aTool +
  5293. "'" +
  5294. ", " +
  5295. "`" +
  5296. text +
  5297. "`" +
  5298. ")\n" +
  5299. " });\n" +
  5300. "}\n" +
  5301. "document.head.appendChild(_js);\n";
  5302. _iframe.contentWindow.document.head.appendChild(_ajs);
  5303. }
  5304. }
  5305. //U.MD.D.I.openClick(str);
  5306. //如果有任务栏信息
  5307. // if (_taskbar) {
  5308. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5309. // }
  5310. }
  5311. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5312. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5313. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5314. _userinfo = US.userInfo, //登录用户信息
  5315. _userid = US.userInfo.userid //登录用户id
  5316. let _iframe;
  5317. let _cid = cid,
  5318. _stage = stage,
  5319. _task = task,
  5320. _tool = tool;
  5321. var _jie = $$("div", {
  5322. "style": {
  5323. "position": "absolute",
  5324. "bottom": "50px",
  5325. "right": "50px",
  5326. "zIndex": "9999",
  5327. "backgroundColor": "#2268bc",
  5328. "color": "#fff",
  5329. "padding": "12px 20px",
  5330. "cursor": "pointer",
  5331. "borderRadius": "4px",
  5332. },
  5333. "innerHTML": "提交作业"
  5334. })
  5335. let aTool = ''
  5336. let _loading = document.createElement('div')
  5337. _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;"
  5338. // _loading.id = "";
  5339. let _lchild = document.createElement('div')
  5340. let _limg = document.createElement('img')
  5341. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5342. _limg.style = "width: 26px;margin-right: 10px;"
  5343. _lchild.appendChild(_limg)
  5344. let _lspan = document.createElement('span')
  5345. _lspan.innerHTML = "上传中..."
  5346. _lchild.appendChild(_lspan)
  5347. _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%);"
  5348. _loading.appendChild(_lchild)
  5349. var _box = $$('div', {
  5350. "style": {
  5351. "position": "relative",
  5352. "width": "100%",
  5353. "height": "100%",
  5354. },
  5355. })
  5356. _box.appendChild(_loading)
  5357. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5358. switch (str) {
  5359. case "whiteboard":
  5360. aTool = 1;
  5361. _iframe = $$("iframe", {
  5362. "frameborder": "no",
  5363. "border": "0",
  5364. "scrolling ": "no",
  5365. "style": {
  5366. "cssText": "border:0;width:100%;height:100%"
  5367. },
  5368. "src": "https://iwb.cocorobo.cn/"
  5369. })
  5370. _box.appendChild(_iframe);
  5371. _box.appendChild(_jie);
  5372. _formdiv = new U.UF.UI.form(
  5373. "电子白板",
  5374. _box, {
  5375. "id": "whiteboard" + cid + stage + task + tool,
  5376. "style": {
  5377. "width": "90%",
  5378. "height": "90%",
  5379. "overflow": 'hidden'
  5380. },
  5381. "onresize": function () { }
  5382. }, {
  5383. closecallback: function () { }
  5384. }, {
  5385. "style": {
  5386. "height": "36px"
  5387. }
  5388. }).form; //创建窗体
  5389. _taskbar = {
  5390. "id": str + _formdiv.id,
  5391. "style": {
  5392. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5393. },
  5394. "name": "电子白板",
  5395. "forms": _formdiv,
  5396. "click": function () {
  5397. U.MD.D.I.openApplication(str, obj, info);
  5398. }
  5399. }
  5400. break;
  5401. case "mind":
  5402. aTool = 3;
  5403. _iframe = $$("iframe", {
  5404. "frameborder": "no",
  5405. "border": "0",
  5406. "scrolling ": "no",
  5407. "style": {
  5408. "cssText": "border:0;width:100%;height:100%"
  5409. },
  5410. "src": "/kityminder-editor/dist/index.html"
  5411. })
  5412. _box.appendChild(_iframe);
  5413. _box.appendChild(_jie);
  5414. _formdiv = new U.UF.UI.form(
  5415. "思维导图",
  5416. _box, { //"/jsmind/example/demo.html"
  5417. "id": "mind" + cid + stage + task + tool,
  5418. "style": {
  5419. "width": "90%",
  5420. "height": "90%",
  5421. "overflow": 'hidden'
  5422. },
  5423. "onresize": function () { }
  5424. }, {
  5425. closecallback: function () { }
  5426. }, {
  5427. "style": {
  5428. "height": "36px"
  5429. }
  5430. }).form; //创建窗体
  5431. _taskbar = {
  5432. "id": str + _formdiv.id,
  5433. "style": {
  5434. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5435. },
  5436. "name": "思维导图",
  5437. "forms": _formdiv,
  5438. "click": function () {
  5439. U.MD.D.I.openApplication(str, obj, info);
  5440. }
  5441. }
  5442. break;
  5443. case "MindMap":
  5444. aTool = 3;
  5445. _iframe = $$("iframe", {
  5446. "frameborder": "no",
  5447. "border": "0",
  5448. "scrolling ": "no",
  5449. "style": {
  5450. "cssText": "border:0;width:100%;height:100%"
  5451. },
  5452. "src": "//cloud.cocorobo.cn/mind/"
  5453. })
  5454. _box.appendChild(_iframe);
  5455. _box.appendChild(_jie);
  5456. _formdiv = new U.UF.UI.form(
  5457. "思维导图",
  5458. _box, { //"/jsmind/example/demo.html"
  5459. "id": "mind" + cid + stage + task + tool,
  5460. "style": {
  5461. "width": "90%",
  5462. "height": "90%",
  5463. "overflow": 'hidden'
  5464. },
  5465. "onresize": function () { }
  5466. }, {
  5467. closecallback: function () { }
  5468. }, {
  5469. "style": {
  5470. "height": "36px"
  5471. }
  5472. }).form; //创建窗体
  5473. _taskbar = {
  5474. "id": str + _formdiv.id,
  5475. "style": {
  5476. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5477. },
  5478. "name": "思维导图",
  5479. "forms": _formdiv,
  5480. "click": function () {
  5481. U.MD.D.I.openApplication(str, obj, info);
  5482. }
  5483. }
  5484. break;
  5485. case "doc":
  5486. aTool = 6;
  5487. _iframe = $$("iframe", {
  5488. "frameborder": "no",
  5489. "border": "0",
  5490. "scrolling ": "no",
  5491. "style": {
  5492. "cssText": "border:0;width:100%;height:100%"
  5493. },
  5494. "src": "/Office/Word/WordEditArea.htm"
  5495. })
  5496. _box.appendChild(_iframe);
  5497. _box.appendChild(_jie);
  5498. _formdiv = new U.UF.UI.form(
  5499. "协同文档",
  5500. _box, {
  5501. "id": "doc" + cid + stage + task + tool,
  5502. "style": {
  5503. "width": "90%",
  5504. "height": "90%",
  5505. "overflow": 'hidden'
  5506. },
  5507. "onresize": function () { }
  5508. }, {
  5509. closecallback: function () { }
  5510. }, {
  5511. "style": {
  5512. "height": "36px"
  5513. }
  5514. }).form; //创建窗体
  5515. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5516. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5517. })
  5518. _taskbar = {
  5519. "id": str + _formdiv.id,
  5520. "style": {
  5521. "backgroundImage": "url(/img/icon/doc.png)"
  5522. },
  5523. "name": "协同文档",
  5524. "forms": _formdiv,
  5525. "click": function () {
  5526. U.MD.D.I.openApplication(str, obj, info);
  5527. }
  5528. }
  5529. break;
  5530. case "mindNetwork": //好友打开
  5531. aTool = 7;
  5532. _iframe = $$("iframe", {
  5533. "webkitallowfullscreen": "",
  5534. "mozallowfullscreen": "",
  5535. "allowfullscreen": "",
  5536. "frameborder": "no",
  5537. "border": "0",
  5538. "scrolling ": "no",
  5539. "style": {
  5540. "cssText": "border:0; width:100%; height:100%;"
  5541. },
  5542. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5543. })
  5544. _box.appendChild(_iframe);
  5545. _box.appendChild(_jie);
  5546. _formdiv = new U.UF.UI.form(
  5547. "思维网格",
  5548. _box, {
  5549. "id": "mindNetwork" + cid + stage + task + tool,
  5550. "style": {
  5551. "width": "90%",
  5552. "height": "90%",
  5553. "overflow": 'hidden'
  5554. },
  5555. "onresize": function () { }
  5556. }, {
  5557. closecallback: function () { }
  5558. }, {
  5559. "style": {
  5560. "height": "36px"
  5561. }
  5562. }).form; //创建窗体
  5563. _taskbar = {
  5564. "id": str + _formdiv.id,
  5565. "style": {
  5566. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5567. },
  5568. "name": "思维网格",
  5569. "forms": _formdiv,
  5570. "click": function () {
  5571. U.MD.D.I.openApplication(str, obj, info);
  5572. }
  5573. }
  5574. break;
  5575. case "courseDesign":
  5576. _iframe = $$("iframe", {
  5577. "webkitallowfullscreen": "",
  5578. "mozallowfullscreen": "",
  5579. "allowfullscreen": "",
  5580. "frameborder": "no",
  5581. "border": "0",
  5582. "scrolling ": "no",
  5583. "style": {
  5584. "cssText": "border:0; width:100%; height:100%;"
  5585. },
  5586. "src": "/course-design-vue"
  5587. })
  5588. _box.appendChild(_iframe);
  5589. _box.appendChild(_jie);
  5590. _formdiv = new U.UF.UI.form(
  5591. "项目设计",
  5592. _box, {
  5593. "id": "courseDesign" + cid + stage + task + tool,
  5594. "style": {
  5595. "width": "90%",
  5596. "height": "90%",
  5597. "overflow": 'hidden'
  5598. },
  5599. "onresize": function () { }
  5600. }, {
  5601. closecallback: function () { }
  5602. }, {
  5603. "style": {
  5604. "height": "36px"
  5605. }
  5606. }).form; //创建窗体
  5607. _taskbar = {
  5608. "id": str + _formdiv.id,
  5609. "style": {
  5610. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5611. },
  5612. "name": "项目设计",
  5613. "forms": _formdiv,
  5614. "click": function () {
  5615. U.MD.D.I.openApplication(str, obj, info);
  5616. }
  5617. }
  5618. break;
  5619. }
  5620. const script1 = document.createElement("script");
  5621. script1.type = "text/javascript";
  5622. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5623. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5624. const script2 = document.createElement("script");
  5625. script2.type = "text/javascript";
  5626. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5627. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5628. const script3 = document.createElement("script");
  5629. script3.type = "text/javascript";
  5630. script3.charset = "UTF-8";
  5631. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5632. const script4 = document.createElement("script");
  5633. script4.type = "text/javascript";
  5634. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5635. script4.src = window.origin + "/js/Common/jietu2E.js";
  5636. if (_iframe) {
  5637. if (str == 'doc') {
  5638. _iframe = _formdiv.querySelector('iframe')
  5639. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5640. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5641. _iframe.contentWindow.document.body.appendChild(script1);
  5642. _iframe.contentWindow.document.body.appendChild(script2);
  5643. // _iframe.contentWindow.document.body.appendChild(script3);
  5644. _iframe.contentWindow.document.body.appendChild(script4);
  5645. })
  5646. if (onloadListener) {
  5647. _iframe.contentDocument.location.reload()
  5648. } else {
  5649. _iframe.contentDocument.location.reload()
  5650. }
  5651. } else if (str == 'courseDesign') {
  5652. U.UF.DL.iframeLoad(_iframe, function () {
  5653. // _iframe.contentWindow.U.MD.O.W.load();
  5654. // _iframe.contentWindow.document.body.appendChild(script1);
  5655. _iframe.contentWindow.document.body.appendChild(script2);
  5656. _iframe.contentWindow.document.body.appendChild(script4);
  5657. })
  5658. } else if (str == 'mind') {
  5659. _iframe = _formdiv.querySelector('iframe')
  5660. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5661. //
  5662. _iframe.contentWindow.document.body.appendChild(script1);
  5663. _iframe.contentWindow.document.body.appendChild(script2);
  5664. _iframe.contentWindow.document.body.appendChild(script4);
  5665. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5666. })
  5667. if (onloadListener) {
  5668. _iframe.contentDocument.location.reload()
  5669. } else {
  5670. _iframe.contentDocument.location.reload()
  5671. }
  5672. } else if (str == 'whiteboard') {
  5673. _iframe = _formdiv.querySelector('iframe')
  5674. let onloadListener = _iframe.onload = () => {
  5675. _iframe.contentWindow.document.body.appendChild(script1);
  5676. _iframe.contentWindow.document.body.appendChild(script2);
  5677. _iframe.contentWindow.document.body.appendChild(script4);
  5678. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5679. };
  5680. if (onloadListener) {
  5681. _iframe.contentDocument.location.reload()
  5682. } else {
  5683. _iframe.contentDocument.location.reload()
  5684. }
  5685. } else {
  5686. _iframe.onload = () => {
  5687. _iframe.contentWindow.document.body.appendChild(script1);
  5688. _iframe.contentWindow.document.body.appendChild(script2);
  5689. // _iframe.contentWindow.document.body.appendChild(script3);
  5690. _iframe.contentWindow.document.body.appendChild(script4);
  5691. };
  5692. }
  5693. _jie.onclick = async () => {
  5694. let text = ''
  5695. if (aTool == 1) {
  5696. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5697. } else if (aTool == 6) {
  5698. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5699. } else if (aTool == 3) {
  5700. text = await U.MD.D.I.getEditorContent(_iframe);
  5701. }
  5702. _loading.style.display = 'flex'
  5703. console.log(_loading);
  5704. var _ajs = _iframe.contentWindow.document.createElement("script");
  5705. _ajs.type = "text/javascript";
  5706. _ajs.innerHTML =
  5707. // 'console.log(' + _loading + ');\n' +
  5708. 'var _js = document.createElement("script");\n' +
  5709. '_js.type="text/javascript";\n' +
  5710. '_js.charset="UTF-8";\n' +
  5711. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5712. "_js.onload = function(){\n" +
  5713. ' var a = document.getElementsByTagName("img")\n' +
  5714. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5715. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5716. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5717. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5718. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5719. "beforeUpload_shishi(file," +
  5720. "'" +
  5721. _userid +
  5722. "'" +
  5723. ", " +
  5724. "'" +
  5725. _cid +
  5726. "'" +
  5727. ", " +
  5728. "'" +
  5729. _stage +
  5730. "'" +
  5731. ", " +
  5732. "'" +
  5733. _task +
  5734. "'" +
  5735. ", " +
  5736. "'" +
  5737. _tool +
  5738. "'" +
  5739. ", " +
  5740. "'" +
  5741. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5742. "'" +
  5743. ", " +
  5744. "'" +
  5745. aTool +
  5746. "'" +
  5747. ", " +
  5748. "`" +
  5749. text +
  5750. "`" +
  5751. ")\n" +
  5752. " });\n" +
  5753. "}\n" +
  5754. "document.head.appendChild(_js);\n";
  5755. _iframe.contentWindow.document.head.appendChild(_ajs);
  5756. }
  5757. }
  5758. //U.MD.D.I.openClick(str);
  5759. //如果有任务栏信息
  5760. // if (_taskbar) {
  5761. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5762. // }
  5763. }
  5764. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5765. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5766. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5767. _userid = student.userid, //登录用户id
  5768. _username = student.student //用户名字
  5769. let _iframe;
  5770. let _cid = cid,
  5771. _stage = stage,
  5772. _task = task,
  5773. _tool = tool;
  5774. var _jie = $$("div", {
  5775. "style": {
  5776. "position": "absolute",
  5777. "bottom": "50px",
  5778. "right": "50px",
  5779. "zIndex": "9999",
  5780. "backgroundColor": "#2268bc",
  5781. "color": "#fff",
  5782. "padding": "12px 20px",
  5783. "cursor": "pointer",
  5784. "borderRadius": "4px",
  5785. },
  5786. "innerHTML": "提交作业"
  5787. })
  5788. let aTool = ''
  5789. let _loading = document.createElement('div')
  5790. _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;"
  5791. // _loading.id = "";
  5792. let _lchild = document.createElement('div')
  5793. let _limg = document.createElement('img')
  5794. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5795. _limg.style = "width: 26px;margin-right: 10px;"
  5796. _lchild.appendChild(_limg)
  5797. let _lspan = document.createElement('span')
  5798. _lspan.innerHTML = "上传中..."
  5799. _lchild.appendChild(_lspan)
  5800. _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%);"
  5801. _loading.appendChild(_lchild)
  5802. var _box = $$('div', {
  5803. "style": {
  5804. "position": "relative",
  5805. "width": "100%",
  5806. "height": "100%",
  5807. },
  5808. })
  5809. _box.appendChild(_loading)
  5810. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5811. switch (str) {
  5812. case "whiteboard":
  5813. aTool = 1;
  5814. _iframe = $$("iframe", {
  5815. "frameborder": "no",
  5816. "border": "0",
  5817. "scrolling ": "no",
  5818. "style": {
  5819. "cssText": "border:0;width:100%;height:100%"
  5820. },
  5821. "src": "https://iwb.cocorobo.cn/"
  5822. })
  5823. _box.appendChild(_iframe);
  5824. _box.appendChild(_jie);
  5825. _formdiv = new U.UF.UI.form(
  5826. "电子白板-" + _username,
  5827. _box, {
  5828. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5829. "style": {
  5830. "width": "90%",
  5831. "height": "90%",
  5832. "overflow": 'hidden'
  5833. },
  5834. "onresize": function () { }
  5835. }, {
  5836. closecallback: function () { }
  5837. }, {
  5838. "style": {
  5839. "height": "36px"
  5840. }
  5841. }).form; //创建窗体
  5842. _taskbar = {
  5843. "id": str + _formdiv.id,
  5844. "style": {
  5845. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5846. },
  5847. "name": "电子白板",
  5848. "forms": _formdiv,
  5849. "click": function () {
  5850. U.MD.D.I.openApplication(str, obj, info);
  5851. }
  5852. }
  5853. break;
  5854. case "mind":
  5855. aTool = 3;
  5856. _iframe = $$("iframe", {
  5857. "frameborder": "no",
  5858. "border": "0",
  5859. "scrolling ": "no",
  5860. "style": {
  5861. "cssText": "border:0;width:100%;height:100%"
  5862. },
  5863. "src": "/kityminder-editor/dist/index.html"
  5864. })
  5865. _box.appendChild(_iframe);
  5866. _box.appendChild(_jie);
  5867. _formdiv = new U.UF.UI.form(
  5868. "思维导图-" + _username,
  5869. _box, { //"/jsmind/example/demo.html"
  5870. "id": "mind" + cid + stage + task + tool + _userid,
  5871. "style": {
  5872. "width": "90%",
  5873. "height": "90%",
  5874. "overflow": 'hidden'
  5875. },
  5876. "onresize": function () { }
  5877. }, {
  5878. closecallback: function () { }
  5879. }, {
  5880. "style": {
  5881. "height": "36px"
  5882. }
  5883. }).form; //创建窗体
  5884. _taskbar = {
  5885. "id": str + _formdiv.id,
  5886. "style": {
  5887. "backgroundImage": "url(/img/icon/mindMapping.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 "MindMap":
  5897. aTool = 3;
  5898. _iframe = $$("iframe", {
  5899. "frameborder": "no",
  5900. "border": "0",
  5901. "scrolling ": "no",
  5902. "style": {
  5903. "cssText": "border:0;width:100%;height:100%"
  5904. },
  5905. "src": "//cloud.cocorobo.cn/mind/"
  5906. })
  5907. _box.appendChild(_iframe);
  5908. _box.appendChild(_jie);
  5909. _formdiv = new U.UF.UI.form(
  5910. "思维导图-" + _username,
  5911. _box, { //"/jsmind/example/demo.html"
  5912. "id": "mind" + cid + stage + task + tool + _userid,
  5913. "style": {
  5914. "width": "90%",
  5915. "height": "90%",
  5916. "overflow": 'hidden'
  5917. },
  5918. "onresize": function () { }
  5919. }, {
  5920. closecallback: function () { }
  5921. }, {
  5922. "style": {
  5923. "height": "36px"
  5924. }
  5925. }).form; //创建窗体
  5926. _taskbar = {
  5927. "id": str + _formdiv.id,
  5928. "style": {
  5929. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5930. },
  5931. "name": "思维导图",
  5932. "forms": _formdiv,
  5933. "click": function () {
  5934. U.MD.D.I.openApplication(str, obj, info);
  5935. }
  5936. }
  5937. break;
  5938. case "doc":
  5939. aTool = 6;
  5940. _iframe = $$("iframe", {
  5941. "frameborder": "no",
  5942. "border": "0",
  5943. "scrolling ": "no",
  5944. "style": {
  5945. "cssText": "border:0;width:100%;height:100%"
  5946. },
  5947. "src": "/Office/Word/WordEditArea.htm"
  5948. })
  5949. _box.appendChild(_iframe);
  5950. _box.appendChild(_jie);
  5951. _formdiv = new U.UF.UI.form(
  5952. "协同文档-" + _username,
  5953. _box, {
  5954. "id": "doc" + cid + stage + task + tool + _userid,
  5955. "style": {
  5956. "width": "90%",
  5957. "height": "90%",
  5958. "overflow": 'hidden'
  5959. },
  5960. "onresize": function () { }
  5961. }, {
  5962. closecallback: function () { }
  5963. }, {
  5964. "style": {
  5965. "height": "36px"
  5966. }
  5967. }).form; //创建窗体
  5968. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5969. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5970. })
  5971. _taskbar = {
  5972. "id": str + _formdiv.id,
  5973. "style": {
  5974. "backgroundImage": "url(/img/icon/doc.png)"
  5975. },
  5976. "name": "协同文档",
  5977. "forms": _formdiv,
  5978. "click": function () {
  5979. U.MD.D.I.openApplication(str, obj, info);
  5980. }
  5981. }
  5982. break;
  5983. case "mindNetwork": //好友打开
  5984. aTool = 7;
  5985. _iframe = $$("iframe", {
  5986. "webkitallowfullscreen": "",
  5987. "mozallowfullscreen": "",
  5988. "allowfullscreen": "",
  5989. "frameborder": "no",
  5990. "border": "0",
  5991. "scrolling ": "no",
  5992. "style": {
  5993. "cssText": "border:0; width:100%; height:100%;"
  5994. },
  5995. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5996. })
  5997. _box.appendChild(_iframe);
  5998. _box.appendChild(_jie);
  5999. _formdiv = new U.UF.UI.form(
  6000. "思维网格-" + _username,
  6001. _box, {
  6002. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6003. "style": {
  6004. "width": "90%",
  6005. "height": "90%",
  6006. "overflow": 'hidden'
  6007. },
  6008. "onresize": function () { }
  6009. }, {
  6010. closecallback: function () { }
  6011. }, {
  6012. "style": {
  6013. "height": "36px"
  6014. }
  6015. }).form; //创建窗体
  6016. _taskbar = {
  6017. "id": str + _formdiv.id,
  6018. "style": {
  6019. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6020. },
  6021. "name": "思维网格",
  6022. "forms": _formdiv,
  6023. "click": function () {
  6024. U.MD.D.I.openApplication(str, obj, info);
  6025. }
  6026. }
  6027. break;
  6028. case "courseDesign":
  6029. _iframe = $$("iframe", {
  6030. "webkitallowfullscreen": "",
  6031. "mozallowfullscreen": "",
  6032. "allowfullscreen": "",
  6033. "frameborder": "no",
  6034. "border": "0",
  6035. "scrolling ": "no",
  6036. "style": {
  6037. "cssText": "border:0; width:100%; height:100%;"
  6038. },
  6039. "src": "/course-design-vue"
  6040. })
  6041. _box.appendChild(_iframe);
  6042. _box.appendChild(_jie);
  6043. _formdiv = new U.UF.UI.form(
  6044. "项目设计-" + _username,
  6045. _box, {
  6046. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6047. "style": {
  6048. "width": "90%",
  6049. "height": "90%",
  6050. "overflow": 'hidden'
  6051. },
  6052. "onresize": function () { }
  6053. }, {
  6054. closecallback: function () { }
  6055. }, {
  6056. "style": {
  6057. "height": "36px"
  6058. }
  6059. }).form; //创建窗体
  6060. _taskbar = {
  6061. "id": str + _formdiv.id,
  6062. "style": {
  6063. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6064. },
  6065. "name": "项目设计",
  6066. "forms": _formdiv,
  6067. "click": function () {
  6068. U.MD.D.I.openApplication(str, obj, info);
  6069. }
  6070. }
  6071. break;
  6072. }
  6073. const script1 = document.createElement("script");
  6074. script1.type = "text/javascript";
  6075. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6076. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6077. const script2 = document.createElement("script");
  6078. script2.type = "text/javascript";
  6079. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6080. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6081. const script3 = document.createElement("script");
  6082. script3.type = "text/javascript";
  6083. script3.charset = "UTF-8";
  6084. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6085. const script4 = document.createElement("script");
  6086. script4.type = "text/javascript";
  6087. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6088. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6089. if (_iframe) {
  6090. if (str == 'doc') {
  6091. _iframe = _formdiv.querySelector('iframe')
  6092. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6093. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6094. _iframe.contentWindow.document.body.appendChild(script1);
  6095. _iframe.contentWindow.document.body.appendChild(script2);
  6096. // _iframe.contentWindow.document.body.appendChild(script3);
  6097. _iframe.contentWindow.document.body.appendChild(script4);
  6098. })
  6099. if (onloadListener) {
  6100. _iframe.contentDocument.location.reload()
  6101. } else {
  6102. _iframe.contentDocument.location.reload()
  6103. }
  6104. } else if (str == 'courseDesign') {
  6105. U.UF.DL.iframeLoad(_iframe, function () {
  6106. // _iframe.contentWindow.U.MD.O.W.load();
  6107. // _iframe.contentWindow.document.body.appendChild(script1);
  6108. _iframe.contentWindow.document.body.appendChild(script2);
  6109. _iframe.contentWindow.document.body.appendChild(script4);
  6110. })
  6111. } else if (str == 'mind') {
  6112. _iframe = _formdiv.querySelector('iframe')
  6113. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6114. //
  6115. _iframe.contentWindow.document.body.appendChild(script1);
  6116. _iframe.contentWindow.document.body.appendChild(script2);
  6117. _iframe.contentWindow.document.body.appendChild(script4);
  6118. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6119. })
  6120. if (onloadListener) {
  6121. _iframe.contentDocument.location.reload()
  6122. } else {
  6123. _iframe.contentDocument.location.reload()
  6124. }
  6125. } else if (str == 'whiteboard') {
  6126. _iframe = _formdiv.querySelector('iframe')
  6127. let onloadListener = _iframe.onload = () => {
  6128. _iframe.contentWindow.document.body.appendChild(script1);
  6129. _iframe.contentWindow.document.body.appendChild(script2);
  6130. _iframe.contentWindow.document.body.appendChild(script4);
  6131. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6132. };
  6133. if (onloadListener) {
  6134. _iframe.contentDocument.location.reload()
  6135. } else {
  6136. _iframe.contentDocument.location.reload()
  6137. }
  6138. } else {
  6139. _iframe.onload = () => {
  6140. _iframe.contentWindow.document.body.appendChild(script1);
  6141. _iframe.contentWindow.document.body.appendChild(script2);
  6142. // _iframe.contentWindow.document.body.appendChild(script3);
  6143. _iframe.contentWindow.document.body.appendChild(script4);
  6144. };
  6145. }
  6146. _jie.onclick = async () => {
  6147. let text = ''
  6148. if (aTool == 1) {
  6149. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6150. } else if (aTool == 6) {
  6151. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6152. } else if (aTool == 3) {
  6153. text = await U.MD.D.I.getEditorContent(_iframe);
  6154. }
  6155. _loading.style.display = 'flex'
  6156. console.log(_loading);
  6157. var _ajs = _iframe.contentWindow.document.createElement("script");
  6158. _ajs.type = "text/javascript";
  6159. _ajs.innerHTML =
  6160. // 'console.log(' + _loading + ');\n' +
  6161. 'var _js = document.createElement("script");\n' +
  6162. '_js.type="text/javascript";\n' +
  6163. '_js.charset="UTF-8";\n' +
  6164. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6165. "_js.onload = function(){\n" +
  6166. ' var a = document.getElementsByTagName("img")\n' +
  6167. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6168. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6169. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6170. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6171. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6172. "beforeUpload_shishi(file," +
  6173. "'" +
  6174. _userid +
  6175. "'" +
  6176. ", " +
  6177. "'" +
  6178. _cid +
  6179. "'" +
  6180. ", " +
  6181. "'" +
  6182. _stage +
  6183. "'" +
  6184. ", " +
  6185. "'" +
  6186. _task +
  6187. "'" +
  6188. ", " +
  6189. "'" +
  6190. _tool +
  6191. "'" +
  6192. ", " +
  6193. "'" +
  6194. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6195. "'" +
  6196. ", " +
  6197. "'" +
  6198. aTool +
  6199. "'" +
  6200. ", " +
  6201. "`" +
  6202. text +
  6203. "`" +
  6204. ")\n" +
  6205. " });\n" +
  6206. "}\n" +
  6207. "document.head.appendChild(_js);\n";
  6208. _iframe.contentWindow.document.head.appendChild(_ajs);
  6209. }
  6210. }
  6211. }
  6212. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6213. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6214. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6215. _userid = student.userid, //登录用户id
  6216. _username = student.student //用户名字
  6217. let _iframe;
  6218. let _cid = cid,
  6219. _stage = stage,
  6220. _task = task,
  6221. _tool = tool;
  6222. var _jie = $$("div", {
  6223. "style": {
  6224. "position": "absolute",
  6225. "bottom": "50px",
  6226. "right": "50px",
  6227. "zIndex": "9999",
  6228. "backgroundColor": "#2268bc",
  6229. "color": "#fff",
  6230. "padding": "12px 20px",
  6231. "cursor": "pointer",
  6232. "borderRadius": "4px",
  6233. },
  6234. "innerHTML": "提交作业"
  6235. })
  6236. let aTool = ''
  6237. let _loading = document.createElement('div')
  6238. _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;"
  6239. // _loading.id = "";
  6240. let _lchild = document.createElement('div')
  6241. let _limg = document.createElement('img')
  6242. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6243. _limg.style = "width: 26px;margin-right: 10px;"
  6244. _lchild.appendChild(_limg)
  6245. let _lspan = document.createElement('span')
  6246. _lspan.innerHTML = "上传中..."
  6247. _lchild.appendChild(_lspan)
  6248. _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%);"
  6249. _loading.appendChild(_lchild)
  6250. var _box = $$('div', {
  6251. "style": {
  6252. "position": "relative",
  6253. "width": "100%",
  6254. "height": "100%",
  6255. },
  6256. })
  6257. _box.appendChild(_loading)
  6258. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6259. switch (str) {
  6260. case "whiteboard":
  6261. aTool = 1;
  6262. _iframe = $$("iframe", {
  6263. "frameborder": "no",
  6264. "border": "0",
  6265. "scrolling ": "no",
  6266. "style": {
  6267. "cssText": "border:0;width:100%;height:100%"
  6268. },
  6269. "src": "https://iwb.cocorobo.cn/"
  6270. })
  6271. _box.appendChild(_iframe);
  6272. _box.appendChild(_jie);
  6273. _formdiv = new U.UF.UI.form(
  6274. "电子白板-" + _username,
  6275. _box, {
  6276. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6277. "style": {
  6278. "width": "90%",
  6279. "height": "90%",
  6280. "overflow": 'hidden'
  6281. },
  6282. "onresize": function () { }
  6283. }, {
  6284. closecallback: function () { }
  6285. }, {
  6286. "style": {
  6287. "height": "36px"
  6288. }
  6289. }).form; //创建窗体
  6290. _taskbar = {
  6291. "id": str + _formdiv.id,
  6292. "style": {
  6293. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6294. },
  6295. "name": "电子白板",
  6296. "forms": _formdiv,
  6297. "click": function () {
  6298. U.MD.D.I.openApplication(str, obj, info);
  6299. }
  6300. }
  6301. break;
  6302. case "mind":
  6303. aTool = 3;
  6304. _iframe = $$("iframe", {
  6305. "frameborder": "no",
  6306. "border": "0",
  6307. "scrolling ": "no",
  6308. "style": {
  6309. "cssText": "border:0;width:100%;height:100%"
  6310. },
  6311. "src": "/kityminder-editor/dist/index.html"
  6312. })
  6313. _box.appendChild(_iframe);
  6314. _box.appendChild(_jie);
  6315. _formdiv = new U.UF.UI.form(
  6316. "思维导图-" + _username,
  6317. _box, { //"/jsmind/example/demo.html"
  6318. "id": "mind" + cid + stage + task + tool + _userid,
  6319. "style": {
  6320. "width": "90%",
  6321. "height": "90%",
  6322. "overflow": 'hidden'
  6323. },
  6324. "onresize": function () { }
  6325. }, {
  6326. closecallback: function () { }
  6327. }, {
  6328. "style": {
  6329. "height": "36px"
  6330. }
  6331. }).form; //创建窗体
  6332. _taskbar = {
  6333. "id": str + _formdiv.id,
  6334. "style": {
  6335. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6336. },
  6337. "name": "思维导图",
  6338. "forms": _formdiv,
  6339. "click": function () {
  6340. U.MD.D.I.openApplication(str, obj, info);
  6341. }
  6342. }
  6343. break;
  6344. case "MindMap":
  6345. aTool = 3;
  6346. _iframe = $$("iframe", {
  6347. "frameborder": "no",
  6348. "border": "0",
  6349. "scrolling ": "no",
  6350. "style": {
  6351. "cssText": "border:0;width:100%;height:100%"
  6352. },
  6353. "src": "//cloud.cocorobo.cn/mind/"
  6354. })
  6355. _box.appendChild(_iframe);
  6356. _box.appendChild(_jie);
  6357. _formdiv = new U.UF.UI.form(
  6358. "思维导图-" + _username,
  6359. _box, { //"/jsmind/example/demo.html"
  6360. "id": "mind" + cid + stage + task + tool + _userid,
  6361. "style": {
  6362. "width": "90%",
  6363. "height": "90%",
  6364. "overflow": 'hidden'
  6365. },
  6366. "onresize": function () { }
  6367. }, {
  6368. closecallback: function () { }
  6369. }, {
  6370. "style": {
  6371. "height": "36px"
  6372. }
  6373. }).form; //创建窗体
  6374. _taskbar = {
  6375. "id": str + _formdiv.id,
  6376. "style": {
  6377. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6378. },
  6379. "name": "思维导图",
  6380. "forms": _formdiv,
  6381. "click": function () {
  6382. U.MD.D.I.openApplication(str, obj, info);
  6383. }
  6384. }
  6385. break;
  6386. case "doc":
  6387. aTool = 6;
  6388. _iframe = $$("iframe", {
  6389. "frameborder": "no",
  6390. "border": "0",
  6391. "scrolling ": "no",
  6392. "style": {
  6393. "cssText": "border:0;width:100%;height:100%"
  6394. },
  6395. "src": "/Office/Word/WordEditArea.htm"
  6396. })
  6397. _box.appendChild(_iframe);
  6398. _box.appendChild(_jie);
  6399. _formdiv = new U.UF.UI.form(
  6400. "协同文档-" + _username,
  6401. _box, {
  6402. "id": "doc" + cid + stage + task + tool + _userid,
  6403. "style": {
  6404. "width": "90%",
  6405. "height": "90%",
  6406. "overflow": 'hidden'
  6407. },
  6408. "onresize": function () { }
  6409. }, {
  6410. closecallback: function () { }
  6411. }, {
  6412. "style": {
  6413. "height": "36px"
  6414. }
  6415. }).form; //创建窗体
  6416. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6417. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6418. })
  6419. _taskbar = {
  6420. "id": str + _formdiv.id,
  6421. "style": {
  6422. "backgroundImage": "url(/img/icon/doc.png)"
  6423. },
  6424. "name": "协同文档",
  6425. "forms": _formdiv,
  6426. "click": function () {
  6427. U.MD.D.I.openApplication(str, obj, info);
  6428. }
  6429. }
  6430. break;
  6431. case "mindNetwork": //好友打开
  6432. aTool = 7;
  6433. _iframe = $$("iframe", {
  6434. "webkitallowfullscreen": "",
  6435. "mozallowfullscreen": "",
  6436. "allowfullscreen": "",
  6437. "frameborder": "no",
  6438. "border": "0",
  6439. "scrolling ": "no",
  6440. "style": {
  6441. "cssText": "border:0; width:100%; height:100%;"
  6442. },
  6443. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6444. })
  6445. _box.appendChild(_iframe);
  6446. _box.appendChild(_jie);
  6447. _formdiv = new U.UF.UI.form(
  6448. "思维网格-" + _username,
  6449. _box, {
  6450. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6451. "style": {
  6452. "width": "90%",
  6453. "height": "90%",
  6454. "overflow": 'hidden'
  6455. },
  6456. "onresize": function () { }
  6457. }, {
  6458. closecallback: function () { }
  6459. }, {
  6460. "style": {
  6461. "height": "36px"
  6462. }
  6463. }).form; //创建窗体
  6464. _taskbar = {
  6465. "id": str + _formdiv.id,
  6466. "style": {
  6467. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6468. },
  6469. "name": "思维网格",
  6470. "forms": _formdiv,
  6471. "click": function () {
  6472. U.MD.D.I.openApplication(str, obj, info);
  6473. }
  6474. }
  6475. break;
  6476. case "courseDesign":
  6477. _iframe = $$("iframe", {
  6478. "webkitallowfullscreen": "",
  6479. "mozallowfullscreen": "",
  6480. "allowfullscreen": "",
  6481. "frameborder": "no",
  6482. "border": "0",
  6483. "scrolling ": "no",
  6484. "style": {
  6485. "cssText": "border:0; width:100%; height:100%;"
  6486. },
  6487. "src": "/course-design-vue"
  6488. })
  6489. _box.appendChild(_iframe);
  6490. _box.appendChild(_jie);
  6491. _formdiv = new U.UF.UI.form(
  6492. "项目设计-" + _username,
  6493. _box, {
  6494. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6495. "style": {
  6496. "width": "90%",
  6497. "height": "90%",
  6498. "overflow": 'hidden'
  6499. },
  6500. "onresize": function () { }
  6501. }, {
  6502. closecallback: function () { }
  6503. }, {
  6504. "style": {
  6505. "height": "36px"
  6506. }
  6507. }).form; //创建窗体
  6508. _taskbar = {
  6509. "id": str + _formdiv.id,
  6510. "style": {
  6511. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6512. },
  6513. "name": "项目设计",
  6514. "forms": _formdiv,
  6515. "click": function () {
  6516. U.MD.D.I.openApplication(str, obj, info);
  6517. }
  6518. }
  6519. break;
  6520. }
  6521. const script1 = document.createElement("script");
  6522. script1.type = "text/javascript";
  6523. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6524. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6525. const script2 = document.createElement("script");
  6526. script2.type = "text/javascript";
  6527. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6528. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6529. const script3 = document.createElement("script");
  6530. script3.type = "text/javascript";
  6531. script3.charset = "UTF-8";
  6532. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6533. const script4 = document.createElement("script");
  6534. script4.type = "text/javascript";
  6535. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6536. script4.src = window.origin + "/js/Common/jietu2E.js";
  6537. if (_iframe) {
  6538. if (str == 'doc') {
  6539. _iframe = _formdiv.querySelector('iframe')
  6540. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6541. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6542. _iframe.contentWindow.document.body.appendChild(script1);
  6543. _iframe.contentWindow.document.body.appendChild(script2);
  6544. // _iframe.contentWindow.document.body.appendChild(script3);
  6545. _iframe.contentWindow.document.body.appendChild(script4);
  6546. })
  6547. if (onloadListener) {
  6548. _iframe.contentDocument.location.reload()
  6549. } else {
  6550. _iframe.contentDocument.location.reload()
  6551. }
  6552. } else if (str == 'courseDesign') {
  6553. U.UF.DL.iframeLoad(_iframe, function () {
  6554. // _iframe.contentWindow.U.MD.O.W.load();
  6555. // _iframe.contentWindow.document.body.appendChild(script1);
  6556. _iframe.contentWindow.document.body.appendChild(script2);
  6557. _iframe.contentWindow.document.body.appendChild(script4);
  6558. })
  6559. } else if (str == 'mind') {
  6560. _iframe = _formdiv.querySelector('iframe')
  6561. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6562. //
  6563. _iframe.contentWindow.document.body.appendChild(script1);
  6564. _iframe.contentWindow.document.body.appendChild(script2);
  6565. _iframe.contentWindow.document.body.appendChild(script4);
  6566. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6567. })
  6568. if (onloadListener) {
  6569. _iframe.contentDocument.location.reload()
  6570. } else {
  6571. _iframe.contentDocument.location.reload()
  6572. }
  6573. } else if (str == 'whiteboard') {
  6574. _iframe = _formdiv.querySelector('iframe')
  6575. let onloadListener = _iframe.onload = () => {
  6576. _iframe.contentWindow.document.body.appendChild(script1);
  6577. _iframe.contentWindow.document.body.appendChild(script2);
  6578. _iframe.contentWindow.document.body.appendChild(script4);
  6579. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6580. };
  6581. if (onloadListener) {
  6582. _iframe.contentDocument.location.reload()
  6583. } else {
  6584. _iframe.contentDocument.location.reload()
  6585. }
  6586. } else {
  6587. _iframe.onload = () => {
  6588. _iframe.contentWindow.document.body.appendChild(script1);
  6589. _iframe.contentWindow.document.body.appendChild(script2);
  6590. // _iframe.contentWindow.document.body.appendChild(script3);
  6591. _iframe.contentWindow.document.body.appendChild(script4);
  6592. };
  6593. }
  6594. _jie.onclick = async () => {
  6595. let text = ''
  6596. if (aTool == 1) {
  6597. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6598. } else if (aTool == 6) {
  6599. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6600. } else if (aTool == 3) {
  6601. text = await U.MD.D.I.getEditorContent(_iframe);
  6602. }
  6603. _loading.style.display = 'flex'
  6604. console.log(_loading);
  6605. var _ajs = _iframe.contentWindow.document.createElement("script");
  6606. _ajs.type = "text/javascript";
  6607. _ajs.innerHTML =
  6608. // 'console.log(' + _loading + ');\n' +
  6609. 'var _js = document.createElement("script");\n' +
  6610. '_js.type="text/javascript";\n' +
  6611. '_js.charset="UTF-8";\n' +
  6612. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6613. "_js.onload = function(){\n" +
  6614. ' var a = document.getElementsByTagName("img")\n' +
  6615. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6616. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6617. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6618. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6619. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6620. "beforeUpload_shishi(file," +
  6621. "'" +
  6622. _userid +
  6623. "'" +
  6624. ", " +
  6625. "'" +
  6626. _cid +
  6627. "'" +
  6628. ", " +
  6629. "'" +
  6630. _stage +
  6631. "'" +
  6632. ", " +
  6633. "'" +
  6634. _task +
  6635. "'" +
  6636. ", " +
  6637. "'" +
  6638. _tool +
  6639. "'" +
  6640. ", " +
  6641. "'" +
  6642. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6643. "'" +
  6644. ", " +
  6645. "'" +
  6646. aTool +
  6647. "'" +
  6648. ", " +
  6649. "`" +
  6650. text +
  6651. "`" +
  6652. ")\n" +
  6653. " });\n" +
  6654. "}\n" +
  6655. "document.head.appendChild(_js);\n";
  6656. _iframe.contentWindow.document.head.appendChild(_ajs);
  6657. }
  6658. }
  6659. }
  6660. U.MD.D.I.getEditorContent = function (iframe) {
  6661. return new Promise((resolve, reject) => {
  6662. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6663. console.log(content);
  6664. resolve(content)
  6665. });
  6666. });
  6667. }
  6668. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6669. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6670. // if (res.value[0].length > 0) {
  6671. // // resolve(res.value[0][0].text);
  6672. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6673. // $(fileInput).val('');
  6674. // });
  6675. // }
  6676. // }, [], { "type": "GET", "withCredentials": true });
  6677. var xmlhttp;
  6678. var Mac, Sn, DeviceId
  6679. if (window.XMLHttpRequest) {
  6680. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6681. xmlhttp = new XMLHttpRequest();
  6682. } else {
  6683. // IE6, IE5 浏览器执行代码
  6684. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6685. }
  6686. xmlhttp.onreadystatechange = function () {
  6687. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6688. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6689. // resolve(res.value[0][0].text);
  6690. if (type == '2') {
  6691. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6692. } else if (type == '3') {
  6693. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6694. }
  6695. } else {
  6696. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6697. }
  6698. }
  6699. }
  6700. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6701. xmlhttp.send();
  6702. }
  6703. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6704. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6705. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6706. _userinfo = US.userInfo, //登录用户信息
  6707. _userid = US.userInfo.userid //登录用户id
  6708. let _iframe;
  6709. let _cid = cid,
  6710. _stage = stage,
  6711. _task = task,
  6712. _tool = tool;
  6713. var _jie = $$("div", {
  6714. "style": {
  6715. "position": "absolute",
  6716. "bottom": "50px",
  6717. "right": "50px",
  6718. "zIndex": "9999",
  6719. "backgroundColor": "#2268bc",
  6720. "color": "#fff",
  6721. "padding": "12px 20px",
  6722. "cursor": "pointer",
  6723. "borderRadius": "4px",
  6724. },
  6725. "innerHTML": "确认并提交"
  6726. })
  6727. let aTool = ''
  6728. let _loading = document.createElement('div')
  6729. _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;"
  6730. // _loading.id = "";
  6731. let _lchild = document.createElement('div')
  6732. let _limg = document.createElement('img')
  6733. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6734. _limg.style = "width: 26px;margin-right: 10px;"
  6735. _lchild.appendChild(_limg)
  6736. let _lspan = document.createElement('span')
  6737. _lspan.innerHTML = "上传中..."
  6738. _lchild.appendChild(_lspan)
  6739. _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%);"
  6740. _loading.appendChild(_lchild)
  6741. var _box = $$('div', {
  6742. "style": {
  6743. "position": "relative",
  6744. "width": "100%",
  6745. "height": "100%",
  6746. },
  6747. })
  6748. _box.appendChild(_loading)
  6749. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6750. switch (str) {
  6751. case "whiteboard":
  6752. aTool = 1;
  6753. _iframe = $$("iframe", {
  6754. "frameborder": "no",
  6755. "border": "0",
  6756. "scrolling ": "no",
  6757. "style": {
  6758. "cssText": "border:0;width:100%;height:100%"
  6759. },
  6760. "src": "https://iwb.cocorobo.cn/"
  6761. })
  6762. _box.appendChild(_iframe);
  6763. _box.appendChild(_jie);
  6764. _formdiv = new U.UF.UI.form(
  6765. "电子白板",
  6766. _box, {
  6767. "id": "whiteboards" + cid + stage + task + tool,
  6768. "style": {
  6769. "width": "90%",
  6770. "height": "90%",
  6771. "overflow": 'hidden'
  6772. },
  6773. "onresize": function () { }
  6774. }, {
  6775. closecallback: function () { }
  6776. }, {
  6777. "style": {
  6778. "height": "36px"
  6779. }
  6780. }).form; //创建窗体
  6781. _taskbar = {
  6782. "id": str + _formdiv.id,
  6783. "style": {
  6784. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6785. },
  6786. "name": "电子白板",
  6787. "forms": _formdiv,
  6788. "click": function () {
  6789. U.MD.D.I.openApplication(str, obj, info);
  6790. }
  6791. }
  6792. break;
  6793. case "mind":
  6794. aTool = 3;
  6795. _iframe = $$("iframe", {
  6796. "frameborder": "no",
  6797. "border": "0",
  6798. "scrolling ": "no",
  6799. "style": {
  6800. "cssText": "border:0;width:100%;height:100%"
  6801. },
  6802. "src": "/kityminder-editor/dist/index.html"
  6803. });
  6804. _box.appendChild(_iframe);
  6805. _box.appendChild(_jie);
  6806. _formdiv = new U.UF.UI.form(
  6807. "思维导图",
  6808. _box, { //"/jsmind/example/demo.html"
  6809. "id": "minds" + cid + stage + task + tool,
  6810. "style": {
  6811. "width": "90%",
  6812. "height": "90%",
  6813. "overflow": 'hidden'
  6814. },
  6815. "onresize": function () { }
  6816. }, {
  6817. closecallback: function () { }
  6818. }, {
  6819. "style": {
  6820. "height": "36px"
  6821. }
  6822. }).form; //创建窗体
  6823. _taskbar = {
  6824. "id": str + _formdiv.id,
  6825. "style": {
  6826. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6827. },
  6828. "name": "思维导图",
  6829. "forms": _formdiv,
  6830. "click": function () {
  6831. U.MD.D.I.openApplication(str, obj, info);
  6832. }
  6833. }
  6834. break;
  6835. case "doc":
  6836. aTool = 6;
  6837. _iframe = $$("iframe", {
  6838. "frameborder": "no",
  6839. "border": "0",
  6840. "scrolling ": "no",
  6841. "style": {
  6842. "cssText": "border:0;width:100%;height:100%"
  6843. },
  6844. "src": "/Office/Word/WordEditArea.htm"
  6845. })
  6846. _box.appendChild(_iframe);
  6847. _box.appendChild(_jie);
  6848. _formdiv = new U.UF.UI.form(
  6849. "协同文档",
  6850. _box, {
  6851. "id": "docs" + cid + stage + task + tool,
  6852. "style": {
  6853. "width": "90%",
  6854. "height": "90%",
  6855. "overflow": 'hidden'
  6856. },
  6857. "onresize": function () { }
  6858. }, {
  6859. closecallback: function () { }
  6860. }, {
  6861. "style": {
  6862. "height": "36px"
  6863. }
  6864. }).form; //创建窗体
  6865. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6866. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6867. })
  6868. _taskbar = {
  6869. "id": str + _formdiv.id,
  6870. "style": {
  6871. "backgroundImage": "url(/img/icon/doc.png)"
  6872. },
  6873. "name": "协同文档",
  6874. "forms": _formdiv,
  6875. "click": function () {
  6876. U.MD.D.I.openApplication(str, obj, info);
  6877. }
  6878. }
  6879. break;
  6880. }
  6881. const script1 = document.createElement("script");
  6882. script1.type = "text/javascript";
  6883. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6884. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6885. const script2 = document.createElement("script");
  6886. script2.type = "text/javascript";
  6887. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6888. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6889. const script3 = document.createElement("script");
  6890. script3.type = "text/javascript";
  6891. script3.charset = "UTF-8";
  6892. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6893. const script4 = document.createElement("script");
  6894. script4.type = "text/javascript";
  6895. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6896. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6897. if (_iframe) {
  6898. if (str == 'doc') {
  6899. _iframe = _formdiv.querySelector('iframe')
  6900. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6901. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6902. _iframe.contentWindow.document.body.appendChild(script1);
  6903. _iframe.contentWindow.document.body.appendChild(script2);
  6904. // _iframe.contentWindow.document.body.appendChild(script3);
  6905. _iframe.contentWindow.document.body.appendChild(script4);
  6906. })
  6907. if (onloadListener) {
  6908. _iframe.contentDocument.location.reload()
  6909. } else {
  6910. _iframe.contentDocument.location.reload()
  6911. }
  6912. } else if (str == 'mind') {
  6913. _iframe = _formdiv.querySelector('iframe')
  6914. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6915. _iframe.contentWindow.document.body.appendChild(script1);
  6916. _iframe.contentWindow.document.body.appendChild(script2);
  6917. _iframe.contentWindow.document.body.appendChild(script4);
  6918. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6919. })
  6920. if (onloadListener) {
  6921. _iframe.contentDocument.location.reload()
  6922. } else {
  6923. _iframe.contentDocument.location.reload()
  6924. }
  6925. } else {
  6926. _iframe.onload = () => {
  6927. _iframe.contentWindow.document.body.appendChild(script1);
  6928. _iframe.contentWindow.document.body.appendChild(script2);
  6929. // _iframe.contentWindow.document.body.appendChild(script3);
  6930. _iframe.contentWindow.document.body.appendChild(script4);
  6931. };
  6932. }
  6933. _jie.onclick = async () => {
  6934. let text = ''
  6935. if (aTool == 6) {
  6936. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6937. } else if (aTool == 3) {
  6938. text = await U.MD.D.I.getEditorContent(_iframe);
  6939. }
  6940. _loading.style.display = 'flex'
  6941. console.log(_loading);
  6942. var _ajs = _iframe.contentWindow.document.createElement("script");
  6943. _ajs.type = "text/javascript";
  6944. _ajs.innerHTML =
  6945. // 'console.log(' + _loading + ');\n' +
  6946. 'var _js = document.createElement("script");\n' +
  6947. '_js.type="text/javascript";\n' +
  6948. '_js.charset="UTF-8";\n' +
  6949. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6950. "_js.onload = function(){\n" +
  6951. ' var a = document.getElementsByTagName("img")\n' +
  6952. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6953. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6954. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6955. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6956. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6957. "beforeUpload_shishi(file," +
  6958. "'" +
  6959. _userid +
  6960. "'" +
  6961. ", " +
  6962. "'" +
  6963. _cid +
  6964. "'" +
  6965. ", " +
  6966. "'" +
  6967. _stage +
  6968. "'" +
  6969. ", " +
  6970. "'" +
  6971. _task +
  6972. "'" +
  6973. ", " +
  6974. "'" +
  6975. _tool +
  6976. "'" +
  6977. ", " +
  6978. "'" +
  6979. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6980. "'" +
  6981. ", " +
  6982. "'" +
  6983. aTool +
  6984. "'" +
  6985. ", " +
  6986. "`" +
  6987. text +
  6988. "`" +
  6989. ")\n" +
  6990. " });\n" +
  6991. "}\n" +
  6992. "document.head.appendChild(_js);\n";
  6993. _iframe.contentWindow.document.head.appendChild(_ajs);
  6994. }
  6995. }
  6996. //U.MD.D.I.openClick(str);
  6997. //如果有任务栏信息
  6998. // if (_taskbar) {
  6999. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7000. // }
  7001. }
  7002. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7003. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7004. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7005. _userinfo = US.userInfo, //登录用户信息
  7006. _userid = US.userInfo.userid //登录用户id
  7007. let _iframe;
  7008. let _cid = cid,
  7009. _stage = stage,
  7010. _task = task,
  7011. _tool = tool;
  7012. var _jie = $$("div", {
  7013. "style": {
  7014. "position": "absolute",
  7015. "bottom": "50px",
  7016. "right": "50px",
  7017. "zIndex": "9999",
  7018. "backgroundColor": "#2268bc",
  7019. "color": "#fff",
  7020. "padding": "12px 20px",
  7021. "cursor": "pointer",
  7022. "borderRadius": "4px",
  7023. },
  7024. "innerHTML": "确认并提交"
  7025. })
  7026. let aTool = ''
  7027. let _loading = document.createElement('div')
  7028. _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;"
  7029. // _loading.id = "";
  7030. let _lchild = document.createElement('div')
  7031. let _limg = document.createElement('img')
  7032. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7033. _limg.style = "width: 26px;margin-right: 10px;"
  7034. _lchild.appendChild(_limg)
  7035. let _lspan = document.createElement('span')
  7036. _lspan.innerHTML = "上传中..."
  7037. _lchild.appendChild(_lspan)
  7038. _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%);"
  7039. _loading.appendChild(_lchild)
  7040. var _box = $$('div', {
  7041. "style": {
  7042. "position": "relative",
  7043. "width": "100%",
  7044. "height": "100%",
  7045. },
  7046. })
  7047. _box.appendChild(_loading)
  7048. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7049. switch (str) {
  7050. case "whiteboard":
  7051. aTool = 1;
  7052. _iframe = $$("iframe", {
  7053. "frameborder": "no",
  7054. "border": "0",
  7055. "scrolling ": "no",
  7056. "style": {
  7057. "cssText": "border:0;width:100%;height:100%"
  7058. },
  7059. "src": "https://iwb.cocorobo.cn/"
  7060. })
  7061. _box.appendChild(_iframe);
  7062. _box.appendChild(_jie);
  7063. _formdiv = new U.UF.UI.form(
  7064. "电子白板",
  7065. _box, {
  7066. "id": "whiteboards" + cid + stage + task + tool,
  7067. "style": {
  7068. "width": "90%",
  7069. "height": "90%",
  7070. "overflow": 'hidden'
  7071. },
  7072. "onresize": function () { }
  7073. }, {
  7074. closecallback: function () { }
  7075. }, {
  7076. "style": {
  7077. "height": "36px"
  7078. }
  7079. }).form; //创建窗体
  7080. _taskbar = {
  7081. "id": str + _formdiv.id,
  7082. "style": {
  7083. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7084. },
  7085. "name": "电子白板",
  7086. "forms": _formdiv,
  7087. "click": function () {
  7088. U.MD.D.I.openApplication(str, obj, info);
  7089. }
  7090. }
  7091. break;
  7092. case "mind":
  7093. aTool = 3;
  7094. _iframe = $$("iframe", {
  7095. "frameborder": "no",
  7096. "border": "0",
  7097. "scrolling ": "no",
  7098. "style": {
  7099. "cssText": "border:0;width:100%;height:100%"
  7100. },
  7101. "src": "/kityminder-editor/dist/index.html"
  7102. });
  7103. _box.appendChild(_iframe);
  7104. _box.appendChild(_jie);
  7105. _formdiv = new U.UF.UI.form(
  7106. "思维导图",
  7107. _box, { //"/jsmind/example/demo.html"
  7108. "id": "minds" + cid + stage + task + tool,
  7109. "style": {
  7110. "width": "90%",
  7111. "height": "90%",
  7112. "overflow": 'hidden'
  7113. },
  7114. "onresize": function () { }
  7115. }, {
  7116. closecallback: function () { }
  7117. }, {
  7118. "style": {
  7119. "height": "36px"
  7120. }
  7121. }).form; //创建窗体
  7122. _taskbar = {
  7123. "id": str + _formdiv.id,
  7124. "style": {
  7125. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7126. },
  7127. "name": "思维导图",
  7128. "forms": _formdiv,
  7129. "click": function () {
  7130. U.MD.D.I.openApplication(str, obj, info);
  7131. }
  7132. }
  7133. break;
  7134. case "doc":
  7135. aTool = 6;
  7136. _iframe = $$("iframe", {
  7137. "frameborder": "no",
  7138. "border": "0",
  7139. "scrolling ": "no",
  7140. "style": {
  7141. "cssText": "border:0;width:100%;height:100%"
  7142. },
  7143. "src": "/Office/Word/WordEditArea.htm"
  7144. })
  7145. _box.appendChild(_iframe);
  7146. _box.appendChild(_jie);
  7147. _formdiv = new U.UF.UI.form(
  7148. "协同文档",
  7149. _box, {
  7150. "id": "docs" + cid + stage + task + tool,
  7151. "style": {
  7152. "width": "90%",
  7153. "height": "90%",
  7154. "overflow": 'hidden'
  7155. },
  7156. "onresize": function () { }
  7157. }, {
  7158. closecallback: function () { }
  7159. }, {
  7160. "style": {
  7161. "height": "36px"
  7162. }
  7163. }).form; //创建窗体
  7164. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7165. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7166. })
  7167. _taskbar = {
  7168. "id": str + _formdiv.id,
  7169. "style": {
  7170. "backgroundImage": "url(/img/icon/doc.png)"
  7171. },
  7172. "name": "协同文档",
  7173. "forms": _formdiv,
  7174. "click": function () {
  7175. U.MD.D.I.openApplication(str, obj, info);
  7176. }
  7177. }
  7178. break;
  7179. }
  7180. const script1 = document.createElement("script");
  7181. script1.type = "text/javascript";
  7182. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7183. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7184. const script2 = document.createElement("script");
  7185. script2.type = "text/javascript";
  7186. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7187. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7188. const script3 = document.createElement("script");
  7189. script3.type = "text/javascript";
  7190. script3.charset = "UTF-8";
  7191. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7192. const script4 = document.createElement("script");
  7193. script4.type = "text/javascript";
  7194. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7195. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7196. if (_iframe) {
  7197. if (str == 'doc') {
  7198. _iframe = _formdiv.querySelector('iframe')
  7199. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7200. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7201. _iframe.contentWindow.document.body.appendChild(script1);
  7202. _iframe.contentWindow.document.body.appendChild(script2);
  7203. // _iframe.contentWindow.document.body.appendChild(script3);
  7204. _iframe.contentWindow.document.body.appendChild(script4);
  7205. })
  7206. if (onloadListener) {
  7207. _iframe.contentDocument.location.reload()
  7208. } else {
  7209. _iframe.contentDocument.location.reload()
  7210. }
  7211. } else if (str == 'mind') {
  7212. _iframe = _formdiv.querySelector('iframe')
  7213. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7214. _iframe.contentWindow.document.body.appendChild(script1);
  7215. _iframe.contentWindow.document.body.appendChild(script2);
  7216. _iframe.contentWindow.document.body.appendChild(script4);
  7217. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7218. })
  7219. if (onloadListener) {
  7220. _iframe.contentDocument.location.reload()
  7221. } else {
  7222. _iframe.contentDocument.location.reload()
  7223. }
  7224. } else {
  7225. _iframe.onload = () => {
  7226. _iframe.contentWindow.document.body.appendChild(script1);
  7227. _iframe.contentWindow.document.body.appendChild(script2);
  7228. // _iframe.contentWindow.document.body.appendChild(script3);
  7229. _iframe.contentWindow.document.body.appendChild(script4);
  7230. };
  7231. }
  7232. _jie.onclick = async () => {
  7233. let text = ''
  7234. if (aTool == 6) {
  7235. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7236. } else if (aTool == 3) {
  7237. text = await U.MD.D.I.getEditorContent(_iframe);
  7238. }
  7239. _loading.style.display = 'flex'
  7240. console.log(_loading);
  7241. var _ajs = _iframe.contentWindow.document.createElement("script");
  7242. _ajs.type = "text/javascript";
  7243. _ajs.innerHTML =
  7244. // 'console.log(' + _loading + ');\n' +
  7245. 'var _js = document.createElement("script");\n' +
  7246. '_js.type="text/javascript";\n' +
  7247. '_js.charset="UTF-8";\n' +
  7248. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7249. "_js.onload = function(){\n" +
  7250. ' var a = document.getElementsByTagName("img")\n' +
  7251. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7252. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7253. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7254. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7255. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7256. "beforeUpload_shishi(file," +
  7257. "'" +
  7258. _userid +
  7259. "'" +
  7260. ", " +
  7261. "'" +
  7262. _cid +
  7263. "'" +
  7264. ", " +
  7265. "'" +
  7266. _stage +
  7267. "'" +
  7268. ", " +
  7269. "'" +
  7270. _task +
  7271. "'" +
  7272. ", " +
  7273. "'" +
  7274. _tool +
  7275. "'" +
  7276. ", " +
  7277. "'" +
  7278. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7279. "'" +
  7280. ", " +
  7281. "'" +
  7282. aTool +
  7283. "'" +
  7284. ", " +
  7285. "`" +
  7286. text +
  7287. "`" +
  7288. ")\n" +
  7289. " });\n" +
  7290. "}\n" +
  7291. "document.head.appendChild(_js);\n";
  7292. _iframe.contentWindow.document.head.appendChild(_ajs);
  7293. }
  7294. }
  7295. //U.MD.D.I.openClick(str);
  7296. //如果有任务栏信息
  7297. // if (_taskbar) {
  7298. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7299. // }
  7300. }
  7301. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7302. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7303. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7304. _userinfo = US.userInfo, //登录用户信息
  7305. _userid = US.userInfo.userid //登录用户id
  7306. let _iframe;
  7307. let _cid = cid,
  7308. _stage = stage,
  7309. _task = task,
  7310. _tool = tool;
  7311. var _jie = $$("div", {
  7312. "style": {
  7313. "position": "absolute",
  7314. "bottom": "50px",
  7315. "right": "50px",
  7316. "zIndex": "9999",
  7317. "backgroundColor": "#2268bc",
  7318. "color": "#fff",
  7319. "padding": "12px 20px",
  7320. "cursor": "pointer",
  7321. "borderRadius": "4px",
  7322. },
  7323. "innerHTML": "上传模板"
  7324. })
  7325. let aTool = ''
  7326. let _loading = document.createElement('div')
  7327. _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;"
  7328. // _loading.id = "";
  7329. let _lchild = document.createElement('div')
  7330. let _limg = document.createElement('img')
  7331. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7332. _limg.style = "width: 26px;margin-right: 10px;"
  7333. _lchild.appendChild(_limg)
  7334. let _lspan = document.createElement('span')
  7335. _lspan.innerHTML = "上传中..."
  7336. _lchild.appendChild(_lspan)
  7337. _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%);"
  7338. _loading.appendChild(_lchild)
  7339. var _box = $$('div', {
  7340. "style": {
  7341. "position": "relative",
  7342. "width": "100%",
  7343. "height": "100%",
  7344. },
  7345. })
  7346. _box.appendChild(_loading)
  7347. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7348. switch (str) {
  7349. case "whiteboard":
  7350. aTool = 1;
  7351. _iframe = $$("iframe", {
  7352. "frameborder": "no",
  7353. "border": "0",
  7354. "scrolling ": "no",
  7355. "style": {
  7356. "cssText": "border:0;width:100%;height:100%"
  7357. },
  7358. "src": "https://iwb.cocorobo.cn/"
  7359. })
  7360. _box.appendChild(_iframe);
  7361. _box.appendChild(_jie);
  7362. _formdiv = new U.UF.UI.form(
  7363. "电子白板",
  7364. _box, {
  7365. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7366. "style": {
  7367. "width": "90%",
  7368. "height": "90%",
  7369. "overflow": 'hidden'
  7370. },
  7371. "onresize": function () { }
  7372. }, {
  7373. closecallback: function () { }
  7374. }, {
  7375. "style": {
  7376. "height": "36px"
  7377. }
  7378. }).form; //创建窗体
  7379. _taskbar = {
  7380. "id": str + _formdiv.id,
  7381. "style": {
  7382. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7383. },
  7384. "name": "电子白板",
  7385. "forms": _formdiv,
  7386. "click": function () {
  7387. U.MD.D.I.openApplication(str, obj, info);
  7388. }
  7389. }
  7390. break;
  7391. case "mind":
  7392. aTool = 3;
  7393. _iframe = $$("iframe", {
  7394. "frameborder": "no",
  7395. "border": "0",
  7396. "scrolling ": "no",
  7397. "style": {
  7398. "cssText": "border:0;width:100%;height:100%"
  7399. },
  7400. "src": "/kityminder-editor/dist/index.html"
  7401. });
  7402. _box.appendChild(_iframe);
  7403. _box.appendChild(_jie);
  7404. _formdiv = new U.UF.UI.form(
  7405. "思维导图",
  7406. _box, { //"/jsmind/example/demo.html"
  7407. "id": "minds_Yu" + cid + stage + task + tool,
  7408. "style": {
  7409. "width": "90%",
  7410. "height": "90%",
  7411. "overflow": 'hidden'
  7412. },
  7413. "onresize": function () { }
  7414. }, {
  7415. closecallback: function () { }
  7416. }, {
  7417. "style": {
  7418. "height": "36px"
  7419. }
  7420. }).form; //创建窗体
  7421. _taskbar = {
  7422. "id": str + _formdiv.id,
  7423. "style": {
  7424. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7425. },
  7426. "name": "思维导图",
  7427. "forms": _formdiv,
  7428. "click": function () {
  7429. U.MD.D.I.openApplication(str, obj, info);
  7430. }
  7431. }
  7432. break;
  7433. case "doc":
  7434. aTool = 6;
  7435. _iframe = $$("iframe", {
  7436. "frameborder": "no",
  7437. "border": "0",
  7438. "scrolling ": "no",
  7439. "style": {
  7440. "cssText": "border:0;width:100%;height:100%"
  7441. },
  7442. "src": "/Office/Word/WordEditArea.htm"
  7443. })
  7444. _box.appendChild(_iframe);
  7445. _box.appendChild(_jie);
  7446. _formdiv = new U.UF.UI.form(
  7447. "协同文档",
  7448. _box, {
  7449. "id": "docs_Yu" + cid + stage + task + tool,
  7450. "style": {
  7451. "width": "90%",
  7452. "height": "90%",
  7453. "overflow": 'hidden'
  7454. },
  7455. "onresize": function () { }
  7456. }, {
  7457. closecallback: function () { }
  7458. }, {
  7459. "style": {
  7460. "height": "36px"
  7461. }
  7462. }).form; //创建窗体
  7463. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7464. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7465. })
  7466. _taskbar = {
  7467. "id": str + _formdiv.id,
  7468. "style": {
  7469. "backgroundImage": "url(/img/icon/doc.png)"
  7470. },
  7471. "name": "协同文档",
  7472. "forms": _formdiv,
  7473. "click": function () {
  7474. U.MD.D.I.openApplication(str, obj, info);
  7475. }
  7476. }
  7477. break;
  7478. case "CocoPi":
  7479. aTool = 57;
  7480. _iframe = $$("iframe", {
  7481. "allowpaymentrequest": "allowpaymentrequest",
  7482. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7483. "webkitallowfullscreen": "",
  7484. "mozallowfullscreen": "",
  7485. "frameborder": "no",
  7486. "border": "0",
  7487. "scrolling ": "no",
  7488. "style": {
  7489. "cssText": "border:0;width:100%;height:100%"
  7490. },
  7491. "src": "https://pi.cocorobo.cn/"
  7492. })
  7493. _box.appendChild(_iframe);
  7494. _box.appendChild(_jie);
  7495. _formdiv = new U.UF.UI.form(
  7496. "CocoPi",
  7497. _box, {
  7498. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7499. "style": {
  7500. "width": "90%",
  7501. "height": "90%",
  7502. "overflow": 'hidden'
  7503. },
  7504. "onresize": function () { }
  7505. }, {
  7506. closecallback: function () { }
  7507. }, {
  7508. "style": {
  7509. "height": "36px"
  7510. }
  7511. }).form; //创建窗体
  7512. _taskbar = {
  7513. "id": str + _formdiv.id,
  7514. "style": {
  7515. "backgroundImage": "url(/img/icon/cocopi.png)"
  7516. },
  7517. "name": "CocoPi",
  7518. "forms": _formdiv,
  7519. "click": function () {
  7520. U.MD.D.I.openApplication(str, obj, info);
  7521. }
  7522. }
  7523. break;
  7524. }
  7525. if (_iframe) {
  7526. if (str == 'doc') {
  7527. _iframe = _formdiv.querySelector('iframe')
  7528. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7529. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7530. })
  7531. if (onloadListener) {
  7532. _iframe.contentDocument.location.reload()
  7533. } else {
  7534. _iframe.contentDocument.location.reload()
  7535. }
  7536. } else if (str == 'mind') {
  7537. _iframe = _formdiv.querySelector('iframe')
  7538. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7539. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7540. })
  7541. if (onloadListener) {
  7542. _iframe.contentDocument.location.reload()
  7543. } else {
  7544. _iframe.contentDocument.location.reload()
  7545. }
  7546. } else if (str == 'whiteboard') {
  7547. _iframe = _formdiv.querySelector('iframe')
  7548. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7549. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7550. })
  7551. if (onloadListener) {
  7552. _iframe.contentDocument.location.reload()
  7553. } else {
  7554. _iframe.contentDocument.location.reload()
  7555. }
  7556. } else if (str == 'CocoPi') {
  7557. _iframe = _formdiv.querySelector('iframe')
  7558. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7559. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7560. })
  7561. if (onloadListener) {
  7562. _iframe.contentDocument.location.reload()
  7563. } else {
  7564. _iframe.contentDocument.location.reload()
  7565. }
  7566. } else {
  7567. _iframe.onload = () => { };
  7568. }
  7569. _jie.onclick = async () => {
  7570. let text = ''
  7571. let type = '2'
  7572. if (aTool == 1) {
  7573. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7574. type = '3'
  7575. } else if (aTool == 6) {
  7576. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7577. type = '1'
  7578. } else if (aTool == 3) {
  7579. text = await U.MD.D.I.getEditorContent(_iframe);
  7580. type = '2'
  7581. } else if (aTool == 57) {
  7582. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7583. type = '4'
  7584. }
  7585. _loading.style.display = 'flex'
  7586. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7587. }
  7588. }
  7589. //U.MD.D.I.openClick(str);
  7590. //如果有任务栏信息
  7591. // if (_taskbar) {
  7592. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7593. // }
  7594. }
  7595. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7596. var xmlhttp;
  7597. var Mac, Sn, DeviceId
  7598. if (window.XMLHttpRequest) {
  7599. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7600. xmlhttp = new XMLHttpRequest();
  7601. } else {
  7602. // IE6, IE5 浏览器执行代码
  7603. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7604. }
  7605. xmlhttp.onreadystatechange = function () {
  7606. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7607. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7608. // resolve(res.value[0][0].text);
  7609. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7610. }
  7611. }
  7612. }
  7613. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7614. xmlhttp.send();
  7615. }
  7616. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7617. var xmlhttp;
  7618. var Mac, Sn, DeviceId
  7619. if (window.XMLHttpRequest) {
  7620. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7621. xmlhttp = new XMLHttpRequest();
  7622. } else {
  7623. // IE6, IE5 浏览器执行代码
  7624. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7625. }
  7626. xmlhttp.onreadystatechange = function () {
  7627. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7628. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7629. // resolve(res.value[0][0].text);
  7630. if (type == '2') {
  7631. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7632. } else if (type == '3') {
  7633. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7634. } else if (type == '4') {
  7635. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7636. }
  7637. } else {
  7638. if (type == '2') {
  7639. iframe.contentWindow.editor.minder.importData('json', '')
  7640. } else if (type == '3') {
  7641. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7642. } else if (type == '4') {
  7643. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7644. }
  7645. }
  7646. }
  7647. }
  7648. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7649. xmlhttp.send();
  7650. }
  7651. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7652. var xmlhttp;
  7653. var Mac, Sn, DeviceId
  7654. if (window.XMLHttpRequest) {
  7655. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7656. xmlhttp = new XMLHttpRequest();
  7657. } else {
  7658. // IE6, IE5 浏览器执行代码
  7659. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7660. }
  7661. xmlhttp.onreadystatechange = function () {
  7662. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7663. if (xmlhttp.response) {
  7664. // resolve(res.value[0][0].text);
  7665. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7666. // $(fileInput).val('');
  7667. // });
  7668. span.innerHTML = '上传成功'
  7669. setTimeout(() => {
  7670. loading.style.display = 'none'
  7671. }, 1000);
  7672. }
  7673. }
  7674. }
  7675. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7676. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7677. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7678. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7679. // 设置请求头,表示请求体的编码格式
  7680. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7681. // 设置请求体,使用url-encoded格式的数据
  7682. }
  7683. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7684. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7685. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7686. _userinfo = US.userInfo, //登录用户信息
  7687. _userid = US.userInfo.userid //登录用户id
  7688. let _iframe;
  7689. let _cid = cid,
  7690. _stage = stage,
  7691. _task = task,
  7692. _tool = tool;
  7693. var _jie = $$("div", {
  7694. "style": {
  7695. "position": "absolute",
  7696. "bottom": "50px",
  7697. "right": "50px",
  7698. "zIndex": "9999",
  7699. "backgroundColor": "#2268bc",
  7700. "color": "#fff",
  7701. "padding": "12px 20px",
  7702. "cursor": "pointer",
  7703. "borderRadius": "4px",
  7704. },
  7705. "innerHTML": "提交作业"
  7706. })
  7707. let aTool = ''
  7708. let _loading = document.createElement('div')
  7709. _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;"
  7710. // _loading.id = "";
  7711. let _lchild = document.createElement('div')
  7712. let _limg = document.createElement('img')
  7713. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7714. _limg.style = "width: 26px;margin-right: 10px;"
  7715. _lchild.appendChild(_limg)
  7716. let _lspan = document.createElement('span')
  7717. _lspan.innerHTML = "上传中..."
  7718. _lchild.appendChild(_lspan)
  7719. _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%);"
  7720. _loading.appendChild(_lchild)
  7721. var _box = $$('div', {
  7722. "style": {
  7723. "position": "relative",
  7724. "width": "100%",
  7725. "height": "100%",
  7726. },
  7727. })
  7728. _box.appendChild(_loading)
  7729. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7730. switch (str) {
  7731. case "CocoPi":
  7732. aTool = 57;
  7733. _iframe = $$("iframe", {
  7734. "allowpaymentrequest": "allowpaymentrequest",
  7735. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7736. "webkitallowfullscreen": "",
  7737. "mozallowfullscreen": "",
  7738. "frameborder": "no",
  7739. "border": "0",
  7740. "scrolling ": "no",
  7741. "style": {
  7742. "cssText": "border:0;width:100%;height:100%"
  7743. },
  7744. "src": "https://pi.cocorobo.cn/"
  7745. })
  7746. _box.appendChild(_iframe);
  7747. _box.appendChild(_jie);
  7748. _formdiv = new U.UF.UI.form(
  7749. "CocoPi",
  7750. _box, {
  7751. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7752. "style": {
  7753. "width": "90%",
  7754. "height": "90%",
  7755. "overflow": 'hidden'
  7756. },
  7757. "onresize": function () { }
  7758. }, {
  7759. closecallback: function () { }
  7760. }, {
  7761. "style": {
  7762. "height": "36px"
  7763. }
  7764. }).form; //创建窗体
  7765. _taskbar = {
  7766. "id": str + _formdiv.id,
  7767. "style": {
  7768. "backgroundImage": "url(/img/icon/cocopi.png)"
  7769. },
  7770. "name": "CocoPi",
  7771. "forms": _formdiv,
  7772. "click": function () {
  7773. U.MD.D.I.openApplication(str, obj, info);
  7774. }
  7775. }
  7776. break;
  7777. }
  7778. if (_iframe) {
  7779. if (str == 'CocoPi') {
  7780. _iframe = _formdiv.querySelector('iframe')
  7781. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7782. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7783. })
  7784. if (onloadListener) {
  7785. _iframe.contentDocument.location.reload()
  7786. } else {
  7787. _iframe.contentDocument.location.reload()
  7788. }
  7789. }
  7790. _jie.onclick = async () => {
  7791. let text = ''
  7792. if (aTool == 57) {
  7793. text = _iframe.contentWindow.getLoadXmlStr()
  7794. }
  7795. _loading.style.display = 'flex'
  7796. console.log(_loading);
  7797. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7798. _loading.style.display = 'none'
  7799. let _div = document.createElement('div')
  7800. _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;"
  7801. let _inner = document.createElement('div')
  7802. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7803. _inner.innerHTML = "上传成功"
  7804. _div.appendChild(_inner)
  7805. _iframe.contentWindow.window.document.body.appendChild(_div)
  7806. _div.onclick = () => {
  7807. _iframe.contentWindow.window.document.body.removeChild(_div)
  7808. }
  7809. setTimeout(() => {
  7810. _iframe.contentWindow.window.document.body.removeChild(_div)
  7811. }, 1000);
  7812. }, [], { "type": "POST", "withCredentials": true });
  7813. }
  7814. }
  7815. }
  7816. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7817. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7818. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7819. _userid = student.userid, //登录用户id
  7820. _username = student.student //用户名字
  7821. let _iframe;
  7822. let _cid = cid,
  7823. _stage = stage,
  7824. _task = task,
  7825. _tool = tool;
  7826. var _jie = $$("div", {
  7827. "style": {
  7828. "position": "absolute",
  7829. "bottom": "50px",
  7830. "right": "50px",
  7831. "zIndex": "9999",
  7832. "backgroundColor": "#2268bc",
  7833. "color": "#fff",
  7834. "padding": "12px 20px",
  7835. "cursor": "pointer",
  7836. "borderRadius": "4px",
  7837. },
  7838. "innerHTML": "提交作业"
  7839. })
  7840. let aTool = ''
  7841. let _loading = document.createElement('div')
  7842. _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;"
  7843. // _loading.id = "";
  7844. let _lchild = document.createElement('div')
  7845. let _limg = document.createElement('img')
  7846. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7847. _limg.style = "width: 26px;margin-right: 10px;"
  7848. _lchild.appendChild(_limg)
  7849. let _lspan = document.createElement('span')
  7850. _lspan.innerHTML = "上传中..."
  7851. _lchild.appendChild(_lspan)
  7852. _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%);"
  7853. _loading.appendChild(_lchild)
  7854. var _box = $$('div', {
  7855. "style": {
  7856. "position": "relative",
  7857. "width": "100%",
  7858. "height": "100%",
  7859. },
  7860. })
  7861. _box.appendChild(_loading)
  7862. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7863. switch (str) {
  7864. case "CocoPi":
  7865. aTool = 57;
  7866. _iframe = $$("iframe", {
  7867. "allowpaymentrequest": "allowpaymentrequest",
  7868. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7869. "webkitallowfullscreen": "",
  7870. "mozallowfullscreen": "",
  7871. "frameborder": "no",
  7872. "border": "0",
  7873. "scrolling ": "no",
  7874. "style": {
  7875. "cssText": "border:0;width:100%;height:100%"
  7876. },
  7877. "src": "https://pi.cocorobo.cn/"
  7878. })
  7879. _box.appendChild(_iframe);
  7880. _box.appendChild(_jie);
  7881. _formdiv = new U.UF.UI.form(
  7882. "CocoPi-" + _username,
  7883. _box, {
  7884. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7885. "style": {
  7886. "width": "90%",
  7887. "height": "90%",
  7888. "overflow": 'hidden'
  7889. },
  7890. "onresize": function () { }
  7891. }, {
  7892. closecallback: function () { }
  7893. }, {
  7894. "style": {
  7895. "height": "36px"
  7896. }
  7897. }).form; //创建窗体
  7898. _taskbar = {
  7899. "id": str + _formdiv.id,
  7900. "style": {
  7901. "backgroundImage": "url(/img/icon/cocopi.png)"
  7902. },
  7903. "name": "CocoPi",
  7904. "forms": _formdiv,
  7905. "click": function () {
  7906. U.MD.D.I.openApplication(str, obj, info);
  7907. }
  7908. }
  7909. break;
  7910. }
  7911. if (_iframe) {
  7912. if (str == 'CocoPi') {
  7913. _iframe = _formdiv.querySelector('iframe')
  7914. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7915. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7916. })
  7917. if (onloadListener) {
  7918. _iframe.contentDocument.location.reload()
  7919. } else {
  7920. _iframe.contentDocument.location.reload()
  7921. }
  7922. }
  7923. _jie.onclick = async () => {
  7924. let text = ''
  7925. if (aTool == 57) {
  7926. text = _iframe.contentWindow.getLoadXmlStr()
  7927. }
  7928. _loading.style.display = 'flex'
  7929. console.log(_loading);
  7930. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7931. _loading.style.display = 'none'
  7932. let _div = document.createElement('div')
  7933. _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;"
  7934. let _inner = document.createElement('div')
  7935. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7936. _inner.innerHTML = "上传成功"
  7937. _div.appendChild(_inner)
  7938. _iframe.contentWindow.window.document.body.appendChild(_div)
  7939. _div.onclick = () => {
  7940. _iframe.contentWindow.window.document.body.removeChild(_div)
  7941. }
  7942. setTimeout(() => {
  7943. _iframe.contentWindow.window.document.body.removeChild(_div)
  7944. }, 1000);
  7945. }, [], { "type": "POST", "withCredentials": true });
  7946. }
  7947. }
  7948. }
  7949. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7950. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7951. if (res.value[0].length > 0) {
  7952. if (atool == 57) {
  7953. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7954. }
  7955. } else {
  7956. if (atool == 57) {
  7957. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7958. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7959. }
  7960. }
  7961. }, [], { "type": "POST", "withCredentials": true });
  7962. }