DeskTop.js 534 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北师大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  458. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  475. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教师桌面图标的全局变量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教师桌面图标的全局变量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龙华中心小学教师桌面图标的全局变量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院实小教师桌面图标的全局变量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院实小教师桌面图标的全局变量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  729. ];
  730. //hk
  731. U.MD.D.I.hkaceStudentDeskIcon = [
  732. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  733. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  734. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  735. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  738. ];
  739. //香海正覺蓮社佛教正覺中學
  740. U.MD.D.I.hkZJLSteacherDeskIcon = [
  741. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  742. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  743. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  744. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  745. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  746. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  747. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  748. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  749. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  750. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  751. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  752. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  753. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  754. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  755. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  756. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  757. ];
  758. //香海正覺蓮社佛教正覺中學
  759. U.MD.D.I.hkZJLSStudentDeskIcon = [
  760. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  761. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  762. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  763. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  764. ];
  765. //云海
  766. U.MD.D.I.yunhaiTeacherDeskIcon = [
  767. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  768. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  769. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  770. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  771. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  772. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  773. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  774. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  775. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  776. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  777. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  778. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  779. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  780. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  781. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  782. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  783. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  784. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  785. ];
  786. //福田
  787. U.MD.D.I.heyuanTeacherDeskIcon = [
  788. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  789. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  790. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  791. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  792. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  793. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  794. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  795. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  796. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  797. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  798. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  799. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  800. ];
  801. //福田
  802. U.MD.D.I.heyuanAdminDeskIcon = [
  803. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  804. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  805. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  806. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  807. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  808. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  809. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  810. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  811. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  812. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  813. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  814. ];
  815. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  816. U.MD.D.I.szherTeacherDeskIcon = [
  817. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  818. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  819. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  820. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  821. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  822. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  827. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  828. ];
  829. //dsei
  830. U.MD.D.I.dseiTeacherDeskIcon = [
  831. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  832. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  833. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  834. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  835. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  836. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  837. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  838. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  839. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  840. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  841. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  842. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  843. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  844. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  845. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  846. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  847. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  848. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  849. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  850. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  851. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  852. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  853. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  854. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  855. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  856. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  857. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  858. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  859. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  860. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  861. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  862. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  863. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  864. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  865. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  866. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  867. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  868. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  870. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  871. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  872. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  873. ];
  874. //dsei
  875. U.MD.D.I.dseiAdminDeskIcon = [
  876. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  877. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  878. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  879. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  880. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  881. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  882. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  883. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  884. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  885. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  886. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  887. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  888. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  889. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  890. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  891. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  892. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  893. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  894. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  895. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  896. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  897. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  898. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  899. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  900. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  901. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  902. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  903. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  904. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  905. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  906. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  907. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  908. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  909. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  910. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  911. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  912. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  913. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  916. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  917. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  918. ];
  919. //dsei
  920. U.MD.D.I.dseiStudentDeskIcon = [
  921. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  922. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  923. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  924. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  925. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  926. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  927. ];
  928. //未来教育基地
  929. U.MD.D.I.szjkyTeacherDeskIcon = [
  930. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  931. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  932. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  933. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  934. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  935. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  936. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  937. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  938. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  939. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  940. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  941. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  942. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  943. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  944. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  945. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  946. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  947. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  948. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  949. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  950. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  951. ];
  952. //未来教育基地
  953. U.MD.D.I.szjkyAdminDeskIcon = [
  954. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  955. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  956. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  957. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  958. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  959. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  960. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  961. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  962. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  963. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  964. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  965. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  966. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  967. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  968. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  969. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  970. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  971. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  972. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  973. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  974. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  975. ];
  976. //未来教育基地
  977. U.MD.D.I.szjkyStudentDeskIcon = [
  978. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  979. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  980. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  981. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  982. ];
  983. //成华教育局
  984. U.MD.D.I.chjyjTeacherDeskIcon = [
  985. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  986. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  987. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  988. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  989. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  990. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  991. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  992. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  993. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  994. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  995. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  997. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  998. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  999. ];
  1000. //成华教育局chjyj
  1001. U.MD.D.I.chjyjAdminDeskIcon = [
  1002. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1003. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1004. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1005. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1006. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1007. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1008. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1009. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1010. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1011. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1012. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1013. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1015. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1016. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1017. ];
  1018. //成华教育局chjyj
  1019. U.MD.D.I.chjyjStudentDeskIcon = [
  1020. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1021. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1022. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1023. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1024. ];
  1025. //tpc
  1026. U.MD.D.I.tpcStudentDeskIcon = [
  1027. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1028. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1029. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1030. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1031. ];
  1032. //tpc
  1033. U.MD.D.I.tpcTeacherDeskIcon = [
  1034. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1035. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1036. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1037. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1038. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1039. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1040. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1041. ];
  1042. //tpc
  1043. U.MD.D.I.tpcAdminDeskIcon = [
  1044. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1045. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1046. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1047. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1048. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1049. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1050. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1051. ];
  1052. //THU-IOE
  1053. U.MD.D.I.thuioeTeacherDeskIcon = [
  1054. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1055. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1056. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1057. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1058. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1059. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1060. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1061. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1062. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1063. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1064. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1065. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1066. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1067. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1068. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1069. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1070. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1071. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1072. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1073. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1074. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1075. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1076. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1077. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1078. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1079. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1080. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1081. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1082. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1083. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1084. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1085. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1086. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1087. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1088. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1089. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1090. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1091. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1092. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1093. ];
  1094. //THU-IOE
  1095. U.MD.D.I.thuioeStudentDeskIcon = [
  1096. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1097. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1098. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1099. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1100. ];
  1101. //jccssyl
  1102. U.MD.D.I.jccssylTeacherDeskIcon = [
  1103. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1104. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1105. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1106. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1107. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1109. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1110. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1111. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1112. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1113. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1114. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1115. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1116. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1117. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1118. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1119. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1120. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1121. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1122. ];
  1123. //jccssyl
  1124. U.MD.D.I.jccssylStudentDeskIcon = [
  1125. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1126. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1127. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1128. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1129. ];
  1130. //cale
  1131. U.MD.D.I.caleTeacherDeskIcon = [
  1132. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1133. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1134. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1135. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1136. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1137. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1138. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1139. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1140. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1141. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1142. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1143. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1144. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1145. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1147. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1148. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1149. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1150. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1151. ];
  1152. //cale
  1153. U.MD.D.I.caleStudentDeskIcon = [
  1154. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1155. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1156. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1157. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1158. ];
  1159. //lqwmsgzs
  1160. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1161. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1162. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1163. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1164. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1165. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1166. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1167. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1168. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1169. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1170. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1171. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1172. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1173. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1174. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1175. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1176. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1177. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1178. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1179. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1180. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1181. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1182. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1183. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1184. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1185. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1186. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1187. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1188. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1189. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1190. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1191. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1192. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1193. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1194. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1196. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1197. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1198. ];
  1199. //lqwmsgzs
  1200. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1201. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1202. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1203. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1204. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1205. ];
  1206. //盐田区幼儿园
  1207. U.MD.D.I.ytyTeacherDeskIcon = [
  1208. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1209. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1210. { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1211. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1212. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1213. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1214. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1215. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1216. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1217. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1218. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1219. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1220. ];
  1221. //盐田区幼儿园
  1222. U.MD.D.I.ytyStudentDeskIcon = [
  1223. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1224. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1225. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1226. ];
  1227. //#region 桌面初始化a
  1228. /**
  1229. * 初始化桌面的起始函数
  1230. *
  1231. */
  1232. U.MD.D.I.init = function () {
  1233. if ($("#U_MD_D_K")[0]) {
  1234. //初始化桌面图标
  1235. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1236. // var clickUrl = ':12588/requestIp.php';
  1237. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1238. // U.MD.D.I.Ip = data;
  1239. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1240. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1241. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1242. // })
  1243. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1244. // })
  1245. }
  1246. }
  1247. /**
  1248. * 模式切换
  1249. *
  1250. */
  1251. U.MD.D.I.ModeCheck = function (type) {
  1252. if (US.Config.type == type) {
  1253. return
  1254. }
  1255. US.Config.type = type
  1256. $('.U_PBL_Check .active')[0].className = ''
  1257. if (type == 1) {
  1258. $('.U_PBL_Check div')[0].className = 'active'
  1259. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1260. } else {
  1261. $('.U_PBL_Check div')[1].className = 'active'
  1262. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1263. }
  1264. //初始化桌面图标
  1265. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1266. if (type == 2) {
  1267. U.MD.D.I.openApplication("project")
  1268. }
  1269. }
  1270. /**
  1271. * 隐藏任务栏
  1272. *
  1273. * @param {element} 桌面元素
  1274. */
  1275. U.MD.D.I.hiddenTaskbar = function (el) {
  1276. //任务栏位置变小
  1277. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1278. //桌面的位置变大
  1279. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1280. }
  1281. /**
  1282. * 隐藏任务栏
  1283. *
  1284. * @param {element} 桌面元素
  1285. */
  1286. U.MD.D.I.hiddenTaskbarout = function (el) {
  1287. //任务栏位置变小
  1288. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1289. //任务栏位置变化
  1290. U.selectEl(el).css({ "bottom": "-60px" });
  1291. //桌面的位置变大
  1292. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1293. }
  1294. }
  1295. /**
  1296. * 初始化打印桌面图标
  1297. *
  1298. * @param {element} 桌面元素
  1299. */
  1300. U.MD.D.I.initDesktopIcons = function (el, type) {
  1301. var i, //用于循环
  1302. _content, //桌面图标元素
  1303. _iconcontent, //桌面图标元素
  1304. _frag = $$("frag"), //定义一个碎片元素
  1305. _type = US.userInfo.type,
  1306. _org = US.userInfo.org,
  1307. _oid = US.userInfo.organizeid,
  1308. _role = US.userInfo.role,
  1309. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1310. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1311. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1312. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1313. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1314. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1315. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1316. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1317. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1318. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1319. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1320. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1321. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1322. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1323. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1324. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1325. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1326. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1327. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1328. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1329. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1330. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1331. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1332. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1333. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1334. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1335. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1336. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1337. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1338. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1339. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1340. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1341. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1342. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1343. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1344. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1345. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1346. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1347. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1348. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1349. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1350. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1351. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1352. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1353. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1354. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1355. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1356. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1357. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1358. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1359. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1360. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1361. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1362. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1363. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1364. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1365. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1366. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1367. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1368. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1369. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1370. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1371. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1372. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1373. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1374. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1375. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1376. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1377. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1378. //清楚桌面图标
  1379. el.innerHTML = "";
  1380. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1381. _teacherDesktopIconInfo.push(
  1382. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1383. { "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)" } },
  1384. )
  1385. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1386. }
  1387. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1388. _teacherDesktopIconInfo.push(
  1389. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1390. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1391. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1392. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1393. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1394. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1395. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1396. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1397. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1398. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1399. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1400. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1401. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1402. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1403. )
  1404. }
  1405. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1406. // _teacherDesktopIconInfo.push(
  1407. // )
  1408. // }
  1409. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1410. _teacherDesktopIconInfo.push(
  1411. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1412. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1413. )
  1414. }
  1415. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1416. _teacherDesktopIconInfo.push(
  1417. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1418. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1419. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1420. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1421. )
  1422. _studentDesktopIconInfo.push(
  1423. )
  1424. }
  1425. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1426. _teacherDesktopIconInfo.push(
  1427. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1428. )
  1429. _studentDesktopIconInfo.push(
  1430. )
  1431. }
  1432. //麒麟二中 和 民新小学
  1433. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1434. _teacherDesktopIconInfo.push(
  1435. )
  1436. }
  1437. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1438. _teacherDesktopIconInfo.push(
  1439. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1440. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1441. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1442. )
  1443. }
  1444. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1445. _teacherDesktopIconInfo.push(
  1446. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1447. )
  1448. }
  1449. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1450. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1451. _teacherDesktopIconInfo.push(
  1452. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1453. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1454. )
  1455. }
  1456. //麒麟二中
  1457. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1458. _studentDesktopIconInfo.push(
  1459. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1460. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1461. )
  1462. }
  1463. //万科双语
  1464. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1465. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1466. if (el.Name == '项目管理') {
  1467. el.Name = 'PBL项目'
  1468. }
  1469. return el
  1470. })
  1471. _studentDesktopIconInfo3.push(
  1472. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1473. )
  1474. }
  1475. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1476. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1477. return el.Name != '魔盒识字' && el.Name != '24点'
  1478. })
  1479. }
  1480. 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) {
  1481. _studentDesktopIconInfo.push(
  1482. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1483. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1484. )
  1485. }
  1486. //循环创建桌面图标
  1487. if (type == 1) {
  1488. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1489. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1490. _content = $$("div", {
  1491. className: "U_MD_D_KO",
  1492. "onmousedown": U.UF.C.closure(function (obj) {
  1493. //防止拖动图标即打开了桌面应用
  1494. U.MD.D.click(this, obj);
  1495. }, [_studentDesktopIconInfo[i]]),
  1496. "onclick": U.UF.C.closure(function (obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_studentDesktopIconInfo[i]])
  1500. }, _frag); //
  1501. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1502. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1503. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1504. }
  1505. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1506. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1507. _content = $$("div", {
  1508. className: "U_MD_D_KO",
  1509. "onmousedown": U.UF.C.closure(function (obj) {
  1510. //防止拖动图标即打开了桌面应用
  1511. U.MD.D.click(this, obj);
  1512. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1513. "onclick": U.UF.C.closure(function (obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_hkZJLSStudentDeskIconInfo[i]])
  1517. }, _frag); //
  1518. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1519. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1520. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1521. } //
  1522. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1523. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1524. _content = $$("div", {
  1525. className: "U_MD_D_KO",
  1526. "onmousedown": U.UF.C.closure(function (obj) {
  1527. //防止拖动图标即打开了桌面应用
  1528. U.MD.D.click(this, obj);
  1529. }, [_ytyStudentDeskIconInfo[i]]),
  1530. "onclick": U.UF.C.closure(function (obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_ytyStudentDeskIconInfo[i]])
  1534. }, _frag); //
  1535. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1536. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1537. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1538. } //
  1539. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1540. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1541. _content = $$("div", {
  1542. className: "U_MD_D_KO",
  1543. "onmousedown": U.UF.C.closure(function (obj) {
  1544. //防止拖动图标即打开了桌面应用
  1545. U.MD.D.click(this, obj);
  1546. }, [_jccssylStudentDeskIconInfo[i]]),
  1547. "onclick": U.UF.C.closure(function (obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_jccssylStudentDeskIconInfo[i]])
  1551. }, _frag); //
  1552. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1553. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1554. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1555. }
  1556. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1557. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1558. _content = $$("div", {
  1559. className: "U_MD_D_KO",
  1560. "onmousedown": U.UF.C.closure(function (obj) {
  1561. //防止拖动图标即打开了桌面应用
  1562. U.MD.D.click(this, obj);
  1563. }, [_caleStudentDeskIconInfo[i]]),
  1564. "onclick": U.UF.C.closure(function (obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_caleStudentDeskIconInfo[i]])
  1568. }, _frag); //
  1569. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1570. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1571. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1572. }
  1573. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1574. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1575. _content = $$("div", {
  1576. className: "U_MD_D_KO",
  1577. "onmousedown": U.UF.C.closure(function (obj) {
  1578. //防止拖动图标即打开了桌面应用
  1579. U.MD.D.click(this, obj);
  1580. }, [_thuioeStudentDeskIconInfo[i]]),
  1581. "onclick": U.UF.C.closure(function (obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_thuioeStudentDeskIconInfo[i]])
  1585. }, _frag); //
  1586. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1587. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1588. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1589. }
  1590. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1591. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1592. _content = $$("div", {
  1593. className: "U_MD_D_KO",
  1594. "onmousedown": U.UF.C.closure(function (obj) {
  1595. //防止拖动图标即打开了桌面应用
  1596. U.MD.D.click(this, obj);
  1597. }, [_tpcStudentDeskIconInfo[i]]),
  1598. "onclick": U.UF.C.closure(function (obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_tpcStudentDeskIconInfo[i]])
  1602. }, _frag); //
  1603. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1604. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1605. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1606. } //
  1607. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1608. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1609. _content = $$("div", {
  1610. className: "U_MD_D_KO",
  1611. "onmousedown": U.UF.C.closure(function (obj) {
  1612. //防止拖动图标即打开了桌面应用
  1613. U.MD.D.click(this, obj);
  1614. }, [_chjyjStudentDeskIconInfo[i]]),
  1615. "onclick": U.UF.C.closure(function (obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_chjyjStudentDeskIconInfo[i]])
  1619. }, _frag); //
  1620. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1621. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1622. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1623. }
  1624. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1625. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1626. _content = $$("div", {
  1627. className: "U_MD_D_KO",
  1628. "onmousedown": U.UF.C.closure(function (obj) {
  1629. //防止拖动图标即打开了桌面应用
  1630. U.MD.D.click(this, obj);
  1631. }, [_szjkyStudentDeskIconInfo[i]]),
  1632. "onclick": U.UF.C.closure(function (obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_szjkyStudentDeskIconInfo[i]])
  1636. }, _frag); //
  1637. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1638. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1639. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1640. }
  1641. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1642. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1643. _content = $$("div", {
  1644. className: "U_MD_D_KO",
  1645. "onmousedown": U.UF.C.closure(function (obj) {
  1646. //防止拖动图标即打开了桌面应用
  1647. U.MD.D.click(this, obj);
  1648. }, [_dseiStudentDeskIconInfo[i]]),
  1649. "onclick": U.UF.C.closure(function (obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_dseiStudentDeskIconInfo[i]])
  1653. }, _frag); //
  1654. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1655. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1656. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1657. }
  1658. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1659. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1660. _content = $$("div", {
  1661. className: "U_MD_D_KO",
  1662. "onmousedown": U.UF.C.closure(function (obj) {
  1663. //防止拖动图标即打开了桌面应用
  1664. U.MD.D.click(this, obj);
  1665. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1666. "onclick": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1670. }, _frag); //
  1671. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1672. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1673. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1674. }
  1675. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1676. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1677. _content = $$("div", {
  1678. className: "U_MD_D_KO",
  1679. "onmousedown": U.UF.C.closure(function (obj) {
  1680. //防止拖动图标即打开了桌面应用
  1681. U.MD.D.click(this, obj);
  1682. }, [_siesStudentDeskIconInfo[i]]),
  1683. "onclick": U.UF.C.closure(function (obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_siesStudentDeskIconInfo[i]])
  1687. }, _frag); //
  1688. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1689. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1690. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1691. }
  1692. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1693. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1694. _content = $$("div", {
  1695. className: "U_MD_D_KO",
  1696. "onmousedown": U.UF.C.closure(function (obj) {
  1697. //防止拖动图标即打开了桌面应用
  1698. U.MD.D.click(this, obj);
  1699. }, [_hkStudentDeskIconInfo[i]]),
  1700. "onclick": U.UF.C.closure(function (obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_hkStudentDeskIconInfo[i]])
  1704. }, _frag); //
  1705. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1706. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1707. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1708. }
  1709. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1710. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1711. _content = $$("div", {
  1712. className: "U_MD_D_KO",
  1713. "onmousedown": U.UF.C.closure(function (obj) {
  1714. //防止拖动图标即打开了桌面应用
  1715. U.MD.D.click(this, obj);
  1716. }, [_hkaceStudentDeskIconInfo[i]]),
  1717. "onclick": U.UF.C.closure(function (obj) {
  1718. //防止拖动图标即打开了桌面应用
  1719. U.MD.D.click(this, obj);
  1720. }, [_hkaceStudentDeskIconInfo[i]])
  1721. }, _frag); //
  1722. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1723. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1724. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1725. }
  1726. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1727. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1728. _content = $$("div", {
  1729. className: "U_MD_D_KO",
  1730. "onmousedown": U.UF.C.closure(function (obj) {
  1731. //防止拖动图标即打开了桌面应用
  1732. U.MD.D.click(this, obj);
  1733. }, [_studentDesktopIconInfo[i]]),
  1734. "onclick": U.UF.C.closure(function (obj) {
  1735. //防止拖动图标即打开了桌面应用
  1736. U.MD.D.click(this, obj);
  1737. }, [_studentDesktopIconInfo[i]])
  1738. }, _frag); //
  1739. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1740. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1741. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1742. }
  1743. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1744. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1745. _content = $$("div", {
  1746. className: "U_MD_D_KO",
  1747. "onmousedown": U.UF.C.closure(function (obj) {
  1748. //防止拖动图标即打开了桌面应用
  1749. U.MD.D.click(this, obj);
  1750. }, [_tcStudentDeskIconInfo[i]]),
  1751. "onclick": U.UF.C.closure(function (obj) {
  1752. //防止拖动图标即打开了桌面应用
  1753. U.MD.D.click(this, obj);
  1754. }, [_tcStudentDeskIconInfo[i]])
  1755. }, _frag); //
  1756. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1757. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1758. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1759. }
  1760. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1761. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1762. _content = $$("div", {
  1763. className: "U_MD_D_KO",
  1764. "onmousedown": U.UF.C.closure(function (obj) {
  1765. //防止拖动图标即打开了桌面应用
  1766. U.MD.D.click(this, obj);
  1767. }, [_szscStudentDeskIconInfo[i]]),
  1768. "onclick": U.UF.C.closure(function (obj) {
  1769. //防止拖动图标即打开了桌面应用
  1770. U.MD.D.click(this, obj);
  1771. }, [_szscStudentDeskIconInfo[i]])
  1772. }, _frag); //
  1773. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1774. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1775. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1776. }
  1777. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1778. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1779. _content = $$("div", {
  1780. className: "U_MD_D_KO",
  1781. "onmousedown": U.UF.C.closure(function (obj) {
  1782. //防止拖动图标即打开了桌面应用
  1783. U.MD.D.click(this, obj);
  1784. }, [_studentDesktopIconInfo3[i]]),
  1785. "onclick": U.UF.C.closure(function (obj) {
  1786. //防止拖动图标即打开了桌面应用
  1787. U.MD.D.click(this, obj);
  1788. }, [_studentDesktopIconInfo3[i]])
  1789. }, _frag); //
  1790. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1791. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1792. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1793. }
  1794. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1795. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1796. _content = $$("div", {
  1797. className: "U_MD_D_KO",
  1798. "onmousedown": U.UF.C.closure(function (obj) {
  1799. //防止拖动图标即打开了桌面应用
  1800. U.MD.D.click(this, obj);
  1801. }, [_studentDesktopIconInfo2[i]]),
  1802. "onclick": U.UF.C.closure(function (obj) {
  1803. //防止拖动图标即打开了桌面应用
  1804. U.MD.D.click(this, obj);
  1805. }, [_studentDesktopIconInfo2[i]])
  1806. }, _frag); //
  1807. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1808. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1809. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1810. }
  1811. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1812. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1813. _content = $$("div", {
  1814. className: "U_MD_D_KO",
  1815. "onmousedown": U.UF.C.closure(function (obj) {
  1816. //防止拖动图标即打开了桌面应用
  1817. U.MD.D.click(this, obj);
  1818. }, [_wanketeacherDesktopIconInfo[i]]),
  1819. "onclick": U.UF.C.closure(function (obj) {
  1820. //防止拖动图标即打开了桌面应用
  1821. U.MD.D.click(this, obj);
  1822. }, [_wanketeacherDesktopIconInfo[i]])
  1823. }, _frag); //
  1824. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1825. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1826. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1827. }
  1828. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1829. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1830. _content = $$("div", {
  1831. className: "U_MD_D_KO",
  1832. "onmousedown": U.UF.C.closure(function (obj) {
  1833. //防止拖动图标即打开了桌面应用
  1834. U.MD.D.click(this, obj);
  1835. }, [_wankeAdminDesktopIconInfo[i]]),
  1836. "onclick": U.UF.C.closure(function (obj) {
  1837. //防止拖动图标即打开了桌面应用
  1838. U.MD.D.click(this, obj);
  1839. }, [_wankeAdminDesktopIconInfo[i]])
  1840. }, _frag); //
  1841. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1842. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1843. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1844. }
  1845. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1846. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1847. _content = $$("div", {
  1848. className: "U_MD_D_KO",
  1849. "onmousedown": U.UF.C.closure(function (obj) {
  1850. //防止拖动图标即打开了桌面应用
  1851. U.MD.D.click(this, obj);
  1852. }, [_jccssylTeacherDeskIconInfo[i]]),
  1853. "onclick": U.UF.C.closure(function (obj) {
  1854. //防止拖动图标即打开了桌面应用
  1855. U.MD.D.click(this, obj);
  1856. }, [_jccssylTeacherDeskIconInfo[i]])
  1857. }, _frag); //
  1858. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1859. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1860. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1861. }
  1862. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1863. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1864. _content = $$("div", {
  1865. className: "U_MD_D_KO",
  1866. "onmousedown": U.UF.C.closure(function (obj) {
  1867. //防止拖动图标即打开了桌面应用
  1868. U.MD.D.click(this, obj);
  1869. }, [_caleTeacherDeskIconInfo[i]]),
  1870. "onclick": U.UF.C.closure(function (obj) {
  1871. //防止拖动图标即打开了桌面应用
  1872. U.MD.D.click(this, obj);
  1873. }, [_caleTeacherDeskIconInfo[i]])
  1874. }, _frag); //
  1875. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1876. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1877. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1878. }
  1879. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1880. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1881. _content = $$("div", {
  1882. className: "U_MD_D_KO",
  1883. "onmousedown": U.UF.C.closure(function (obj) {
  1884. //防止拖动图标即打开了桌面应用
  1885. U.MD.D.click(this, obj);
  1886. }, [_tpcOrganizerDeskIconInfo[i]]),
  1887. "onclick": U.UF.C.closure(function (obj) {
  1888. //防止拖动图标即打开了桌面应用
  1889. U.MD.D.click(this, obj);
  1890. }, [_tpcOrganizerDeskIconInfo[i]])
  1891. }, _frag); //
  1892. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1893. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1894. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1895. }
  1896. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1897. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1898. _content = $$("div", {
  1899. className: "U_MD_D_KO",
  1900. "onmousedown": U.UF.C.closure(function (obj) {
  1901. //防止拖动图标即打开了桌面应用
  1902. U.MD.D.click(this, obj);
  1903. }, [_tpcTeacherDeskIconInfo[i]]),
  1904. "onclick": U.UF.C.closure(function (obj) {
  1905. //防止拖动图标即打开了桌面应用
  1906. U.MD.D.click(this, obj);
  1907. }, [_tpcTeacherDeskIconInfo[i]])
  1908. }, _frag); //
  1909. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1910. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1911. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1912. }
  1913. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1914. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1915. _content = $$("div", {
  1916. className: "U_MD_D_KO",
  1917. "onmousedown": U.UF.C.closure(function (obj) {
  1918. //防止拖动图标即打开了桌面应用
  1919. U.MD.D.click(this, obj);
  1920. }, [_teacherDesktopIconInfo2[i]]),
  1921. "onclick": U.UF.C.closure(function (obj) {
  1922. //防止拖动图标即打开了桌面应用
  1923. U.MD.D.click(this, obj);
  1924. }, [_teacherDesktopIconInfo2[i]])
  1925. }, _frag); //
  1926. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1927. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1928. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1929. }
  1930. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1931. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1932. _content = $$("div", {
  1933. className: "U_MD_D_KO",
  1934. "onmousedown": U.UF.C.closure(function (obj) {
  1935. //防止拖动图标即打开了桌面应用
  1936. U.MD.D.click(this, obj);
  1937. }, [_thuioeTeacherDeskIconInfo[i]]),
  1938. "onclick": U.UF.C.closure(function (obj) {
  1939. //防止拖动图标即打开了桌面应用
  1940. U.MD.D.click(this, obj);
  1941. }, [_thuioeTeacherDeskIconInfo[i]])
  1942. }, _frag); //
  1943. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1944. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1945. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1946. }
  1947. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1948. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1949. _content = $$("div", {
  1950. className: "U_MD_D_KO",
  1951. "onmousedown": U.UF.C.closure(function (obj) {
  1952. //防止拖动图标即打开了桌面应用
  1953. U.MD.D.click(this, obj);
  1954. }, [_lotechTeacherDeskIconInfo[i]]),
  1955. "onclick": U.UF.C.closure(function (obj) {
  1956. //防止拖动图标即打开了桌面应用
  1957. U.MD.D.click(this, obj);
  1958. }, [_lotechTeacherDeskIconInfo[i]])
  1959. }, _frag); //
  1960. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1961. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1962. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1963. }//
  1964. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1965. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1966. _content = $$("div", {
  1967. className: "U_MD_D_KO",
  1968. "onmousedown": U.UF.C.closure(function (obj) {
  1969. //防止拖动图标即打开了桌面应用
  1970. U.MD.D.click(this, obj);
  1971. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1972. "onclick": U.UF.C.closure(function (obj) {
  1973. //防止拖动图标即打开了桌面应用
  1974. U.MD.D.click(this, obj);
  1975. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1976. }, _frag); //
  1977. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1978. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1979. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1980. }
  1981. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1982. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1983. _content = $$("div", {
  1984. className: "U_MD_D_KO",
  1985. "onmousedown": U.UF.C.closure(function (obj) {
  1986. //防止拖动图标即打开了桌面应用
  1987. U.MD.D.click(this, obj);
  1988. }, [_siesTeacherDeskIconInfo[i]]),
  1989. "onclick": U.UF.C.closure(function (obj) {
  1990. //防止拖动图标即打开了桌面应用
  1991. U.MD.D.click(this, obj);
  1992. }, [_siesTeacherDeskIconInfo[i]])
  1993. }, _frag); //
  1994. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1995. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1996. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1997. }
  1998. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1999. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2000. _content = $$("div", {
  2001. className: "U_MD_D_KO",
  2002. "onmousedown": U.UF.C.closure(function (obj) {
  2003. //防止拖动图标即打开了桌面应用
  2004. U.MD.D.click(this, obj);
  2005. }, [_longhuaTeacherDeskIconInfo[i]]),
  2006. "onclick": U.UF.C.closure(function (obj) {
  2007. //防止拖动图标即打开了桌面应用
  2008. U.MD.D.click(this, obj);
  2009. }, [_longhuaTeacherDeskIconInfo[i]])
  2010. }, _frag); //
  2011. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2012. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2013. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2014. }
  2015. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2016. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2017. _content = $$("div", {
  2018. className: "U_MD_D_KO",
  2019. "onmousedown": U.UF.C.closure(function (obj) {
  2020. //防止拖动图标即打开了桌面应用
  2021. U.MD.D.click(this, obj);
  2022. }, [_ytyTeacherDeskIconInfo[i]]),
  2023. "onclick": U.UF.C.closure(function (obj) {
  2024. //防止拖动图标即打开了桌面应用
  2025. U.MD.D.click(this, obj);
  2026. }, [_ytyTeacherDeskIconInfo[i]])
  2027. }, _frag); //
  2028. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2029. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2030. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2031. }
  2032. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2033. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2034. _content = $$("div", {
  2035. className: "U_MD_D_KO",
  2036. "onmousedown": U.UF.C.closure(function (obj) {
  2037. //防止拖动图标即打开了桌面应用
  2038. U.MD.D.click(this, obj);
  2039. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2040. "onclick": U.UF.C.closure(function (obj) {
  2041. //防止拖动图标即打开了桌面应用
  2042. U.MD.D.click(this, obj);
  2043. }, [_yunhaiTeacherDeskIconInfo[i]])
  2044. }, _frag); //
  2045. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2046. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2047. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2048. } //_hkStudentDeskIconInfo
  2049. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2050. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2051. _content = $$("div", {
  2052. className: "U_MD_D_KO",
  2053. "onmousedown": U.UF.C.closure(function (obj) {
  2054. //防止拖动图标即打开了桌面应用
  2055. U.MD.D.click(this, obj);
  2056. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2057. "onclick": U.UF.C.closure(function (obj) {
  2058. //防止拖动图标即打开了桌面应用
  2059. U.MD.D.click(this, obj);
  2060. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2061. }, _frag); //
  2062. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2063. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2064. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2065. }
  2066. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2067. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2068. _content = $$("div", {
  2069. className: "U_MD_D_KO",
  2070. "onmousedown": U.UF.C.closure(function (obj) {
  2071. //防止拖动图标即打开了桌面应用
  2072. U.MD.D.click(this, obj);
  2073. }, [_hkTeacherDeskIconInfo[i]]),
  2074. "onclick": U.UF.C.closure(function (obj) {
  2075. //防止拖动图标即打开了桌面应用
  2076. U.MD.D.click(this, obj);
  2077. }, [_hkTeacherDeskIconInfo[i]])
  2078. }, _frag); //
  2079. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2080. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2081. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2082. }
  2083. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2084. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2085. _content = $$("div", {
  2086. className: "U_MD_D_KO",
  2087. "onmousedown": U.UF.C.closure(function (obj) {
  2088. //防止拖动图标即打开了桌面应用
  2089. U.MD.D.click(this, obj);
  2090. }, [_hkaceTeacherDeskIconInfo[i]]),
  2091. "onclick": U.UF.C.closure(function (obj) {
  2092. //防止拖动图标即打开了桌面应用
  2093. U.MD.D.click(this, obj);
  2094. }, [_hkaceTeacherDeskIconInfo[i]])
  2095. }, _frag); //
  2096. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2097. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2098. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2099. }
  2100. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2101. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2102. _content = $$("div", {
  2103. className: "U_MD_D_KO",
  2104. "onmousedown": U.UF.C.closure(function (obj) {
  2105. //防止拖动图标即打开了桌面应用
  2106. U.MD.D.click(this, obj);
  2107. }, [_gdjgAdminDeskIconInfo[i]]),
  2108. "onclick": U.UF.C.closure(function (obj) {
  2109. //防止拖动图标即打开了桌面应用
  2110. U.MD.D.click(this, obj);
  2111. }, [_gdjgAdminDeskIconInfo[i]])
  2112. }, _frag); //
  2113. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2114. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2115. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2116. }
  2117. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2118. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2119. _content = $$("div", {
  2120. className: "U_MD_D_KO",
  2121. "onmousedown": U.UF.C.closure(function (obj) {
  2122. //防止拖动图标即打开了桌面应用
  2123. U.MD.D.click(this, obj);
  2124. }, [_gdjgTeacherDeskIconInfo[i]]),
  2125. "onclick": U.UF.C.closure(function (obj) {
  2126. //防止拖动图标即打开了桌面应用
  2127. U.MD.D.click(this, obj);
  2128. }, [_gdjgTeacherDeskIconInfo[i]])
  2129. }, _frag); //
  2130. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2131. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2132. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2133. }
  2134. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2135. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2136. _content = $$("div", {
  2137. className: "U_MD_D_KO",
  2138. "onmousedown": U.UF.C.closure(function (obj) {
  2139. //防止拖动图标即打开了桌面应用
  2140. U.MD.D.click(this, obj);
  2141. }, [_szherTeacherDeskIconInfo[i]]),
  2142. "onclick": U.UF.C.closure(function (obj) {
  2143. //防止拖动图标即打开了桌面应用
  2144. U.MD.D.click(this, obj);
  2145. }, [_szherTeacherDeskIconInfo[i]])
  2146. }, _frag); //
  2147. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2148. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2149. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2150. }
  2151. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2152. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2153. _content = $$("div", {
  2154. className: "U_MD_D_KO",
  2155. "onmousedown": U.UF.C.closure(function (obj) {
  2156. //防止拖动图标即打开了桌面应用
  2157. U.MD.D.click(this, obj);
  2158. }, [_heyuannAdminDeskIconInfo[i]]),
  2159. "onclick": U.UF.C.closure(function (obj) {
  2160. //防止拖动图标即打开了桌面应用
  2161. U.MD.D.click(this, obj);
  2162. }, [_heyuannAdminDeskIconInfo[i]])
  2163. }, _frag); //
  2164. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2165. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2166. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2167. }
  2168. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2169. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2170. _content = $$("div", {
  2171. className: "U_MD_D_KO",
  2172. "onmousedown": U.UF.C.closure(function (obj) {
  2173. //防止拖动图标即打开了桌面应用
  2174. U.MD.D.click(this, obj);
  2175. }, [_heyuanTeacherDeskIconInfo[i]]),
  2176. "onclick": U.UF.C.closure(function (obj) {
  2177. //防止拖动图标即打开了桌面应用
  2178. U.MD.D.click(this, obj);
  2179. }, [_heyuanTeacherDeskIconInfo[i]])
  2180. }, _frag); //
  2181. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2182. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2183. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2184. } //
  2185. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2186. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2187. _content = $$("div", {
  2188. className: "U_MD_D_KO",
  2189. "onmousedown": U.UF.C.closure(function (obj) {
  2190. //防止拖动图标即打开了桌面应用
  2191. U.MD.D.click(this, obj);
  2192. }, [_dseiAdminDeskIconInfo[i]]),
  2193. "onclick": U.UF.C.closure(function (obj) {
  2194. //防止拖动图标即打开了桌面应用
  2195. U.MD.D.click(this, obj);
  2196. }, [_dseiAdminDeskIconInfo[i]])
  2197. }, _frag); //
  2198. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2199. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2200. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2201. }
  2202. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2203. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2204. _content = $$("div", {
  2205. className: "U_MD_D_KO",
  2206. "onmousedown": U.UF.C.closure(function (obj) {
  2207. //防止拖动图标即打开了桌面应用
  2208. U.MD.D.click(this, obj);
  2209. }, [_dseiTeacherDeskIconInfo[i]]),
  2210. "onclick": U.UF.C.closure(function (obj) {
  2211. //防止拖动图标即打开了桌面应用
  2212. U.MD.D.click(this, obj);
  2213. }, [_dseiTeacherDeskIconInfo[i]])
  2214. }, _frag); //
  2215. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2216. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2217. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2218. } //
  2219. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2220. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2221. _content = $$("div", {
  2222. className: "U_MD_D_KO",
  2223. "onmousedown": U.UF.C.closure(function (obj) {
  2224. //防止拖动图标即打开了桌面应用
  2225. U.MD.D.click(this, obj);
  2226. }, [_chjyjAdminDeskIconInfo[i]]),
  2227. "onclick": U.UF.C.closure(function (obj) {
  2228. //防止拖动图标即打开了桌面应用
  2229. U.MD.D.click(this, obj);
  2230. }, [_chjyjAdminDeskIconInfo[i]])
  2231. }, _frag); //
  2232. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2233. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2234. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2235. }//
  2236. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2237. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2238. _content = $$("div", {
  2239. className: "U_MD_D_KO",
  2240. "onmousedown": U.UF.C.closure(function (obj) {
  2241. //防止拖动图标即打开了桌面应用
  2242. U.MD.D.click(this, obj);
  2243. }, [_chjyjTeacherDeskIconInfo[i]]),
  2244. "onclick": U.UF.C.closure(function (obj) {
  2245. //防止拖动图标即打开了桌面应用
  2246. U.MD.D.click(this, obj);
  2247. }, [_chjyjTeacherDeskIconInfo[i]])
  2248. }, _frag); //
  2249. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2250. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2251. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2252. }
  2253. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2254. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2255. _content = $$("div", {
  2256. className: "U_MD_D_KO",
  2257. "onmousedown": U.UF.C.closure(function (obj) {
  2258. //防止拖动图标即打开了桌面应用
  2259. U.MD.D.click(this, obj);
  2260. }, [_szjkyAdminDeskIconInfo[i]]),
  2261. "onclick": U.UF.C.closure(function (obj) {
  2262. //防止拖动图标即打开了桌面应用
  2263. U.MD.D.click(this, obj);
  2264. }, [_szjkyAdminDeskIconInfo[i]])
  2265. }, _frag); //
  2266. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2267. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2268. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2269. }//
  2270. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2271. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2272. _content = $$("div", {
  2273. className: "U_MD_D_KO",
  2274. "onmousedown": U.UF.C.closure(function (obj) {
  2275. //防止拖动图标即打开了桌面应用
  2276. U.MD.D.click(this, obj);
  2277. }, [_szjkyTeacherDeskIconInfo[i]]),
  2278. "onclick": U.UF.C.closure(function (obj) {
  2279. //防止拖动图标即打开了桌面应用
  2280. U.MD.D.click(this, obj);
  2281. }, [_szjkyTeacherDeskIconInfo[i]])
  2282. }, _frag); //
  2283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2286. }
  2287. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2288. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2289. _content = $$("div", {
  2290. className: "U_MD_D_KO",
  2291. "onmousedown": U.UF.C.closure(function (obj) {
  2292. //防止拖动图标即打开了桌面应用
  2293. U.MD.D.click(this, obj);
  2294. }, [_futianAdminDeskIconInfo[i]]),
  2295. "onclick": U.UF.C.closure(function (obj) {
  2296. //防止拖动图标即打开了桌面应用
  2297. U.MD.D.click(this, obj);
  2298. }, [_futianAdminDeskIconInfo[i]])
  2299. }, _frag); //
  2300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2303. }
  2304. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2305. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2306. _content = $$("div", {
  2307. className: "U_MD_D_KO",
  2308. "onmousedown": U.UF.C.closure(function (obj) {
  2309. //防止拖动图标即打开了桌面应用
  2310. U.MD.D.click(this, obj);
  2311. }, [_futianTeacherDeskIconInfo[i]]),
  2312. "onclick": U.UF.C.closure(function (obj) {
  2313. //防止拖动图标即打开了桌面应用
  2314. U.MD.D.click(this, obj);
  2315. }, [_futianTeacherDeskIconInfo[i]])
  2316. }, _frag); //
  2317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2320. }
  2321. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2322. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2323. _content = $$("div", {
  2324. className: "U_MD_D_KO",
  2325. "onmousedown": U.UF.C.closure(function (obj) {
  2326. //防止拖动图标即打开了桌面应用
  2327. U.MD.D.click(this, obj);
  2328. }, [_MingdeTeacherDeskIcon[i]]),
  2329. "onclick": U.UF.C.closure(function (obj) {
  2330. //防止拖动图标即打开了桌面应用
  2331. U.MD.D.click(this, obj);
  2332. }, [_MingdeTeacherDeskIcon[i]])
  2333. }, _frag); //
  2334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2337. }
  2338. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2339. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2340. _content = $$("div", {
  2341. className: "U_MD_D_KO",
  2342. "onmousedown": U.UF.C.closure(function (obj) {
  2343. //防止拖动图标即打开了桌面应用
  2344. U.MD.D.click(this, obj);
  2345. }, [_lhsAdminDesktopIconInfo[i]]),
  2346. "onclick": U.UF.C.closure(function (obj) {
  2347. //防止拖动图标即打开了桌面应用
  2348. U.MD.D.click(this, obj);
  2349. }, [_lhsAdminDesktopIconInfo[i]])
  2350. }, _frag); //
  2351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2354. }
  2355. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2356. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2357. _content = $$("div", {
  2358. className: "U_MD_D_KO",
  2359. "onmousedown": U.UF.C.closure(function (obj) {
  2360. //防止拖动图标即打开了桌面应用
  2361. U.MD.D.click(this, obj);
  2362. }, [_lhsteacherDesktopIconInfo[i]]),
  2363. "onclick": U.UF.C.closure(function (obj) {
  2364. //防止拖动图标即打开了桌面应用
  2365. U.MD.D.click(this, obj);
  2366. }, [_lhsteacherDesktopIconInfo[i]])
  2367. }, _frag); //
  2368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2371. }
  2372. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2373. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2374. _content = $$("div", {
  2375. className: "U_MD_D_KO",
  2376. "onmousedown": U.UF.C.closure(function (obj) {
  2377. //防止拖动图标即打开了桌面应用
  2378. U.MD.D.click(this, obj);
  2379. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2380. "onclick": U.UF.C.closure(function (obj) {
  2381. //防止拖动图标即打开了桌面应用
  2382. U.MD.D.click(this, obj);
  2383. }, [_zhoujiateacherDesktopIconInfo[i]])
  2384. }, _frag); //
  2385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2388. }
  2389. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2390. for (i = 0; i < _hanDeskIcon.length; i++) {
  2391. _content = $$("div", {
  2392. className: "U_MD_D_KO",
  2393. "onmousedown": U.UF.C.closure(function (obj) {
  2394. //防止拖动图标即打开了桌面应用
  2395. U.MD.D.click(this, obj);
  2396. }, [_hanDeskIcon[i]]),
  2397. "onclick": U.UF.C.closure(function (obj) {
  2398. //防止拖动图标即打开了桌面应用
  2399. U.MD.D.click(this, obj);
  2400. }, [_hanDeskIcon[i]])
  2401. }, _frag); //
  2402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2405. }
  2406. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2407. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2408. _content = $$("div", {
  2409. className: "U_MD_D_KO",
  2410. "onmousedown": U.UF.C.closure(function (obj) {
  2411. //防止拖动图标即打开了桌面应用
  2412. U.MD.D.click(this, obj);
  2413. }, [_orgStemDeskIcon[i]]),
  2414. "onclick": U.UF.C.closure(function (obj) {
  2415. //防止拖动图标即打开了桌面应用
  2416. U.MD.D.click(this, obj);
  2417. }, [_orgStemDeskIcon[i]])
  2418. }, _frag); //
  2419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2422. }
  2423. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2424. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2425. _content = $$("div", {
  2426. className: "U_MD_D_KO",
  2427. "onmousedown": U.UF.C.closure(function (obj) {
  2428. //防止拖动图标即打开了桌面应用
  2429. U.MD.D.click(this, obj);
  2430. }, [_szulsDeskIcon[i]]),
  2431. "onclick": U.UF.C.closure(function (obj) {
  2432. //防止拖动图标即打开了桌面应用
  2433. U.MD.D.click(this, obj);
  2434. }, [_szulsDeskIcon[i]])
  2435. }, _frag); //
  2436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2439. }
  2440. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2441. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2442. _content = $$("div", {
  2443. className: "U_MD_D_KO",
  2444. "onmousedown": U.UF.C.closure(function (obj) {
  2445. //防止拖动图标即打开了桌面应用
  2446. U.MD.D.click(this, obj);
  2447. }, [_orgDesktopIconInfo[i]]),
  2448. "onclick": U.UF.C.closure(function (obj) {
  2449. //防止拖动图标即打开了桌面应用
  2450. U.MD.D.click(this, obj);
  2451. }, [_orgDesktopIconInfo[i]])
  2452. }, _frag); //
  2453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2456. }
  2457. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2458. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2459. _content = $$("div", {
  2460. className: "U_MD_D_KO",
  2461. "onmousedown": U.UF.C.closure(function (obj) {
  2462. //防止拖动图标即打开了桌面应用
  2463. U.MD.D.click(this, obj);
  2464. }, [_schoolDesktopIconInfo[i]]),
  2465. "onclick": U.UF.C.closure(function (obj) {
  2466. //防止拖动图标即打开了桌面应用
  2467. U.MD.D.click(this, obj);
  2468. }, [_schoolDesktopIconInfo[i]])
  2469. }, _frag); //
  2470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2473. }
  2474. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2475. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2476. _content = $$("div", {
  2477. className: "U_MD_D_KO",
  2478. "onmousedown": U.UF.C.closure(function (obj) {
  2479. //防止拖动图标即打开了桌面应用
  2480. U.MD.D.click(this, obj);
  2481. }, [_GMteacherDesktopIconInfo[i]]),
  2482. "onclick": U.UF.C.closure(function (obj) {
  2483. //防止拖动图标即打开了桌面应用
  2484. U.MD.D.click(this, obj);
  2485. }, [_GMteacherDesktopIconInfo[i]])
  2486. }, _frag); //
  2487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2490. }
  2491. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2492. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2493. _content = $$("div", {
  2494. className: "U_MD_D_KO",
  2495. "onmousedown": U.UF.C.closure(function (obj) {
  2496. //防止拖动图标即打开了桌面应用
  2497. U.MD.D.click(this, obj);
  2498. }, [_SONGteacherDesktopIconInfo[i]]),
  2499. "onclick": U.UF.C.closure(function (obj) {
  2500. //防止拖动图标即打开了桌面应用
  2501. U.MD.D.click(this, obj);
  2502. }, [_SONGteacherDesktopIconInfo[i]])
  2503. }, _frag); //
  2504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2507. }
  2508. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2509. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2510. _content = $$("div", {
  2511. className: "U_MD_D_KO",
  2512. "onmousedown": U.UF.C.closure(function (obj) {
  2513. //防止拖动图标即打开了桌面应用
  2514. U.MD.D.click(this, obj);
  2515. }, [_GMstudentDesktopIconInfo[i]]),
  2516. "onclick": U.UF.C.closure(function (obj) {
  2517. //防止拖动图标即打开了桌面应用
  2518. U.MD.D.click(this, obj);
  2519. }, [_GMstudentDesktopIconInfo[i]])
  2520. }, _frag); //
  2521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2524. }
  2525. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2526. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2527. _content = $$("div", {
  2528. className: "U_MD_D_KO",
  2529. "onmousedown": U.UF.C.closure(function (obj) {
  2530. //防止拖动图标即打开了桌面应用
  2531. U.MD.D.click(this, obj);
  2532. }, [_tcTeacherDeskIconInfo[i]]),
  2533. "onclick": U.UF.C.closure(function (obj) {
  2534. //防止拖动图标即打开了桌面应用
  2535. U.MD.D.click(this, obj);
  2536. }, [_tcTeacherDeskIconInfo[i]])
  2537. }, _frag); //
  2538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2541. }
  2542. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2543. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2544. _content = $$("div", {
  2545. className: "U_MD_D_KO",
  2546. "onmousedown": U.UF.C.closure(function (obj) {
  2547. //防止拖动图标即打开了桌面应用
  2548. U.MD.D.click(this, obj);
  2549. }, [_tcOrganizerDeskIconInfo[i]]),
  2550. "onclick": U.UF.C.closure(function (obj) {
  2551. //防止拖动图标即打开了桌面应用
  2552. U.MD.D.click(this, obj);
  2553. }, [_tcOrganizerDeskIconInfo[i]])
  2554. }, _frag); //
  2555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2558. }
  2559. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2560. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2561. _content = $$("div", {
  2562. className: "U_MD_D_KO",
  2563. "onmousedown": U.UF.C.closure(function (obj) {
  2564. //防止拖动图标即打开了桌面应用
  2565. U.MD.D.click(this, obj);
  2566. }, [_szscTeacherDeskIconInfo[i]]),
  2567. "onclick": U.UF.C.closure(function (obj) {
  2568. //防止拖动图标即打开了桌面应用
  2569. U.MD.D.click(this, obj);
  2570. }, [_szscTeacherDeskIconInfo[i]])
  2571. }, _frag); //
  2572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2575. }
  2576. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2577. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2578. _content = $$("div", {
  2579. className: "U_MD_D_KO",
  2580. "onmousedown": U.UF.C.closure(function (obj) {
  2581. //防止拖动图标即打开了桌面应用
  2582. U.MD.D.click(this, obj);
  2583. }, [_szscOrganizerDeskIconInfo[i]]),
  2584. "onclick": U.UF.C.closure(function (obj) {
  2585. //防止拖动图标即打开了桌面应用
  2586. U.MD.D.click(this, obj);
  2587. }, [_szscOrganizerDeskIconInfo[i]])
  2588. }, _frag); //
  2589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2592. }
  2593. } else {
  2594. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2595. _content = $$("div", {
  2596. className: "U_MD_D_KO",
  2597. "onmousedown": U.UF.C.closure(function (obj) {
  2598. //防止拖动图标即打开了桌面应用
  2599. U.MD.D.click(this, obj);
  2600. }, [_teacherDesktopIconInfo[i]]),
  2601. "onclick": U.UF.C.closure(function (obj) {
  2602. //防止拖动图标即打开了桌面应用
  2603. U.MD.D.click(this, obj);
  2604. }, [_teacherDesktopIconInfo[i]])
  2605. }, _frag); //
  2606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2609. }
  2610. }
  2611. } else {
  2612. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2613. _content = $$("div", {
  2614. className: "U_MD_D_KO",
  2615. style: { 'width': '124px', 'height': '145px' },
  2616. "onmousedown": U.UF.C.closure(function (obj) {
  2617. //防止拖动图标即打开了桌面应用
  2618. U.MD.D.click(this, obj);
  2619. }, [_easyDesktopIconInfo[i]]),
  2620. "onclick": U.UF.C.closure(function (obj) {
  2621. //防止拖动图标即打开了桌面应用
  2622. U.MD.D.click(this, obj);
  2623. }, [_easyDesktopIconInfo[i]])
  2624. }, _frag); //
  2625. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2628. }
  2629. }
  2630. if (type == 1) {
  2631. //加载好后给图标定位
  2632. U.MD.D.iconPostion($(_frag).Child());
  2633. } else {
  2634. //加载好后给图标定位
  2635. U.MD.D.iconPostion2($(_frag).Child());
  2636. }
  2637. //把图标加载到页面
  2638. el.appendChild(_frag);
  2639. }
  2640. /**
  2641. * 显示任务栏
  2642. *
  2643. * @param {element} 桌面元素
  2644. */
  2645. U.MD.D.I.displayTaskbar = function (el) {
  2646. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2647. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2648. //任务栏位置变化
  2649. U.selectEl(el).css({ "bottom": "0px" });
  2650. //桌面位置变话
  2651. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2652. }
  2653. }
  2654. //#region 桌面图标拖动逻辑
  2655. /**
  2656. * 桌面排列图标
  2657. *
  2658. * @param {element} 桌面元素
  2659. * @param {object} 上下相距的距离
  2660. * @param {object} 左右相距的距离
  2661. * @return {object} 命名空间
  2662. */
  2663. U.MD.D.iconPostion = function (childs, top, left) {
  2664. var i; //用于循环处理
  2665. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2666. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2667. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2668. for (i = 0; i < childs.length; i++) {
  2669. //如果竖排top超过了范围处理
  2670. if (top + 95 > US.height - 10) {
  2671. //left超过了页面范围处理,则向上重叠打印处理
  2672. if ((left + 180) > US.width) {
  2673. top -= 110;
  2674. left -= 90;
  2675. }
  2676. //没有超过范围,那么left+90添加到下一个竖排打印
  2677. else {
  2678. left += 90;
  2679. top = 15;
  2680. };
  2681. }
  2682. //给图标的位置赋值
  2683. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2684. if (i < childs.length - 1) {
  2685. //页面图标每次向下加95
  2686. top += 95;
  2687. }
  2688. }
  2689. //返回最后调用的图标的位置
  2690. return [top, left];
  2691. }
  2692. /**
  2693. * 桌面排列图标
  2694. *
  2695. * @param {element} 桌面元素
  2696. * @param {object} 上下相距的距离
  2697. * @param {object} 左右相距的距离
  2698. * @return {object} 命名空间
  2699. */
  2700. U.MD.D.iconPostion2 = function (childs, top, left) {
  2701. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2702. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2703. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2704. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2705. for (i = 0; i < childs.length; i++) {
  2706. //如果竖排top超过了范围处理
  2707. if (left + 150 > US.width - 10) {
  2708. //left超过了页面范围处理,则向上重叠打印处理
  2709. if ((top + 180) > US.Height) {
  2710. top -= 150;
  2711. left -= 150;
  2712. }
  2713. //没有超过范围,那么left+90添加到下一个竖排打印
  2714. else {
  2715. top += 150;
  2716. left = ol;
  2717. };
  2718. }
  2719. //给图标的位置赋值
  2720. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2721. if (i < childs.length - 1) {
  2722. //页面图标每次向下加95
  2723. left += 150;
  2724. }
  2725. }
  2726. //返回最后调用的图标的位置
  2727. return [top, left];
  2728. }
  2729. /**
  2730. * 桌面点击事件逻辑
  2731. *
  2732. * @param {element} 桌面元素
  2733. * @param {object} 上下相距的距离
  2734. * @param {object} 左右相距的距离
  2735. * @return {object} 命名空间
  2736. */
  2737. U.MD.D.click = function (el, obj) {
  2738. var _buttonnumber = event.button; //点击的按钮的事件值
  2739. var _userinfo = US.userInfo;
  2740. U.UF.EV.stopBubble(); //阻止向上冒泡
  2741. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2742. if (_buttonnumber < 2) {
  2743. //如果是click事件的处理
  2744. if (event.type == "click") {
  2745. //如果元素在mousemove事件中没有移动则出发click事件
  2746. if (!U.MD.D.I.IsDrag) {
  2747. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2748. U.alert("请先登录您的账号!");
  2749. setTimeout(() => {
  2750. U.MD.U.L.login();
  2751. }, 2000);
  2752. } else {
  2753. //打开应用处理
  2754. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2755. }
  2756. }
  2757. }
  2758. //如果是mouse事件的处理
  2759. else {
  2760. if (US.Config.type == '1') {
  2761. //拖动处理,添加拖动和拖动结束事件
  2762. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2763. }
  2764. }
  2765. U.MD.D.I.IsDrag = false;
  2766. }
  2767. }
  2768. /**
  2769. * 拖动的处理
  2770. *
  2771. */
  2772. U.MD.D.iconMove = function () {
  2773. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2774. U.MD.D.I.IsDrag = true;
  2775. }
  2776. /**
  2777. * 拖动结束后,这里是定位处理,以网状的形式定位
  2778. *
  2779. * @param {element} 拖动的元素
  2780. * @return {object} 命名空间
  2781. */
  2782. U.MD.D.iconUp = function (el) {
  2783. var _top = 15,
  2784. _left = 20,
  2785. _margin,
  2786. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2787. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2788. if (_positioninfo["OT"] > 15) {
  2789. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2790. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2791. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2792. }
  2793. if (_positioninfo["OL"] > 20) {
  2794. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2795. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2796. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2797. }
  2798. //while循环判断么一个重叠的元素
  2799. do {
  2800. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2801. _top = _positioninfo[0] + 95; //得到定位后的top
  2802. _left = _positioninfo[1]; //得到定位后的left
  2803. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2804. }
  2805. /**
  2806. * 判断拖动后图标是否重叠
  2807. *
  2808. * @param {element} 拖动的元素
  2809. * @param {element} 桌面所有的元素
  2810. * @param {array} 拖动元素的位置
  2811. ----------[0] 上 top
  2812. ----------[1] 左 left
  2813. * @return {object} 命名空间
  2814. */
  2815. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2816. //循环所有的图标
  2817. for (var i = 0; i < childs.length; i++) {
  2818. //判断有没有和该图标诶子重叠的元素
  2819. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2820. return childs[i]; //如果有返回
  2821. }
  2822. }
  2823. }
  2824. //#endregion
  2825. //#endregion
  2826. //#region 桌面应用
  2827. /**
  2828. * 打开应用
  2829. *
  2830. * @param {string} 类型
  2831. -----------------Disk 网盘系统
  2832. -----------------PDisk 学习系统网盘
  2833. -----------------Poto 图片
  2834. -----------------Video 视频
  2835. -----------------Music 音乐
  2836. -----------------Word word
  2837. -----------------Excel excel
  2838. -----------------Txt 记事本
  2839. -----------------PB 学习系统
  2840. -----------------Blog 朋友圈系统
  2841. -----------------FTP ftp系统
  2842. -----------------Group 好友群
  2843. -----------------SY 首页系统
  2844. -----------------Set 个人设置
  2845. -----------------XSet 系统设置
  2846. -----------------App 我们所有的app
  2847. -----------------BC c.1473.cn 平台
  2848. -----------------CWeb d.1473.cn 变成平台
  2849. -----------------其他的外联系统 我们统一用iframe打开
  2850. * @param {array} 类型
  2851. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2852. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2853. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2854. 如果第一个参数为其他,则无第二个参数
  2855. * @returns {array}
  2856. */
  2857. window.addEventListener('message', function (e) { // 监听 message 事件
  2858. // alert(e.data.type);
  2859. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2860. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2861. //3是展示全部阶段 2学生 1老师 4专家
  2862. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2863. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2864. //3是展示全部阶段 2学生 1老师 4专家
  2865. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2866. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2867. //3是展示全部阶段 2学生 1老师 4专家
  2868. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2869. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2870. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2871. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2872. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2873. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2874. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2875. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2876. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2877. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2878. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2879. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2880. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2881. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2882. //3是展示全部阶段 2学生 1老师 4专家
  2883. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2884. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2885. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2886. U.MD.D.I.selectUser();
  2887. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2888. var _formel = document.getElementById("study");
  2889. U.UF.F.windowZooming(_formel);
  2890. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2891. var _formel = document.getElementById("studyDetail");
  2892. U.UF.F.windowZooming(_formel);
  2893. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2894. var _formel = document.getElementById("studyDetail");
  2895. U.UF.F.windowZooming(_formel);
  2896. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2897. var _formel = document.getElementById("studentStudy");
  2898. U.UF.F.windowZooming(_formel);
  2899. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2900. // var _formel = document.getElementById("study");
  2901. //如果最大化了,那么就把他缩小
  2902. // if (_formel.ismaximize) {
  2903. // return;
  2904. // }
  2905. // U.UF.F.windowZooming(_formel);
  2906. // U.UF.F.topWindow(_formel);
  2907. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2908. // var _formel = document.getElementById("studyDetail");
  2909. //如果最大化了,那么就把他缩小
  2910. // if (_formel.ismaximize) {
  2911. // return;
  2912. // }
  2913. // U.UF.F.windowZooming(_formel);
  2914. // U.UF.F.topWindow(_formel);
  2915. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2916. // var _formel = document.getElementById("studentStudy");
  2917. // if (_formel.ismaximize) {
  2918. // return;
  2919. // }
  2920. // U.UF.F.windowZooming(_formel);
  2921. // U.UF.F.topWindow(_formel);
  2922. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2923. var _formel = document.getElementById("study");
  2924. // if (_formel.ismaximize) {
  2925. // return;
  2926. // }
  2927. // U.UF.F.windowZooming(_formel);
  2928. U.UF.F.topWindow(_formel);
  2929. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2930. var _formel = document.getElementById("studentIndex");
  2931. U.UF.F.windowZooming(_formel);
  2932. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2933. var _formel = document.getElementById("studyDetailS");
  2934. U.UF.F.windowZooming(_formel);
  2935. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2936. var _formel = document.getElementById("studioIndex");
  2937. U.UF.F.windowZooming(_formel);
  2938. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2939. var _formel = document.getElementById("studyDetailStudio");
  2940. U.UF.F.windowZooming(_formel);
  2941. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2942. var _formel = document.getElementById("studyDetailStudio");
  2943. U.UF.F.windowZooming(_formel);
  2944. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2945. var _formel = document.getElementById("studyDetailNT");
  2946. U.UF.F.windowZooming(_formel);
  2947. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2948. var _formel = document.getElementById("studyDetailS");
  2949. U.UF.F.windowZooming(_formel);
  2950. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2951. var _formel = document.getElementById("studyDetailS");
  2952. U.UF.F.topWindow(_formel);
  2953. } else if (e.data.tools && e.data.tools == "1") {
  2954. // U.MD.D.I.openApplication("whiteboard")
  2955. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2956. } else if (e.data.tools && e.data.tools == "2") {
  2957. U.MD.D.I.openApplication("note")
  2958. } else if (e.data.tools && e.data.tools == "3") {
  2959. // U.MD.D.I.openApplication("mind")
  2960. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2961. } else if (e.data.tools && e.data.tools == "4") {
  2962. U.MD.D.I.openApplication("investigation")
  2963. } else if (e.data.tools && e.data.tools == "6") {
  2964. // U.MD.D.I.openApplication("doc")
  2965. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2966. } else if (e.data.tools && e.data.tools == "7") {
  2967. // U.MD.D.I.openApplication("mindNetwork")
  2968. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2969. } else if (e.data.tools && e.data.tools == "8") {
  2970. U.MD.D.I.openApplication("library")
  2971. } else if (e.data.tools && e.data.tools == "17") {
  2972. U.MD.D.I.openApplication("stuLibrary")
  2973. } else if (e.data.tools && e.data.tools == "18") {
  2974. U.MD.D.I.openApplication("train")
  2975. } else if (e.data.tools && e.data.tools == "21") {
  2976. U.MD.D.I.openApplication("program")
  2977. } else if (e.data.tools && e.data.tools == "22") {
  2978. U.MD.D.I.openApplication("AIprogram2")
  2979. } else if (e.data.tools && e.data.tools == "23") {
  2980. U.MD.D.I.openApplication("Pythonprogram")
  2981. } else if (e.data.tools && e.data.tools == "24") {
  2982. U.MD.D.I.openApplication("AIprogram")
  2983. } else if (e.data.tools && e.data.tools == "25") {
  2984. U.MD.D.I.openApplication("sys")
  2985. } else if (e.data.tools && e.data.tools == "26") {
  2986. // U.MD.D.I.openApplication("courseDesign")
  2987. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2988. } else if (e.data.tools && e.data.tools == "31") {
  2989. U.MD.D.I.openApplication("netWorkPanel")
  2990. } else if (e.data.tools && e.data.tools == "32") {
  2991. U.MD.D.I.openApplication("codeEdit")
  2992. } else if (e.data.tools && e.data.tools == "57") {
  2993. U.MD.D.I.openApplication("CocoPi")
  2994. } else if (e.data.tools && e.data.tools == "63") {
  2995. U.MD.D.I.openApplication("Wood")
  2996. } else if (e.data.tools && e.data.tools == "58") {
  2997. U.MD.D.I.openApplication("car")
  2998. } else if (e.data.tools && e.data.tools == "59") {
  2999. U.MD.D.I.openApplication("lineSearch")
  3000. } else if (e.data.tools && e.data.tools == "60") {
  3001. U.MD.D.I.openApplication("deepLearning")
  3002. } else if (e.data.tools && e.data.tools == "61") {
  3003. U.MD.D.I.openApplication("allHistory")
  3004. } else if (e.data.tools && e.data.tools == "28") {
  3005. U.MD.D.I.openApplication("translation")
  3006. } else if (e.data.tools && e.data.tools == "37") {
  3007. U.MD.D.I.openApplication("mohe")
  3008. } else if (e.data.tools && e.data.tools == "38") {
  3009. U.MD.D.I.openApplication("24game")
  3010. } else if (e.data.tools && e.data.tools == "39") {
  3011. U.MD.D.I.openApplication("GeoGebra")
  3012. } else if (e.data.tools && e.data.tools == "43") {
  3013. U.MD.D.I.openApplication("studentEvaluate")
  3014. } else if (e.data.tools && e.data.tools == "44") {
  3015. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3016. } else if (e.data.tools && e.data.tools == "46") {
  3017. U.MD.D.I.openApplication("project")
  3018. } else if (e.data.tools && e.data.tools == "71") {
  3019. U.MD.D.I.openApplication("aigptCourse")
  3020. } else if (e.data.tools && e.data.tools == "1s") {
  3021. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3022. } else if (e.data.tools && e.data.tools == "3s") {
  3023. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3024. } else if (e.data.tools && e.data.tools == "6s") {
  3025. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3026. } else if (e.data.tools && e.data.tools == "1studio") {
  3027. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3028. } else if (e.data.tools && e.data.tools == "3studio") {
  3029. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3030. } else if (e.data.tools && e.data.tools == "6studio") {
  3031. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3032. } else if (e.data.tools && e.data.tools == "3y") {
  3033. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3034. } else if (e.data.tools && e.data.tools == "1y") {
  3035. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3036. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3037. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3038. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3039. U.MD.D.I.openApplication("AIAnalyse")
  3040. } else if (e.data.tools && e.data.tools == "1teacher") {
  3041. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3042. } else if (e.data.tools && e.data.tools == "3teacher") {
  3043. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3044. } else if (e.data.tools && e.data.tools == "7teacher") {
  3045. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3046. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3047. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3048. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3049. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3050. } else if (e.data.tools && e.data.tools == "1E") {
  3051. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3052. } else if (e.data.tools && e.data.tools == "3E") {
  3053. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3054. } else if (e.data.tools && e.data.tools == "57y") {
  3055. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3056. } else if (e.data.tools && e.data.tools == "57u") {
  3057. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3058. } else if (e.data.tools && e.data.tools == "57teacher") {
  3059. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3060. } else if (e.data.tools && e.data.tools == "64") {
  3061. U.MD.D.I.openApplication("AIChat")
  3062. } else if (e.data.tools && e.data.tools == "66") {
  3063. U.MD.D.I.openApplication("formulaEdi")
  3064. } else if (e.data.tools && e.data.tools == "67") {
  3065. U.MD.D.I.openApplication("molStr")
  3066. } else if (e.data.tools && e.data.tools == "68") {
  3067. U.MD.D.I.openApplication("timeAxis")
  3068. } else if (e.data.tools && e.data.tools == "openCourse") {
  3069. let _data = {
  3070. typea: e.data.typea || '',
  3071. typeb: e.data.typeb || '',
  3072. typed: e.data.typed || '',
  3073. }
  3074. U.MD.D.I.openInApplication("index", _data)
  3075. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3076. let _data = {
  3077. classid: e.data.classid || '',
  3078. }
  3079. U.MD.D.I.openInApplication("dataClass", _data)
  3080. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3081. let _data = {
  3082. cid: e.data.cid || '',
  3083. gid: e.data.gid || '',
  3084. }
  3085. U.MD.D.I.openInApplication("opencCscl", _data)
  3086. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3087. U.MD.D.I.openApplication("dataBoardTest")
  3088. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3089. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3090. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3091. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3092. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3093. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3094. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3095. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3096. }else if (e.data.tools && e.data.tools == "loginSz") {
  3097. U.MD.D.I.openInApplication("loginSz")
  3098. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3099. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3100. }
  3101. });
  3102. U.MD.D.I.selectUser = function () {
  3103. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3104. if (res.value[0].length > 0) {
  3105. US.userInfo = res.value[0][0];
  3106. $(".userName")[0].innerHTML = US.userInfo.username;
  3107. }
  3108. }, [], { "type": "GET", "withCredentials": true });
  3109. }
  3110. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3111. var _userinfo = US.userInfo, //登录用户信息
  3112. _userid = US.userInfo.userid, //登录用户id
  3113. _oid = _userinfo.organizeid,
  3114. _type = US.userInfo.type,
  3115. _org = US.userInfo.org,
  3116. _role = US.userInfo.role,
  3117. _classId = US.userInfo.classid;
  3118. if (_type == 4) {
  3119. tType = 4
  3120. }
  3121. switch (str) {
  3122. case "studyDetailNT": //无终端模式
  3123. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3124. setTimeout(() => {
  3125. U.MD.U.L.login();
  3126. }, 2000);
  3127. } else {
  3128. _formdiv = new U.UF.UI.form(
  3129. "课程详情",
  3130. $$("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 }), {
  3131. "id": "studyDetailNT",
  3132. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3133. "onresize": function () { }
  3134. }, {
  3135. closecallback: function () { }
  3136. }, { "style": { "height": "36px" } }).form; //创建窗体
  3137. _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); } }
  3138. break;
  3139. }
  3140. case "studyDetail":
  3141. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3142. setTimeout(() => {
  3143. U.MD.U.L.login();
  3144. }, 2000);
  3145. } else {
  3146. _formdiv = new U.UF.UI.form(
  3147. "课程详情",
  3148. $$("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 }), {
  3149. "id": "studyDetail",
  3150. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3151. "onresize": function () { }
  3152. }, {
  3153. closecallback: function () { }
  3154. }, { "style": { "height": "36px" } }).form; //创建窗体
  3155. _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); } }
  3156. break;
  3157. }
  3158. case "studyDetailTrain":
  3159. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3160. setTimeout(() => {
  3161. U.MD.U.L.login();
  3162. }, 2000);
  3163. } else {
  3164. _formdiv = new U.UF.UI.form(
  3165. "培训详情",
  3166. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3167. "id": "studyDetailTrain",
  3168. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3169. "onresize": function () { }
  3170. }, {
  3171. closecallback: function () { }
  3172. }, { "style": { "height": "36px" } }).form; //创建窗体
  3173. _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); } }
  3174. break;
  3175. }
  3176. case "studyDetailS":
  3177. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3178. setTimeout(() => {
  3179. U.MD.U.L.login();
  3180. }, 2000);
  3181. } else {
  3182. _formdiv = new U.UF.UI.form(
  3183. "项目详情",
  3184. $$("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 }), {
  3185. "id": "studyDetailS",
  3186. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3187. "onresize": function () { }
  3188. }, {
  3189. closecallback: function () { }
  3190. }, { "style": { "height": "36px" } }).form; //创建窗体
  3191. _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); } }
  3192. break;
  3193. }
  3194. case "studyDetailStudio":
  3195. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3196. setTimeout(() => {
  3197. U.MD.U.L.login();
  3198. }, 2000);
  3199. } else {
  3200. _formdiv = new U.UF.UI.form(
  3201. "工作详情",
  3202. $$("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 }), {
  3203. "id": "studyDetailStudio",
  3204. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3205. "onresize": function () { }
  3206. }, {
  3207. closecallback: function () { }
  3208. }, { "style": { "height": "36px" } }).form; //创建窗体
  3209. _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); } }
  3210. break;
  3211. }
  3212. case "studyDetailS5":
  3213. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3214. setTimeout(() => {
  3215. U.MD.U.L.login();
  3216. }, 2000);
  3217. } else {
  3218. _formdiv = new U.UF.UI.form(
  3219. "项目详情",
  3220. $$("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 }), {
  3221. "id": "studyDetailS",
  3222. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3223. "onresize": function () { }
  3224. }, {
  3225. closecallback: function () { }
  3226. }, { "style": { "height": "36px" } }).form; //创建窗体
  3227. _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); } }
  3228. break;
  3229. }
  3230. case "studyDetailGM":
  3231. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3232. setTimeout(() => {
  3233. U.MD.U.L.login();
  3234. }, 2000);
  3235. } else {
  3236. _formdiv = new U.UF.UI.form(
  3237. "课程详情",
  3238. $$("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 }), {
  3239. "id": "studyDetail",
  3240. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //创建窗体
  3245. _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); } }
  3246. break;
  3247. }
  3248. case "hanUrl":
  3249. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3250. setTimeout(() => {
  3251. U.MD.U.L.login();
  3252. }, 2000);
  3253. } else {
  3254. _formdiv = new U.UF.UI.form(
  3255. "汉字宫",
  3256. $$("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" }), {
  3257. "id": "hanUrl",
  3258. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function () { }
  3260. }, {
  3261. closecallback: function () { }
  3262. }, { "style": { "height": "36px" } }).form; //创建窗体
  3263. _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); } }
  3264. break;
  3265. }
  3266. case "index":
  3267. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3268. setTimeout(() => {
  3269. U.MD.U.L.login();
  3270. }, 2000);
  3271. } else {
  3272. _formdiv = new U.UF.UI.form(
  3273. "课程中心",
  3274. $$("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 }), {
  3275. "id": "study",
  3276. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3277. "onresize": function () { }
  3278. }, {
  3279. closecallback: function () { }
  3280. }, { "style": { "height": "36px" } }).form; //创建窗体
  3281. _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); } }
  3282. break;
  3283. }
  3284. case "dataClass":
  3285. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3286. setTimeout(() => {
  3287. U.MD.U.L.login();
  3288. }, 2000);
  3289. } else {
  3290. _formdiv = new U.UF.UI.form(
  3291. "数据报告",
  3292. $$("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 }), {
  3293. "id": "dataClass",
  3294. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function () { }
  3296. }, {
  3297. closecallback: function () { }
  3298. }, { "style": { "height": "36px" } }).form; //创建窗体
  3299. _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); } }
  3300. break;
  3301. }
  3302. case "opencCscl":
  3303. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3304. setTimeout(() => {
  3305. U.MD.U.L.login();
  3306. }, 2000);
  3307. } else {
  3308. _formdiv = new U.UF.UI.form(
  3309. "协同建构",
  3310. $$("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 }), {
  3311. "id": "futureClass",
  3312. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3313. "onresize": function () { }
  3314. }, {
  3315. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3316. }, { "style": { "height": "36px" } }).form; //创建窗体
  3317. _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); } }
  3318. break;
  3319. }
  3320. case "openCourseUpdate":
  3321. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3322. setTimeout(() => {
  3323. U.MD.U.L.login();
  3324. }, 2000);
  3325. } else {
  3326. _formdiv = new U.UF.UI.form(
  3327. "课程管理",
  3328. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3329. "id": "openCourseUpdate",
  3330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3331. "onresize": function () { }
  3332. }, {
  3333. closecallback: function () { }
  3334. }, { "style": { "height": "36px" } }).form; //创建窗体
  3335. break;
  3336. }
  3337. case "openNewCourseUpdate":
  3338. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3339. setTimeout(() => {
  3340. U.MD.U.L.login();
  3341. }, 2000);
  3342. } else {
  3343. _formdiv = new U.UF.UI.form(
  3344. "课程管理",
  3345. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3346. "id": "openCourseUpdate",
  3347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3348. "onresize": function () { }
  3349. }, {
  3350. closecallback: function () { }
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. break;
  3353. }
  3354. case "openCourseEUpdate":
  3355. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3356. setTimeout(() => {
  3357. U.MD.U.L.login();
  3358. }, 2000);
  3359. } else {
  3360. _formdiv = new U.UF.UI.form(
  3361. "课程管理",
  3362. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3363. "id": "openCourseUpdate",
  3364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3365. "onresize": function () { }
  3366. }, {
  3367. closecallback: function () { }
  3368. }, { "style": { "height": "36px" } }).form; //创建窗体
  3369. break;
  3370. }
  3371. case "openCourseNewUpdate":
  3372. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3373. setTimeout(() => {
  3374. U.MD.U.L.login();
  3375. }, 2000);
  3376. } else {
  3377. _formdiv = new U.UF.UI.form(
  3378. "课程管理",
  3379. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3380. "id": "openCourseUpdate",
  3381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. break;
  3387. }
  3388. case "inviteLoginSz":
  3389. _formdiv = new U.UF.UI.form(
  3390. "随机码登录",
  3391. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/inviteLoginSZ?code=" + data }), {
  3392. "id": "loginSz",
  3393. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function () { }
  3395. }, {
  3396. closecallback: function () { }
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. break;
  3399. case "loginSz":
  3400. _formdiv = new U.UF.UI.form(
  3401. "教师登录",
  3402. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://edu.cocorobo.cn/ResourcesLogin" }), {
  3403. "id": "loginSz",
  3404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3405. "onresize": function () { }
  3406. }, {
  3407. closecallback: function () { }
  3408. }, { "style": { "height": "36px" } }).form; //创建窗体
  3409. break;
  3410. case "teacher":
  3411. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3412. setTimeout(() => {
  3413. U.MD.U.L.login();
  3414. }, 2000);
  3415. } else {
  3416. _formdiv = new U.UF.UI.form(
  3417. "教师管理",
  3418. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3419. "id": "teacher",
  3420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3421. "onresize": function () { }
  3422. }, {
  3423. closecallback: function () { }
  3424. }, { "style": { "height": "36px" } }).form; //创建窗体
  3425. break;
  3426. }
  3427. case "dataBoardSZArea":
  3428. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3429. setTimeout(() => {
  3430. U.MD.U.L.login();
  3431. }, 2000);
  3432. } else {
  3433. _formdiv = new U.UF.UI.form(
  3434. "综合数据看板",
  3435. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3436. "id": "dataBoardSZArea",
  3437. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3438. "onresize": function () { }
  3439. }, {
  3440. closecallback: function () { }
  3441. }, { "style": { "height": "36px" } }).form; //创建窗体
  3442. break;
  3443. }
  3444. case "dataBoardSZCity":
  3445. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3446. setTimeout(() => {
  3447. U.MD.U.L.login();
  3448. }, 2000);
  3449. } else {
  3450. _formdiv = new U.UF.UI.form(
  3451. "综合数据看板",
  3452. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3453. "id": "dataBoardSZCity",
  3454. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3455. "onresize": function () { }
  3456. }, {
  3457. closecallback: function () { }
  3458. }, { "style": { "height": "36px" } }).form; //创建窗体
  3459. break;
  3460. }
  3461. case "classroom_observation_board":
  3462. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3463. setTimeout(() => {
  3464. U.MD.U.L.login();
  3465. }, 2000);
  3466. } else {
  3467. _formdiv = new U.UF.UI.form(
  3468. "课堂观察",
  3469. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_board?tid="+data }), {
  3470. "id": "classroom_observation_board",
  3471. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3472. "onresize": function () { }
  3473. }, {
  3474. closecallback: function () { }
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. break;
  3477. }
  3478. }
  3479. }
  3480. U.MD.D.I.openApplication = function (str, obj, info) {
  3481. obj = obj || {};
  3482. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3483. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3484. _userinfo = US.userInfo, //登录用户信息
  3485. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3486. _oid = obj.organizeid || _userinfo.organizeid,
  3487. _type = US.userInfo.type,
  3488. _org = US.userInfo.org,
  3489. _role = US.userInfo.role,
  3490. _classId = US.userInfo.classid,
  3491. _TscreenType = 1
  3492. _screenType = 2,
  3493. _SscreenType = 3;
  3494. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3495. return;
  3496. }
  3497. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3498. switch (str) {
  3499. case "studnetProject": //好友打开
  3500. _formdiv = new U.UF.UI.form(
  3501. "我的项目",
  3502. $$("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 }), {
  3503. "id": "studnetProject",
  3504. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3505. "onresize": function () { }
  3506. }, {
  3507. closecallback: function () { }
  3508. }, { "style": { "height": "36px" } }).form; //创建窗体
  3509. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3510. break;
  3511. case "studentEvaluate": //好友打开
  3512. _formdiv = new U.UF.UI.form(
  3513. "我的评价",
  3514. $$("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 }), {
  3515. "id": "studentEvaluate",
  3516. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3517. "onresize": function () { }
  3518. }, {
  3519. closecallback: function () { }
  3520. }, { "style": { "height": "36px" } }).form; //创建窗体
  3521. _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); } }
  3522. break;
  3523. case "my":
  3524. _formdiv = new U.UF.UI.form(
  3525. "我的资料",
  3526. $$("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 }), {
  3527. "id": "my",
  3528. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3529. "onresize": function () { }
  3530. }, {
  3531. closecallback: function () { }
  3532. }, { "style": { "height": "36px" } }).form; //创建窗体
  3533. _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); } }
  3534. break;
  3535. case "program":
  3536. _formdiv = new U.UF.UI.form(
  3537. "编程平台",
  3538. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3539. "id": "program",
  3540. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3541. "onresize": function () { }
  3542. }, {
  3543. closecallback: function () { }
  3544. }, { "style": { "height": "36px" } }).form; //创建窗体
  3545. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3546. break;
  3547. case "library":
  3548. _formdiv = new U.UF.UI.form(
  3549. "素材库",
  3550. $$("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 }), {
  3551. "id": "library",
  3552. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3553. "onresize": function () { }
  3554. }, {
  3555. closecallback: function () { }
  3556. }, { "style": { "height": "36px" } }).form; //创建窗体
  3557. _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); } }
  3558. break;
  3559. case "whiteboard":
  3560. _formdiv = new U.UF.UI.form(
  3561. "电子白板",
  3562. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  3563. "id": "whiteboard",
  3564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3565. "onresize": function () { }
  3566. }, {
  3567. closecallback: function () { }
  3568. }, { "style": { "height": "36px" } }).form; //创建窗体
  3569. _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); } }
  3570. break;
  3571. case "investigation":
  3572. _formdiv = new U.UF.UI.form(
  3573. "问卷调查",
  3574. $$("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 }), {
  3575. "id": "investigation",
  3576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3577. "onresize": function () { }
  3578. }, {
  3579. closecallback: function () { }
  3580. }, { "style": { "height": "36px" } }).form; //创建窗体
  3581. _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); } }
  3582. break;
  3583. case "note":
  3584. _formdiv = new U.UF.UI.form(
  3585. "便签分类",
  3586. $$("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 }), {
  3587. "id": "note",
  3588. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3589. "onresize": function () { }
  3590. }, {
  3591. closecallback: function () { }
  3592. }, { "style": { "height": "36px" } }).form; //创建窗体
  3593. _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); } }
  3594. break;
  3595. // case "score":
  3596. // _formdiv = new U.UF.UI.form(
  3597. // "量规评分",
  3598. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3599. // "id": "score",
  3600. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3601. // "onresize": function() {}
  3602. // }, {
  3603. // closecallback: function() {}
  3604. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3605. // _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); } }
  3606. // break;
  3607. case "mind":
  3608. _formdiv = new U.UF.UI.form(
  3609. "思维导图",
  3610. $$("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"
  3611. "id": "mind",
  3612. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3613. "onresize": function () { }
  3614. }, {
  3615. closecallback: function () { }
  3616. }, { "style": { "height": "36px" } }).form; //创建窗体
  3617. _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); } }
  3618. break;
  3619. case "doc":
  3620. // U.MD.D.I.isRoom();
  3621. _formdiv = new U.UF.UI.form(
  3622. "协同文档",
  3623. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3624. "id": "doc",
  3625. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3626. "onresize": function () { }
  3627. }, {
  3628. closecallback: function () { }
  3629. }, { "style": { "height": "36px" } }).form; //创建窗体
  3630. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3631. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3632. // })
  3633. _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); } }
  3634. break;
  3635. case "studentStudy":
  3636. _formdiv = new U.UF.UI.form(
  3637. "课程中心",
  3638. $$("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
  3639. "id": "studentStudy",
  3640. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3641. "onresize": function () { }
  3642. }, {
  3643. closecallback: function () { }
  3644. }, { "style": { "height": "36px" } }).form; //创建窗体
  3645. _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); } }
  3646. break;
  3647. case "train": //好友打开
  3648. _formdiv = new U.UF.UI.form(
  3649. "训练平台",
  3650. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3651. "id": "train",
  3652. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3653. "onresize": function () { }
  3654. }, {
  3655. closecallback: function () { }
  3656. }, { "style": { "height": "36px" } }).form; //创建窗体
  3657. _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); } }
  3658. break;
  3659. case "mindNetwork": //好友打开
  3660. _formdiv = new U.UF.UI.form(
  3661. "思维网格",
  3662. $$("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 }), {
  3663. "id": "mindNetwork",
  3664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3665. "onresize": function () { }
  3666. }, {
  3667. closecallback: function () { }
  3668. }, { "style": { "height": "36px" } }).form; //创建窗体
  3669. _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); } }
  3670. break;
  3671. case "studentClassRoom": //好友打开
  3672. _formdiv = new U.UF.UI.form(
  3673. "实时课堂",
  3674. $$("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 }), {
  3675. "id": "studentClassRoom",
  3676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3677. "onresize": function () { }
  3678. }, {
  3679. closecallback: function () { }
  3680. }, { "style": { "height": "36px" } }).form; //创建窗体
  3681. _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); } }
  3682. setTimeout(() => {
  3683. U.UF.F.windowZooming(_formdiv)
  3684. }, 0);
  3685. break;
  3686. }
  3687. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3688. switch (str) {
  3689. case "studnetProject": //好友打开
  3690. _formdiv = new U.UF.UI.form(
  3691. "我的项目",
  3692. $$("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 }), {
  3693. "id": "studnetProject",
  3694. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3695. "onresize": function () { }
  3696. }, {
  3697. closecallback: function () { }
  3698. }, { "style": { "height": "36px" } }).form; //创建窗体
  3699. _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); } }
  3700. break;
  3701. case "studentEvaluate": //好友打开
  3702. _formdiv = new U.UF.UI.form(
  3703. "我的评价",
  3704. $$("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 }), {
  3705. "id": "studentEvaluate",
  3706. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3707. "onresize": function () { }
  3708. }, {
  3709. closecallback: function () { }
  3710. }, { "style": { "height": "36px" } }).form; //创建窗体
  3711. _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); } }
  3712. break;
  3713. case "my":
  3714. _formdiv = new U.UF.UI.form(
  3715. "我的资料",
  3716. $$("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 }), {
  3717. "id": "my",
  3718. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3719. "onresize": function () { }
  3720. }, {
  3721. closecallback: function () { }
  3722. }, { "style": { "height": "36px" } }).form; //创建窗体
  3723. _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); } }
  3724. break;
  3725. case "program":
  3726. _formdiv = new U.UF.UI.form(
  3727. "编程平台",
  3728. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3729. "id": "program",
  3730. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3731. "onresize": function () { }
  3732. }, {
  3733. closecallback: function () { }
  3734. }, { "style": { "height": "36px" } }).form; //创建窗体
  3735. _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); } }
  3736. break;
  3737. case "library":
  3738. _formdiv = new U.UF.UI.form(
  3739. "素材库",
  3740. $$("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 }), {
  3741. "id": "library",
  3742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3743. "onresize": function () { }
  3744. }, {
  3745. closecallback: function () { }
  3746. }, { "style": { "height": "36px" } }).form; //创建窗体
  3747. _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); } }
  3748. break;
  3749. case "whiteboard":
  3750. _formdiv = new U.UF.UI.form(
  3751. "电子白板",
  3752. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  3753. "id": "whiteboard",
  3754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3755. "onresize": function () { }
  3756. }, {
  3757. closecallback: function () { }
  3758. }, { "style": { "height": "36px" } }).form; //创建窗体
  3759. _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); } }
  3760. break;
  3761. case "investigation":
  3762. _formdiv = new U.UF.UI.form(
  3763. "问卷调查",
  3764. $$("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 }), {
  3765. "id": "investigation",
  3766. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3767. "onresize": function () { }
  3768. }, {
  3769. closecallback: function () { }
  3770. }, { "style": { "height": "36px" } }).form; //创建窗体
  3771. _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); } }
  3772. break;
  3773. case "note":
  3774. _formdiv = new U.UF.UI.form(
  3775. "便签分类",
  3776. $$("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 }), {
  3777. "id": "note",
  3778. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3779. "onresize": function () { }
  3780. }, {
  3781. closecallback: function () { }
  3782. }, { "style": { "height": "36px" } }).form; //创建窗体
  3783. _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); } }
  3784. break;
  3785. // case "score":
  3786. // _formdiv = new U.UF.UI.form(
  3787. // "量规评分",
  3788. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3789. // "id": "score",
  3790. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3791. // "onresize": function() {}
  3792. // }, {
  3793. // closecallback: function() {}
  3794. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3795. // _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); } }
  3796. // break;
  3797. case "mind":
  3798. _formdiv = new U.UF.UI.form(
  3799. "思维导图",
  3800. $$("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"
  3801. "id": "mind",
  3802. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3803. "onresize": function () { }
  3804. }, {
  3805. closecallback: function () { }
  3806. }, { "style": { "height": "36px" } }).form; //创建窗体
  3807. _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); } }
  3808. break;
  3809. case "doc":
  3810. // U.MD.D.I.isRoom();
  3811. _formdiv = new U.UF.UI.form(
  3812. "协同文档",
  3813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3814. "id": "doc",
  3815. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //创建窗体
  3820. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3821. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3822. })
  3823. _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); } }
  3824. break;
  3825. case "train": //好友打开
  3826. _formdiv = new U.UF.UI.form(
  3827. "训练平台",
  3828. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3829. "id": "train",
  3830. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3831. "onresize": function () { }
  3832. }, {
  3833. closecallback: function () { }
  3834. }, { "style": { "height": "36px" } }).form; //创建窗体
  3835. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3836. break;
  3837. case "studentStudy":
  3838. _formdiv = new U.UF.UI.form(
  3839. "课程中心",
  3840. $$("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
  3841. "id": "studentStudy",
  3842. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3843. "onresize": function () { }
  3844. }, {
  3845. closecallback: function () { }
  3846. }, { "style": { "height": "36px" } }).form; //创建窗体
  3847. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3848. break;
  3849. case "mindNetwork": //好友打开
  3850. _formdiv = new U.UF.UI.form(
  3851. "思维网格",
  3852. $$("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 }), {
  3853. "id": "mindNetwork",
  3854. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3855. "onresize": function () { }
  3856. }, {
  3857. closecallback: function () { }
  3858. }, { "style": { "height": "36px" } }).form; //创建窗体
  3859. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3860. break;
  3861. case "studentClassRoom": //好友打开
  3862. _formdiv = new U.UF.UI.form(
  3863. "实时课堂",
  3864. $$("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 }), {
  3865. "id": "studentClassRoom",
  3866. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3867. "onresize": function () { }
  3868. }, {
  3869. closecallback: function () { }
  3870. }, { "style": { "height": "36px" } }).form; //创建窗体
  3871. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3872. setTimeout(() => {
  3873. U.UF.F.windowZooming(_formdiv)
  3874. }, 0);
  3875. break;
  3876. }
  3877. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3878. //选择应用处理
  3879. switch (str) {
  3880. case "project": //好友打开
  3881. _formdiv = new U.UF.UI.form(
  3882. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3883. $$("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 }), {
  3884. "id": "project",
  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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3891. break;
  3892. case "student":
  3893. _formdiv = new U.UF.UI.form(
  3894. "学生管理",
  3895. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3896. "id": "student",
  3897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function () { }
  3899. }, {
  3900. closecallback: function () { }
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3903. break;
  3904. case "evaluate":
  3905. _formdiv = new U.UF.UI.form(
  3906. "学生评价",
  3907. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3908. "id": "evaluate",
  3909. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3910. "onresize": function () { }
  3911. }, {
  3912. closecallback: function () { }
  3913. }, { "style": { "height": "36px" } }).form; //创建窗体
  3914. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3915. break;
  3916. case "sys":
  3917. _formdiv = new U.UF.UI.form(
  3918. "目标管理",
  3919. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3920. "id": "sys",
  3921. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3922. "onresize": function () { }
  3923. }, {
  3924. closecallback: function () { }
  3925. }, { "style": { "height": "36px" } }).form; //创建窗体
  3926. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3927. break;
  3928. case "courseDesign":
  3929. _formdiv = new U.UF.UI.form(
  3930. "项目设计",
  3931. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3932. "id": "courseDesign",
  3933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function () { }
  3935. }, {
  3936. closecallback: function () { }
  3937. }, { "style": { "height": "36px" } }).form; //创建窗体
  3938. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3939. break;
  3940. case "program":
  3941. _formdiv = new U.UF.UI.form(
  3942. "编程平台",
  3943. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3944. "id": "program",
  3945. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3946. "onresize": function () { }
  3947. }, {
  3948. closecallback: function () { }
  3949. }, { "style": { "height": "36px" } }).form; //创建窗体
  3950. _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); } }
  3951. break;
  3952. case "class":
  3953. _formdiv = new U.UF.UI.form(
  3954. "班级管理",
  3955. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3956. "id": "class",
  3957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3958. "onresize": function () { }
  3959. }, {
  3960. closecallback: function () { }
  3961. }, { "style": { "height": "36px" } }).form; //创建窗体
  3962. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3963. break;
  3964. case "Grade":
  3965. _formdiv = new U.UF.UI.form(
  3966. "年级管理",
  3967. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3968. "id": "Grade",
  3969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function () { }
  3971. }, {
  3972. closecallback: function () { }
  3973. }, { "style": { "height": "36px" } }).form; //创建窗体
  3974. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3975. break;
  3976. case "teacherOffice":
  3977. _formdiv = new U.UF.UI.form(
  3978. "教研室",
  3979. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3980. "id": "teacherOffice",
  3981. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3982. "onresize": function () { }
  3983. }, {
  3984. closecallback: function () { }
  3985. }, { "style": { "height": "36px" } }).form; //创建窗体
  3986. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3987. break;
  3988. case "my":
  3989. _formdiv = new U.UF.UI.form(
  3990. "我的资料",
  3991. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3992. "id": "my",
  3993. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3994. "onresize": function () { }
  3995. }, {
  3996. closecallback: function () { }
  3997. }, { "style": { "height": "36px" } }).form; //创建窗体
  3998. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3999. break;
  4000. case "notice":
  4001. _formdiv = new U.UF.UI.form(
  4002. "通知公告",
  4003. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  4004. "id": "notice",
  4005. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4006. "onresize": function () { }
  4007. }, {
  4008. closecallback: function () { }
  4009. }, { "style": { "height": "36px" } }).form; //创建窗体
  4010. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4011. break;
  4012. case "library":
  4013. _formdiv = new U.UF.UI.form(
  4014. "素材库",
  4015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  4016. "id": "library",
  4017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4018. "onresize": function () { }
  4019. }, {
  4020. closecallback: function () { }
  4021. }, { "style": { "height": "36px" } }).form; //创建窗体
  4022. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4023. break;
  4024. case "whiteboard":
  4025. _formdiv = new U.UF.UI.form(
  4026. "电子白板",
  4027. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4028. "id": "whiteboard",
  4029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4030. "onresize": function () { }
  4031. }, {
  4032. closecallback: function () { }
  4033. }, { "style": { "height": "36px" } }).form; //创建窗体
  4034. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4035. break;
  4036. case "investigation":
  4037. _formdiv = new U.UF.UI.form(
  4038. "问卷调查",
  4039. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4040. "id": "investigation",
  4041. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4042. "onresize": function () { }
  4043. }, {
  4044. closecallback: function () { }
  4045. }, { "style": { "height": "36px" } }).form; //创建窗体
  4046. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4047. break;
  4048. case "note":
  4049. _formdiv = new U.UF.UI.form(
  4050. "便签分类",
  4051. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  4052. "id": "note",
  4053. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4054. "onresize": function () { }
  4055. }, {
  4056. closecallback: function () { }
  4057. }, { "style": { "height": "36px" } }).form; //创建窗体
  4058. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4059. break;
  4060. // case "score":
  4061. // _formdiv = new U.UF.UI.form(
  4062. // "量规评分",
  4063. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4064. // "id": "score",
  4065. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4066. // "onresize": function() {}
  4067. // }, {
  4068. // closecallback: function() {}
  4069. // }, { "style": { "height": "36px" } }).form; //创建窗体
  4070. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4071. // break;
  4072. case "mind":
  4073. _formdiv = new U.UF.UI.form(
  4074. "思维导图",
  4075. $$("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"
  4076. "id": "mind",
  4077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4078. "onresize": function () { }
  4079. }, {
  4080. closecallback: function () { }
  4081. }, { "style": { "height": "36px" } }).form; //创建窗体
  4082. _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); } }
  4083. break;
  4084. case "doc":
  4085. // U.MD.D.I.isRoom();
  4086. _formdiv = new U.UF.UI.form(
  4087. "协同文档",
  4088. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4089. "id": "doc",
  4090. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4091. "onresize": function () { }
  4092. }, {
  4093. closecallback: function () { }
  4094. }, { "style": { "height": "36px" } }).form; //创建窗体
  4095. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4096. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4097. })
  4098. _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); } }
  4099. break;
  4100. case "study":
  4101. _formdiv = new U.UF.UI.form(
  4102. "课程中心",
  4103. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  4104. "id": "study",
  4105. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4106. "onresize": function () { }
  4107. }, {
  4108. closecallback: function () { }
  4109. }, { "style": { "height": "36px" } }).form; //创建窗体
  4110. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4111. break;
  4112. case "mindNetwork": //好友打开
  4113. _formdiv = new U.UF.UI.form(
  4114. "思维网格",
  4115. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  4116. "id": "mindNetwork",
  4117. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4118. "onresize": function () { }
  4119. }, {
  4120. closecallback: function () { }
  4121. }, { "style": { "height": "36px" } }).form; //创建窗体
  4122. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4123. break;
  4124. case "train": //好友打开
  4125. _formdiv = new U.UF.UI.form(
  4126. "训练平台",
  4127. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4128. "id": "mindNetwork",
  4129. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4130. "onresize": function () { }
  4131. }, {
  4132. closecallback: function () { }
  4133. }, { "style": { "height": "36px" } }).form; //创建窗体
  4134. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4135. break;
  4136. case "teacherClassRoom": //好友打开
  4137. _formdiv = new U.UF.UI.form(
  4138. "实时课堂",
  4139. $$("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 }), {
  4140. "id": "teacherClassRoom",
  4141. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4142. "onresize": function () { }
  4143. }, {
  4144. closecallback: function () { }
  4145. }, { "style": { "height": "36px" } }).form; //创建窗体
  4146. _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); } }
  4147. setTimeout(() => {
  4148. U.UF.F.windowZooming(_formdiv)
  4149. }, 0);
  4150. break;
  4151. }
  4152. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4153. switch (str) {
  4154. case "project": //好友打开
  4155. _formdiv = new U.UF.UI.form(
  4156. "课程管理",
  4157. $$("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 }), {
  4158. "id": "project",
  4159. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4160. "onresize": function () { }
  4161. }, {
  4162. closecallback: function () { }
  4163. }, { "style": { "height": "36px" } }).form; //创建窗体
  4164. _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); } }
  4165. break;
  4166. case "evaluate":
  4167. _formdiv = new U.UF.UI.form(
  4168. "学生评价",
  4169. $$("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 }), {
  4170. "id": "evaluate",
  4171. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4172. "onresize": function () { }
  4173. }, {
  4174. closecallback: function () { }
  4175. }, { "style": { "height": "36px" } }).form; //创建窗体
  4176. _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); } }
  4177. break;
  4178. case "notice":
  4179. _formdiv = new U.UF.UI.form(
  4180. "通知公告",
  4181. $$("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 }), {
  4182. "id": "notice",
  4183. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4184. "onresize": function () { }
  4185. }, {
  4186. closecallback: function () { }
  4187. }, { "style": { "height": "36px" } }).form; //创建窗体
  4188. _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); } }
  4189. break;
  4190. case "stuLibrary":
  4191. _formdiv = new U.UF.UI.form(
  4192. "学习资料",
  4193. $$("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 }), {
  4194. "id": "stuLibrary",
  4195. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4196. "onresize": function () { }
  4197. }, {
  4198. closecallback: function () { }
  4199. }, { "style": { "height": "36px" } }).form; //创建窗体
  4200. _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); } }
  4201. break;
  4202. case "program":
  4203. _formdiv = new U.UF.UI.form(
  4204. "编程平台",
  4205. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4206. "id": "program",
  4207. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4208. "onresize": function () { }
  4209. }, {
  4210. closecallback: function () { }
  4211. }, { "style": { "height": "36px" } }).form; //创建窗体
  4212. _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); } }
  4213. break;
  4214. case "whiteboard":
  4215. _formdiv = new U.UF.UI.form(
  4216. "电子白板",
  4217. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.iwb.cocorobo.cn/" }), {
  4218. "id": "whiteboard",
  4219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4220. "onresize": function () { }
  4221. }, {
  4222. closecallback: function () { }
  4223. }, { "style": { "height": "36px" } }).form; //创建窗体
  4224. _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); } }
  4225. break;
  4226. case "investigation":
  4227. _formdiv = new U.UF.UI.form(
  4228. "问卷调查",
  4229. $$("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 }), {
  4230. "id": "investigation",
  4231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4232. "onresize": function () { }
  4233. }, {
  4234. closecallback: function () { }
  4235. }, { "style": { "height": "36px" } }).form; //创建窗体
  4236. _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); } }
  4237. break;
  4238. case "mind":
  4239. _formdiv = new U.UF.UI.form(
  4240. "思维导图",
  4241. $$("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"
  4242. "id": "mind",
  4243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4244. "onresize": function () { }
  4245. }, {
  4246. closecallback: function () { }
  4247. }, { "style": { "height": "36px" } }).form; //创建窗体
  4248. _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); } }
  4249. break;
  4250. case "doc":
  4251. // U.MD.D.I.isRoom();
  4252. _formdiv = new U.UF.UI.form(
  4253. "协同文档",
  4254. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4255. "id": "doc",
  4256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //创建窗体
  4261. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4262. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4263. })
  4264. _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); } }
  4265. break;
  4266. case "study":
  4267. _formdiv = new U.UF.UI.form(
  4268. "课程中心",
  4269. $$("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
  4270. "id": "study",
  4271. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4272. "onresize": function () { }
  4273. }, {
  4274. closecallback: function () { }
  4275. }, { "style": { "height": "36px" } }).form; //创建窗体
  4276. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4277. break;
  4278. case "mindNetwork": //好友打开
  4279. _formdiv = new U.UF.UI.form(
  4280. "思维网格",
  4281. $$("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 }), {
  4282. "id": "mindNetwork",
  4283. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4284. "onresize": function () { }
  4285. }, {
  4286. closecallback: function () { }
  4287. }, { "style": { "height": "36px" } }).form; //创建窗体
  4288. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4289. break;
  4290. case "train": //好友打开
  4291. _formdiv = new U.UF.UI.form(
  4292. "训练平台",
  4293. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4294. "id": "train",
  4295. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4296. "onresize": function () { }
  4297. }, {
  4298. closecallback: function () { }
  4299. }, { "style": { "height": "36px" } }).form; //创建窗体
  4300. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4301. break;
  4302. case "sys":
  4303. _formdiv = new U.UF.UI.form(
  4304. "目标管理",
  4305. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4306. "id": "sys",
  4307. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4308. "onresize": function () { }
  4309. }, {
  4310. closecallback: function () { }
  4311. }, { "style": { "height": "36px" } }).form; //创建窗体
  4312. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4313. break;
  4314. case "courseDesign":
  4315. _formdiv = new U.UF.UI.form(
  4316. "项目设计",
  4317. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4318. "id": "courseDesign",
  4319. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4320. "onresize": function () { }
  4321. }, {
  4322. closecallback: function () { }
  4323. }, { "style": { "height": "36px" } }).form; //创建窗体
  4324. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4325. break;
  4326. }
  4327. } else if (!_type) {
  4328. switch (str) {
  4329. case "my":
  4330. _formdiv = new U.UF.UI.form(
  4331. "我的资料",
  4332. $$("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 }), {
  4333. "id": "my",
  4334. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4335. "onresize": function () { }
  4336. }, {
  4337. closecallback: function () { }
  4338. }, { "style": { "height": "36px" } }).form; //创建窗体
  4339. _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); } }
  4340. break;
  4341. }
  4342. }
  4343. switch (str) {
  4344. // AIprogram2 AI体验 aihub.cocorobo.cn
  4345. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4346. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4347. case "formulaEdi": //公式编辑
  4348. _formdiv = new U.UF.UI.form(
  4349. "公式编辑",
  4350. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4351. "id": "formulaEdi",
  4352. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //创建窗体
  4357. _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); } }
  4358. break;
  4359. case "molStr": //分子结构
  4360. _formdiv = new U.UF.UI.form(
  4361. "分子结构",
  4362. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4363. "id": "molStr",
  4364. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4365. "onresize": function () { }
  4366. }, {
  4367. closecallback: function () { }
  4368. }, { "style": { "height": "36px" } }).form; //创建窗体
  4369. _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); } }
  4370. break;
  4371. case "timeAxis": //时间轴
  4372. _formdiv = new U.UF.UI.form(
  4373. "时间轴",
  4374. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4375. "id": "timeAxis",
  4376. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4377. "onresize": function () { }
  4378. }, {
  4379. closecallback: function () { }
  4380. }, { "style": { "height": "36px" } }).form; //创建窗体
  4381. _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); } }
  4382. break;
  4383. case "AIprogram2": //AI体验
  4384. _formdiv = new U.UF.UI.form(
  4385. "AI体验",
  4386. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4387. "id": "AIprogram2",
  4388. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4389. "onresize": function () { }
  4390. }, {
  4391. closecallback: function () { }
  4392. }, { "style": { "height": "36px" } }).form; //创建窗体
  4393. _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); } }
  4394. break;
  4395. case "Pythonprogram": //python编程
  4396. _formdiv = new U.UF.UI.form(
  4397. "Python编程",
  4398. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4399. "id": "Pythonprogram",
  4400. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4401. "onresize": function () { }
  4402. }, {
  4403. closecallback: function () { }
  4404. }, { "style": { "height": "36px" } }).form; //创建窗体
  4405. _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); } }
  4406. break;
  4407. case "AIprogram": //ai编程
  4408. _formdiv = new U.UF.UI.form(
  4409. "AI编程平台",
  4410. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4411. "id": "AIprogram",
  4412. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4413. "onresize": function () { }
  4414. }, {
  4415. closecallback: function () { }
  4416. }, { "style": { "height": "36px" } }).form; //创建窗体
  4417. _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); } }
  4418. break;
  4419. case "CocoPi": //CocoPi
  4420. _formdiv = new U.UF.UI.form(
  4421. "CocoPi",
  4422. $$("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" }), {
  4423. "id": "CocoPi",
  4424. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4425. "onresize": function () { }
  4426. }, {
  4427. closecallback: function () { }
  4428. }, { "style": { "height": "36px" } }).form; //创建窗体
  4429. _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); } }
  4430. break;
  4431. case "Wood": //Wood
  4432. _formdiv = new U.UF.UI.form(
  4433. "海龟编程",
  4434. $$("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/" }), {
  4435. "id": "Wood",
  4436. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4437. "onresize": function () { }
  4438. }, {
  4439. closecallback: function () { }
  4440. }, { "style": { "height": "36px" } }).form; //创建窗体
  4441. _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); } }
  4442. break;
  4443. case "car": //模拟驾驶
  4444. _formdiv = new U.UF.UI.form(
  4445. "模拟驾驶",
  4446. $$("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/" }), {
  4447. "id": "car",
  4448. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4449. "onresize": function () { }
  4450. }, {
  4451. closecallback: function () { }
  4452. }, { "style": { "height": "36px" } }).form; //创建窗体
  4453. _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); } }
  4454. break;
  4455. case "lineSearch": //路径搜索
  4456. _formdiv = new U.UF.UI.form(
  4457. "路径搜索",
  4458. $$("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/" }), {
  4459. "id": "lineSearch",
  4460. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4461. "onresize": function () { }
  4462. }, {
  4463. closecallback: function () { }
  4464. }, { "style": { "height": "36px" } }).form; //创建窗体
  4465. _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); } }
  4466. break;
  4467. case "deepLearning": //深度学习
  4468. _formdiv = new U.UF.UI.form(
  4469. "深度学习",
  4470. $$("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/#" }), {
  4471. "id": "deepLearning",
  4472. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4473. "onresize": function () { }
  4474. }, {
  4475. closecallback: function () { }
  4476. }, { "style": { "height": "36px" } }).form; //创建窗体
  4477. _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); } }
  4478. break;
  4479. case "allHistory": //深度学习
  4480. _formdiv = new U.UF.UI.form(
  4481. "全历史",
  4482. $$("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/" }), {
  4483. "id": "allHistory",
  4484. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4485. "onresize": function () { }
  4486. }, {
  4487. closecallback: function () { }
  4488. }, { "style": { "height": "36px" } }).form; //创建窗体
  4489. _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); } }
  4490. break;
  4491. case "chatPDF": //ai编程
  4492. _formdiv = new U.UF.UI.form(
  4493. "chatPDF",
  4494. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4495. "id": "chatPDF",
  4496. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4497. "onresize": function () { }
  4498. }, {
  4499. closecallback: function () { }
  4500. }, { "style": { "height": "36px" } }).form; //创建窗体
  4501. _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); } }
  4502. break;
  4503. case "resources": //国家教育
  4504. _formdiv = new U.UF.UI.form(
  4505. "国家教育",
  4506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4507. "id": "resources",
  4508. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4509. "onresize": function () { }
  4510. }, {
  4511. closecallback: function () { }
  4512. }, { "style": { "height": "36px" } }).form; //创建窗体
  4513. _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); } }
  4514. break;
  4515. case "codeEdit": //源码编辑
  4516. _formdiv = new U.UF.UI.form(
  4517. "源码编辑",
  4518. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4519. "id": "codeEdit",
  4520. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4521. "onresize": function () { }
  4522. }, {
  4523. closecallback: function () { }
  4524. }, { "style": { "height": "36px" } }).form; //创建窗体
  4525. _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); } }
  4526. break; //
  4527. case "MindMap": //MindMap
  4528. _formdiv = new U.UF.UI.form(
  4529. "MindMap",
  4530. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4531. "id": "MindMap",
  4532. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4533. "onresize": function () { }
  4534. }, {
  4535. closecallback: function () { }
  4536. }, { "style": { "height": "36px" } }).form; //创建窗体
  4537. _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); } }
  4538. break;
  4539. case "netWorkPanel": //netWorkPanel
  4540. _formdiv = new U.UF.UI.form(
  4541. "netWorkPanel",
  4542. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4543. "id": "netWorkPanel",
  4544. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4545. "onresize": function () { }
  4546. }, {
  4547. closecallback: function () { }
  4548. }, { "style": { "height": "36px" } }).form; //创建窗体
  4549. _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); } }
  4550. break;
  4551. case "GeoGebra": //GeoGebra
  4552. _formdiv = new U.UF.UI.form(
  4553. "GeoGebra",
  4554. $$("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" }), {
  4555. "id": "GeoGebra",
  4556. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4557. "onresize": function () { }
  4558. }, {
  4559. closecallback: function () { }
  4560. }, { "style": { "height": "36px" } }).form; //创建窗体
  4561. _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); } }
  4562. break;
  4563. case "translation": //翻译
  4564. _formdiv = new U.UF.UI.form(
  4565. "翻译",
  4566. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4567. "id": "translation",
  4568. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4569. "onresize": function () { }
  4570. }, {
  4571. closecallback: function () { }
  4572. }, { "style": { "height": "36px" } }).form; //创建窗体
  4573. _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); } }
  4574. break;
  4575. case "mohe": //魔盒
  4576. _formdiv = new U.UF.UI.form(
  4577. "魔盒识字",
  4578. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4579. "id": "mohe",
  4580. "style": { "width": "375px", "height": "667px", "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/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4586. break;
  4587. case "24game": //24点
  4588. _formdiv = new U.UF.UI.form(
  4589. "24点",
  4590. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4591. "id": "24game",
  4592. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4598. break;
  4599. case "case":
  4600. _formdiv = new U.UF.UI.form(
  4601. "课程进展",
  4602. $$("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 }), {
  4603. "id": "case",
  4604. "style": { "width": "90%", "height": "90%", "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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4610. break;
  4611. case "snf":
  4612. _formdiv = new U.UF.UI.form(
  4613. "赛诺梵",
  4614. $$("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" }), {
  4615. "id": "snf",
  4616. "style": { "width": "90%", "height": "90%", "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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4622. break;
  4623. case "hanFamily":
  4624. _formdiv = new U.UF.UI.form(
  4625. "汉字家族",
  4626. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4627. "id": "hanFamily",
  4628. "style": { "width": "90%", "height": "90%", "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/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4634. break;
  4635. case "hanClassics":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4639. "id": "hanClassics",
  4640. "style": { "width": "90%", "height": "90%", "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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4646. break;
  4647. case "hanTraining":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4651. "id": "hanTraining",
  4652. "style": { "width": "90%", "height": "90%", "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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4658. break;
  4659. case "hanClass":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4663. "id": "hanClass",
  4664. "style": { "width": "90%", "height": "90%", "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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4670. break;
  4671. case "han":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4675. "id": "han",
  4676. "style": { "width": "90%", "height": "90%", "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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4682. break;
  4683. case "projectGM": //课程管理
  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/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4687. "id": "projectGM",
  4688. "style": { "width": "90%", "height": "90%", "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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4694. break;
  4695. case "studyGM": //课程中心
  4696. _formdiv = new U.UF.UI.form(
  4697. "课程中心",
  4698. $$("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
  4699. "id": "study",
  4700. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4706. break;
  4707. // studentGM
  4708. case "studentGM": //学生管理
  4709. _formdiv = new U.UF.UI.form(
  4710. "学生管理",
  4711. $$("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 }), {
  4712. "id": "studentGM",
  4713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4714. "onresize": function () { }
  4715. }, {
  4716. closecallback: function () { }
  4717. }, { "style": { "height": "36px" } }).form; //创建窗体
  4718. _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); } }
  4719. break;
  4720. case "evaluateGM": //学生评价
  4721. _formdiv = new U.UF.UI.form(
  4722. "学生评价",
  4723. $$("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 }), {
  4724. "id": "evaluateGM",
  4725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4726. "onresize": function () { }
  4727. }, {
  4728. closecallback: function () { }
  4729. }, { "style": { "height": "36px" } }).form; //创建窗体
  4730. _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); } }
  4731. break;
  4732. // classGM
  4733. case "classGM": //班级管理
  4734. _formdiv = new U.UF.UI.form(
  4735. "班级管理",
  4736. $$("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 }), {
  4737. "id": "classGM",
  4738. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4739. "onresize": function () { }
  4740. }, {
  4741. closecallback: function () { }
  4742. }, { "style": { "height": "36px" } }).form; //创建窗体
  4743. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4744. break;
  4745. // dataGM
  4746. case "dataGM":
  4747. _formdiv = new U.UF.UI.form(
  4748. "我的资料",
  4749. $$("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 }), {
  4750. "id": "dataGM",
  4751. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4752. "onresize": function () { }
  4753. }, {
  4754. closecallback: function () { }
  4755. }, { "style": { "height": "36px" } }).form; //创建窗体
  4756. _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); } }
  4757. break;
  4758. // caseGM
  4759. case "caseGM": //课程进展
  4760. _formdiv = new U.UF.UI.form(
  4761. "课程进展",
  4762. $$("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 }), {
  4763. "id": "caseGM",
  4764. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4765. "onresize": function () { }
  4766. }, {
  4767. closecallback: function () { }
  4768. }, { "style": { "height": "36px" } }).form; //创建窗体
  4769. _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); } }
  4770. break;
  4771. // meterialGM
  4772. case "meterialGM": //素材库
  4773. _formdiv = new U.UF.UI.form(
  4774. "素材库",
  4775. $$("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 }), {
  4776. "id": "meterialGM",
  4777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4778. "onresize": function () { }
  4779. }, {
  4780. closecallback: function () { }
  4781. }, { "style": { "height": "36px" } }).form; //创建窗体
  4782. _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); } }
  4783. break;
  4784. // evaluateSGM
  4785. case "evaluateSGM": //我的评价
  4786. _formdiv = new U.UF.UI.form(
  4787. "我的评价",
  4788. $$("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 }), {
  4789. "id": "evaluateSGM",
  4790. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4791. "onresize": function () { }
  4792. }, {
  4793. closecallback: function () { }
  4794. }, { "style": { "height": "36px" } }).form; //创建窗体
  4795. _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); } }
  4796. break;
  4797. case "jupyter": //jupyter
  4798. _formdiv = new U.UF.UI.form(
  4799. "jupyter",
  4800. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4801. "id": "jupyter",
  4802. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4803. "onresize": function () { }
  4804. }, {
  4805. closecallback: function () { }
  4806. }, { "style": { "height": "36px" } }).form; //创建窗体
  4807. _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); } }
  4808. break;
  4809. case "number": //数字实验室
  4810. _formdiv = new U.UF.UI.form(
  4811. "数字实验室",
  4812. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4813. "id": "number",
  4814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4815. "onresize": function () { }
  4816. }, {
  4817. closecallback: function () { }
  4818. }, { "style": { "height": "36px" } }).form; //创建窗体
  4819. _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); } }
  4820. break;
  4821. case "studentCourse": //项目管理 学生
  4822. _formdiv = new U.UF.UI.form(
  4823. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4824. $$("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 }), {
  4825. "id": "studentCourse",
  4826. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4827. "onresize": function () { }
  4828. }, {
  4829. closecallback: function () { }
  4830. }, { "style": { "height": "36px" } }).form; //创建窗体
  4831. _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); } }
  4832. break;
  4833. case "studentCourseS": //项目管理 老师
  4834. _formdiv = new U.UF.UI.form(
  4835. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4836. $$("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 }), {
  4837. "id": "studentCourseS",
  4838. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4839. "onresize": function () { }
  4840. }, {
  4841. closecallback: function () { }
  4842. }, { "style": { "height": "36px" } }).form; //创建窗体
  4843. _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); } }
  4844. break;
  4845. case "studentIndex": //项目中心
  4846. _formdiv = new U.UF.UI.form(
  4847. "项目中心",
  4848. $$("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 }), {
  4849. "id": "studentIndex",
  4850. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4851. "onresize": function () { }
  4852. }, {
  4853. closecallback: function () { }
  4854. }, { "style": { "height": "36px" } }).form; //创建窗体
  4855. _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); } }
  4856. break;
  4857. case "CaseDesignS":
  4858. _formdiv = new U.UF.UI.form(
  4859. "项目进展",
  4860. $$("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 }), {
  4861. "id": "case",
  4862. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4863. "onresize": function () { }
  4864. }, {
  4865. closecallback: function () { }
  4866. }, { "style": { "height": "36px" } }).form; //创建窗体
  4867. _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); } }
  4868. break;
  4869. case "tcStudent": //腾讯学生管理
  4870. _formdiv = new U.UF.UI.form(
  4871. "学生管理",
  4872. $$("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 }), {
  4873. "id": "tcStudent",
  4874. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4875. "onresize": function () { }
  4876. }, {
  4877. closecallback: function () { }
  4878. }, { "style": { "height": "36px" } }).form; //创建窗体
  4879. _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); } }
  4880. break;
  4881. case "tcSchool": //腾讯学校管理
  4882. _formdiv = new U.UF.UI.form(
  4883. "学校管理",
  4884. $$("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 }), {
  4885. "id": "tcSchool",
  4886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4887. "onresize": function () { }
  4888. }, {
  4889. closecallback: function () { }
  4890. }, { "style": { "height": "36px" } }).form; //创建窗体
  4891. _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); } }
  4892. break;
  4893. case "tcTeacher": //腾讯学校管理
  4894. _formdiv = new U.UF.UI.form(
  4895. "教师管理",
  4896. $$("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 }), {
  4897. "id": "tcTeacher",
  4898. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4899. "onresize": function () { }
  4900. }, {
  4901. closecallback: function () { }
  4902. }, { "style": { "height": "36px" } }).form; //创建窗体
  4903. _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); } }
  4904. break;
  4905. case "tcData": //腾讯我的资料
  4906. _formdiv = new U.UF.UI.form(
  4907. "我的资料",
  4908. $$("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 }), {
  4909. "id": "tcData",
  4910. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4911. "onresize": function () { }
  4912. }, {
  4913. closecallback: function () { }
  4914. }, { "style": { "height": "36px" } }).form; //创建窗体
  4915. _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); } }
  4916. break;
  4917. case "tcNotice": //腾讯消息通知
  4918. _formdiv = new U.UF.UI.form(
  4919. "消息通知",
  4920. $$("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 }), {
  4921. "id": "tcNotice",
  4922. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4923. "onresize": function () { }
  4924. }, {
  4925. closecallback: function () { }
  4926. }, { "style": { "height": "36px" } }).form; //创建窗体
  4927. _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); } }
  4928. break;
  4929. case "myReport": //好友打开
  4930. _formdiv = new U.UF.UI.form(
  4931. "我的评价",
  4932. $$("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 }), {
  4933. "id": "myReport",
  4934. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4935. "onresize": function () { }
  4936. }, {
  4937. closecallback: function () { }
  4938. }, { "style": { "height": "36px" } }).form; //创建窗体
  4939. _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); } }
  4940. break;
  4941. case "learnAna": //好友打开
  4942. _formdiv = new U.UF.UI.form(
  4943. "学习分析",
  4944. $$("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 }), {
  4945. "id": "learnAna",
  4946. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4947. "onresize": function () { }
  4948. }, {
  4949. closecallback: function () { }
  4950. }, { "style": { "height": "36px" } }).form; //创建窗体
  4951. _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); } }
  4952. break;
  4953. case "AIChat": //AI共创
  4954. _formdiv = new U.UF.UI.form(
  4955. "AI共创",
  4956. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4957. "id": "AIChat",
  4958. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4959. "onresize": function () { }
  4960. }, {
  4961. istop: true,
  4962. closecallback: function () { $("#aichat_icon").remove(); },
  4963. narrowcallback: function () {
  4964. if (!$("#aichat_icon")[0]) {
  4965. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4966. }
  4967. },
  4968. }, { "style": { "height": "36px" } }).form; //创建窗体
  4969. _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); } }
  4970. break;
  4971. case "ainew": //AI共创
  4972. _formdiv = new U.UF.UI.form(
  4973. "AI协同",
  4974. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4975. "id": "ainew",
  4976. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4977. "onresize": function () { }
  4978. }, {
  4979. closecallback: function () { }
  4980. }, { "style": { "height": "36px" } }).form; //创建窗体
  4981. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4982. break;
  4983. case "gpt4": //gpt4
  4984. _formdiv = new U.UF.UI.form(
  4985. "AI助手",
  4986. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4987. "id": "gpt4",
  4988. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4989. "onresize": function () { }
  4990. }, {
  4991. closecallback: function () { }
  4992. }, { "style": { "height": "36px" } }).form; //创建窗体
  4993. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4994. break;
  4995. case "aigpt": //gpt4
  4996. _formdiv = new U.UF.UI.form(
  4997. "AI助手+",
  4998. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4999. "id": "aigpt",
  5000. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5001. "onresize": function () { }
  5002. }, {
  5003. closecallback: function () { }
  5004. }, { "style": { "height": "36px" } }).form; //创建窗体
  5005. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5006. break;
  5007. case "futureClass": //AI共创
  5008. _formdiv = new U.UF.UI.form(
  5009. "协同建构",
  5010. $$("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
  5011. "id": "synergyCourse",
  5012. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5013. "onresize": function () { }
  5014. }, {
  5015. closecallback: function () {
  5016. $("iframe", _formdiv)[0].contentWindow.loginout();
  5017. }
  5018. }, { "style": { "height": "36px" } }).form; //创建窗体
  5019. _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); } }
  5020. break;
  5021. case "aiagent": //ai agent
  5022. _formdiv = new U.UF.UI.form(
  5023. "AI Agent",
  5024. $$("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" }), {
  5025. "id": "AIAgent",
  5026. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5027. "onresize": function () { }
  5028. }, {
  5029. closecallback: function () { }
  5030. }, { "style": { "height": "36px" } }).form; //创建窗体
  5031. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5032. break;
  5033. case "dataBoard": //数据看板
  5034. _formdiv = new U.UF.UI.form(
  5035. "数据看板",
  5036. $$("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 }), {
  5037. "id": "dataBoard",
  5038. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5039. "onresize": function () { }
  5040. }, {
  5041. closecallback: function () { }
  5042. }, { "style": { "height": "36px" } }).form; //创建窗体
  5043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5044. break;
  5045. case "dataBoardSies": //数据融合
  5046. _formdiv = new U.UF.UI.form(
  5047. "数据融合",
  5048. $$("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 }), {
  5049. "id": "dataBoardSies",
  5050. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5051. "onresize": function () { }
  5052. }, {
  5053. closecallback: function () { }
  5054. }, { "style": { "height": "36px" } }).form; //创建窗体
  5055. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据融合", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5056. break;
  5057. case "dataBoardNew": //数据看板
  5058. _formdiv = new U.UF.UI.form(
  5059. "综合看板",
  5060. $$("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 }), {
  5061. "id": "dataBoardNew",
  5062. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5063. "onresize": function () { }
  5064. }, {
  5065. closecallback: function () { }
  5066. }, { "style": { "height": "36px" } }).form; //创建窗体
  5067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5068. break;
  5069. case "dataBoardTest": //数据看板
  5070. _formdiv = new U.UF.UI.form(
  5071. "评测看板",
  5072. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5073. "id": "dataBoardTest",
  5074. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5075. "onresize": function () { }
  5076. }, {
  5077. closecallback: function () { }
  5078. }, { "style": { "height": "36px" } }).form; //创建窗体
  5079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "评测看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5080. break;
  5081. case "AIAnalyse": //AI共创
  5082. _formdiv = new U.UF.UI.form(
  5083. "AI分析",
  5084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  5085. "id": "AIAnalyse",
  5086. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5087. "onresize": function () { }
  5088. }, {
  5089. closecallback: function () { }
  5090. }, { "style": { "height": "36px" } }).form; //创建窗体
  5091. _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); } }
  5092. break;
  5093. case "studioCourse": //AI共创
  5094. _formdiv = new U.UF.UI.form(
  5095. "工作管理",
  5096. $$("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 }), {
  5097. "id": "studioCourse",
  5098. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5099. "onresize": function () { }
  5100. }, {
  5101. closecallback: function () { }
  5102. }, { "style": { "height": "36px" } }).form; //创建窗体
  5103. _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); } }
  5104. break;
  5105. case "studioIndex": //AI共创
  5106. _formdiv = new U.UF.UI.form(
  5107. "工作中心",
  5108. $$("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 }), {
  5109. "id": "studioIndex",
  5110. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5111. "onresize": function () { }
  5112. }, {
  5113. closecallback: function () { }
  5114. }, { "style": { "height": "36px" } }).form; //创建窗体
  5115. _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); } }
  5116. break;
  5117. case "source":
  5118. _formdiv = new U.UF.UI.form(
  5119. "教学资源",
  5120. $$("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 }), {
  5121. "id": "source",
  5122. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5123. "onresize": function () { }
  5124. }, {
  5125. closecallback: function () { }
  5126. }, { "style": { "height": "36px" } }).form; //创建窗体
  5127. _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); } }
  5128. break;
  5129. case "testTeacher":
  5130. _formdiv = new U.UF.UI.form(
  5131. "教师管理",
  5132. $$("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 }), {
  5133. "id": "testTeacher",
  5134. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5135. "onresize": function () { }
  5136. }, {
  5137. closecallback: function () { }
  5138. }, { "style": { "height": "36px" } }).form; //创建窗体
  5139. _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); } }
  5140. break;
  5141. case "testStudent":
  5142. _formdiv = new U.UF.UI.form(
  5143. "教师中心",
  5144. $$("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 }), {
  5145. "id": "testStudent",
  5146. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5147. "onresize": function () { }
  5148. }, {
  5149. closecallback: function () { }
  5150. }, { "style": { "height": "36px" } }).form; //创建窗体
  5151. _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); } }
  5152. break;
  5153. case "testTeacherSies":
  5154. _formdiv = new U.UF.UI.form(
  5155. "教师管理",
  5156. $$("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 }), {
  5157. "id": "testTeacherSies",
  5158. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5159. "onresize": function () { }
  5160. }, {
  5161. closecallback: function () { }
  5162. }, { "style": { "height": "36px" } }).form; //创建窗体
  5163. _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); } }
  5164. break;
  5165. case "testStudentSies":
  5166. _formdiv = new U.UF.UI.form(
  5167. "教师中心",
  5168. $$("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 }), {
  5169. "id": "testStudentSies",
  5170. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5171. "onresize": function () { }
  5172. }, {
  5173. closecallback: function () { }
  5174. }, { "style": { "height": "36px" } }).form; //创建窗体
  5175. _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); } }
  5176. break;
  5177. case "ytpbl": //消息通知
  5178. _formdiv = new U.UF.UI.form(
  5179. "案例征集",
  5180. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5181. "id": "ytpbl",
  5182. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5183. "onresize": function () { }
  5184. }, {
  5185. closecallback: function () { }
  5186. }, { "style": { "height": "36px" } }).form; //创建窗体
  5187. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5188. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  5189. break;
  5190. case "aiCourseResource": //人工智能窗体
  5191. _formdiv = new U.UF.UI.form(
  5192. false,
  5193. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/index.html" + window.location.search }), {
  5194. "id": "aiCourseResource",
  5195. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5196. "onresize": function () { },
  5197. "isdrag": false,
  5198. }, {
  5199. closecallback: function () { }
  5200. }, { "style": { "height": "36px" } }).form; //创建窗体
  5201. _taskbar = ''
  5202. break;
  5203. case "szdjgCocooroboX": //图形化编程
  5204. _formdiv = new U.UF.UI.form(
  5205. "图形化编程",
  5206. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/index.html" }), {
  5207. "id": "szdjgCocooroboX",
  5208. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5209. "onresize": function () { }
  5210. }, {
  5211. closecallback: function () { }
  5212. }, { "style": { "height": "36px" } }).form; //创建窗体
  5213. _taskbar = ''
  5214. break;
  5215. case "szdjgPython": //python编程
  5216. _formdiv = new U.UF.UI.form(
  5217. "Python编程",
  5218. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/python/index.html" }), {
  5219. "id": "szdjgPython",
  5220. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5221. "onresize": function () { }
  5222. }, {
  5223. closecallback: function () { }
  5224. }, { "style": { "height": "36px" } }).form; //创建窗体
  5225. _taskbar = ''
  5226. break;
  5227. case "Record":
  5228. _formdiv = new U.UF.UI.form(
  5229. "观察记录",
  5230. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5231. "id": "Record",
  5232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5233. "onresize": function () { }
  5234. }, {
  5235. closecallback: function () { }
  5236. }, { "style": { "height": "36px" } }).form; //创建窗体
  5237. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "观察记录", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5238. break;
  5239. case "aigptCourse":
  5240. _formdiv = new U.UF.UI.form(
  5241. "AI智能体",
  5242. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role + '#/AgentVue' }), {
  5243. "id": "aigptCourse",
  5244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5245. "onresize": function () { }
  5246. }, {
  5247. closecallback: function () { }
  5248. }, { "style": { "height": "36px" } }).form; //创建窗体
  5249. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "AI智能体", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5250. break;
  5251. case "classroomObservation":
  5252. _formdiv = new U.UF.UI.form(
  5253. "课堂观察",
  5254. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5255. "id": "classroomObservation",
  5256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5257. "onresize": function () { }
  5258. }, {
  5259. closecallback: function () { }
  5260. }, { "style": { "height": "36px" } }).form; //创建窗体
  5261. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5262. break;
  5263. }
  5264. //U.MD.D.I.openClick(str);
  5265. //如果有任务栏信息
  5266. if (_taskbar) {
  5267. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5268. }
  5269. }
  5270. // U.MD.D.I.openClick = function(str){
  5271. // var click = '';
  5272. // switch(str){
  5273. // case 'friend':
  5274. // click = '我的好友';
  5275. // break;
  5276. // case 'domain':
  5277. // click = '域名管理';
  5278. // break;
  5279. // case 'disk':
  5280. // click = '我的云盘';
  5281. // break;
  5282. // case 'word':
  5283. // click = 'Word';
  5284. // break;
  5285. // case 'excel':
  5286. // click = 'Execl';
  5287. // break;
  5288. // case 'txt':
  5289. // click = '文本文件';
  5290. // break;
  5291. // case 'lookupFriend':
  5292. // click = '查找好友';
  5293. // break;
  5294. // case 'ftp':
  5295. // click = 'FTP';
  5296. // break;
  5297. // case 'group':
  5298. // click = '群组';
  5299. // break;
  5300. // case 'set':
  5301. // click = '我的设置';
  5302. // break;
  5303. // case 'systemSet':
  5304. // click = '系统设置';
  5305. // break;
  5306. // case 'boomYun':
  5307. // click = '互联办公';
  5308. // break;
  5309. // case 'xz':
  5310. // click = '云端下载';
  5311. // break;
  5312. // case 'client':
  5313. // click = '有思浏览器';
  5314. // break;
  5315. // case 'backEndProgramming':
  5316. // click = '在线后台编程';
  5317. // break;
  5318. // case 'frontEndProgramming':
  5319. // click = '在线前端编程';
  5320. // break;
  5321. // default: break;
  5322. // }
  5323. // if(U.MD.D.I.Ip && click){
  5324. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5325. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5326. // })
  5327. // }
  5328. // }
  5329. /**
  5330. *函数作用:ajax简易函数,使用post格式
  5331. *@param url {data} 后台地址
  5332. *@param data {data} 参数json
  5333. *@param fn {data} 回调函数
  5334. *
  5335. */
  5336. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5337. // var xhr = new XMLHttpRequest();
  5338. // xhr.open("GET",url,true);
  5339. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5340. // xhr.onreadystatechange = function(){
  5341. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5342. // fn.call(this,xhr.responseText);
  5343. // }
  5344. // };
  5345. // xhr.send();
  5346. // }
  5347. /*判断是否是内网IP*/
  5348. // U.MD.D.I.isInnerIPFn = function(str){
  5349. // var curPageUrl = str;
  5350. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5351. // curPageUrl =curPageUrl.replace(reg1,'');
  5352. // // console.log('curPageUrl-1 '+curPageUrl);
  5353. // var reg2 = /\:+/g;//替换冒号为一点
  5354. // curPageUrl =curPageUrl.replace(reg2,'.');
  5355. // // console.log('curPageUrl-2 '+curPageUrl);
  5356. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5357. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5358. // if(curPageUrl[2] != '16'){
  5359. // return ipAddress;
  5360. // }else{
  5361. // return false;
  5362. // }
  5363. // }
  5364. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5365. // //compatibility for firefox and chrome
  5366. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5367. // var pc = new myPeerConnection({
  5368. // iceServers: []
  5369. // }),
  5370. // noop = function() {},
  5371. // localIPs = {},
  5372. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5373. // key;
  5374. // function iterateIP(ip) {
  5375. // if (!localIPs[ip]) onNewIP(ip);
  5376. // localIPs[ip] = true;
  5377. // }
  5378. // //create a bogus data channel
  5379. // pc.createDataChannel("");
  5380. // // create offer and set local description
  5381. // pc.createOffer().then(function(sdp) {
  5382. // sdp.sdp.split('\n').forEach(function(line) {
  5383. // if (line.indexOf('candidate') < 0) return;
  5384. // line.match(ipRegex).forEach(iterateIP);
  5385. // });
  5386. // pc.setLocalDescription(sdp, noop, noop);
  5387. // }).catch(function(reason) {
  5388. // // An error occurred, so handle the failure to connect
  5389. // });
  5390. // //sten for candidate events
  5391. // pc.onicecandidate = function(ice) {
  5392. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5393. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5394. // };
  5395. // }
  5396. // U.MD.D.I.getUserIpBool = function(callback){
  5397. // U.MD.D.I.getUserIP(function(ip){
  5398. // alert("Got IP! :" + ip);
  5399. // });
  5400. //}
  5401. //#endregion
  5402. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5403. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5404. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5405. _userinfo = US.userInfo, //登录用户信息
  5406. _userid = US.userInfo.userid //登录用户id
  5407. let _iframe;
  5408. let _cid = cid,
  5409. _stage = stage,
  5410. _task = task,
  5411. _tool = tool;
  5412. var _jie = $$("div", {
  5413. "style": {
  5414. "position": "absolute",
  5415. "bottom": "50px",
  5416. "right": "50px",
  5417. "zIndex": "9999",
  5418. "backgroundColor": "#2268bc",
  5419. "color": "#fff",
  5420. "padding": "12px 20px",
  5421. "cursor": "pointer",
  5422. "borderRadius": "4px",
  5423. },
  5424. "innerHTML": "提交作业"
  5425. })
  5426. let aTool = ''
  5427. let _loading = document.createElement('div')
  5428. _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;"
  5429. // _loading.id = "";
  5430. let _lchild = document.createElement('div')
  5431. let _limg = document.createElement('img')
  5432. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5433. _limg.style = "width: 26px;margin-right: 10px;"
  5434. _lchild.appendChild(_limg)
  5435. let _lspan = document.createElement('span')
  5436. _lspan.innerHTML = "上传中..."
  5437. _lchild.appendChild(_lspan)
  5438. _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%);"
  5439. _loading.appendChild(_lchild)
  5440. var _box = $$('div', {
  5441. "style": {
  5442. "position": "relative",
  5443. "width": "100%",
  5444. "height": "100%",
  5445. },
  5446. })
  5447. _box.appendChild(_loading)
  5448. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5449. switch (str) {
  5450. case "whiteboard":
  5451. aTool = 1;
  5452. _iframe = $$("iframe", {
  5453. "frameborder": "no",
  5454. "border": "0",
  5455. "scrolling ": "no",
  5456. "style": {
  5457. "cssText": "border:0;width:100%;height:100%"
  5458. },
  5459. "src": "https://beta.iwb.cocorobo.cn/"
  5460. })
  5461. _box.appendChild(_iframe);
  5462. _box.appendChild(_jie);
  5463. _formdiv = new U.UF.UI.form(
  5464. "电子白板",
  5465. _box, {
  5466. "id": "whiteboard" + cid + stage + task + tool,
  5467. "style": {
  5468. "width": "90%",
  5469. "height": "90%",
  5470. "overflow": 'hidden'
  5471. },
  5472. "onresize": function () { }
  5473. }, {
  5474. closecallback: function () { }
  5475. }, {
  5476. "style": {
  5477. "height": "36px"
  5478. }
  5479. }).form; //创建窗体
  5480. _taskbar = {
  5481. "id": str + _formdiv.id,
  5482. "style": {
  5483. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5484. },
  5485. "name": "电子白板",
  5486. "forms": _formdiv,
  5487. "click": function () {
  5488. U.MD.D.I.openApplication(str, obj, info);
  5489. }
  5490. }
  5491. break;
  5492. case "mind":
  5493. aTool = 3;
  5494. _iframe = $$("iframe", {
  5495. "frameborder": "no",
  5496. "border": "0",
  5497. "scrolling ": "no",
  5498. "style": {
  5499. "cssText": "border:0;width:100%;height:100%"
  5500. },
  5501. "src": "/kityminder-editor/dist/index.html"
  5502. })
  5503. _box.appendChild(_iframe);
  5504. _box.appendChild(_jie);
  5505. _formdiv = new U.UF.UI.form(
  5506. "思维导图",
  5507. _box, { //"/jsmind/example/demo.html"
  5508. "id": "mind" + cid + stage + task + tool,
  5509. "style": {
  5510. "width": "90%",
  5511. "height": "90%",
  5512. "overflow": 'hidden'
  5513. },
  5514. "onresize": function () { }
  5515. }, {
  5516. closecallback: function () { }
  5517. }, {
  5518. "style": {
  5519. "height": "36px"
  5520. }
  5521. }).form; //创建窗体
  5522. _taskbar = {
  5523. "id": str + _formdiv.id,
  5524. "style": {
  5525. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5526. },
  5527. "name": "思维导图",
  5528. "forms": _formdiv,
  5529. "click": function () {
  5530. U.MD.D.I.openApplication(str, obj, info);
  5531. }
  5532. }
  5533. break;
  5534. case "MindMap":
  5535. aTool = 3;
  5536. _iframe = $$("iframe", {
  5537. "frameborder": "no",
  5538. "border": "0",
  5539. "scrolling ": "no",
  5540. "style": {
  5541. "cssText": "border:0;width:100%;height:100%"
  5542. },
  5543. "src": "//cloud.cocorobo.cn/mind/"
  5544. })
  5545. _box.appendChild(_iframe);
  5546. _box.appendChild(_jie);
  5547. _formdiv = new U.UF.UI.form(
  5548. "思维导图",
  5549. _box, { //"/jsmind/example/demo.html"
  5550. "id": "mind" + cid + stage + task + tool,
  5551. "style": {
  5552. "width": "90%",
  5553. "height": "90%",
  5554. "overflow": 'hidden'
  5555. },
  5556. "onresize": function () { }
  5557. }, {
  5558. closecallback: function () { }
  5559. }, {
  5560. "style": {
  5561. "height": "36px"
  5562. }
  5563. }).form; //创建窗体
  5564. _taskbar = {
  5565. "id": str + _formdiv.id,
  5566. "style": {
  5567. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5568. },
  5569. "name": "思维导图",
  5570. "forms": _formdiv,
  5571. "click": function () {
  5572. U.MD.D.I.openApplication(str, obj, info);
  5573. }
  5574. }
  5575. break;
  5576. case "doc":
  5577. aTool = 6;
  5578. _iframe = $$("iframe", {
  5579. "frameborder": "no",
  5580. "border": "0",
  5581. "scrolling ": "no",
  5582. "style": {
  5583. "cssText": "border:0;width:100%;height:100%"
  5584. },
  5585. "src": "/Office/Word/WordEditArea.htm"
  5586. })
  5587. _box.appendChild(_iframe);
  5588. _box.appendChild(_jie);
  5589. _formdiv = new U.UF.UI.form(
  5590. "协同文档",
  5591. _box, {
  5592. "id": "doc" + cid + stage + task + tool,
  5593. "style": {
  5594. "width": "90%",
  5595. "height": "90%",
  5596. "overflow": 'hidden'
  5597. },
  5598. "onresize": function () { }
  5599. }, {
  5600. closecallback: function () { }
  5601. }, {
  5602. "style": {
  5603. "height": "36px"
  5604. }
  5605. }).form; //创建窗体
  5606. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5607. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5608. })
  5609. _taskbar = {
  5610. "id": str + _formdiv.id,
  5611. "style": {
  5612. "backgroundImage": "url(/img/icon/doc.png)"
  5613. },
  5614. "name": "协同文档",
  5615. "forms": _formdiv,
  5616. "click": function () {
  5617. U.MD.D.I.openApplication(str, obj, info);
  5618. }
  5619. }
  5620. break;
  5621. case "mindNetwork": //好友打开
  5622. aTool = 7;
  5623. _iframe = $$("iframe", {
  5624. "webkitallowfullscreen": "",
  5625. "mozallowfullscreen": "",
  5626. "allowfullscreen": "",
  5627. "frameborder": "no",
  5628. "border": "0",
  5629. "scrolling ": "no",
  5630. "style": {
  5631. "cssText": "border:0; width:100%; height:100%;"
  5632. },
  5633. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5634. })
  5635. _box.appendChild(_iframe);
  5636. _box.appendChild(_jie);
  5637. _formdiv = new U.UF.UI.form(
  5638. "思维网格",
  5639. _box, {
  5640. "id": "mindNetwork" + cid + stage + task + tool,
  5641. "style": {
  5642. "width": "90%",
  5643. "height": "90%",
  5644. "overflow": 'hidden'
  5645. },
  5646. "onresize": function () { }
  5647. }, {
  5648. closecallback: function () { }
  5649. }, {
  5650. "style": {
  5651. "height": "36px"
  5652. }
  5653. }).form; //创建窗体
  5654. _taskbar = {
  5655. "id": str + _formdiv.id,
  5656. "style": {
  5657. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5658. },
  5659. "name": "思维网格",
  5660. "forms": _formdiv,
  5661. "click": function () {
  5662. U.MD.D.I.openApplication(str, obj, info);
  5663. }
  5664. }
  5665. break;
  5666. case "courseDesign":
  5667. _iframe = $$("iframe", {
  5668. "webkitallowfullscreen": "",
  5669. "mozallowfullscreen": "",
  5670. "allowfullscreen": "",
  5671. "frameborder": "no",
  5672. "border": "0",
  5673. "scrolling ": "no",
  5674. "style": {
  5675. "cssText": "border:0; width:100%; height:100%;"
  5676. },
  5677. "src": "/course-design-vue"
  5678. })
  5679. _box.appendChild(_iframe);
  5680. _box.appendChild(_jie);
  5681. _formdiv = new U.UF.UI.form(
  5682. "项目设计",
  5683. _box, {
  5684. "id": "courseDesign" + cid + stage + task + tool,
  5685. "style": {
  5686. "width": "90%",
  5687. "height": "90%",
  5688. "overflow": 'hidden'
  5689. },
  5690. "onresize": function () { }
  5691. }, {
  5692. closecallback: function () { }
  5693. }, {
  5694. "style": {
  5695. "height": "36px"
  5696. }
  5697. }).form; //创建窗体
  5698. _taskbar = {
  5699. "id": str + _formdiv.id,
  5700. "style": {
  5701. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5702. },
  5703. "name": "项目设计",
  5704. "forms": _formdiv,
  5705. "click": function () {
  5706. U.MD.D.I.openApplication(str, obj, info);
  5707. }
  5708. }
  5709. break;
  5710. }
  5711. const script1 = document.createElement("script");
  5712. script1.type = "text/javascript";
  5713. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5714. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5715. const script2 = document.createElement("script");
  5716. script2.type = "text/javascript";
  5717. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5718. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5719. const script3 = document.createElement("script");
  5720. script3.type = "text/javascript";
  5721. script3.charset = "UTF-8";
  5722. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5723. const script4 = document.createElement("script");
  5724. script4.type = "text/javascript";
  5725. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5726. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5727. if (_iframe) {
  5728. if (str == 'doc') {
  5729. _iframe = _formdiv.querySelector('iframe')
  5730. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5731. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5732. _iframe.contentWindow.document.body.appendChild(script1);
  5733. _iframe.contentWindow.document.body.appendChild(script2);
  5734. // _iframe.contentWindow.document.body.appendChild(script3);
  5735. _iframe.contentWindow.document.body.appendChild(script4);
  5736. })
  5737. if (onloadListener) {
  5738. _iframe.contentDocument.location.reload()
  5739. } else {
  5740. _iframe.contentDocument.location.reload()
  5741. }
  5742. } else if (str == 'courseDesign') {
  5743. U.UF.DL.iframeLoad(_iframe, function () {
  5744. // _iframe.contentWindow.U.MD.O.W.load();
  5745. // _iframe.contentWindow.document.body.appendChild(script1);
  5746. _iframe.contentWindow.document.body.appendChild(script2);
  5747. _iframe.contentWindow.document.body.appendChild(script4);
  5748. })
  5749. } else if (str == 'mind') {
  5750. _iframe = _formdiv.querySelector('iframe')
  5751. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5752. //
  5753. _iframe.contentWindow.document.body.appendChild(script1);
  5754. _iframe.contentWindow.document.body.appendChild(script2);
  5755. _iframe.contentWindow.document.body.appendChild(script4);
  5756. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5757. })
  5758. if (onloadListener) {
  5759. _iframe.contentDocument.location.reload()
  5760. } else {
  5761. _iframe.contentDocument.location.reload()
  5762. }
  5763. } else if (str == 'whiteboard') {
  5764. _iframe = _formdiv.querySelector('iframe')
  5765. let onloadListener = _iframe.onload = () => {
  5766. _iframe.contentWindow.document.body.appendChild(script1);
  5767. _iframe.contentWindow.document.body.appendChild(script2);
  5768. _iframe.contentWindow.document.body.appendChild(script4);
  5769. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5770. };
  5771. if (onloadListener) {
  5772. _iframe.contentDocument.location.reload()
  5773. } else {
  5774. _iframe.contentDocument.location.reload()
  5775. }
  5776. } else {
  5777. _iframe.onload = () => {
  5778. _iframe.contentWindow.document.body.appendChild(script1);
  5779. _iframe.contentWindow.document.body.appendChild(script2);
  5780. // _iframe.contentWindow.document.body.appendChild(script3);
  5781. _iframe.contentWindow.document.body.appendChild(script4);
  5782. };
  5783. }
  5784. _jie.onclick = async () => {
  5785. let text = ''
  5786. if (aTool == 1) {
  5787. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5788. } else if (aTool == 6) {
  5789. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5790. } else if (aTool == 3) {
  5791. text = await U.MD.D.I.getEditorContent(_iframe);
  5792. }
  5793. _loading.style.display = 'flex'
  5794. console.log(_loading);
  5795. var _ajs = _iframe.contentWindow.document.createElement("script");
  5796. _ajs.type = "text/javascript";
  5797. _ajs.innerHTML =
  5798. // 'console.log(' + _loading + ');\n' +
  5799. 'var _js = document.createElement("script");\n' +
  5800. '_js.type="text/javascript";\n' +
  5801. '_js.charset="UTF-8";\n' +
  5802. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5803. "_js.onload = function(){\n" +
  5804. ' var a = document.getElementsByTagName("img")\n' +
  5805. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5806. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5807. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5808. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5809. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5810. "beforeUpload_shishi(file," +
  5811. "'" +
  5812. _userid +
  5813. "'" +
  5814. ", " +
  5815. "'" +
  5816. _cid +
  5817. "'" +
  5818. ", " +
  5819. "'" +
  5820. _stage +
  5821. "'" +
  5822. ", " +
  5823. "'" +
  5824. _task +
  5825. "'" +
  5826. ", " +
  5827. "'" +
  5828. _tool +
  5829. "'" +
  5830. ", " +
  5831. "'" +
  5832. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5833. "'" +
  5834. ", " +
  5835. "'" +
  5836. aTool +
  5837. "'" +
  5838. ", " +
  5839. "`" +
  5840. text +
  5841. "`" +
  5842. ")\n" +
  5843. " });\n" +
  5844. "}\n" +
  5845. "document.head.appendChild(_js);\n";
  5846. _iframe.contentWindow.document.head.appendChild(_ajs);
  5847. }
  5848. }
  5849. //U.MD.D.I.openClick(str);
  5850. //如果有任务栏信息
  5851. // if (_taskbar) {
  5852. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5853. // }
  5854. }
  5855. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5856. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5857. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5858. _userinfo = US.userInfo, //登录用户信息
  5859. _userid = US.userInfo.userid //登录用户id
  5860. let _iframe;
  5861. let _cid = cid,
  5862. _stage = stage,
  5863. _task = task,
  5864. _tool = tool;
  5865. var _jie = $$("div", {
  5866. "style": {
  5867. "position": "absolute",
  5868. "bottom": "50px",
  5869. "right": "50px",
  5870. "zIndex": "9999",
  5871. "backgroundColor": "#2268bc",
  5872. "color": "#fff",
  5873. "padding": "12px 20px",
  5874. "cursor": "pointer",
  5875. "borderRadius": "4px",
  5876. },
  5877. "innerHTML": "提交作业"
  5878. })
  5879. let aTool = ''
  5880. let _loading = document.createElement('div')
  5881. _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;"
  5882. // _loading.id = "";
  5883. let _lchild = document.createElement('div')
  5884. let _limg = document.createElement('img')
  5885. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5886. _limg.style = "width: 26px;margin-right: 10px;"
  5887. _lchild.appendChild(_limg)
  5888. let _lspan = document.createElement('span')
  5889. _lspan.innerHTML = "上传中..."
  5890. _lchild.appendChild(_lspan)
  5891. _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%);"
  5892. _loading.appendChild(_lchild)
  5893. var _box = $$('div', {
  5894. "style": {
  5895. "position": "relative",
  5896. "width": "100%",
  5897. "height": "100%",
  5898. },
  5899. })
  5900. _box.appendChild(_loading)
  5901. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5902. switch (str) {
  5903. case "whiteboard":
  5904. aTool = 1;
  5905. _iframe = $$("iframe", {
  5906. "frameborder": "no",
  5907. "border": "0",
  5908. "scrolling ": "no",
  5909. "style": {
  5910. "cssText": "border:0;width:100%;height:100%"
  5911. },
  5912. "src": "https://beta.iwb.cocorobo.cn/"
  5913. })
  5914. _box.appendChild(_iframe);
  5915. _box.appendChild(_jie);
  5916. _formdiv = new U.UF.UI.form(
  5917. "电子白板",
  5918. _box, {
  5919. "id": "whiteboard" + cid + stage + task + tool,
  5920. "style": {
  5921. "width": "90%",
  5922. "height": "90%",
  5923. "overflow": 'hidden'
  5924. },
  5925. "onresize": function () { }
  5926. }, {
  5927. closecallback: function () { }
  5928. }, {
  5929. "style": {
  5930. "height": "36px"
  5931. }
  5932. }).form; //创建窗体
  5933. _taskbar = {
  5934. "id": str + _formdiv.id,
  5935. "style": {
  5936. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5937. },
  5938. "name": "电子白板",
  5939. "forms": _formdiv,
  5940. "click": function () {
  5941. U.MD.D.I.openApplication(str, obj, info);
  5942. }
  5943. }
  5944. break;
  5945. case "mind":
  5946. aTool = 3;
  5947. _iframe = $$("iframe", {
  5948. "frameborder": "no",
  5949. "border": "0",
  5950. "scrolling ": "no",
  5951. "style": {
  5952. "cssText": "border:0;width:100%;height:100%"
  5953. },
  5954. "src": "/kityminder-editor/dist/index.html"
  5955. })
  5956. _box.appendChild(_iframe);
  5957. _box.appendChild(_jie);
  5958. _formdiv = new U.UF.UI.form(
  5959. "思维导图",
  5960. _box, { //"/jsmind/example/demo.html"
  5961. "id": "mind" + cid + stage + task + tool,
  5962. "style": {
  5963. "width": "90%",
  5964. "height": "90%",
  5965. "overflow": 'hidden'
  5966. },
  5967. "onresize": function () { }
  5968. }, {
  5969. closecallback: function () { }
  5970. }, {
  5971. "style": {
  5972. "height": "36px"
  5973. }
  5974. }).form; //创建窗体
  5975. _taskbar = {
  5976. "id": str + _formdiv.id,
  5977. "style": {
  5978. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5979. },
  5980. "name": "思维导图",
  5981. "forms": _formdiv,
  5982. "click": function () {
  5983. U.MD.D.I.openApplication(str, obj, info);
  5984. }
  5985. }
  5986. break;
  5987. case "MindMap":
  5988. aTool = 3;
  5989. _iframe = $$("iframe", {
  5990. "frameborder": "no",
  5991. "border": "0",
  5992. "scrolling ": "no",
  5993. "style": {
  5994. "cssText": "border:0;width:100%;height:100%"
  5995. },
  5996. "src": "//cloud.cocorobo.cn/mind/"
  5997. })
  5998. _box.appendChild(_iframe);
  5999. _box.appendChild(_jie);
  6000. _formdiv = new U.UF.UI.form(
  6001. "思维导图",
  6002. _box, { //"/jsmind/example/demo.html"
  6003. "id": "mind" + cid + stage + task + tool,
  6004. "style": {
  6005. "width": "90%",
  6006. "height": "90%",
  6007. "overflow": 'hidden'
  6008. },
  6009. "onresize": function () { }
  6010. }, {
  6011. closecallback: function () { }
  6012. }, {
  6013. "style": {
  6014. "height": "36px"
  6015. }
  6016. }).form; //创建窗体
  6017. _taskbar = {
  6018. "id": str + _formdiv.id,
  6019. "style": {
  6020. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6021. },
  6022. "name": "思维导图",
  6023. "forms": _formdiv,
  6024. "click": function () {
  6025. U.MD.D.I.openApplication(str, obj, info);
  6026. }
  6027. }
  6028. break;
  6029. case "doc":
  6030. aTool = 6;
  6031. _iframe = $$("iframe", {
  6032. "frameborder": "no",
  6033. "border": "0",
  6034. "scrolling ": "no",
  6035. "style": {
  6036. "cssText": "border:0;width:100%;height:100%"
  6037. },
  6038. "src": "/Office/Word/WordEditArea.htm"
  6039. })
  6040. _box.appendChild(_iframe);
  6041. _box.appendChild(_jie);
  6042. _formdiv = new U.UF.UI.form(
  6043. "协同文档",
  6044. _box, {
  6045. "id": "doc" + cid + stage + task + tool,
  6046. "style": {
  6047. "width": "90%",
  6048. "height": "90%",
  6049. "overflow": 'hidden'
  6050. },
  6051. "onresize": function () { }
  6052. }, {
  6053. closecallback: function () { }
  6054. }, {
  6055. "style": {
  6056. "height": "36px"
  6057. }
  6058. }).form; //创建窗体
  6059. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6060. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6061. })
  6062. _taskbar = {
  6063. "id": str + _formdiv.id,
  6064. "style": {
  6065. "backgroundImage": "url(/img/icon/doc.png)"
  6066. },
  6067. "name": "协同文档",
  6068. "forms": _formdiv,
  6069. "click": function () {
  6070. U.MD.D.I.openApplication(str, obj, info);
  6071. }
  6072. }
  6073. break;
  6074. case "mindNetwork": //好友打开
  6075. aTool = 7;
  6076. _iframe = $$("iframe", {
  6077. "webkitallowfullscreen": "",
  6078. "mozallowfullscreen": "",
  6079. "allowfullscreen": "",
  6080. "frameborder": "no",
  6081. "border": "0",
  6082. "scrolling ": "no",
  6083. "style": {
  6084. "cssText": "border:0; width:100%; height:100%;"
  6085. },
  6086. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6087. })
  6088. _box.appendChild(_iframe);
  6089. _box.appendChild(_jie);
  6090. _formdiv = new U.UF.UI.form(
  6091. "思维网格",
  6092. _box, {
  6093. "id": "mindNetwork" + cid + stage + task + tool,
  6094. "style": {
  6095. "width": "90%",
  6096. "height": "90%",
  6097. "overflow": 'hidden'
  6098. },
  6099. "onresize": function () { }
  6100. }, {
  6101. closecallback: function () { }
  6102. }, {
  6103. "style": {
  6104. "height": "36px"
  6105. }
  6106. }).form; //创建窗体
  6107. _taskbar = {
  6108. "id": str + _formdiv.id,
  6109. "style": {
  6110. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6111. },
  6112. "name": "思维网格",
  6113. "forms": _formdiv,
  6114. "click": function () {
  6115. U.MD.D.I.openApplication(str, obj, info);
  6116. }
  6117. }
  6118. break;
  6119. case "courseDesign":
  6120. _iframe = $$("iframe", {
  6121. "webkitallowfullscreen": "",
  6122. "mozallowfullscreen": "",
  6123. "allowfullscreen": "",
  6124. "frameborder": "no",
  6125. "border": "0",
  6126. "scrolling ": "no",
  6127. "style": {
  6128. "cssText": "border:0; width:100%; height:100%;"
  6129. },
  6130. "src": "/course-design-vue"
  6131. })
  6132. _box.appendChild(_iframe);
  6133. _box.appendChild(_jie);
  6134. _formdiv = new U.UF.UI.form(
  6135. "项目设计",
  6136. _box, {
  6137. "id": "courseDesign" + cid + stage + task + tool,
  6138. "style": {
  6139. "width": "90%",
  6140. "height": "90%",
  6141. "overflow": 'hidden'
  6142. },
  6143. "onresize": function () { }
  6144. }, {
  6145. closecallback: function () { }
  6146. }, {
  6147. "style": {
  6148. "height": "36px"
  6149. }
  6150. }).form; //创建窗体
  6151. _taskbar = {
  6152. "id": str + _formdiv.id,
  6153. "style": {
  6154. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6155. },
  6156. "name": "项目设计",
  6157. "forms": _formdiv,
  6158. "click": function () {
  6159. U.MD.D.I.openApplication(str, obj, info);
  6160. }
  6161. }
  6162. break;
  6163. }
  6164. const script1 = document.createElement("script");
  6165. script1.type = "text/javascript";
  6166. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6167. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6168. const script2 = document.createElement("script");
  6169. script2.type = "text/javascript";
  6170. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6171. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6172. const script3 = document.createElement("script");
  6173. script3.type = "text/javascript";
  6174. script3.charset = "UTF-8";
  6175. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6176. const script4 = document.createElement("script");
  6177. script4.type = "text/javascript";
  6178. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6179. script4.src = window.origin + "/js/Common/jietu2E.js";
  6180. if (_iframe) {
  6181. if (str == 'doc') {
  6182. _iframe = _formdiv.querySelector('iframe')
  6183. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6184. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6185. _iframe.contentWindow.document.body.appendChild(script1);
  6186. _iframe.contentWindow.document.body.appendChild(script2);
  6187. // _iframe.contentWindow.document.body.appendChild(script3);
  6188. _iframe.contentWindow.document.body.appendChild(script4);
  6189. })
  6190. if (onloadListener) {
  6191. _iframe.contentDocument.location.reload()
  6192. } else {
  6193. _iframe.contentDocument.location.reload()
  6194. }
  6195. } else if (str == 'courseDesign') {
  6196. U.UF.DL.iframeLoad(_iframe, function () {
  6197. // _iframe.contentWindow.U.MD.O.W.load();
  6198. // _iframe.contentWindow.document.body.appendChild(script1);
  6199. _iframe.contentWindow.document.body.appendChild(script2);
  6200. _iframe.contentWindow.document.body.appendChild(script4);
  6201. })
  6202. } else if (str == 'mind') {
  6203. _iframe = _formdiv.querySelector('iframe')
  6204. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6205. //
  6206. _iframe.contentWindow.document.body.appendChild(script1);
  6207. _iframe.contentWindow.document.body.appendChild(script2);
  6208. _iframe.contentWindow.document.body.appendChild(script4);
  6209. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6210. })
  6211. if (onloadListener) {
  6212. _iframe.contentDocument.location.reload()
  6213. } else {
  6214. _iframe.contentDocument.location.reload()
  6215. }
  6216. } else if (str == 'whiteboard') {
  6217. _iframe = _formdiv.querySelector('iframe')
  6218. let onloadListener = _iframe.onload = () => {
  6219. _iframe.contentWindow.document.body.appendChild(script1);
  6220. _iframe.contentWindow.document.body.appendChild(script2);
  6221. _iframe.contentWindow.document.body.appendChild(script4);
  6222. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6223. };
  6224. if (onloadListener) {
  6225. _iframe.contentDocument.location.reload()
  6226. } else {
  6227. _iframe.contentDocument.location.reload()
  6228. }
  6229. } else {
  6230. _iframe.onload = () => {
  6231. _iframe.contentWindow.document.body.appendChild(script1);
  6232. _iframe.contentWindow.document.body.appendChild(script2);
  6233. // _iframe.contentWindow.document.body.appendChild(script3);
  6234. _iframe.contentWindow.document.body.appendChild(script4);
  6235. };
  6236. }
  6237. _jie.onclick = async () => {
  6238. let text = ''
  6239. if (aTool == 1) {
  6240. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6241. } else if (aTool == 6) {
  6242. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6243. } else if (aTool == 3) {
  6244. text = await U.MD.D.I.getEditorContent(_iframe);
  6245. }
  6246. _loading.style.display = 'flex'
  6247. console.log(_loading);
  6248. var _ajs = _iframe.contentWindow.document.createElement("script");
  6249. _ajs.type = "text/javascript";
  6250. _ajs.innerHTML =
  6251. // 'console.log(' + _loading + ');\n' +
  6252. 'var _js = document.createElement("script");\n' +
  6253. '_js.type="text/javascript";\n' +
  6254. '_js.charset="UTF-8";\n' +
  6255. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6256. "_js.onload = function(){\n" +
  6257. ' var a = document.getElementsByTagName("img")\n' +
  6258. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6259. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6260. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6261. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6262. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6263. "beforeUpload_shishi(file," +
  6264. "'" +
  6265. _userid +
  6266. "'" +
  6267. ", " +
  6268. "'" +
  6269. _cid +
  6270. "'" +
  6271. ", " +
  6272. "'" +
  6273. _stage +
  6274. "'" +
  6275. ", " +
  6276. "'" +
  6277. _task +
  6278. "'" +
  6279. ", " +
  6280. "'" +
  6281. _tool +
  6282. "'" +
  6283. ", " +
  6284. "'" +
  6285. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6286. "'" +
  6287. ", " +
  6288. "'" +
  6289. aTool +
  6290. "'" +
  6291. ", " +
  6292. "`" +
  6293. text +
  6294. "`" +
  6295. ")\n" +
  6296. " });\n" +
  6297. "}\n" +
  6298. "document.head.appendChild(_js);\n";
  6299. _iframe.contentWindow.document.head.appendChild(_ajs);
  6300. }
  6301. }
  6302. //U.MD.D.I.openClick(str);
  6303. //如果有任务栏信息
  6304. // if (_taskbar) {
  6305. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6306. // }
  6307. }
  6308. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6309. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6310. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6311. _userid = student.userid, //登录用户id
  6312. _username = student.student //用户名字
  6313. let _iframe;
  6314. let _cid = cid,
  6315. _stage = stage,
  6316. _task = task,
  6317. _tool = tool;
  6318. var _jie = $$("div", {
  6319. "style": {
  6320. "position": "absolute",
  6321. "bottom": "50px",
  6322. "right": "50px",
  6323. "zIndex": "9999",
  6324. "backgroundColor": "#2268bc",
  6325. "color": "#fff",
  6326. "padding": "12px 20px",
  6327. "cursor": "pointer",
  6328. "borderRadius": "4px",
  6329. },
  6330. "innerHTML": "提交作业"
  6331. })
  6332. let aTool = ''
  6333. let _loading = document.createElement('div')
  6334. _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;"
  6335. // _loading.id = "";
  6336. let _lchild = document.createElement('div')
  6337. let _limg = document.createElement('img')
  6338. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6339. _limg.style = "width: 26px;margin-right: 10px;"
  6340. _lchild.appendChild(_limg)
  6341. let _lspan = document.createElement('span')
  6342. _lspan.innerHTML = "上传中..."
  6343. _lchild.appendChild(_lspan)
  6344. _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%);"
  6345. _loading.appendChild(_lchild)
  6346. var _box = $$('div', {
  6347. "style": {
  6348. "position": "relative",
  6349. "width": "100%",
  6350. "height": "100%",
  6351. },
  6352. })
  6353. _box.appendChild(_loading)
  6354. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6355. switch (str) {
  6356. case "whiteboard":
  6357. aTool = 1;
  6358. _iframe = $$("iframe", {
  6359. "frameborder": "no",
  6360. "border": "0",
  6361. "scrolling ": "no",
  6362. "style": {
  6363. "cssText": "border:0;width:100%;height:100%"
  6364. },
  6365. "src": "https://beta.iwb.cocorobo.cn/"
  6366. })
  6367. _box.appendChild(_iframe);
  6368. _box.appendChild(_jie);
  6369. _formdiv = new U.UF.UI.form(
  6370. "电子白板-" + _username,
  6371. _box, {
  6372. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6373. "style": {
  6374. "width": "90%",
  6375. "height": "90%",
  6376. "overflow": 'hidden'
  6377. },
  6378. "onresize": function () { }
  6379. }, {
  6380. closecallback: function () { }
  6381. }, {
  6382. "style": {
  6383. "height": "36px"
  6384. }
  6385. }).form; //创建窗体
  6386. _taskbar = {
  6387. "id": str + _formdiv.id,
  6388. "style": {
  6389. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6390. },
  6391. "name": "电子白板",
  6392. "forms": _formdiv,
  6393. "click": function () {
  6394. U.MD.D.I.openApplication(str, obj, info);
  6395. }
  6396. }
  6397. break;
  6398. case "mind":
  6399. aTool = 3;
  6400. _iframe = $$("iframe", {
  6401. "frameborder": "no",
  6402. "border": "0",
  6403. "scrolling ": "no",
  6404. "style": {
  6405. "cssText": "border:0;width:100%;height:100%"
  6406. },
  6407. "src": "/kityminder-editor/dist/index.html"
  6408. })
  6409. _box.appendChild(_iframe);
  6410. _box.appendChild(_jie);
  6411. _formdiv = new U.UF.UI.form(
  6412. "思维导图-" + _username,
  6413. _box, { //"/jsmind/example/demo.html"
  6414. "id": "mind" + cid + stage + task + tool + _userid,
  6415. "style": {
  6416. "width": "90%",
  6417. "height": "90%",
  6418. "overflow": 'hidden'
  6419. },
  6420. "onresize": function () { }
  6421. }, {
  6422. closecallback: function () { }
  6423. }, {
  6424. "style": {
  6425. "height": "36px"
  6426. }
  6427. }).form; //创建窗体
  6428. _taskbar = {
  6429. "id": str + _formdiv.id,
  6430. "style": {
  6431. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6432. },
  6433. "name": "思维导图",
  6434. "forms": _formdiv,
  6435. "click": function () {
  6436. U.MD.D.I.openApplication(str, obj, info);
  6437. }
  6438. }
  6439. break;
  6440. case "MindMap":
  6441. aTool = 3;
  6442. _iframe = $$("iframe", {
  6443. "frameborder": "no",
  6444. "border": "0",
  6445. "scrolling ": "no",
  6446. "style": {
  6447. "cssText": "border:0;width:100%;height:100%"
  6448. },
  6449. "src": "//cloud.cocorobo.cn/mind/"
  6450. })
  6451. _box.appendChild(_iframe);
  6452. _box.appendChild(_jie);
  6453. _formdiv = new U.UF.UI.form(
  6454. "思维导图-" + _username,
  6455. _box, { //"/jsmind/example/demo.html"
  6456. "id": "mind" + cid + stage + task + tool + _userid,
  6457. "style": {
  6458. "width": "90%",
  6459. "height": "90%",
  6460. "overflow": 'hidden'
  6461. },
  6462. "onresize": function () { }
  6463. }, {
  6464. closecallback: function () { }
  6465. }, {
  6466. "style": {
  6467. "height": "36px"
  6468. }
  6469. }).form; //创建窗体
  6470. _taskbar = {
  6471. "id": str + _formdiv.id,
  6472. "style": {
  6473. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6474. },
  6475. "name": "思维导图",
  6476. "forms": _formdiv,
  6477. "click": function () {
  6478. U.MD.D.I.openApplication(str, obj, info);
  6479. }
  6480. }
  6481. break;
  6482. case "doc":
  6483. aTool = 6;
  6484. _iframe = $$("iframe", {
  6485. "frameborder": "no",
  6486. "border": "0",
  6487. "scrolling ": "no",
  6488. "style": {
  6489. "cssText": "border:0;width:100%;height:100%"
  6490. },
  6491. "src": "/Office/Word/WordEditArea.htm"
  6492. })
  6493. _box.appendChild(_iframe);
  6494. _box.appendChild(_jie);
  6495. _formdiv = new U.UF.UI.form(
  6496. "协同文档-" + _username,
  6497. _box, {
  6498. "id": "doc" + cid + stage + task + tool + _userid,
  6499. "style": {
  6500. "width": "90%",
  6501. "height": "90%",
  6502. "overflow": 'hidden'
  6503. },
  6504. "onresize": function () { }
  6505. }, {
  6506. closecallback: function () { }
  6507. }, {
  6508. "style": {
  6509. "height": "36px"
  6510. }
  6511. }).form; //创建窗体
  6512. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6513. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6514. })
  6515. _taskbar = {
  6516. "id": str + _formdiv.id,
  6517. "style": {
  6518. "backgroundImage": "url(/img/icon/doc.png)"
  6519. },
  6520. "name": "协同文档",
  6521. "forms": _formdiv,
  6522. "click": function () {
  6523. U.MD.D.I.openApplication(str, obj, info);
  6524. }
  6525. }
  6526. break;
  6527. case "mindNetwork": //好友打开
  6528. aTool = 7;
  6529. _iframe = $$("iframe", {
  6530. "webkitallowfullscreen": "",
  6531. "mozallowfullscreen": "",
  6532. "allowfullscreen": "",
  6533. "frameborder": "no",
  6534. "border": "0",
  6535. "scrolling ": "no",
  6536. "style": {
  6537. "cssText": "border:0; width:100%; height:100%;"
  6538. },
  6539. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6540. })
  6541. _box.appendChild(_iframe);
  6542. _box.appendChild(_jie);
  6543. _formdiv = new U.UF.UI.form(
  6544. "思维网格-" + _username,
  6545. _box, {
  6546. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6547. "style": {
  6548. "width": "90%",
  6549. "height": "90%",
  6550. "overflow": 'hidden'
  6551. },
  6552. "onresize": function () { }
  6553. }, {
  6554. closecallback: function () { }
  6555. }, {
  6556. "style": {
  6557. "height": "36px"
  6558. }
  6559. }).form; //创建窗体
  6560. _taskbar = {
  6561. "id": str + _formdiv.id,
  6562. "style": {
  6563. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6564. },
  6565. "name": "思维网格",
  6566. "forms": _formdiv,
  6567. "click": function () {
  6568. U.MD.D.I.openApplication(str, obj, info);
  6569. }
  6570. }
  6571. break;
  6572. case "courseDesign":
  6573. _iframe = $$("iframe", {
  6574. "webkitallowfullscreen": "",
  6575. "mozallowfullscreen": "",
  6576. "allowfullscreen": "",
  6577. "frameborder": "no",
  6578. "border": "0",
  6579. "scrolling ": "no",
  6580. "style": {
  6581. "cssText": "border:0; width:100%; height:100%;"
  6582. },
  6583. "src": "/course-design-vue"
  6584. })
  6585. _box.appendChild(_iframe);
  6586. _box.appendChild(_jie);
  6587. _formdiv = new U.UF.UI.form(
  6588. "项目设计-" + _username,
  6589. _box, {
  6590. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6591. "style": {
  6592. "width": "90%",
  6593. "height": "90%",
  6594. "overflow": 'hidden'
  6595. },
  6596. "onresize": function () { }
  6597. }, {
  6598. closecallback: function () { }
  6599. }, {
  6600. "style": {
  6601. "height": "36px"
  6602. }
  6603. }).form; //创建窗体
  6604. _taskbar = {
  6605. "id": str + _formdiv.id,
  6606. "style": {
  6607. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6608. },
  6609. "name": "项目设计",
  6610. "forms": _formdiv,
  6611. "click": function () {
  6612. U.MD.D.I.openApplication(str, obj, info);
  6613. }
  6614. }
  6615. break;
  6616. }
  6617. const script1 = document.createElement("script");
  6618. script1.type = "text/javascript";
  6619. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6620. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6621. const script2 = document.createElement("script");
  6622. script2.type = "text/javascript";
  6623. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6624. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6625. const script3 = document.createElement("script");
  6626. script3.type = "text/javascript";
  6627. script3.charset = "UTF-8";
  6628. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6629. const script4 = document.createElement("script");
  6630. script4.type = "text/javascript";
  6631. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6632. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6633. if (_iframe) {
  6634. if (str == 'doc') {
  6635. _iframe = _formdiv.querySelector('iframe')
  6636. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6637. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6638. _iframe.contentWindow.document.body.appendChild(script1);
  6639. _iframe.contentWindow.document.body.appendChild(script2);
  6640. // _iframe.contentWindow.document.body.appendChild(script3);
  6641. _iframe.contentWindow.document.body.appendChild(script4);
  6642. })
  6643. if (onloadListener) {
  6644. _iframe.contentDocument.location.reload()
  6645. } else {
  6646. _iframe.contentDocument.location.reload()
  6647. }
  6648. } else if (str == 'courseDesign') {
  6649. U.UF.DL.iframeLoad(_iframe, function () {
  6650. // _iframe.contentWindow.U.MD.O.W.load();
  6651. // _iframe.contentWindow.document.body.appendChild(script1);
  6652. _iframe.contentWindow.document.body.appendChild(script2);
  6653. _iframe.contentWindow.document.body.appendChild(script4);
  6654. })
  6655. } else if (str == 'mind') {
  6656. _iframe = _formdiv.querySelector('iframe')
  6657. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6658. //
  6659. _iframe.contentWindow.document.body.appendChild(script1);
  6660. _iframe.contentWindow.document.body.appendChild(script2);
  6661. _iframe.contentWindow.document.body.appendChild(script4);
  6662. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6663. })
  6664. if (onloadListener) {
  6665. _iframe.contentDocument.location.reload()
  6666. } else {
  6667. _iframe.contentDocument.location.reload()
  6668. }
  6669. } else if (str == 'whiteboard') {
  6670. _iframe = _formdiv.querySelector('iframe')
  6671. let onloadListener = _iframe.onload = () => {
  6672. _iframe.contentWindow.document.body.appendChild(script1);
  6673. _iframe.contentWindow.document.body.appendChild(script2);
  6674. _iframe.contentWindow.document.body.appendChild(script4);
  6675. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6676. };
  6677. if (onloadListener) {
  6678. _iframe.contentDocument.location.reload()
  6679. } else {
  6680. _iframe.contentDocument.location.reload()
  6681. }
  6682. } else {
  6683. _iframe.onload = () => {
  6684. _iframe.contentWindow.document.body.appendChild(script1);
  6685. _iframe.contentWindow.document.body.appendChild(script2);
  6686. // _iframe.contentWindow.document.body.appendChild(script3);
  6687. _iframe.contentWindow.document.body.appendChild(script4);
  6688. };
  6689. }
  6690. _jie.onclick = async () => {
  6691. let text = ''
  6692. if (aTool == 1) {
  6693. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6694. } else if (aTool == 6) {
  6695. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6696. } else if (aTool == 3) {
  6697. text = await U.MD.D.I.getEditorContent(_iframe);
  6698. }
  6699. _loading.style.display = 'flex'
  6700. console.log(_loading);
  6701. var _ajs = _iframe.contentWindow.document.createElement("script");
  6702. _ajs.type = "text/javascript";
  6703. _ajs.innerHTML =
  6704. // 'console.log(' + _loading + ');\n' +
  6705. 'var _js = document.createElement("script");\n' +
  6706. '_js.type="text/javascript";\n' +
  6707. '_js.charset="UTF-8";\n' +
  6708. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6709. "_js.onload = function(){\n" +
  6710. ' var a = document.getElementsByTagName("img")\n' +
  6711. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6712. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6713. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6714. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6715. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6716. "beforeUpload_shishi(file," +
  6717. "'" +
  6718. _userid +
  6719. "'" +
  6720. ", " +
  6721. "'" +
  6722. _cid +
  6723. "'" +
  6724. ", " +
  6725. "'" +
  6726. _stage +
  6727. "'" +
  6728. ", " +
  6729. "'" +
  6730. _task +
  6731. "'" +
  6732. ", " +
  6733. "'" +
  6734. _tool +
  6735. "'" +
  6736. ", " +
  6737. "'" +
  6738. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6739. "'" +
  6740. ", " +
  6741. "'" +
  6742. aTool +
  6743. "'" +
  6744. ", " +
  6745. "`" +
  6746. text +
  6747. "`" +
  6748. ")\n" +
  6749. " });\n" +
  6750. "}\n" +
  6751. "document.head.appendChild(_js);\n";
  6752. _iframe.contentWindow.document.head.appendChild(_ajs);
  6753. }
  6754. }
  6755. }
  6756. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6757. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6758. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6759. _userid = student.userid, //登录用户id
  6760. _username = student.student //用户名字
  6761. let _iframe;
  6762. let _cid = cid,
  6763. _stage = stage,
  6764. _task = task,
  6765. _tool = tool;
  6766. var _jie = $$("div", {
  6767. "style": {
  6768. "position": "absolute",
  6769. "bottom": "50px",
  6770. "right": "50px",
  6771. "zIndex": "9999",
  6772. "backgroundColor": "#2268bc",
  6773. "color": "#fff",
  6774. "padding": "12px 20px",
  6775. "cursor": "pointer",
  6776. "borderRadius": "4px",
  6777. },
  6778. "innerHTML": "提交作业"
  6779. })
  6780. let aTool = ''
  6781. let _loading = document.createElement('div')
  6782. _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;"
  6783. // _loading.id = "";
  6784. let _lchild = document.createElement('div')
  6785. let _limg = document.createElement('img')
  6786. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6787. _limg.style = "width: 26px;margin-right: 10px;"
  6788. _lchild.appendChild(_limg)
  6789. let _lspan = document.createElement('span')
  6790. _lspan.innerHTML = "上传中..."
  6791. _lchild.appendChild(_lspan)
  6792. _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%);"
  6793. _loading.appendChild(_lchild)
  6794. var _box = $$('div', {
  6795. "style": {
  6796. "position": "relative",
  6797. "width": "100%",
  6798. "height": "100%",
  6799. },
  6800. })
  6801. _box.appendChild(_loading)
  6802. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6803. switch (str) {
  6804. case "whiteboard":
  6805. aTool = 1;
  6806. _iframe = $$("iframe", {
  6807. "frameborder": "no",
  6808. "border": "0",
  6809. "scrolling ": "no",
  6810. "style": {
  6811. "cssText": "border:0;width:100%;height:100%"
  6812. },
  6813. "src": "https://beta.iwb.cocorobo.cn/"
  6814. })
  6815. _box.appendChild(_iframe);
  6816. _box.appendChild(_jie);
  6817. _formdiv = new U.UF.UI.form(
  6818. "电子白板-" + _username,
  6819. _box, {
  6820. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6821. "style": {
  6822. "width": "90%",
  6823. "height": "90%",
  6824. "overflow": 'hidden'
  6825. },
  6826. "onresize": function () { }
  6827. }, {
  6828. closecallback: function () { }
  6829. }, {
  6830. "style": {
  6831. "height": "36px"
  6832. }
  6833. }).form; //创建窗体
  6834. _taskbar = {
  6835. "id": str + _formdiv.id,
  6836. "style": {
  6837. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6838. },
  6839. "name": "电子白板",
  6840. "forms": _formdiv,
  6841. "click": function () {
  6842. U.MD.D.I.openApplication(str, obj, info);
  6843. }
  6844. }
  6845. break;
  6846. case "mind":
  6847. aTool = 3;
  6848. _iframe = $$("iframe", {
  6849. "frameborder": "no",
  6850. "border": "0",
  6851. "scrolling ": "no",
  6852. "style": {
  6853. "cssText": "border:0;width:100%;height:100%"
  6854. },
  6855. "src": "/kityminder-editor/dist/index.html"
  6856. })
  6857. _box.appendChild(_iframe);
  6858. _box.appendChild(_jie);
  6859. _formdiv = new U.UF.UI.form(
  6860. "思维导图-" + _username,
  6861. _box, { //"/jsmind/example/demo.html"
  6862. "id": "mind" + cid + stage + task + tool + _userid,
  6863. "style": {
  6864. "width": "90%",
  6865. "height": "90%",
  6866. "overflow": 'hidden'
  6867. },
  6868. "onresize": function () { }
  6869. }, {
  6870. closecallback: function () { }
  6871. }, {
  6872. "style": {
  6873. "height": "36px"
  6874. }
  6875. }).form; //创建窗体
  6876. _taskbar = {
  6877. "id": str + _formdiv.id,
  6878. "style": {
  6879. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6880. },
  6881. "name": "思维导图",
  6882. "forms": _formdiv,
  6883. "click": function () {
  6884. U.MD.D.I.openApplication(str, obj, info);
  6885. }
  6886. }
  6887. break;
  6888. case "MindMap":
  6889. aTool = 3;
  6890. _iframe = $$("iframe", {
  6891. "frameborder": "no",
  6892. "border": "0",
  6893. "scrolling ": "no",
  6894. "style": {
  6895. "cssText": "border:0;width:100%;height:100%"
  6896. },
  6897. "src": "//cloud.cocorobo.cn/mind/"
  6898. })
  6899. _box.appendChild(_iframe);
  6900. _box.appendChild(_jie);
  6901. _formdiv = new U.UF.UI.form(
  6902. "思维导图-" + _username,
  6903. _box, { //"/jsmind/example/demo.html"
  6904. "id": "mind" + cid + stage + task + tool + _userid,
  6905. "style": {
  6906. "width": "90%",
  6907. "height": "90%",
  6908. "overflow": 'hidden'
  6909. },
  6910. "onresize": function () { }
  6911. }, {
  6912. closecallback: function () { }
  6913. }, {
  6914. "style": {
  6915. "height": "36px"
  6916. }
  6917. }).form; //创建窗体
  6918. _taskbar = {
  6919. "id": str + _formdiv.id,
  6920. "style": {
  6921. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6922. },
  6923. "name": "思维导图",
  6924. "forms": _formdiv,
  6925. "click": function () {
  6926. U.MD.D.I.openApplication(str, obj, info);
  6927. }
  6928. }
  6929. break;
  6930. case "doc":
  6931. aTool = 6;
  6932. _iframe = $$("iframe", {
  6933. "frameborder": "no",
  6934. "border": "0",
  6935. "scrolling ": "no",
  6936. "style": {
  6937. "cssText": "border:0;width:100%;height:100%"
  6938. },
  6939. "src": "/Office/Word/WordEditArea.htm"
  6940. })
  6941. _box.appendChild(_iframe);
  6942. _box.appendChild(_jie);
  6943. _formdiv = new U.UF.UI.form(
  6944. "协同文档-" + _username,
  6945. _box, {
  6946. "id": "doc" + cid + stage + task + tool + _userid,
  6947. "style": {
  6948. "width": "90%",
  6949. "height": "90%",
  6950. "overflow": 'hidden'
  6951. },
  6952. "onresize": function () { }
  6953. }, {
  6954. closecallback: function () { }
  6955. }, {
  6956. "style": {
  6957. "height": "36px"
  6958. }
  6959. }).form; //创建窗体
  6960. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6961. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6962. })
  6963. _taskbar = {
  6964. "id": str + _formdiv.id,
  6965. "style": {
  6966. "backgroundImage": "url(/img/icon/doc.png)"
  6967. },
  6968. "name": "协同文档",
  6969. "forms": _formdiv,
  6970. "click": function () {
  6971. U.MD.D.I.openApplication(str, obj, info);
  6972. }
  6973. }
  6974. break;
  6975. case "mindNetwork": //好友打开
  6976. aTool = 7;
  6977. _iframe = $$("iframe", {
  6978. "webkitallowfullscreen": "",
  6979. "mozallowfullscreen": "",
  6980. "allowfullscreen": "",
  6981. "frameborder": "no",
  6982. "border": "0",
  6983. "scrolling ": "no",
  6984. "style": {
  6985. "cssText": "border:0; width:100%; height:100%;"
  6986. },
  6987. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6988. })
  6989. _box.appendChild(_iframe);
  6990. _box.appendChild(_jie);
  6991. _formdiv = new U.UF.UI.form(
  6992. "思维网格-" + _username,
  6993. _box, {
  6994. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6995. "style": {
  6996. "width": "90%",
  6997. "height": "90%",
  6998. "overflow": 'hidden'
  6999. },
  7000. "onresize": function () { }
  7001. }, {
  7002. closecallback: function () { }
  7003. }, {
  7004. "style": {
  7005. "height": "36px"
  7006. }
  7007. }).form; //创建窗体
  7008. _taskbar = {
  7009. "id": str + _formdiv.id,
  7010. "style": {
  7011. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7012. },
  7013. "name": "思维网格",
  7014. "forms": _formdiv,
  7015. "click": function () {
  7016. U.MD.D.I.openApplication(str, obj, info);
  7017. }
  7018. }
  7019. break;
  7020. case "courseDesign":
  7021. _iframe = $$("iframe", {
  7022. "webkitallowfullscreen": "",
  7023. "mozallowfullscreen": "",
  7024. "allowfullscreen": "",
  7025. "frameborder": "no",
  7026. "border": "0",
  7027. "scrolling ": "no",
  7028. "style": {
  7029. "cssText": "border:0; width:100%; height:100%;"
  7030. },
  7031. "src": "/course-design-vue"
  7032. })
  7033. _box.appendChild(_iframe);
  7034. _box.appendChild(_jie);
  7035. _formdiv = new U.UF.UI.form(
  7036. "项目设计-" + _username,
  7037. _box, {
  7038. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7039. "style": {
  7040. "width": "90%",
  7041. "height": "90%",
  7042. "overflow": 'hidden'
  7043. },
  7044. "onresize": function () { }
  7045. }, {
  7046. closecallback: function () { }
  7047. }, {
  7048. "style": {
  7049. "height": "36px"
  7050. }
  7051. }).form; //创建窗体
  7052. _taskbar = {
  7053. "id": str + _formdiv.id,
  7054. "style": {
  7055. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7056. },
  7057. "name": "项目设计",
  7058. "forms": _formdiv,
  7059. "click": function () {
  7060. U.MD.D.I.openApplication(str, obj, info);
  7061. }
  7062. }
  7063. break;
  7064. }
  7065. const script1 = document.createElement("script");
  7066. script1.type = "text/javascript";
  7067. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7068. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7069. const script2 = document.createElement("script");
  7070. script2.type = "text/javascript";
  7071. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7072. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7073. const script3 = document.createElement("script");
  7074. script3.type = "text/javascript";
  7075. script3.charset = "UTF-8";
  7076. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7077. const script4 = document.createElement("script");
  7078. script4.type = "text/javascript";
  7079. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7080. script4.src = window.origin + "/js/Common/jietu2E.js";
  7081. if (_iframe) {
  7082. if (str == 'doc') {
  7083. _iframe = _formdiv.querySelector('iframe')
  7084. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7085. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7086. _iframe.contentWindow.document.body.appendChild(script1);
  7087. _iframe.contentWindow.document.body.appendChild(script2);
  7088. // _iframe.contentWindow.document.body.appendChild(script3);
  7089. _iframe.contentWindow.document.body.appendChild(script4);
  7090. })
  7091. if (onloadListener) {
  7092. _iframe.contentDocument.location.reload()
  7093. } else {
  7094. _iframe.contentDocument.location.reload()
  7095. }
  7096. } else if (str == 'courseDesign') {
  7097. U.UF.DL.iframeLoad(_iframe, function () {
  7098. // _iframe.contentWindow.U.MD.O.W.load();
  7099. // _iframe.contentWindow.document.body.appendChild(script1);
  7100. _iframe.contentWindow.document.body.appendChild(script2);
  7101. _iframe.contentWindow.document.body.appendChild(script4);
  7102. })
  7103. } else if (str == 'mind') {
  7104. _iframe = _formdiv.querySelector('iframe')
  7105. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7106. //
  7107. _iframe.contentWindow.document.body.appendChild(script1);
  7108. _iframe.contentWindow.document.body.appendChild(script2);
  7109. _iframe.contentWindow.document.body.appendChild(script4);
  7110. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7111. })
  7112. if (onloadListener) {
  7113. _iframe.contentDocument.location.reload()
  7114. } else {
  7115. _iframe.contentDocument.location.reload()
  7116. }
  7117. } else if (str == 'whiteboard') {
  7118. _iframe = _formdiv.querySelector('iframe')
  7119. let onloadListener = _iframe.onload = () => {
  7120. _iframe.contentWindow.document.body.appendChild(script1);
  7121. _iframe.contentWindow.document.body.appendChild(script2);
  7122. _iframe.contentWindow.document.body.appendChild(script4);
  7123. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7124. };
  7125. if (onloadListener) {
  7126. _iframe.contentDocument.location.reload()
  7127. } else {
  7128. _iframe.contentDocument.location.reload()
  7129. }
  7130. } else {
  7131. _iframe.onload = () => {
  7132. _iframe.contentWindow.document.body.appendChild(script1);
  7133. _iframe.contentWindow.document.body.appendChild(script2);
  7134. // _iframe.contentWindow.document.body.appendChild(script3);
  7135. _iframe.contentWindow.document.body.appendChild(script4);
  7136. };
  7137. }
  7138. _jie.onclick = async () => {
  7139. let text = ''
  7140. if (aTool == 1) {
  7141. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7142. } else if (aTool == 6) {
  7143. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7144. } else if (aTool == 3) {
  7145. text = await U.MD.D.I.getEditorContent(_iframe);
  7146. }
  7147. _loading.style.display = 'flex'
  7148. console.log(_loading);
  7149. var _ajs = _iframe.contentWindow.document.createElement("script");
  7150. _ajs.type = "text/javascript";
  7151. _ajs.innerHTML =
  7152. // 'console.log(' + _loading + ');\n' +
  7153. 'var _js = document.createElement("script");\n' +
  7154. '_js.type="text/javascript";\n' +
  7155. '_js.charset="UTF-8";\n' +
  7156. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7157. "_js.onload = function(){\n" +
  7158. ' var a = document.getElementsByTagName("img")\n' +
  7159. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7160. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7161. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7162. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7163. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7164. "beforeUpload_shishi(file," +
  7165. "'" +
  7166. _userid +
  7167. "'" +
  7168. ", " +
  7169. "'" +
  7170. _cid +
  7171. "'" +
  7172. ", " +
  7173. "'" +
  7174. _stage +
  7175. "'" +
  7176. ", " +
  7177. "'" +
  7178. _task +
  7179. "'" +
  7180. ", " +
  7181. "'" +
  7182. _tool +
  7183. "'" +
  7184. ", " +
  7185. "'" +
  7186. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7187. "'" +
  7188. ", " +
  7189. "'" +
  7190. aTool +
  7191. "'" +
  7192. ", " +
  7193. "`" +
  7194. text +
  7195. "`" +
  7196. ")\n" +
  7197. " });\n" +
  7198. "}\n" +
  7199. "document.head.appendChild(_js);\n";
  7200. _iframe.contentWindow.document.head.appendChild(_ajs);
  7201. }
  7202. }
  7203. }
  7204. U.MD.D.I.getEditorContent = function (iframe) {
  7205. return new Promise((resolve, reject) => {
  7206. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7207. console.log(content);
  7208. resolve(content)
  7209. });
  7210. });
  7211. }
  7212. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7213. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7214. // if (res.value[0].length > 0) {
  7215. // // resolve(res.value[0][0].text);
  7216. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7217. // $(fileInput).val('');
  7218. // });
  7219. // }
  7220. // }, [], { "type": "GET", "withCredentials": true });
  7221. var xmlhttp;
  7222. var Mac, Sn, DeviceId
  7223. if (window.XMLHttpRequest) {
  7224. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7225. xmlhttp = new XMLHttpRequest();
  7226. } else {
  7227. // IE6, IE5 浏览器执行代码
  7228. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7229. }
  7230. xmlhttp.onreadystatechange = function () {
  7231. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7232. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7233. // resolve(res.value[0][0].text);
  7234. if (type == '2') {
  7235. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7236. } else if (type == '3') {
  7237. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7238. }
  7239. } else {
  7240. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7241. }
  7242. }
  7243. }
  7244. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7245. xmlhttp.send();
  7246. }
  7247. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7248. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7249. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7250. _userinfo = US.userInfo, //登录用户信息
  7251. _userid = US.userInfo.userid //登录用户id
  7252. let _iframe;
  7253. let _cid = cid,
  7254. _stage = stage,
  7255. _task = task,
  7256. _tool = tool;
  7257. var _jie = $$("div", {
  7258. "style": {
  7259. "position": "absolute",
  7260. "bottom": "50px",
  7261. "right": "50px",
  7262. "zIndex": "9999",
  7263. "backgroundColor": "#2268bc",
  7264. "color": "#fff",
  7265. "padding": "12px 20px",
  7266. "cursor": "pointer",
  7267. "borderRadius": "4px",
  7268. },
  7269. "innerHTML": "确认并提交"
  7270. })
  7271. let aTool = ''
  7272. let _loading = document.createElement('div')
  7273. _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;"
  7274. // _loading.id = "";
  7275. let _lchild = document.createElement('div')
  7276. let _limg = document.createElement('img')
  7277. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7278. _limg.style = "width: 26px;margin-right: 10px;"
  7279. _lchild.appendChild(_limg)
  7280. let _lspan = document.createElement('span')
  7281. _lspan.innerHTML = "上传中..."
  7282. _lchild.appendChild(_lspan)
  7283. _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%);"
  7284. _loading.appendChild(_lchild)
  7285. var _box = $$('div', {
  7286. "style": {
  7287. "position": "relative",
  7288. "width": "100%",
  7289. "height": "100%",
  7290. },
  7291. })
  7292. _box.appendChild(_loading)
  7293. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7294. switch (str) {
  7295. case "whiteboard":
  7296. aTool = 1;
  7297. _iframe = $$("iframe", {
  7298. "frameborder": "no",
  7299. "border": "0",
  7300. "scrolling ": "no",
  7301. "style": {
  7302. "cssText": "border:0;width:100%;height:100%"
  7303. },
  7304. "src": "https://beta.iwb.cocorobo.cn/"
  7305. })
  7306. _box.appendChild(_iframe);
  7307. _box.appendChild(_jie);
  7308. _formdiv = new U.UF.UI.form(
  7309. "电子白板",
  7310. _box, {
  7311. "id": "whiteboards" + cid + stage + task + tool,
  7312. "style": {
  7313. "width": "90%",
  7314. "height": "90%",
  7315. "overflow": 'hidden'
  7316. },
  7317. "onresize": function () { }
  7318. }, {
  7319. closecallback: function () { }
  7320. }, {
  7321. "style": {
  7322. "height": "36px"
  7323. }
  7324. }).form; //创建窗体
  7325. _taskbar = {
  7326. "id": str + _formdiv.id,
  7327. "style": {
  7328. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7329. },
  7330. "name": "电子白板",
  7331. "forms": _formdiv,
  7332. "click": function () {
  7333. U.MD.D.I.openApplication(str, obj, info);
  7334. }
  7335. }
  7336. break;
  7337. case "mind":
  7338. aTool = 3;
  7339. _iframe = $$("iframe", {
  7340. "frameborder": "no",
  7341. "border": "0",
  7342. "scrolling ": "no",
  7343. "style": {
  7344. "cssText": "border:0;width:100%;height:100%"
  7345. },
  7346. "src": "/kityminder-editor/dist/index.html"
  7347. });
  7348. _box.appendChild(_iframe);
  7349. _box.appendChild(_jie);
  7350. _formdiv = new U.UF.UI.form(
  7351. "思维导图",
  7352. _box, { //"/jsmind/example/demo.html"
  7353. "id": "minds" + cid + stage + task + tool,
  7354. "style": {
  7355. "width": "90%",
  7356. "height": "90%",
  7357. "overflow": 'hidden'
  7358. },
  7359. "onresize": function () { }
  7360. }, {
  7361. closecallback: function () { }
  7362. }, {
  7363. "style": {
  7364. "height": "36px"
  7365. }
  7366. }).form; //创建窗体
  7367. _taskbar = {
  7368. "id": str + _formdiv.id,
  7369. "style": {
  7370. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7371. },
  7372. "name": "思维导图",
  7373. "forms": _formdiv,
  7374. "click": function () {
  7375. U.MD.D.I.openApplication(str, obj, info);
  7376. }
  7377. }
  7378. break;
  7379. case "doc":
  7380. aTool = 6;
  7381. _iframe = $$("iframe", {
  7382. "frameborder": "no",
  7383. "border": "0",
  7384. "scrolling ": "no",
  7385. "style": {
  7386. "cssText": "border:0;width:100%;height:100%"
  7387. },
  7388. "src": "/Office/Word/WordEditArea.htm"
  7389. })
  7390. _box.appendChild(_iframe);
  7391. _box.appendChild(_jie);
  7392. _formdiv = new U.UF.UI.form(
  7393. "协同文档",
  7394. _box, {
  7395. "id": "docs" + cid + stage + task + tool,
  7396. "style": {
  7397. "width": "90%",
  7398. "height": "90%",
  7399. "overflow": 'hidden'
  7400. },
  7401. "onresize": function () { }
  7402. }, {
  7403. closecallback: function () { }
  7404. }, {
  7405. "style": {
  7406. "height": "36px"
  7407. }
  7408. }).form; //创建窗体
  7409. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7410. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7411. })
  7412. _taskbar = {
  7413. "id": str + _formdiv.id,
  7414. "style": {
  7415. "backgroundImage": "url(/img/icon/doc.png)"
  7416. },
  7417. "name": "协同文档",
  7418. "forms": _formdiv,
  7419. "click": function () {
  7420. U.MD.D.I.openApplication(str, obj, info);
  7421. }
  7422. }
  7423. break;
  7424. }
  7425. const script1 = document.createElement("script");
  7426. script1.type = "text/javascript";
  7427. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7428. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7429. const script2 = document.createElement("script");
  7430. script2.type = "text/javascript";
  7431. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7432. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7433. const script3 = document.createElement("script");
  7434. script3.type = "text/javascript";
  7435. script3.charset = "UTF-8";
  7436. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7437. const script4 = document.createElement("script");
  7438. script4.type = "text/javascript";
  7439. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7440. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7441. if (_iframe) {
  7442. if (str == 'doc') {
  7443. _iframe = _formdiv.querySelector('iframe')
  7444. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7445. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7446. _iframe.contentWindow.document.body.appendChild(script1);
  7447. _iframe.contentWindow.document.body.appendChild(script2);
  7448. // _iframe.contentWindow.document.body.appendChild(script3);
  7449. _iframe.contentWindow.document.body.appendChild(script4);
  7450. })
  7451. if (onloadListener) {
  7452. _iframe.contentDocument.location.reload()
  7453. } else {
  7454. _iframe.contentDocument.location.reload()
  7455. }
  7456. } else if (str == 'mind') {
  7457. _iframe = _formdiv.querySelector('iframe')
  7458. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7459. _iframe.contentWindow.document.body.appendChild(script1);
  7460. _iframe.contentWindow.document.body.appendChild(script2);
  7461. _iframe.contentWindow.document.body.appendChild(script4);
  7462. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7463. })
  7464. if (onloadListener) {
  7465. _iframe.contentDocument.location.reload()
  7466. } else {
  7467. _iframe.contentDocument.location.reload()
  7468. }
  7469. } else {
  7470. _iframe.onload = () => {
  7471. _iframe.contentWindow.document.body.appendChild(script1);
  7472. _iframe.contentWindow.document.body.appendChild(script2);
  7473. // _iframe.contentWindow.document.body.appendChild(script3);
  7474. _iframe.contentWindow.document.body.appendChild(script4);
  7475. };
  7476. }
  7477. _jie.onclick = async () => {
  7478. let text = ''
  7479. if (aTool == 6) {
  7480. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7481. } else if (aTool == 3) {
  7482. text = await U.MD.D.I.getEditorContent(_iframe);
  7483. }
  7484. _loading.style.display = 'flex'
  7485. console.log(_loading);
  7486. var _ajs = _iframe.contentWindow.document.createElement("script");
  7487. _ajs.type = "text/javascript";
  7488. _ajs.innerHTML =
  7489. // 'console.log(' + _loading + ');\n' +
  7490. 'var _js = document.createElement("script");\n' +
  7491. '_js.type="text/javascript";\n' +
  7492. '_js.charset="UTF-8";\n' +
  7493. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7494. "_js.onload = function(){\n" +
  7495. ' var a = document.getElementsByTagName("img")\n' +
  7496. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7497. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7498. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7499. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7500. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7501. "beforeUpload_shishi(file," +
  7502. "'" +
  7503. _userid +
  7504. "'" +
  7505. ", " +
  7506. "'" +
  7507. _cid +
  7508. "'" +
  7509. ", " +
  7510. "'" +
  7511. _stage +
  7512. "'" +
  7513. ", " +
  7514. "'" +
  7515. _task +
  7516. "'" +
  7517. ", " +
  7518. "'" +
  7519. _tool +
  7520. "'" +
  7521. ", " +
  7522. "'" +
  7523. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7524. "'" +
  7525. ", " +
  7526. "'" +
  7527. aTool +
  7528. "'" +
  7529. ", " +
  7530. "`" +
  7531. text +
  7532. "`" +
  7533. ")\n" +
  7534. " });\n" +
  7535. "}\n" +
  7536. "document.head.appendChild(_js);\n";
  7537. _iframe.contentWindow.document.head.appendChild(_ajs);
  7538. }
  7539. }
  7540. //U.MD.D.I.openClick(str);
  7541. //如果有任务栏信息
  7542. // if (_taskbar) {
  7543. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7544. // }
  7545. }
  7546. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7547. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7548. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7549. _userinfo = US.userInfo, //登录用户信息
  7550. _userid = US.userInfo.userid //登录用户id
  7551. let _iframe;
  7552. let _cid = cid,
  7553. _stage = stage,
  7554. _task = task,
  7555. _tool = tool;
  7556. var _jie = $$("div", {
  7557. "style": {
  7558. "position": "absolute",
  7559. "bottom": "50px",
  7560. "right": "50px",
  7561. "zIndex": "9999",
  7562. "backgroundColor": "#2268bc",
  7563. "color": "#fff",
  7564. "padding": "12px 20px",
  7565. "cursor": "pointer",
  7566. "borderRadius": "4px",
  7567. },
  7568. "innerHTML": "确认并提交"
  7569. })
  7570. let aTool = ''
  7571. let _loading = document.createElement('div')
  7572. _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;"
  7573. // _loading.id = "";
  7574. let _lchild = document.createElement('div')
  7575. let _limg = document.createElement('img')
  7576. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7577. _limg.style = "width: 26px;margin-right: 10px;"
  7578. _lchild.appendChild(_limg)
  7579. let _lspan = document.createElement('span')
  7580. _lspan.innerHTML = "上传中..."
  7581. _lchild.appendChild(_lspan)
  7582. _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%);"
  7583. _loading.appendChild(_lchild)
  7584. var _box = $$('div', {
  7585. "style": {
  7586. "position": "relative",
  7587. "width": "100%",
  7588. "height": "100%",
  7589. },
  7590. })
  7591. _box.appendChild(_loading)
  7592. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7593. switch (str) {
  7594. case "whiteboard":
  7595. aTool = 1;
  7596. _iframe = $$("iframe", {
  7597. "frameborder": "no",
  7598. "border": "0",
  7599. "scrolling ": "no",
  7600. "style": {
  7601. "cssText": "border:0;width:100%;height:100%"
  7602. },
  7603. "src": "https://beta.iwb.cocorobo.cn/"
  7604. })
  7605. _box.appendChild(_iframe);
  7606. _box.appendChild(_jie);
  7607. _formdiv = new U.UF.UI.form(
  7608. "电子白板",
  7609. _box, {
  7610. "id": "whiteboards" + cid + stage + task + tool,
  7611. "style": {
  7612. "width": "90%",
  7613. "height": "90%",
  7614. "overflow": 'hidden'
  7615. },
  7616. "onresize": function () { }
  7617. }, {
  7618. closecallback: function () { }
  7619. }, {
  7620. "style": {
  7621. "height": "36px"
  7622. }
  7623. }).form; //创建窗体
  7624. _taskbar = {
  7625. "id": str + _formdiv.id,
  7626. "style": {
  7627. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7628. },
  7629. "name": "电子白板",
  7630. "forms": _formdiv,
  7631. "click": function () {
  7632. U.MD.D.I.openApplication(str, obj, info);
  7633. }
  7634. }
  7635. break;
  7636. case "mind":
  7637. aTool = 3;
  7638. _iframe = $$("iframe", {
  7639. "frameborder": "no",
  7640. "border": "0",
  7641. "scrolling ": "no",
  7642. "style": {
  7643. "cssText": "border:0;width:100%;height:100%"
  7644. },
  7645. "src": "/kityminder-editor/dist/index.html"
  7646. });
  7647. _box.appendChild(_iframe);
  7648. _box.appendChild(_jie);
  7649. _formdiv = new U.UF.UI.form(
  7650. "思维导图",
  7651. _box, { //"/jsmind/example/demo.html"
  7652. "id": "minds" + cid + stage + task + tool,
  7653. "style": {
  7654. "width": "90%",
  7655. "height": "90%",
  7656. "overflow": 'hidden'
  7657. },
  7658. "onresize": function () { }
  7659. }, {
  7660. closecallback: function () { }
  7661. }, {
  7662. "style": {
  7663. "height": "36px"
  7664. }
  7665. }).form; //创建窗体
  7666. _taskbar = {
  7667. "id": str + _formdiv.id,
  7668. "style": {
  7669. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7670. },
  7671. "name": "思维导图",
  7672. "forms": _formdiv,
  7673. "click": function () {
  7674. U.MD.D.I.openApplication(str, obj, info);
  7675. }
  7676. }
  7677. break;
  7678. case "doc":
  7679. aTool = 6;
  7680. _iframe = $$("iframe", {
  7681. "frameborder": "no",
  7682. "border": "0",
  7683. "scrolling ": "no",
  7684. "style": {
  7685. "cssText": "border:0;width:100%;height:100%"
  7686. },
  7687. "src": "/Office/Word/WordEditArea.htm"
  7688. })
  7689. _box.appendChild(_iframe);
  7690. _box.appendChild(_jie);
  7691. _formdiv = new U.UF.UI.form(
  7692. "协同文档",
  7693. _box, {
  7694. "id": "docs" + cid + stage + task + tool,
  7695. "style": {
  7696. "width": "90%",
  7697. "height": "90%",
  7698. "overflow": 'hidden'
  7699. },
  7700. "onresize": function () { }
  7701. }, {
  7702. closecallback: function () { }
  7703. }, {
  7704. "style": {
  7705. "height": "36px"
  7706. }
  7707. }).form; //创建窗体
  7708. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7709. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7710. })
  7711. _taskbar = {
  7712. "id": str + _formdiv.id,
  7713. "style": {
  7714. "backgroundImage": "url(/img/icon/doc.png)"
  7715. },
  7716. "name": "协同文档",
  7717. "forms": _formdiv,
  7718. "click": function () {
  7719. U.MD.D.I.openApplication(str, obj, info);
  7720. }
  7721. }
  7722. break;
  7723. }
  7724. const script1 = document.createElement("script");
  7725. script1.type = "text/javascript";
  7726. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7727. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7728. const script2 = document.createElement("script");
  7729. script2.type = "text/javascript";
  7730. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7731. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7732. const script3 = document.createElement("script");
  7733. script3.type = "text/javascript";
  7734. script3.charset = "UTF-8";
  7735. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7736. const script4 = document.createElement("script");
  7737. script4.type = "text/javascript";
  7738. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7739. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7740. if (_iframe) {
  7741. if (str == 'doc') {
  7742. _iframe = _formdiv.querySelector('iframe')
  7743. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7744. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7745. _iframe.contentWindow.document.body.appendChild(script1);
  7746. _iframe.contentWindow.document.body.appendChild(script2);
  7747. // _iframe.contentWindow.document.body.appendChild(script3);
  7748. _iframe.contentWindow.document.body.appendChild(script4);
  7749. })
  7750. if (onloadListener) {
  7751. _iframe.contentDocument.location.reload()
  7752. } else {
  7753. _iframe.contentDocument.location.reload()
  7754. }
  7755. } else if (str == 'mind') {
  7756. _iframe = _formdiv.querySelector('iframe')
  7757. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7758. _iframe.contentWindow.document.body.appendChild(script1);
  7759. _iframe.contentWindow.document.body.appendChild(script2);
  7760. _iframe.contentWindow.document.body.appendChild(script4);
  7761. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7762. })
  7763. if (onloadListener) {
  7764. _iframe.contentDocument.location.reload()
  7765. } else {
  7766. _iframe.contentDocument.location.reload()
  7767. }
  7768. } else {
  7769. _iframe.onload = () => {
  7770. _iframe.contentWindow.document.body.appendChild(script1);
  7771. _iframe.contentWindow.document.body.appendChild(script2);
  7772. // _iframe.contentWindow.document.body.appendChild(script3);
  7773. _iframe.contentWindow.document.body.appendChild(script4);
  7774. };
  7775. }
  7776. _jie.onclick = async () => {
  7777. let text = ''
  7778. if (aTool == 6) {
  7779. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7780. } else if (aTool == 3) {
  7781. text = await U.MD.D.I.getEditorContent(_iframe);
  7782. }
  7783. _loading.style.display = 'flex'
  7784. console.log(_loading);
  7785. var _ajs = _iframe.contentWindow.document.createElement("script");
  7786. _ajs.type = "text/javascript";
  7787. _ajs.innerHTML =
  7788. // 'console.log(' + _loading + ');\n' +
  7789. 'var _js = document.createElement("script");\n' +
  7790. '_js.type="text/javascript";\n' +
  7791. '_js.charset="UTF-8";\n' +
  7792. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7793. "_js.onload = function(){\n" +
  7794. ' var a = document.getElementsByTagName("img")\n' +
  7795. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7796. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7797. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7798. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7799. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7800. "beforeUpload_shishi(file," +
  7801. "'" +
  7802. _userid +
  7803. "'" +
  7804. ", " +
  7805. "'" +
  7806. _cid +
  7807. "'" +
  7808. ", " +
  7809. "'" +
  7810. _stage +
  7811. "'" +
  7812. ", " +
  7813. "'" +
  7814. _task +
  7815. "'" +
  7816. ", " +
  7817. "'" +
  7818. _tool +
  7819. "'" +
  7820. ", " +
  7821. "'" +
  7822. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7823. "'" +
  7824. ", " +
  7825. "'" +
  7826. aTool +
  7827. "'" +
  7828. ", " +
  7829. "`" +
  7830. text +
  7831. "`" +
  7832. ")\n" +
  7833. " });\n" +
  7834. "}\n" +
  7835. "document.head.appendChild(_js);\n";
  7836. _iframe.contentWindow.document.head.appendChild(_ajs);
  7837. }
  7838. }
  7839. //U.MD.D.I.openClick(str);
  7840. //如果有任务栏信息
  7841. // if (_taskbar) {
  7842. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7843. // }
  7844. }
  7845. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7846. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7847. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7848. _userinfo = US.userInfo, //登录用户信息
  7849. _userid = US.userInfo.userid //登录用户id
  7850. let _iframe;
  7851. let _cid = cid,
  7852. _stage = stage,
  7853. _task = task,
  7854. _tool = tool;
  7855. var _jie = $$("div", {
  7856. "style": {
  7857. "position": "absolute",
  7858. "bottom": "50px",
  7859. "right": "50px",
  7860. "zIndex": "9999",
  7861. "backgroundColor": "#2268bc",
  7862. "color": "#fff",
  7863. "padding": "12px 20px",
  7864. "cursor": "pointer",
  7865. "borderRadius": "4px",
  7866. },
  7867. "innerHTML": "上传模板"
  7868. })
  7869. let aTool = ''
  7870. let _loading = document.createElement('div')
  7871. _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;"
  7872. // _loading.id = "";
  7873. let _lchild = document.createElement('div')
  7874. let _limg = document.createElement('img')
  7875. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7876. _limg.style = "width: 26px;margin-right: 10px;"
  7877. _lchild.appendChild(_limg)
  7878. let _lspan = document.createElement('span')
  7879. _lspan.innerHTML = "上传中..."
  7880. _lchild.appendChild(_lspan)
  7881. _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%);"
  7882. _loading.appendChild(_lchild)
  7883. var _box = $$('div', {
  7884. "style": {
  7885. "position": "relative",
  7886. "width": "100%",
  7887. "height": "100%",
  7888. },
  7889. })
  7890. _box.appendChild(_loading)
  7891. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7892. switch (str) {
  7893. case "whiteboard":
  7894. aTool = 1;
  7895. _iframe = $$("iframe", {
  7896. "frameborder": "no",
  7897. "border": "0",
  7898. "scrolling ": "no",
  7899. "style": {
  7900. "cssText": "border:0;width:100%;height:100%"
  7901. },
  7902. "src": "https://beta.iwb.cocorobo.cn/"
  7903. })
  7904. _box.appendChild(_iframe);
  7905. _box.appendChild(_jie);
  7906. _formdiv = new U.UF.UI.form(
  7907. "电子白板",
  7908. _box, {
  7909. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7910. "style": {
  7911. "width": "90%",
  7912. "height": "90%",
  7913. "overflow": 'hidden'
  7914. },
  7915. "onresize": function () { }
  7916. }, {
  7917. closecallback: function () { }
  7918. }, {
  7919. "style": {
  7920. "height": "36px"
  7921. }
  7922. }).form; //创建窗体
  7923. _taskbar = {
  7924. "id": str + _formdiv.id,
  7925. "style": {
  7926. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7927. },
  7928. "name": "电子白板",
  7929. "forms": _formdiv,
  7930. "click": function () {
  7931. U.MD.D.I.openApplication(str, obj, info);
  7932. }
  7933. }
  7934. break;
  7935. case "mind":
  7936. aTool = 3;
  7937. _iframe = $$("iframe", {
  7938. "frameborder": "no",
  7939. "border": "0",
  7940. "scrolling ": "no",
  7941. "style": {
  7942. "cssText": "border:0;width:100%;height:100%"
  7943. },
  7944. "src": "/kityminder-editor/dist/index.html"
  7945. });
  7946. _box.appendChild(_iframe);
  7947. _box.appendChild(_jie);
  7948. _formdiv = new U.UF.UI.form(
  7949. "思维导图",
  7950. _box, { //"/jsmind/example/demo.html"
  7951. "id": "minds_Yu" + cid + stage + task + tool,
  7952. "style": {
  7953. "width": "90%",
  7954. "height": "90%",
  7955. "overflow": 'hidden'
  7956. },
  7957. "onresize": function () { }
  7958. }, {
  7959. closecallback: function () { }
  7960. }, {
  7961. "style": {
  7962. "height": "36px"
  7963. }
  7964. }).form; //创建窗体
  7965. _taskbar = {
  7966. "id": str + _formdiv.id,
  7967. "style": {
  7968. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7969. },
  7970. "name": "思维导图",
  7971. "forms": _formdiv,
  7972. "click": function () {
  7973. U.MD.D.I.openApplication(str, obj, info);
  7974. }
  7975. }
  7976. break;
  7977. case "doc":
  7978. aTool = 6;
  7979. _iframe = $$("iframe", {
  7980. "frameborder": "no",
  7981. "border": "0",
  7982. "scrolling ": "no",
  7983. "style": {
  7984. "cssText": "border:0;width:100%;height:100%"
  7985. },
  7986. "src": "/Office/Word/WordEditArea.htm"
  7987. })
  7988. _box.appendChild(_iframe);
  7989. _box.appendChild(_jie);
  7990. _formdiv = new U.UF.UI.form(
  7991. "协同文档",
  7992. _box, {
  7993. "id": "docs_Yu" + cid + stage + task + tool,
  7994. "style": {
  7995. "width": "90%",
  7996. "height": "90%",
  7997. "overflow": 'hidden'
  7998. },
  7999. "onresize": function () { }
  8000. }, {
  8001. closecallback: function () { }
  8002. }, {
  8003. "style": {
  8004. "height": "36px"
  8005. }
  8006. }).form; //创建窗体
  8007. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8008. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8009. })
  8010. _taskbar = {
  8011. "id": str + _formdiv.id,
  8012. "style": {
  8013. "backgroundImage": "url(/img/icon/doc.png)"
  8014. },
  8015. "name": "协同文档",
  8016. "forms": _formdiv,
  8017. "click": function () {
  8018. U.MD.D.I.openApplication(str, obj, info);
  8019. }
  8020. }
  8021. break;
  8022. case "CocoPi":
  8023. aTool = 57;
  8024. _iframe = $$("iframe", {
  8025. "allowpaymentrequest": "allowpaymentrequest",
  8026. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8027. "webkitallowfullscreen": "",
  8028. "mozallowfullscreen": "",
  8029. "frameborder": "no",
  8030. "border": "0",
  8031. "scrolling ": "no",
  8032. "style": {
  8033. "cssText": "border:0;width:100%;height:100%"
  8034. },
  8035. "src": "https://pi.cocorobo.cn/"
  8036. })
  8037. _box.appendChild(_iframe);
  8038. _box.appendChild(_jie);
  8039. _formdiv = new U.UF.UI.form(
  8040. "CocoPi",
  8041. _box, {
  8042. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8043. "style": {
  8044. "width": "90%",
  8045. "height": "90%",
  8046. "overflow": 'hidden'
  8047. },
  8048. "onresize": function () { }
  8049. }, {
  8050. closecallback: function () { }
  8051. }, {
  8052. "style": {
  8053. "height": "36px"
  8054. }
  8055. }).form; //创建窗体
  8056. _taskbar = {
  8057. "id": str + _formdiv.id,
  8058. "style": {
  8059. "backgroundImage": "url(/img/icon/cocopi.png)"
  8060. },
  8061. "name": "CocoPi",
  8062. "forms": _formdiv,
  8063. "click": function () {
  8064. U.MD.D.I.openApplication(str, obj, info);
  8065. }
  8066. }
  8067. break;
  8068. }
  8069. if (_iframe) {
  8070. if (str == 'doc') {
  8071. _iframe = _formdiv.querySelector('iframe')
  8072. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8073. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8074. })
  8075. if (onloadListener) {
  8076. _iframe.contentDocument.location.reload()
  8077. } else {
  8078. _iframe.contentDocument.location.reload()
  8079. }
  8080. } else if (str == 'mind') {
  8081. _iframe = _formdiv.querySelector('iframe')
  8082. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8083. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8084. })
  8085. if (onloadListener) {
  8086. _iframe.contentDocument.location.reload()
  8087. } else {
  8088. _iframe.contentDocument.location.reload()
  8089. }
  8090. } else if (str == 'whiteboard') {
  8091. _iframe = _formdiv.querySelector('iframe')
  8092. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8093. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8094. })
  8095. if (onloadListener) {
  8096. _iframe.contentDocument.location.reload()
  8097. } else {
  8098. _iframe.contentDocument.location.reload()
  8099. }
  8100. } else if (str == 'CocoPi') {
  8101. _iframe = _formdiv.querySelector('iframe')
  8102. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8103. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8104. })
  8105. if (onloadListener) {
  8106. _iframe.contentDocument.location.reload()
  8107. } else {
  8108. _iframe.contentDocument.location.reload()
  8109. }
  8110. } else {
  8111. _iframe.onload = () => { };
  8112. }
  8113. _jie.onclick = async () => {
  8114. let text = ''
  8115. let type = '2'
  8116. if (aTool == 1) {
  8117. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8118. type = '3'
  8119. } else if (aTool == 6) {
  8120. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8121. type = '1'
  8122. } else if (aTool == 3) {
  8123. text = await U.MD.D.I.getEditorContent(_iframe);
  8124. type = '2'
  8125. } else if (aTool == 57) {
  8126. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8127. type = '4'
  8128. }
  8129. _loading.style.display = 'flex'
  8130. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8131. }
  8132. }
  8133. //U.MD.D.I.openClick(str);
  8134. //如果有任务栏信息
  8135. // if (_taskbar) {
  8136. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  8137. // }
  8138. }
  8139. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8140. var xmlhttp;
  8141. var Mac, Sn, DeviceId
  8142. if (window.XMLHttpRequest) {
  8143. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8144. xmlhttp = new XMLHttpRequest();
  8145. } else {
  8146. // IE6, IE5 浏览器执行代码
  8147. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8148. }
  8149. xmlhttp.onreadystatechange = function () {
  8150. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8151. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8152. // resolve(res.value[0][0].text);
  8153. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8154. }
  8155. }
  8156. }
  8157. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8158. xmlhttp.send();
  8159. }
  8160. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8161. var xmlhttp;
  8162. var Mac, Sn, DeviceId
  8163. if (window.XMLHttpRequest) {
  8164. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8165. xmlhttp = new XMLHttpRequest();
  8166. } else {
  8167. // IE6, IE5 浏览器执行代码
  8168. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8169. }
  8170. xmlhttp.onreadystatechange = function () {
  8171. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8172. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8173. // resolve(res.value[0][0].text);
  8174. if (type == '2') {
  8175. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8176. } else if (type == '3') {
  8177. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8178. } else if (type == '4') {
  8179. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8180. }
  8181. } else {
  8182. if (type == '2') {
  8183. iframe.contentWindow.editor.minder.importData('json', '')
  8184. } else if (type == '3') {
  8185. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8186. } else if (type == '4') {
  8187. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8188. }
  8189. }
  8190. }
  8191. }
  8192. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8193. xmlhttp.send();
  8194. }
  8195. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8196. var xmlhttp;
  8197. var Mac, Sn, DeviceId
  8198. if (window.XMLHttpRequest) {
  8199. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  8200. xmlhttp = new XMLHttpRequest();
  8201. } else {
  8202. // IE6, IE5 浏览器执行代码
  8203. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8204. }
  8205. xmlhttp.onreadystatechange = function () {
  8206. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8207. if (xmlhttp.response) {
  8208. // resolve(res.value[0][0].text);
  8209. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8210. // $(fileInput).val('');
  8211. // });
  8212. span.innerHTML = '上传成功'
  8213. setTimeout(() => {
  8214. loading.style.display = 'none'
  8215. }, 1000);
  8216. }
  8217. }
  8218. }
  8219. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8220. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8221. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8222. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8223. // 设置请求头,表示请求体的编码格式
  8224. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8225. // 设置请求体,使用url-encoded格式的数据
  8226. }
  8227. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8228. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8229. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8230. _userinfo = US.userInfo, //登录用户信息
  8231. _userid = US.userInfo.userid //登录用户id
  8232. let _iframe;
  8233. let _cid = cid,
  8234. _stage = stage,
  8235. _task = task,
  8236. _tool = tool;
  8237. var _jie = $$("div", {
  8238. "style": {
  8239. "position": "absolute",
  8240. "bottom": "50px",
  8241. "right": "50px",
  8242. "zIndex": "9999",
  8243. "backgroundColor": "#2268bc",
  8244. "color": "#fff",
  8245. "padding": "12px 20px",
  8246. "cursor": "pointer",
  8247. "borderRadius": "4px",
  8248. },
  8249. "innerHTML": "提交作业"
  8250. })
  8251. let aTool = ''
  8252. let _loading = document.createElement('div')
  8253. _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;"
  8254. // _loading.id = "";
  8255. let _lchild = document.createElement('div')
  8256. let _limg = document.createElement('img')
  8257. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8258. _limg.style = "width: 26px;margin-right: 10px;"
  8259. _lchild.appendChild(_limg)
  8260. let _lspan = document.createElement('span')
  8261. _lspan.innerHTML = "上传中..."
  8262. _lchild.appendChild(_lspan)
  8263. _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%);"
  8264. _loading.appendChild(_lchild)
  8265. var _box = $$('div', {
  8266. "style": {
  8267. "position": "relative",
  8268. "width": "100%",
  8269. "height": "100%",
  8270. },
  8271. })
  8272. _box.appendChild(_loading)
  8273. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8274. switch (str) {
  8275. case "CocoPi":
  8276. aTool = 57;
  8277. _iframe = $$("iframe", {
  8278. "allowpaymentrequest": "allowpaymentrequest",
  8279. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8280. "webkitallowfullscreen": "",
  8281. "mozallowfullscreen": "",
  8282. "frameborder": "no",
  8283. "border": "0",
  8284. "scrolling ": "no",
  8285. "style": {
  8286. "cssText": "border:0;width:100%;height:100%"
  8287. },
  8288. "src": "https://pi.cocorobo.cn/"
  8289. })
  8290. _box.appendChild(_iframe);
  8291. _box.appendChild(_jie);
  8292. _formdiv = new U.UF.UI.form(
  8293. "CocoPi",
  8294. _box, {
  8295. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8296. "style": {
  8297. "width": "90%",
  8298. "height": "90%",
  8299. "overflow": 'hidden'
  8300. },
  8301. "onresize": function () { }
  8302. }, {
  8303. closecallback: function () { }
  8304. }, {
  8305. "style": {
  8306. "height": "36px"
  8307. }
  8308. }).form; //创建窗体
  8309. _taskbar = {
  8310. "id": str + _formdiv.id,
  8311. "style": {
  8312. "backgroundImage": "url(/img/icon/cocopi.png)"
  8313. },
  8314. "name": "CocoPi",
  8315. "forms": _formdiv,
  8316. "click": function () {
  8317. U.MD.D.I.openApplication(str, obj, info);
  8318. }
  8319. }
  8320. break;
  8321. }
  8322. if (_iframe) {
  8323. if (str == 'CocoPi') {
  8324. _iframe = _formdiv.querySelector('iframe')
  8325. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8326. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8327. })
  8328. if (onloadListener) {
  8329. _iframe.contentDocument.location.reload()
  8330. } else {
  8331. _iframe.contentDocument.location.reload()
  8332. }
  8333. }
  8334. _jie.onclick = async () => {
  8335. let text = ''
  8336. if (aTool == 57) {
  8337. text = _iframe.contentWindow.getLoadXmlStr()
  8338. }
  8339. _loading.style.display = 'flex'
  8340. console.log(_loading);
  8341. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8342. _loading.style.display = 'none'
  8343. let _div = document.createElement('div')
  8344. _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;"
  8345. let _inner = document.createElement('div')
  8346. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8347. _inner.innerHTML = "上传成功"
  8348. _div.appendChild(_inner)
  8349. _iframe.contentWindow.window.document.body.appendChild(_div)
  8350. _div.onclick = () => {
  8351. _iframe.contentWindow.window.document.body.removeChild(_div)
  8352. }
  8353. setTimeout(() => {
  8354. _iframe.contentWindow.window.document.body.removeChild(_div)
  8355. }, 1000);
  8356. }, [], { "type": "POST", "withCredentials": true });
  8357. }
  8358. }
  8359. }
  8360. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8361. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8362. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8363. _userid = student.userid, //登录用户id
  8364. _username = student.student //用户名字
  8365. let _iframe;
  8366. let _cid = cid,
  8367. _stage = stage,
  8368. _task = task,
  8369. _tool = tool;
  8370. var _jie = $$("div", {
  8371. "style": {
  8372. "position": "absolute",
  8373. "bottom": "50px",
  8374. "right": "50px",
  8375. "zIndex": "9999",
  8376. "backgroundColor": "#2268bc",
  8377. "color": "#fff",
  8378. "padding": "12px 20px",
  8379. "cursor": "pointer",
  8380. "borderRadius": "4px",
  8381. },
  8382. "innerHTML": "提交作业"
  8383. })
  8384. let aTool = ''
  8385. let _loading = document.createElement('div')
  8386. _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;"
  8387. // _loading.id = "";
  8388. let _lchild = document.createElement('div')
  8389. let _limg = document.createElement('img')
  8390. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8391. _limg.style = "width: 26px;margin-right: 10px;"
  8392. _lchild.appendChild(_limg)
  8393. let _lspan = document.createElement('span')
  8394. _lspan.innerHTML = "上传中..."
  8395. _lchild.appendChild(_lspan)
  8396. _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%);"
  8397. _loading.appendChild(_lchild)
  8398. var _box = $$('div', {
  8399. "style": {
  8400. "position": "relative",
  8401. "width": "100%",
  8402. "height": "100%",
  8403. },
  8404. })
  8405. _box.appendChild(_loading)
  8406. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8407. switch (str) {
  8408. case "CocoPi":
  8409. aTool = 57;
  8410. _iframe = $$("iframe", {
  8411. "allowpaymentrequest": "allowpaymentrequest",
  8412. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8413. "webkitallowfullscreen": "",
  8414. "mozallowfullscreen": "",
  8415. "frameborder": "no",
  8416. "border": "0",
  8417. "scrolling ": "no",
  8418. "style": {
  8419. "cssText": "border:0;width:100%;height:100%"
  8420. },
  8421. "src": "https://pi.cocorobo.cn/"
  8422. })
  8423. _box.appendChild(_iframe);
  8424. _box.appendChild(_jie);
  8425. _formdiv = new U.UF.UI.form(
  8426. "CocoPi-" + _username,
  8427. _box, {
  8428. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8429. "style": {
  8430. "width": "90%",
  8431. "height": "90%",
  8432. "overflow": 'hidden'
  8433. },
  8434. "onresize": function () { }
  8435. }, {
  8436. closecallback: function () { }
  8437. }, {
  8438. "style": {
  8439. "height": "36px"
  8440. }
  8441. }).form; //创建窗体
  8442. _taskbar = {
  8443. "id": str + _formdiv.id,
  8444. "style": {
  8445. "backgroundImage": "url(/img/icon/cocopi.png)"
  8446. },
  8447. "name": "CocoPi",
  8448. "forms": _formdiv,
  8449. "click": function () {
  8450. U.MD.D.I.openApplication(str, obj, info);
  8451. }
  8452. }
  8453. break;
  8454. }
  8455. if (_iframe) {
  8456. if (str == 'CocoPi') {
  8457. _iframe = _formdiv.querySelector('iframe')
  8458. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8459. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8460. })
  8461. if (onloadListener) {
  8462. _iframe.contentDocument.location.reload()
  8463. } else {
  8464. _iframe.contentDocument.location.reload()
  8465. }
  8466. }
  8467. _jie.onclick = async () => {
  8468. let text = ''
  8469. if (aTool == 57) {
  8470. text = _iframe.contentWindow.getLoadXmlStr()
  8471. }
  8472. _loading.style.display = 'flex'
  8473. console.log(_loading);
  8474. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8475. _loading.style.display = 'none'
  8476. let _div = document.createElement('div')
  8477. _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;"
  8478. let _inner = document.createElement('div')
  8479. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8480. _inner.innerHTML = "上传成功"
  8481. _div.appendChild(_inner)
  8482. _iframe.contentWindow.window.document.body.appendChild(_div)
  8483. _div.onclick = () => {
  8484. _iframe.contentWindow.window.document.body.removeChild(_div)
  8485. }
  8486. setTimeout(() => {
  8487. _iframe.contentWindow.window.document.body.removeChild(_div)
  8488. }, 1000);
  8489. }, [], { "type": "POST", "withCredentials": true });
  8490. }
  8491. }
  8492. }
  8493. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8494. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8495. if (res.value[0].length > 0) {
  8496. if (atool == 57) {
  8497. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8498. }
  8499. } else {
  8500. if (atool == 57) {
  8501. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8502. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8503. }
  8504. }
  8505. }, [], { "type": "POST", "withCredentials": true });
  8506. }