DeskTop.js 512 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491
  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. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北师大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  423. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  424. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  425. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  426. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  427. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  428. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  429. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  430. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  431. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  432. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  433. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  435. ];
  436. U.MD.D.I.wankeAdminDeskIcon = [
  437. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  438. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  439. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  440. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  441. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  442. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  443. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  448. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  449. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  450. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  451. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  452. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  453. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  454. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  455. ];
  456. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  457. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  458. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  459. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  460. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  461. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  462. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  463. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  464. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  465. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  466. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  469. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  470. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  471. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  472. ];
  473. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  474. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  475. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  476. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  477. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  478. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  479. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  480. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  481. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  482. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  483. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  484. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  487. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  488. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  489. ];
  490. //明德教师桌面图标的全局变量
  491. U.MD.D.I.MingdeTeacherDeskIcon = [
  492. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  493. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  494. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  495. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  496. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  499. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  500. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  501. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  502. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  503. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  504. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  505. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  506. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  507. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  508. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  509. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  510. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  511. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  512. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  513. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  514. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  515. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  516. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  517. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  518. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  519. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  521. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  522. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  523. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  524. ];
  525. //97c4ee8b-d010-4042-986d-e9d3c217264f
  526. //教师桌面图标的全局变量
  527. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  528. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  529. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  530. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  531. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  532. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  533. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  534. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  535. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  536. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  537. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  538. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  540. ];
  541. //福田
  542. U.MD.D.I.futianTeacherDeskIcon = [
  543. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  544. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  548. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  549. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  550. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  551. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  552. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  553. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  554. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  555. ];
  556. //福田
  557. U.MD.D.I.futianAdminDeskIcon = [
  558. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  559. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  560. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  561. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  562. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  563. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  564. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  565. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  566. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  567. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  568. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  569. ];
  570. //lotech
  571. U.MD.D.I.lotechTeacherDeskIcon = [
  572. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  573. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  574. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  575. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  576. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  577. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  578. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  579. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  580. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  581. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  582. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  583. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  584. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  587. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  588. ];
  589. //龙华中心小学教师桌面图标的全局变量
  590. U.MD.D.I.longhuateacherDeskIcon = [
  591. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  592. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  593. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  595. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  596. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  601. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  602. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  603. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  604. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  605. ];
  606. //教科院实小教师桌面图标的全局变量
  607. U.MD.D.I.siesteacherDeskIcon = [
  608. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  609. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  610. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  611. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  612. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  613. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  614. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  615. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  616. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  617. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  618. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  619. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  620. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  621. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  622. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  623. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  627. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  628. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  629. { "Name": "评测看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  630. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  631. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  632. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  633. ];
  634. //教科院实小教师桌面图标的全局变量
  635. U.MD.D.I.siesStudentDeskIcon = [
  636. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  640. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  641. ];
  642. //福田
  643. U.MD.D.I.gdjgTeacherDeskIcon = [
  644. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  647. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  648. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  649. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  652. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  653. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  656. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  657. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  658. ];
  659. //gdjg
  660. U.MD.D.I.gdjgAdminDeskIcon = [
  661. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  662. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  663. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  664. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  665. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  666. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  667. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  668. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  669. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  672. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  673. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  674. ];
  675. //hk
  676. U.MD.D.I.hkteacherDeskIcon = [
  677. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  680. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  686. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  687. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  688. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  689. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  693. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  694. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  695. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  696. ];
  697. //hk
  698. U.MD.D.I.hkStudentDeskIcon = [
  699. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  701. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  702. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  705. ];
  706. //hk
  707. U.MD.D.I.hkaceteacherDeskIcon = [
  708. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  709. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  710. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  711. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  712. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  713. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  714. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  715. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  716. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  717. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  718. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  719. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  720. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  721. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  724. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  725. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  726. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  727. ];
  728. //hk
  729. U.MD.D.I.hkaceStudentDeskIcon = [
  730. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  732. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  733. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //香海正覺蓮社佛教正覺中學
  738. U.MD.D.I.hkZJLSteacherDeskIcon = [
  739. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  742. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  743. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  744. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  745. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  746. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  747. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  748. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  749. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  750. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  751. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  752. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  753. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  754. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  755. ];
  756. //香海正覺蓮社佛教正覺中學
  757. U.MD.D.I.hkZJLSStudentDeskIcon = [
  758. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  760. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  761. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  762. ];
  763. //云海
  764. U.MD.D.I.yunhaiTeacherDeskIcon = [
  765. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  766. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  767. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  768. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  769. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  770. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  771. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  772. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  773. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  774. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  775. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  776. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  777. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  778. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  779. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  781. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  782. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  783. ];
  784. //福田
  785. U.MD.D.I.heyuanTeacherDeskIcon = [
  786. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  787. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  791. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  792. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  793. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  795. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  796. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  797. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  798. ];
  799. //福田
  800. U.MD.D.I.heyuanAdminDeskIcon = [
  801. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  802. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  803. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  804. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  805. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  806. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  807. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  808. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  809. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  811. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  812. ];
  813. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  814. U.MD.D.I.szherTeacherDeskIcon = [
  815. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  816. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  817. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  822. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  825. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiTeacherDeskIcon = [
  829. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  832. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  836. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  837. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  838. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  839. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  840. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  841. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  842. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  843. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  844. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  845. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  846. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  847. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  848. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  849. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  850. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  851. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  852. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  853. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  854. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  855. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  856. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  857. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  858. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  859. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  860. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  861. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  862. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  863. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  865. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  866. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  869. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  870. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  871. ];
  872. //dsei
  873. U.MD.D.I.dseiAdminDeskIcon = [
  874. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  875. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  876. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  877. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  878. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  879. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  880. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  881. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  882. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  883. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  884. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  885. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  886. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  887. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  888. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  889. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  890. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  891. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  892. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  893. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  894. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  895. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  896. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  897. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  898. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  899. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  900. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  901. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  902. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  903. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  904. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  905. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  906. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  907. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  908. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  909. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  910. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  911. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  914. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  915. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  916. ];
  917. //dsei
  918. U.MD.D.I.dseiStudentDeskIcon = [
  919. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  920. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  921. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  922. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  925. ];
  926. //未来教育基地
  927. U.MD.D.I.szjkyTeacherDeskIcon = [
  928. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  929. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  930. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  931. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  932. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  933. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  934. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  935. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  936. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  937. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  938. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  939. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  940. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  943. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  944. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  945. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  946. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  947. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  948. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  949. ];
  950. //未来教育基地
  951. U.MD.D.I.szjkyAdminDeskIcon = [
  952. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  953. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  954. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  955. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  956. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  957. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  958. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  959. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  960. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  961. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  962. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  963. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  964. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  967. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  968. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  969. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  970. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  971. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  972. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  973. ];
  974. //未来教育基地
  975. U.MD.D.I.szjkyStudentDeskIcon = [
  976. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  977. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  978. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  979. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. ];
  981. //成华教育局
  982. U.MD.D.I.chjyjTeacherDeskIcon = [
  983. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  984. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  988. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  989. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  990. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  991. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  992. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  993. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  996. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  997. ];
  998. //成华教育局chjyj
  999. U.MD.D.I.chjyjAdminDeskIcon = [
  1000. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1001. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1002. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1003. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1004. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1005. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1006. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1007. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1008. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1009. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1010. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1011. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1015. ];
  1016. //成华教育局chjyj
  1017. U.MD.D.I.chjyjStudentDeskIcon = [
  1018. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1019. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1020. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1021. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //tpc
  1031. U.MD.D.I.tpcTeacherDeskIcon = [
  1032. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1033. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1034. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1035. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1036. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1037. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1038. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1039. ];
  1040. //tpc
  1041. U.MD.D.I.tpcAdminDeskIcon = [
  1042. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1043. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1044. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1045. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1046. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1047. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1048. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1049. ];
  1050. //THU-IOE
  1051. U.MD.D.I.thuioeTeacherDeskIcon = [
  1052. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1053. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1054. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1055. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1056. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1057. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1058. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1059. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1060. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1061. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1062. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1063. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1064. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1065. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1066. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1067. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1068. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1069. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1070. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1071. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1072. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1073. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1074. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1075. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1076. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1077. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1078. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1079. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1080. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1081. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1082. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1083. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1084. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1085. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1086. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1089. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1090. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1091. ];
  1092. //THU-IOE
  1093. U.MD.D.I.thuioeStudentDeskIcon = [
  1094. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1095. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1096. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1097. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1098. ];
  1099. //jccssyl
  1100. U.MD.D.I.jccssylTeacherDeskIcon = [
  1101. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1102. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1103. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1104. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1105. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1107. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1108. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1109. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1110. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1111. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1112. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1113. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1114. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1117. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1118. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1119. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1120. ];
  1121. //jccssyl
  1122. U.MD.D.I.jccssylStudentDeskIcon = [
  1123. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1124. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1125. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1126. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1127. ];
  1128. //cale
  1129. U.MD.D.I.caleTeacherDeskIcon = [
  1130. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1131. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1132. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1133. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1134. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1135. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1136. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1137. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1138. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1139. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1140. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1141. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1142. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1143. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1144. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1146. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1147. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1148. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1149. ];
  1150. //cale
  1151. U.MD.D.I.caleStudentDeskIcon = [
  1152. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1153. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1154. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1155. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1156. ];
  1157. //lqwmsgzs
  1158. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1159. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1160. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1161. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1162. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1163. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1164. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1165. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1166. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1167. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1168. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1169. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1170. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1171. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1172. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1173. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1174. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1175. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1176. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1177. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1178. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1179. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1180. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1181. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1182. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1183. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1184. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1185. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1186. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1187. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1188. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1189. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1190. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1193. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1194. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1195. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1196. ];
  1197. //lqwmsgzs
  1198. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1199. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1200. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1201. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1203. ];
  1204. //#region 桌面初始化a
  1205. /**
  1206. * 初始化桌面的起始函数
  1207. *
  1208. */
  1209. U.MD.D.I.init = function () {
  1210. if ($("#U_MD_D_K")[0]) {
  1211. //初始化桌面图标
  1212. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1213. // var clickUrl = ':12588/requestIp.php';
  1214. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1215. // U.MD.D.I.Ip = data;
  1216. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1217. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1218. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1219. // })
  1220. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1221. // })
  1222. }
  1223. }
  1224. /**
  1225. * 模式切换
  1226. *
  1227. */
  1228. U.MD.D.I.ModeCheck = function (type) {
  1229. if (US.Config.type == type) {
  1230. return
  1231. }
  1232. US.Config.type = type
  1233. $('.U_PBL_Check .active')[0].className = ''
  1234. if (type == 1) {
  1235. $('.U_PBL_Check div')[0].className = 'active'
  1236. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1237. } else {
  1238. $('.U_PBL_Check div')[1].className = 'active'
  1239. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1240. }
  1241. //初始化桌面图标
  1242. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1243. if (type == 2) {
  1244. U.MD.D.I.openApplication("project")
  1245. }
  1246. }
  1247. /**
  1248. * 隐藏任务栏
  1249. *
  1250. * @param {element} 桌面元素
  1251. */
  1252. U.MD.D.I.hiddenTaskbar = function (el) {
  1253. //任务栏位置变小
  1254. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1255. //桌面的位置变大
  1256. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1257. }
  1258. /**
  1259. * 隐藏任务栏
  1260. *
  1261. * @param {element} 桌面元素
  1262. */
  1263. U.MD.D.I.hiddenTaskbarout = function (el) {
  1264. //任务栏位置变小
  1265. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1266. //任务栏位置变化
  1267. U.selectEl(el).css({ "bottom": "-60px" });
  1268. //桌面的位置变大
  1269. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1270. }
  1271. }
  1272. /**
  1273. * 初始化打印桌面图标
  1274. *
  1275. * @param {element} 桌面元素
  1276. */
  1277. U.MD.D.I.initDesktopIcons = function (el, type) {
  1278. var i, //用于循环
  1279. _content, //桌面图标元素
  1280. _iconcontent, //桌面图标元素
  1281. _frag = $$("frag"), //定义一个碎片元素
  1282. _type = US.userInfo.type,
  1283. _org = US.userInfo.org,
  1284. _oid = US.userInfo.organizeid,
  1285. _role = US.userInfo.role,
  1286. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1287. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1288. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1289. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1290. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1291. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1292. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1293. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1294. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1295. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1296. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1297. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1298. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1299. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1300. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1301. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1302. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1303. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1304. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1305. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1306. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1307. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1308. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1309. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1310. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1311. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1312. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1313. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1314. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1315. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1316. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1317. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1318. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1319. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1320. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1321. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1322. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1323. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1324. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1325. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1326. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1327. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1328. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1329. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1330. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1331. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1332. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1333. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1334. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1335. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1336. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1337. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1338. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1339. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1340. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1341. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1342. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1343. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1344. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1345. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1346. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1347. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1348. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1349. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1350. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1351. 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'];
  1352. 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'];
  1353. //清楚桌面图标
  1354. el.innerHTML = "";
  1355. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1356. _teacherDesktopIconInfo.push(
  1357. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1358. { "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)" } },
  1359. )
  1360. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1361. }
  1362. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1363. _teacherDesktopIconInfo.push(
  1364. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1365. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1366. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1367. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1368. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1369. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1370. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1371. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1372. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1373. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1374. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1375. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1376. )
  1377. }
  1378. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1379. // _teacherDesktopIconInfo.push(
  1380. // )
  1381. // }
  1382. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1383. _teacherDesktopIconInfo.push(
  1384. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1385. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1386. )
  1387. }
  1388. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1389. _teacherDesktopIconInfo.push(
  1390. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1392. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1393. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1394. )
  1395. _studentDesktopIconInfo.push(
  1396. )
  1397. }
  1398. //麒麟二中 和 民新小学
  1399. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1400. _teacherDesktopIconInfo.push(
  1401. )
  1402. }
  1403. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1404. _teacherDesktopIconInfo.push(
  1405. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1406. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1407. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1408. )
  1409. }
  1410. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1411. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1412. _teacherDesktopIconInfo.push(
  1413. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1414. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1415. )
  1416. }
  1417. //麒麟二中
  1418. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1419. _studentDesktopIconInfo.push(
  1420. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1421. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1422. )
  1423. }
  1424. //万科双语
  1425. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1426. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1427. if (el.Name == '项目管理') {
  1428. el.Name = 'PBL项目'
  1429. }
  1430. return el
  1431. })
  1432. _studentDesktopIconInfo3.push(
  1433. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1434. )
  1435. }
  1436. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1437. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1438. return el.Name != '魔盒识字' && el.Name != '24点'
  1439. })
  1440. }
  1441. 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) {
  1442. _studentDesktopIconInfo.push(
  1443. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1444. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1445. )
  1446. }
  1447. //循环创建桌面图标
  1448. if (type == 1) {
  1449. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1450. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1451. _content = $$("div", {
  1452. className: "U_MD_D_KO",
  1453. "onmousedown": U.UF.C.closure(function (obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_studentDesktopIconInfo[i]]),
  1457. "onclick": U.UF.C.closure(function (obj) {
  1458. //防止拖动图标即打开了桌面应用
  1459. U.MD.D.click(this, obj);
  1460. }, [_studentDesktopIconInfo[i]])
  1461. }, _frag); //
  1462. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1463. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1464. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1465. }
  1466. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1467. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1468. _content = $$("div", {
  1469. className: "U_MD_D_KO",
  1470. "onmousedown": U.UF.C.closure(function (obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1474. "onclick": U.UF.C.closure(function (obj) {
  1475. //防止拖动图标即打开了桌面应用
  1476. U.MD.D.click(this, obj);
  1477. }, [_hkZJLSStudentDeskIconInfo[i]])
  1478. }, _frag); //
  1479. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1480. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1481. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1482. } //
  1483. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1484. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1485. _content = $$("div", {
  1486. className: "U_MD_D_KO",
  1487. "onmousedown": U.UF.C.closure(function (obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_jccssylStudentDeskIconInfo[i]]),
  1491. "onclick": U.UF.C.closure(function (obj) {
  1492. //防止拖动图标即打开了桌面应用
  1493. U.MD.D.click(this, obj);
  1494. }, [_jccssylStudentDeskIconInfo[i]])
  1495. }, _frag); //
  1496. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1497. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1498. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1499. }
  1500. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1501. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1502. _content = $$("div", {
  1503. className: "U_MD_D_KO",
  1504. "onmousedown": U.UF.C.closure(function (obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_caleStudentDeskIconInfo[i]]),
  1508. "onclick": U.UF.C.closure(function (obj) {
  1509. //防止拖动图标即打开了桌面应用
  1510. U.MD.D.click(this, obj);
  1511. }, [_caleStudentDeskIconInfo[i]])
  1512. }, _frag); //
  1513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1516. }
  1517. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1518. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1519. _content = $$("div", {
  1520. className: "U_MD_D_KO",
  1521. "onmousedown": U.UF.C.closure(function (obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_thuioeStudentDeskIconInfo[i]]),
  1525. "onclick": U.UF.C.closure(function (obj) {
  1526. //防止拖动图标即打开了桌面应用
  1527. U.MD.D.click(this, obj);
  1528. }, [_thuioeStudentDeskIconInfo[i]])
  1529. }, _frag); //
  1530. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1531. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1532. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1533. }
  1534. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1535. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1536. _content = $$("div", {
  1537. className: "U_MD_D_KO",
  1538. "onmousedown": U.UF.C.closure(function (obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_tpcStudentDeskIconInfo[i]]),
  1542. "onclick": U.UF.C.closure(function (obj) {
  1543. //防止拖动图标即打开了桌面应用
  1544. U.MD.D.click(this, obj);
  1545. }, [_tpcStudentDeskIconInfo[i]])
  1546. }, _frag); //
  1547. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1548. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1549. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1550. } //
  1551. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1552. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1553. _content = $$("div", {
  1554. className: "U_MD_D_KO",
  1555. "onmousedown": U.UF.C.closure(function (obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_chjyjStudentDeskIconInfo[i]]),
  1559. "onclick": U.UF.C.closure(function (obj) {
  1560. //防止拖动图标即打开了桌面应用
  1561. U.MD.D.click(this, obj);
  1562. }, [_chjyjStudentDeskIconInfo[i]])
  1563. }, _frag); //
  1564. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1565. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1566. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1567. }
  1568. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1569. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1570. _content = $$("div", {
  1571. className: "U_MD_D_KO",
  1572. "onmousedown": U.UF.C.closure(function (obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_szjkyStudentDeskIconInfo[i]]),
  1576. "onclick": U.UF.C.closure(function (obj) {
  1577. //防止拖动图标即打开了桌面应用
  1578. U.MD.D.click(this, obj);
  1579. }, [_szjkyStudentDeskIconInfo[i]])
  1580. }, _frag); //
  1581. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1582. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1583. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1584. }
  1585. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1586. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1587. _content = $$("div", {
  1588. className: "U_MD_D_KO",
  1589. "onmousedown": U.UF.C.closure(function (obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_dseiStudentDeskIconInfo[i]]),
  1593. "onclick": U.UF.C.closure(function (obj) {
  1594. //防止拖动图标即打开了桌面应用
  1595. U.MD.D.click(this, obj);
  1596. }, [_dseiStudentDeskIconInfo[i]])
  1597. }, _frag); //
  1598. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1599. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1600. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1601. }
  1602. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1603. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1604. _content = $$("div", {
  1605. className: "U_MD_D_KO",
  1606. "onmousedown": U.UF.C.closure(function (obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1610. "onclick": U.UF.C.closure(function (obj) {
  1611. //防止拖动图标即打开了桌面应用
  1612. U.MD.D.click(this, obj);
  1613. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1614. }, _frag); //
  1615. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1616. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1617. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1618. }
  1619. }else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1620. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1621. _content = $$("div", {
  1622. className: "U_MD_D_KO",
  1623. "onmousedown": U.UF.C.closure(function (obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_siesStudentDeskIconInfo[i]]),
  1627. "onclick": U.UF.C.closure(function (obj) {
  1628. //防止拖动图标即打开了桌面应用
  1629. U.MD.D.click(this, obj);
  1630. }, [_siesStudentDeskIconInfo[i]])
  1631. }, _frag); //
  1632. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1633. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1634. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1635. }
  1636. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1637. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1638. _content = $$("div", {
  1639. className: "U_MD_D_KO",
  1640. "onmousedown": U.UF.C.closure(function (obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_hkStudentDeskIconInfo[i]]),
  1644. "onclick": U.UF.C.closure(function (obj) {
  1645. //防止拖动图标即打开了桌面应用
  1646. U.MD.D.click(this, obj);
  1647. }, [_hkStudentDeskIconInfo[i]])
  1648. }, _frag); //
  1649. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1650. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1651. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1652. }
  1653. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1654. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1655. _content = $$("div", {
  1656. className: "U_MD_D_KO",
  1657. "onmousedown": U.UF.C.closure(function (obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_hkaceStudentDeskIconInfo[i]]),
  1661. "onclick": U.UF.C.closure(function (obj) {
  1662. //防止拖动图标即打开了桌面应用
  1663. U.MD.D.click(this, obj);
  1664. }, [_hkaceStudentDeskIconInfo[i]])
  1665. }, _frag); //
  1666. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1667. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1668. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1669. }
  1670. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1671. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1672. _content = $$("div", {
  1673. className: "U_MD_D_KO",
  1674. "onmousedown": U.UF.C.closure(function (obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_studentDesktopIconInfo[i]]),
  1678. "onclick": U.UF.C.closure(function (obj) {
  1679. //防止拖动图标即打开了桌面应用
  1680. U.MD.D.click(this, obj);
  1681. }, [_studentDesktopIconInfo[i]])
  1682. }, _frag); //
  1683. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1684. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1685. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1686. }
  1687. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1688. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1689. _content = $$("div", {
  1690. className: "U_MD_D_KO",
  1691. "onmousedown": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_tcStudentDeskIconInfo[i]]),
  1695. "onclick": U.UF.C.closure(function (obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_tcStudentDeskIconInfo[i]])
  1699. }, _frag); //
  1700. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1701. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1702. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1703. }
  1704. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1705. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1706. _content = $$("div", {
  1707. className: "U_MD_D_KO",
  1708. "onmousedown": U.UF.C.closure(function (obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_szscStudentDeskIconInfo[i]]),
  1712. "onclick": U.UF.C.closure(function (obj) {
  1713. //防止拖动图标即打开了桌面应用
  1714. U.MD.D.click(this, obj);
  1715. }, [_szscStudentDeskIconInfo[i]])
  1716. }, _frag); //
  1717. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1718. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1719. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1720. }
  1721. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1722. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1723. _content = $$("div", {
  1724. className: "U_MD_D_KO",
  1725. "onmousedown": U.UF.C.closure(function (obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_studentDesktopIconInfo3[i]]),
  1729. "onclick": U.UF.C.closure(function (obj) {
  1730. //防止拖动图标即打开了桌面应用
  1731. U.MD.D.click(this, obj);
  1732. }, [_studentDesktopIconInfo3[i]])
  1733. }, _frag); //
  1734. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1735. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1736. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1737. }
  1738. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1739. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1740. _content = $$("div", {
  1741. className: "U_MD_D_KO",
  1742. "onmousedown": U.UF.C.closure(function (obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_studentDesktopIconInfo2[i]]),
  1746. "onclick": U.UF.C.closure(function (obj) {
  1747. //防止拖动图标即打开了桌面应用
  1748. U.MD.D.click(this, obj);
  1749. }, [_studentDesktopIconInfo2[i]])
  1750. }, _frag); //
  1751. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1752. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1753. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1754. }
  1755. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1756. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1757. _content = $$("div", {
  1758. className: "U_MD_D_KO",
  1759. "onmousedown": U.UF.C.closure(function (obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_wanketeacherDesktopIconInfo[i]]),
  1763. "onclick": U.UF.C.closure(function (obj) {
  1764. //防止拖动图标即打开了桌面应用
  1765. U.MD.D.click(this, obj);
  1766. }, [_wanketeacherDesktopIconInfo[i]])
  1767. }, _frag); //
  1768. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1769. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1770. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1771. }
  1772. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1773. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1774. _content = $$("div", {
  1775. className: "U_MD_D_KO",
  1776. "onmousedown": U.UF.C.closure(function (obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_wankeAdminDesktopIconInfo[i]]),
  1780. "onclick": U.UF.C.closure(function (obj) {
  1781. //防止拖动图标即打开了桌面应用
  1782. U.MD.D.click(this, obj);
  1783. }, [_wankeAdminDesktopIconInfo[i]])
  1784. }, _frag); //
  1785. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1786. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1787. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1788. }
  1789. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1790. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1791. _content = $$("div", {
  1792. className: "U_MD_D_KO",
  1793. "onmousedown": U.UF.C.closure(function (obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_jccssylTeacherDeskIconInfo[i]]),
  1797. "onclick": U.UF.C.closure(function (obj) {
  1798. //防止拖动图标即打开了桌面应用
  1799. U.MD.D.click(this, obj);
  1800. }, [_jccssylTeacherDeskIconInfo[i]])
  1801. }, _frag); //
  1802. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1803. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1804. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1805. }
  1806. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1807. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1808. _content = $$("div", {
  1809. className: "U_MD_D_KO",
  1810. "onmousedown": U.UF.C.closure(function (obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_caleTeacherDeskIconInfo[i]]),
  1814. "onclick": U.UF.C.closure(function (obj) {
  1815. //防止拖动图标即打开了桌面应用
  1816. U.MD.D.click(this, obj);
  1817. }, [_caleTeacherDeskIconInfo[i]])
  1818. }, _frag); //
  1819. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1820. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1821. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1822. }
  1823. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1824. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1825. _content = $$("div", {
  1826. className: "U_MD_D_KO",
  1827. "onmousedown": U.UF.C.closure(function (obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_tpcOrganizerDeskIconInfo[i]]),
  1831. "onclick": U.UF.C.closure(function (obj) {
  1832. //防止拖动图标即打开了桌面应用
  1833. U.MD.D.click(this, obj);
  1834. }, [_tpcOrganizerDeskIconInfo[i]])
  1835. }, _frag); //
  1836. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1837. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1838. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1839. }
  1840. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1841. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1842. _content = $$("div", {
  1843. className: "U_MD_D_KO",
  1844. "onmousedown": U.UF.C.closure(function (obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_tpcTeacherDeskIconInfo[i]]),
  1848. "onclick": U.UF.C.closure(function (obj) {
  1849. //防止拖动图标即打开了桌面应用
  1850. U.MD.D.click(this, obj);
  1851. }, [_tpcTeacherDeskIconInfo[i]])
  1852. }, _frag); //
  1853. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1854. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1855. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1856. }
  1857. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1858. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1859. _content = $$("div", {
  1860. className: "U_MD_D_KO",
  1861. "onmousedown": U.UF.C.closure(function (obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_teacherDesktopIconInfo2[i]]),
  1865. "onclick": U.UF.C.closure(function (obj) {
  1866. //防止拖动图标即打开了桌面应用
  1867. U.MD.D.click(this, obj);
  1868. }, [_teacherDesktopIconInfo2[i]])
  1869. }, _frag); //
  1870. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1871. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1872. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1873. }
  1874. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1875. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1876. _content = $$("div", {
  1877. className: "U_MD_D_KO",
  1878. "onmousedown": U.UF.C.closure(function (obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_thuioeTeacherDeskIconInfo[i]]),
  1882. "onclick": U.UF.C.closure(function (obj) {
  1883. //防止拖动图标即打开了桌面应用
  1884. U.MD.D.click(this, obj);
  1885. }, [_thuioeTeacherDeskIconInfo[i]])
  1886. }, _frag); //
  1887. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1888. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1889. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1890. }
  1891. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1892. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1893. _content = $$("div", {
  1894. className: "U_MD_D_KO",
  1895. "onmousedown": U.UF.C.closure(function (obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_lotechTeacherDeskIconInfo[i]]),
  1899. "onclick": U.UF.C.closure(function (obj) {
  1900. //防止拖动图标即打开了桌面应用
  1901. U.MD.D.click(this, obj);
  1902. }, [_lotechTeacherDeskIconInfo[i]])
  1903. }, _frag); //
  1904. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1905. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1906. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1907. }//
  1908. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1909. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1910. _content = $$("div", {
  1911. className: "U_MD_D_KO",
  1912. "onmousedown": U.UF.C.closure(function (obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1916. "onclick": U.UF.C.closure(function (obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1920. }, _frag); //
  1921. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1922. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1923. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1924. }
  1925. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1926. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1927. _content = $$("div", {
  1928. className: "U_MD_D_KO",
  1929. "onmousedown": U.UF.C.closure(function (obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_siesTeacherDeskIconInfo[i]]),
  1933. "onclick": U.UF.C.closure(function (obj) {
  1934. //防止拖动图标即打开了桌面应用
  1935. U.MD.D.click(this, obj);
  1936. }, [_siesTeacherDeskIconInfo[i]])
  1937. }, _frag); //
  1938. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1939. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1940. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1941. }
  1942. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1943. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1944. _content = $$("div", {
  1945. className: "U_MD_D_KO",
  1946. "onmousedown": U.UF.C.closure(function (obj) {
  1947. //防止拖动图标即打开了桌面应用
  1948. U.MD.D.click(this, obj);
  1949. }, [_longhuaTeacherDeskIconInfo[i]]),
  1950. "onclick": U.UF.C.closure(function (obj) {
  1951. //防止拖动图标即打开了桌面应用
  1952. U.MD.D.click(this, obj);
  1953. }, [_longhuaTeacherDeskIconInfo[i]])
  1954. }, _frag); //
  1955. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1956. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1957. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1958. }
  1959. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1960. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1961. _content = $$("div", {
  1962. className: "U_MD_D_KO",
  1963. "onmousedown": U.UF.C.closure(function (obj) {
  1964. //防止拖动图标即打开了桌面应用
  1965. U.MD.D.click(this, obj);
  1966. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1967. "onclick": U.UF.C.closure(function (obj) {
  1968. //防止拖动图标即打开了桌面应用
  1969. U.MD.D.click(this, obj);
  1970. }, [_yunhaiTeacherDeskIconInfo[i]])
  1971. }, _frag); //
  1972. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1973. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1974. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1975. } //_hkStudentDeskIconInfo
  1976. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1977. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1978. _content = $$("div", {
  1979. className: "U_MD_D_KO",
  1980. "onmousedown": U.UF.C.closure(function (obj) {
  1981. //防止拖动图标即打开了桌面应用
  1982. U.MD.D.click(this, obj);
  1983. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1984. "onclick": U.UF.C.closure(function (obj) {
  1985. //防止拖动图标即打开了桌面应用
  1986. U.MD.D.click(this, obj);
  1987. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1988. }, _frag); //
  1989. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1990. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1991. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1992. }
  1993. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1994. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1995. _content = $$("div", {
  1996. className: "U_MD_D_KO",
  1997. "onmousedown": U.UF.C.closure(function (obj) {
  1998. //防止拖动图标即打开了桌面应用
  1999. U.MD.D.click(this, obj);
  2000. }, [_hkTeacherDeskIconInfo[i]]),
  2001. "onclick": U.UF.C.closure(function (obj) {
  2002. //防止拖动图标即打开了桌面应用
  2003. U.MD.D.click(this, obj);
  2004. }, [_hkTeacherDeskIconInfo[i]])
  2005. }, _frag); //
  2006. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2007. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2008. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2009. }
  2010. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2011. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2012. _content = $$("div", {
  2013. className: "U_MD_D_KO",
  2014. "onmousedown": U.UF.C.closure(function (obj) {
  2015. //防止拖动图标即打开了桌面应用
  2016. U.MD.D.click(this, obj);
  2017. }, [_hkaceTeacherDeskIconInfo[i]]),
  2018. "onclick": U.UF.C.closure(function (obj) {
  2019. //防止拖动图标即打开了桌面应用
  2020. U.MD.D.click(this, obj);
  2021. }, [_hkaceTeacherDeskIconInfo[i]])
  2022. }, _frag); //
  2023. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2024. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2025. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2026. }
  2027. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2028. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2029. _content = $$("div", {
  2030. className: "U_MD_D_KO",
  2031. "onmousedown": U.UF.C.closure(function (obj) {
  2032. //防止拖动图标即打开了桌面应用
  2033. U.MD.D.click(this, obj);
  2034. }, [_gdjgAdminDeskIconInfo[i]]),
  2035. "onclick": U.UF.C.closure(function (obj) {
  2036. //防止拖动图标即打开了桌面应用
  2037. U.MD.D.click(this, obj);
  2038. }, [_gdjgAdminDeskIconInfo[i]])
  2039. }, _frag); //
  2040. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2041. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2042. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2043. }
  2044. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2045. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2046. _content = $$("div", {
  2047. className: "U_MD_D_KO",
  2048. "onmousedown": U.UF.C.closure(function (obj) {
  2049. //防止拖动图标即打开了桌面应用
  2050. U.MD.D.click(this, obj);
  2051. }, [_gdjgTeacherDeskIconInfo[i]]),
  2052. "onclick": U.UF.C.closure(function (obj) {
  2053. //防止拖动图标即打开了桌面应用
  2054. U.MD.D.click(this, obj);
  2055. }, [_gdjgTeacherDeskIconInfo[i]])
  2056. }, _frag); //
  2057. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2058. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2059. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2060. }
  2061. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2062. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2063. _content = $$("div", {
  2064. className: "U_MD_D_KO",
  2065. "onmousedown": U.UF.C.closure(function (obj) {
  2066. //防止拖动图标即打开了桌面应用
  2067. U.MD.D.click(this, obj);
  2068. }, [_szherTeacherDeskIconInfo[i]]),
  2069. "onclick": U.UF.C.closure(function (obj) {
  2070. //防止拖动图标即打开了桌面应用
  2071. U.MD.D.click(this, obj);
  2072. }, [_szherTeacherDeskIconInfo[i]])
  2073. }, _frag); //
  2074. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2075. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2076. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2077. }
  2078. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2079. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2080. _content = $$("div", {
  2081. className: "U_MD_D_KO",
  2082. "onmousedown": U.UF.C.closure(function (obj) {
  2083. //防止拖动图标即打开了桌面应用
  2084. U.MD.D.click(this, obj);
  2085. }, [_heyuannAdminDeskIconInfo[i]]),
  2086. "onclick": U.UF.C.closure(function (obj) {
  2087. //防止拖动图标即打开了桌面应用
  2088. U.MD.D.click(this, obj);
  2089. }, [_heyuannAdminDeskIconInfo[i]])
  2090. }, _frag); //
  2091. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2092. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2093. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2094. }
  2095. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2096. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2097. _content = $$("div", {
  2098. className: "U_MD_D_KO",
  2099. "onmousedown": U.UF.C.closure(function (obj) {
  2100. //防止拖动图标即打开了桌面应用
  2101. U.MD.D.click(this, obj);
  2102. }, [_heyuanTeacherDeskIconInfo[i]]),
  2103. "onclick": U.UF.C.closure(function (obj) {
  2104. //防止拖动图标即打开了桌面应用
  2105. U.MD.D.click(this, obj);
  2106. }, [_heyuanTeacherDeskIconInfo[i]])
  2107. }, _frag); //
  2108. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2109. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2110. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2111. } //
  2112. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2113. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2114. _content = $$("div", {
  2115. className: "U_MD_D_KO",
  2116. "onmousedown": U.UF.C.closure(function (obj) {
  2117. //防止拖动图标即打开了桌面应用
  2118. U.MD.D.click(this, obj);
  2119. }, [_dseiAdminDeskIconInfo[i]]),
  2120. "onclick": U.UF.C.closure(function (obj) {
  2121. //防止拖动图标即打开了桌面应用
  2122. U.MD.D.click(this, obj);
  2123. }, [_dseiAdminDeskIconInfo[i]])
  2124. }, _frag); //
  2125. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2126. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2127. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2128. }
  2129. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2130. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2131. _content = $$("div", {
  2132. className: "U_MD_D_KO",
  2133. "onmousedown": U.UF.C.closure(function (obj) {
  2134. //防止拖动图标即打开了桌面应用
  2135. U.MD.D.click(this, obj);
  2136. }, [_dseiTeacherDeskIconInfo[i]]),
  2137. "onclick": U.UF.C.closure(function (obj) {
  2138. //防止拖动图标即打开了桌面应用
  2139. U.MD.D.click(this, obj);
  2140. }, [_dseiTeacherDeskIconInfo[i]])
  2141. }, _frag); //
  2142. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2143. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2144. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2145. } //
  2146. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2147. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2148. _content = $$("div", {
  2149. className: "U_MD_D_KO",
  2150. "onmousedown": U.UF.C.closure(function (obj) {
  2151. //防止拖动图标即打开了桌面应用
  2152. U.MD.D.click(this, obj);
  2153. }, [_chjyjAdminDeskIconInfo[i]]),
  2154. "onclick": U.UF.C.closure(function (obj) {
  2155. //防止拖动图标即打开了桌面应用
  2156. U.MD.D.click(this, obj);
  2157. }, [_chjyjAdminDeskIconInfo[i]])
  2158. }, _frag); //
  2159. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2160. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2161. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2162. }//
  2163. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2164. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2165. _content = $$("div", {
  2166. className: "U_MD_D_KO",
  2167. "onmousedown": U.UF.C.closure(function (obj) {
  2168. //防止拖动图标即打开了桌面应用
  2169. U.MD.D.click(this, obj);
  2170. }, [_chjyjTeacherDeskIconInfo[i]]),
  2171. "onclick": U.UF.C.closure(function (obj) {
  2172. //防止拖动图标即打开了桌面应用
  2173. U.MD.D.click(this, obj);
  2174. }, [_chjyjTeacherDeskIconInfo[i]])
  2175. }, _frag); //
  2176. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2177. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2178. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2179. }
  2180. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2181. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2182. _content = $$("div", {
  2183. className: "U_MD_D_KO",
  2184. "onmousedown": U.UF.C.closure(function (obj) {
  2185. //防止拖动图标即打开了桌面应用
  2186. U.MD.D.click(this, obj);
  2187. }, [_szjkyAdminDeskIconInfo[i]]),
  2188. "onclick": U.UF.C.closure(function (obj) {
  2189. //防止拖动图标即打开了桌面应用
  2190. U.MD.D.click(this, obj);
  2191. }, [_szjkyAdminDeskIconInfo[i]])
  2192. }, _frag); //
  2193. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2194. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2195. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2196. }//
  2197. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2198. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2199. _content = $$("div", {
  2200. className: "U_MD_D_KO",
  2201. "onmousedown": U.UF.C.closure(function (obj) {
  2202. //防止拖动图标即打开了桌面应用
  2203. U.MD.D.click(this, obj);
  2204. }, [_szjkyTeacherDeskIconInfo[i]]),
  2205. "onclick": U.UF.C.closure(function (obj) {
  2206. //防止拖动图标即打开了桌面应用
  2207. U.MD.D.click(this, obj);
  2208. }, [_szjkyTeacherDeskIconInfo[i]])
  2209. }, _frag); //
  2210. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2211. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2212. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2213. }
  2214. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2215. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2216. _content = $$("div", {
  2217. className: "U_MD_D_KO",
  2218. "onmousedown": U.UF.C.closure(function (obj) {
  2219. //防止拖动图标即打开了桌面应用
  2220. U.MD.D.click(this, obj);
  2221. }, [_futianAdminDeskIconInfo[i]]),
  2222. "onclick": U.UF.C.closure(function (obj) {
  2223. //防止拖动图标即打开了桌面应用
  2224. U.MD.D.click(this, obj);
  2225. }, [_futianAdminDeskIconInfo[i]])
  2226. }, _frag); //
  2227. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2228. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2229. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2230. }
  2231. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2232. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2233. _content = $$("div", {
  2234. className: "U_MD_D_KO",
  2235. "onmousedown": U.UF.C.closure(function (obj) {
  2236. //防止拖动图标即打开了桌面应用
  2237. U.MD.D.click(this, obj);
  2238. }, [_futianTeacherDeskIconInfo[i]]),
  2239. "onclick": U.UF.C.closure(function (obj) {
  2240. //防止拖动图标即打开了桌面应用
  2241. U.MD.D.click(this, obj);
  2242. }, [_futianTeacherDeskIconInfo[i]])
  2243. }, _frag); //
  2244. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2245. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2246. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2247. }
  2248. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2249. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2250. _content = $$("div", {
  2251. className: "U_MD_D_KO",
  2252. "onmousedown": U.UF.C.closure(function (obj) {
  2253. //防止拖动图标即打开了桌面应用
  2254. U.MD.D.click(this, obj);
  2255. }, [_MingdeTeacherDeskIcon[i]]),
  2256. "onclick": U.UF.C.closure(function (obj) {
  2257. //防止拖动图标即打开了桌面应用
  2258. U.MD.D.click(this, obj);
  2259. }, [_MingdeTeacherDeskIcon[i]])
  2260. }, _frag); //
  2261. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2262. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2263. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2264. }
  2265. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2266. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2267. _content = $$("div", {
  2268. className: "U_MD_D_KO",
  2269. "onmousedown": U.UF.C.closure(function (obj) {
  2270. //防止拖动图标即打开了桌面应用
  2271. U.MD.D.click(this, obj);
  2272. }, [_lhsAdminDesktopIconInfo[i]]),
  2273. "onclick": U.UF.C.closure(function (obj) {
  2274. //防止拖动图标即打开了桌面应用
  2275. U.MD.D.click(this, obj);
  2276. }, [_lhsAdminDesktopIconInfo[i]])
  2277. }, _frag); //
  2278. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2279. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2280. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2281. }
  2282. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2283. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2284. _content = $$("div", {
  2285. className: "U_MD_D_KO",
  2286. "onmousedown": U.UF.C.closure(function (obj) {
  2287. //防止拖动图标即打开了桌面应用
  2288. U.MD.D.click(this, obj);
  2289. }, [_lhsteacherDesktopIconInfo[i]]),
  2290. "onclick": U.UF.C.closure(function (obj) {
  2291. //防止拖动图标即打开了桌面应用
  2292. U.MD.D.click(this, obj);
  2293. }, [_lhsteacherDesktopIconInfo[i]])
  2294. }, _frag); //
  2295. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2296. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2297. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2298. }
  2299. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2300. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2301. _content = $$("div", {
  2302. className: "U_MD_D_KO",
  2303. "onmousedown": U.UF.C.closure(function (obj) {
  2304. //防止拖动图标即打开了桌面应用
  2305. U.MD.D.click(this, obj);
  2306. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2307. "onclick": U.UF.C.closure(function (obj) {
  2308. //防止拖动图标即打开了桌面应用
  2309. U.MD.D.click(this, obj);
  2310. }, [_zhoujiateacherDesktopIconInfo[i]])
  2311. }, _frag); //
  2312. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2313. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2314. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2315. }
  2316. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2317. for (i = 0; i < _hanDeskIcon.length; i++) {
  2318. _content = $$("div", {
  2319. className: "U_MD_D_KO",
  2320. "onmousedown": U.UF.C.closure(function (obj) {
  2321. //防止拖动图标即打开了桌面应用
  2322. U.MD.D.click(this, obj);
  2323. }, [_hanDeskIcon[i]]),
  2324. "onclick": U.UF.C.closure(function (obj) {
  2325. //防止拖动图标即打开了桌面应用
  2326. U.MD.D.click(this, obj);
  2327. }, [_hanDeskIcon[i]])
  2328. }, _frag); //
  2329. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2330. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2331. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2332. }
  2333. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2334. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2335. _content = $$("div", {
  2336. className: "U_MD_D_KO",
  2337. "onmousedown": U.UF.C.closure(function (obj) {
  2338. //防止拖动图标即打开了桌面应用
  2339. U.MD.D.click(this, obj);
  2340. }, [_orgStemDeskIcon[i]]),
  2341. "onclick": U.UF.C.closure(function (obj) {
  2342. //防止拖动图标即打开了桌面应用
  2343. U.MD.D.click(this, obj);
  2344. }, [_orgStemDeskIcon[i]])
  2345. }, _frag); //
  2346. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2347. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2348. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2349. }
  2350. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2351. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2352. _content = $$("div", {
  2353. className: "U_MD_D_KO",
  2354. "onmousedown": U.UF.C.closure(function (obj) {
  2355. //防止拖动图标即打开了桌面应用
  2356. U.MD.D.click(this, obj);
  2357. }, [_szulsDeskIcon[i]]),
  2358. "onclick": U.UF.C.closure(function (obj) {
  2359. //防止拖动图标即打开了桌面应用
  2360. U.MD.D.click(this, obj);
  2361. }, [_szulsDeskIcon[i]])
  2362. }, _frag); //
  2363. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2364. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2365. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2366. }
  2367. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2368. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2369. _content = $$("div", {
  2370. className: "U_MD_D_KO",
  2371. "onmousedown": U.UF.C.closure(function (obj) {
  2372. //防止拖动图标即打开了桌面应用
  2373. U.MD.D.click(this, obj);
  2374. }, [_orgDesktopIconInfo[i]]),
  2375. "onclick": U.UF.C.closure(function (obj) {
  2376. //防止拖动图标即打开了桌面应用
  2377. U.MD.D.click(this, obj);
  2378. }, [_orgDesktopIconInfo[i]])
  2379. }, _frag); //
  2380. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2381. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2382. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2383. }
  2384. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2385. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2386. _content = $$("div", {
  2387. className: "U_MD_D_KO",
  2388. "onmousedown": U.UF.C.closure(function (obj) {
  2389. //防止拖动图标即打开了桌面应用
  2390. U.MD.D.click(this, obj);
  2391. }, [_schoolDesktopIconInfo[i]]),
  2392. "onclick": U.UF.C.closure(function (obj) {
  2393. //防止拖动图标即打开了桌面应用
  2394. U.MD.D.click(this, obj);
  2395. }, [_schoolDesktopIconInfo[i]])
  2396. }, _frag); //
  2397. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2398. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2399. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2400. }
  2401. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2402. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2403. _content = $$("div", {
  2404. className: "U_MD_D_KO",
  2405. "onmousedown": U.UF.C.closure(function (obj) {
  2406. //防止拖动图标即打开了桌面应用
  2407. U.MD.D.click(this, obj);
  2408. }, [_GMteacherDesktopIconInfo[i]]),
  2409. "onclick": U.UF.C.closure(function (obj) {
  2410. //防止拖动图标即打开了桌面应用
  2411. U.MD.D.click(this, obj);
  2412. }, [_GMteacherDesktopIconInfo[i]])
  2413. }, _frag); //
  2414. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2415. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2416. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2417. }
  2418. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2419. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2420. _content = $$("div", {
  2421. className: "U_MD_D_KO",
  2422. "onmousedown": U.UF.C.closure(function (obj) {
  2423. //防止拖动图标即打开了桌面应用
  2424. U.MD.D.click(this, obj);
  2425. }, [_SONGteacherDesktopIconInfo[i]]),
  2426. "onclick": U.UF.C.closure(function (obj) {
  2427. //防止拖动图标即打开了桌面应用
  2428. U.MD.D.click(this, obj);
  2429. }, [_SONGteacherDesktopIconInfo[i]])
  2430. }, _frag); //
  2431. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2432. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2433. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2434. }
  2435. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2436. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2437. _content = $$("div", {
  2438. className: "U_MD_D_KO",
  2439. "onmousedown": U.UF.C.closure(function (obj) {
  2440. //防止拖动图标即打开了桌面应用
  2441. U.MD.D.click(this, obj);
  2442. }, [_GMstudentDesktopIconInfo[i]]),
  2443. "onclick": U.UF.C.closure(function (obj) {
  2444. //防止拖动图标即打开了桌面应用
  2445. U.MD.D.click(this, obj);
  2446. }, [_GMstudentDesktopIconInfo[i]])
  2447. }, _frag); //
  2448. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2449. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2450. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2451. }
  2452. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2453. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2454. _content = $$("div", {
  2455. className: "U_MD_D_KO",
  2456. "onmousedown": U.UF.C.closure(function (obj) {
  2457. //防止拖动图标即打开了桌面应用
  2458. U.MD.D.click(this, obj);
  2459. }, [_tcTeacherDeskIconInfo[i]]),
  2460. "onclick": U.UF.C.closure(function (obj) {
  2461. //防止拖动图标即打开了桌面应用
  2462. U.MD.D.click(this, obj);
  2463. }, [_tcTeacherDeskIconInfo[i]])
  2464. }, _frag); //
  2465. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2466. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2467. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2468. }
  2469. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2470. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2471. _content = $$("div", {
  2472. className: "U_MD_D_KO",
  2473. "onmousedown": U.UF.C.closure(function (obj) {
  2474. //防止拖动图标即打开了桌面应用
  2475. U.MD.D.click(this, obj);
  2476. }, [_tcOrganizerDeskIconInfo[i]]),
  2477. "onclick": U.UF.C.closure(function (obj) {
  2478. //防止拖动图标即打开了桌面应用
  2479. U.MD.D.click(this, obj);
  2480. }, [_tcOrganizerDeskIconInfo[i]])
  2481. }, _frag); //
  2482. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2483. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2484. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2485. }
  2486. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2487. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2488. _content = $$("div", {
  2489. className: "U_MD_D_KO",
  2490. "onmousedown": U.UF.C.closure(function (obj) {
  2491. //防止拖动图标即打开了桌面应用
  2492. U.MD.D.click(this, obj);
  2493. }, [_szscTeacherDeskIconInfo[i]]),
  2494. "onclick": U.UF.C.closure(function (obj) {
  2495. //防止拖动图标即打开了桌面应用
  2496. U.MD.D.click(this, obj);
  2497. }, [_szscTeacherDeskIconInfo[i]])
  2498. }, _frag); //
  2499. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2500. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2501. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2502. }
  2503. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2504. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2505. _content = $$("div", {
  2506. className: "U_MD_D_KO",
  2507. "onmousedown": U.UF.C.closure(function (obj) {
  2508. //防止拖动图标即打开了桌面应用
  2509. U.MD.D.click(this, obj);
  2510. }, [_szscOrganizerDeskIconInfo[i]]),
  2511. "onclick": U.UF.C.closure(function (obj) {
  2512. //防止拖动图标即打开了桌面应用
  2513. U.MD.D.click(this, obj);
  2514. }, [_szscOrganizerDeskIconInfo[i]])
  2515. }, _frag); //
  2516. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2517. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2518. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2519. }
  2520. } else {
  2521. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2522. _content = $$("div", {
  2523. className: "U_MD_D_KO",
  2524. "onmousedown": U.UF.C.closure(function (obj) {
  2525. //防止拖动图标即打开了桌面应用
  2526. U.MD.D.click(this, obj);
  2527. }, [_teacherDesktopIconInfo[i]]),
  2528. "onclick": U.UF.C.closure(function (obj) {
  2529. //防止拖动图标即打开了桌面应用
  2530. U.MD.D.click(this, obj);
  2531. }, [_teacherDesktopIconInfo[i]])
  2532. }, _frag); //
  2533. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2534. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2535. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2536. }
  2537. }
  2538. } else {
  2539. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2540. _content = $$("div", {
  2541. className: "U_MD_D_KO",
  2542. style: { 'width': '124px', 'height': '145px' },
  2543. "onmousedown": U.UF.C.closure(function (obj) {
  2544. //防止拖动图标即打开了桌面应用
  2545. U.MD.D.click(this, obj);
  2546. }, [_easyDesktopIconInfo[i]]),
  2547. "onclick": U.UF.C.closure(function (obj) {
  2548. //防止拖动图标即打开了桌面应用
  2549. U.MD.D.click(this, obj);
  2550. }, [_easyDesktopIconInfo[i]])
  2551. }, _frag); //
  2552. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2553. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2554. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2555. }
  2556. }
  2557. if (type == 1) {
  2558. //加载好后给图标定位
  2559. U.MD.D.iconPostion($(_frag).Child());
  2560. } else {
  2561. //加载好后给图标定位
  2562. U.MD.D.iconPostion2($(_frag).Child());
  2563. }
  2564. //把图标加载到页面
  2565. el.appendChild(_frag);
  2566. }
  2567. /**
  2568. * 显示任务栏
  2569. *
  2570. * @param {element} 桌面元素
  2571. */
  2572. U.MD.D.I.displayTaskbar = function (el) {
  2573. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2574. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2575. //任务栏位置变化
  2576. U.selectEl(el).css({ "bottom": "0px" });
  2577. //桌面位置变话
  2578. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2579. }
  2580. }
  2581. //#region 桌面图标拖动逻辑
  2582. /**
  2583. * 桌面排列图标
  2584. *
  2585. * @param {element} 桌面元素
  2586. * @param {object} 上下相距的距离
  2587. * @param {object} 左右相距的距离
  2588. * @return {object} 命名空间
  2589. */
  2590. U.MD.D.iconPostion = function (childs, top, left) {
  2591. var i; //用于循环处理
  2592. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2593. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2594. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2595. for (i = 0; i < childs.length; i++) {
  2596. //如果竖排top超过了范围处理
  2597. if (top + 95 > US.height - 10) {
  2598. //left超过了页面范围处理,则向上重叠打印处理
  2599. if ((left + 180) > US.width) {
  2600. top -= 110;
  2601. left -= 90;
  2602. }
  2603. //没有超过范围,那么left+90添加到下一个竖排打印
  2604. else {
  2605. left += 90;
  2606. top = 15;
  2607. };
  2608. }
  2609. //给图标的位置赋值
  2610. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2611. if (i < childs.length - 1) {
  2612. //页面图标每次向下加95
  2613. top += 95;
  2614. }
  2615. }
  2616. //返回最后调用的图标的位置
  2617. return [top, left];
  2618. }
  2619. /**
  2620. * 桌面排列图标
  2621. *
  2622. * @param {element} 桌面元素
  2623. * @param {object} 上下相距的距离
  2624. * @param {object} 左右相距的距离
  2625. * @return {object} 命名空间
  2626. */
  2627. U.MD.D.iconPostion2 = function (childs, top, left) {
  2628. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2629. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2630. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2631. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2632. for (i = 0; i < childs.length; i++) {
  2633. //如果竖排top超过了范围处理
  2634. if (left + 150 > US.width - 10) {
  2635. //left超过了页面范围处理,则向上重叠打印处理
  2636. if ((top + 180) > US.Height) {
  2637. top -= 150;
  2638. left -= 150;
  2639. }
  2640. //没有超过范围,那么left+90添加到下一个竖排打印
  2641. else {
  2642. top += 150;
  2643. left = ol;
  2644. };
  2645. }
  2646. //给图标的位置赋值
  2647. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2648. if (i < childs.length - 1) {
  2649. //页面图标每次向下加95
  2650. left += 150;
  2651. }
  2652. }
  2653. //返回最后调用的图标的位置
  2654. return [top, left];
  2655. }
  2656. /**
  2657. * 桌面点击事件逻辑
  2658. *
  2659. * @param {element} 桌面元素
  2660. * @param {object} 上下相距的距离
  2661. * @param {object} 左右相距的距离
  2662. * @return {object} 命名空间
  2663. */
  2664. U.MD.D.click = function (el, obj) {
  2665. var _buttonnumber = event.button; //点击的按钮的事件值
  2666. var _userinfo = US.userInfo;
  2667. U.UF.EV.stopBubble(); //阻止向上冒泡
  2668. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2669. if (_buttonnumber < 2) {
  2670. //如果是click事件的处理
  2671. if (event.type == "click") {
  2672. //如果元素在mousemove事件中没有移动则出发click事件
  2673. if (!U.MD.D.I.IsDrag) {
  2674. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2675. U.alert("请先登录您的账号!");
  2676. setTimeout(() => {
  2677. U.MD.U.L.login();
  2678. }, 2000);
  2679. } else {
  2680. //打开应用处理
  2681. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2682. }
  2683. }
  2684. }
  2685. //如果是mouse事件的处理
  2686. else {
  2687. if (US.Config.type == '1') {
  2688. //拖动处理,添加拖动和拖动结束事件
  2689. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2690. }
  2691. }
  2692. U.MD.D.I.IsDrag = false;
  2693. }
  2694. }
  2695. /**
  2696. * 拖动的处理
  2697. *
  2698. */
  2699. U.MD.D.iconMove = function () {
  2700. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2701. U.MD.D.I.IsDrag = true;
  2702. }
  2703. /**
  2704. * 拖动结束后,这里是定位处理,以网状的形式定位
  2705. *
  2706. * @param {element} 拖动的元素
  2707. * @return {object} 命名空间
  2708. */
  2709. U.MD.D.iconUp = function (el) {
  2710. var _top = 15,
  2711. _left = 20,
  2712. _margin,
  2713. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2714. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2715. if (_positioninfo["OT"] > 15) {
  2716. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2717. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2718. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2719. }
  2720. if (_positioninfo["OL"] > 20) {
  2721. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2722. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2723. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2724. }
  2725. //while循环判断么一个重叠的元素
  2726. do {
  2727. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2728. _top = _positioninfo[0] + 95; //得到定位后的top
  2729. _left = _positioninfo[1]; //得到定位后的left
  2730. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2731. }
  2732. /**
  2733. * 判断拖动后图标是否重叠
  2734. *
  2735. * @param {element} 拖动的元素
  2736. * @param {element} 桌面所有的元素
  2737. * @param {array} 拖动元素的位置
  2738. ----------[0] 上 top
  2739. ----------[1] 左 left
  2740. * @return {object} 命名空间
  2741. */
  2742. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2743. //循环所有的图标
  2744. for (var i = 0; i < childs.length; i++) {
  2745. //判断有没有和该图标诶子重叠的元素
  2746. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2747. return childs[i]; //如果有返回
  2748. }
  2749. }
  2750. }
  2751. //#endregion
  2752. //#endregion
  2753. //#region 桌面应用
  2754. /**
  2755. * 打开应用
  2756. *
  2757. * @param {string} 类型
  2758. -----------------Disk 网盘系统
  2759. -----------------PDisk 学习系统网盘
  2760. -----------------Poto 图片
  2761. -----------------Video 视频
  2762. -----------------Music 音乐
  2763. -----------------Word word
  2764. -----------------Excel excel
  2765. -----------------Txt 记事本
  2766. -----------------PB 学习系统
  2767. -----------------Blog 朋友圈系统
  2768. -----------------FTP ftp系统
  2769. -----------------Group 好友群
  2770. -----------------SY 首页系统
  2771. -----------------Set 个人设置
  2772. -----------------XSet 系统设置
  2773. -----------------App 我们所有的app
  2774. -----------------BC c.1473.cn 平台
  2775. -----------------CWeb d.1473.cn 变成平台
  2776. -----------------其他的外联系统 我们统一用iframe打开
  2777. * @param {array} 类型
  2778. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2779. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2780. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2781. 如果第一个参数为其他,则无第二个参数
  2782. * @returns {array}
  2783. */
  2784. window.addEventListener('message', function (e) { // 监听 message 事件
  2785. // alert(e.data.type);
  2786. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2787. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2788. //3是展示全部阶段 2学生 1老师 4专家
  2789. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2790. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2791. //3是展示全部阶段 2学生 1老师 4专家
  2792. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2793. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2794. //3是展示全部阶段 2学生 1老师 4专家
  2795. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2796. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2797. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2798. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2799. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2800. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2801. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2802. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2803. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2804. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2805. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2806. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2807. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2808. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2809. //3是展示全部阶段 2学生 1老师 4专家
  2810. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2811. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2812. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2813. U.MD.D.I.selectUser();
  2814. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2815. var _formel = document.getElementById("study");
  2816. U.UF.F.windowZooming(_formel);
  2817. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2818. var _formel = document.getElementById("studyDetail");
  2819. U.UF.F.windowZooming(_formel);
  2820. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2821. var _formel = document.getElementById("studyDetail");
  2822. U.UF.F.windowZooming(_formel);
  2823. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2824. var _formel = document.getElementById("studentStudy");
  2825. U.UF.F.windowZooming(_formel);
  2826. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2827. // var _formel = document.getElementById("study");
  2828. //如果最大化了,那么就把他缩小
  2829. // if (_formel.ismaximize) {
  2830. // return;
  2831. // }
  2832. // U.UF.F.windowZooming(_formel);
  2833. // U.UF.F.topWindow(_formel);
  2834. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2835. // var _formel = document.getElementById("studyDetail");
  2836. //如果最大化了,那么就把他缩小
  2837. // if (_formel.ismaximize) {
  2838. // return;
  2839. // }
  2840. // U.UF.F.windowZooming(_formel);
  2841. // U.UF.F.topWindow(_formel);
  2842. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2843. // var _formel = document.getElementById("studentStudy");
  2844. // if (_formel.ismaximize) {
  2845. // return;
  2846. // }
  2847. // U.UF.F.windowZooming(_formel);
  2848. // U.UF.F.topWindow(_formel);
  2849. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2850. var _formel = document.getElementById("study");
  2851. // if (_formel.ismaximize) {
  2852. // return;
  2853. // }
  2854. // U.UF.F.windowZooming(_formel);
  2855. U.UF.F.topWindow(_formel);
  2856. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2857. var _formel = document.getElementById("studentIndex");
  2858. U.UF.F.windowZooming(_formel);
  2859. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2860. var _formel = document.getElementById("studyDetailS");
  2861. U.UF.F.windowZooming(_formel);
  2862. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2863. var _formel = document.getElementById("studioIndex");
  2864. U.UF.F.windowZooming(_formel);
  2865. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2866. var _formel = document.getElementById("studyDetailStudio");
  2867. U.UF.F.windowZooming(_formel);
  2868. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2869. var _formel = document.getElementById("studyDetailStudio");
  2870. U.UF.F.windowZooming(_formel);
  2871. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2872. var _formel = document.getElementById("studyDetailNT");
  2873. U.UF.F.windowZooming(_formel);
  2874. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2875. var _formel = document.getElementById("studyDetailS");
  2876. U.UF.F.windowZooming(_formel);
  2877. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2878. var _formel = document.getElementById("studyDetailS");
  2879. U.UF.F.topWindow(_formel);
  2880. } else if (e.data.tools && e.data.tools == "1") {
  2881. // U.MD.D.I.openApplication("whiteboard")
  2882. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2883. } else if (e.data.tools && e.data.tools == "2") {
  2884. U.MD.D.I.openApplication("note")
  2885. } else if (e.data.tools && e.data.tools == "3") {
  2886. // U.MD.D.I.openApplication("mind")
  2887. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2888. } else if (e.data.tools && e.data.tools == "4") {
  2889. U.MD.D.I.openApplication("investigation")
  2890. } else if (e.data.tools && e.data.tools == "6") {
  2891. // U.MD.D.I.openApplication("doc")
  2892. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2893. } else if (e.data.tools && e.data.tools == "7") {
  2894. // U.MD.D.I.openApplication("mindNetwork")
  2895. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2896. } else if (e.data.tools && e.data.tools == "8") {
  2897. U.MD.D.I.openApplication("library")
  2898. } else if (e.data.tools && e.data.tools == "17") {
  2899. U.MD.D.I.openApplication("stuLibrary")
  2900. } else if (e.data.tools && e.data.tools == "18") {
  2901. U.MD.D.I.openApplication("train")
  2902. } else if (e.data.tools && e.data.tools == "21") {
  2903. U.MD.D.I.openApplication("program")
  2904. } else if (e.data.tools && e.data.tools == "22") {
  2905. U.MD.D.I.openApplication("AIprogram2")
  2906. } else if (e.data.tools && e.data.tools == "23") {
  2907. U.MD.D.I.openApplication("Pythonprogram")
  2908. } else if (e.data.tools && e.data.tools == "24") {
  2909. U.MD.D.I.openApplication("AIprogram")
  2910. } else if (e.data.tools && e.data.tools == "25") {
  2911. U.MD.D.I.openApplication("sys")
  2912. } else if (e.data.tools && e.data.tools == "26") {
  2913. // U.MD.D.I.openApplication("courseDesign")
  2914. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2915. } else if (e.data.tools && e.data.tools == "31") {
  2916. U.MD.D.I.openApplication("netWorkPanel")
  2917. } else if (e.data.tools && e.data.tools == "32") {
  2918. U.MD.D.I.openApplication("codeEdit")
  2919. } else if (e.data.tools && e.data.tools == "57") {
  2920. U.MD.D.I.openApplication("CocoPi")
  2921. } else if (e.data.tools && e.data.tools == "63") {
  2922. U.MD.D.I.openApplication("Wood")
  2923. } else if (e.data.tools && e.data.tools == "58") {
  2924. U.MD.D.I.openApplication("car")
  2925. } else if (e.data.tools && e.data.tools == "59") {
  2926. U.MD.D.I.openApplication("lineSearch")
  2927. } else if (e.data.tools && e.data.tools == "60") {
  2928. U.MD.D.I.openApplication("deepLearning")
  2929. } else if (e.data.tools && e.data.tools == "61") {
  2930. U.MD.D.I.openApplication("allHistory")
  2931. } else if (e.data.tools && e.data.tools == "28") {
  2932. U.MD.D.I.openApplication("translation")
  2933. } else if (e.data.tools && e.data.tools == "37") {
  2934. U.MD.D.I.openApplication("mohe")
  2935. } else if (e.data.tools && e.data.tools == "38") {
  2936. U.MD.D.I.openApplication("24game")
  2937. } else if (e.data.tools && e.data.tools == "39") {
  2938. U.MD.D.I.openApplication("GeoGebra")
  2939. } else if (e.data.tools && e.data.tools == "43") {
  2940. U.MD.D.I.openApplication("studentEvaluate")
  2941. } else if (e.data.tools && e.data.tools == "44") {
  2942. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2943. } else if (e.data.tools && e.data.tools == "46") {
  2944. U.MD.D.I.openApplication("project")
  2945. } else if (e.data.tools && e.data.tools == "1s") {
  2946. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2947. } else if (e.data.tools && e.data.tools == "3s") {
  2948. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2949. } else if (e.data.tools && e.data.tools == "6s") {
  2950. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2951. } else if (e.data.tools && e.data.tools == "1studio") {
  2952. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2953. } else if (e.data.tools && e.data.tools == "3studio") {
  2954. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2955. } else if (e.data.tools && e.data.tools == "6studio") {
  2956. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2957. } else if (e.data.tools && e.data.tools == "3y") {
  2958. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2959. } else if (e.data.tools && e.data.tools == "1y") {
  2960. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2961. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2962. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2963. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2964. U.MD.D.I.openApplication("AIAnalyse")
  2965. } else if (e.data.tools && e.data.tools == "1teacher") {
  2966. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2967. } else if (e.data.tools && e.data.tools == "3teacher") {
  2968. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2969. } else if (e.data.tools && e.data.tools == "7teacher") {
  2970. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2971. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2972. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2973. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2974. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2975. } else if (e.data.tools && e.data.tools == "1E") {
  2976. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2977. } else if (e.data.tools && e.data.tools == "3E") {
  2978. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2979. } else if (e.data.tools && e.data.tools == "57y") {
  2980. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2981. } else if (e.data.tools && e.data.tools == "57u") {
  2982. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2983. } else if (e.data.tools && e.data.tools == "57teacher") {
  2984. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2985. } else if (e.data.tools && e.data.tools == "64") {
  2986. U.MD.D.I.openApplication("AIChat")
  2987. } else if (e.data.tools && e.data.tools == "66") {
  2988. U.MD.D.I.openApplication("formulaEdi")
  2989. } else if (e.data.tools && e.data.tools == "67") {
  2990. U.MD.D.I.openApplication("molStr")
  2991. } else if (e.data.tools && e.data.tools == "68") {
  2992. U.MD.D.I.openApplication("timeAxis")
  2993. } else if (e.data.tools && e.data.tools == "openCourse") {
  2994. let _data = {
  2995. typea: e.data.typea || '',
  2996. typeb: e.data.typeb || '',
  2997. typed: e.data.typed || '',
  2998. }
  2999. U.MD.D.I.openInApplication("index", _data)
  3000. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3001. let _data = {
  3002. classid: e.data.classid || '',
  3003. }
  3004. U.MD.D.I.openInApplication("dataClass", _data)
  3005. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3006. let _data = {
  3007. cid: e.data.cid || '',
  3008. gid: e.data.gid || '',
  3009. }
  3010. U.MD.D.I.openInApplication("opencCscl", _data)
  3011. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3012. U.MD.D.I.openApplication("dataBoardTest")
  3013. }
  3014. });
  3015. U.MD.D.I.selectUser = function () {
  3016. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3017. if (res.value[0].length > 0) {
  3018. US.userInfo = res.value[0][0];
  3019. $(".userName")[0].innerHTML = US.userInfo.username;
  3020. }
  3021. }, [], { "type": "GET", "withCredentials": true });
  3022. }
  3023. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3024. var _userinfo = US.userInfo, //登录用户信息
  3025. _userid = US.userInfo.userid, //登录用户id
  3026. _oid = _userinfo.organizeid,
  3027. _type = US.userInfo.type,
  3028. _org = US.userInfo.org,
  3029. _role = US.userInfo.role,
  3030. _classId = US.userInfo.classid;
  3031. if (_type == 4) {
  3032. tType = 4
  3033. }
  3034. switch (str) {
  3035. case "studyDetailNT": //无终端模式
  3036. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3037. setTimeout(() => {
  3038. U.MD.U.L.login();
  3039. }, 2000);
  3040. } else {
  3041. _formdiv = new U.UF.UI.form(
  3042. "课程详情",
  3043. $$("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 }), {
  3044. "id": "studyDetailNT",
  3045. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3046. "onresize": function () { }
  3047. }, {
  3048. closecallback: function () { }
  3049. }, { "style": { "height": "36px" } }).form; //创建窗体
  3050. _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); } }
  3051. break;
  3052. }
  3053. case "studyDetail":
  3054. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3055. setTimeout(() => {
  3056. U.MD.U.L.login();
  3057. }, 2000);
  3058. } else {
  3059. _formdiv = new U.UF.UI.form(
  3060. "课程详情",
  3061. $$("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 }), {
  3062. "id": "studyDetail",
  3063. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3064. "onresize": function () { }
  3065. }, {
  3066. closecallback: function () { }
  3067. }, { "style": { "height": "36px" } }).form; //创建窗体
  3068. _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); } }
  3069. break;
  3070. }
  3071. case "studyDetailTrain":
  3072. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3073. setTimeout(() => {
  3074. U.MD.U.L.login();
  3075. }, 2000);
  3076. } else {
  3077. _formdiv = new U.UF.UI.form(
  3078. "培训详情",
  3079. $$("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 }), {
  3080. "id": "studyDetailTrain",
  3081. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3082. "onresize": function () { }
  3083. }, {
  3084. closecallback: function () { }
  3085. }, { "style": { "height": "36px" } }).form; //创建窗体
  3086. _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); } }
  3087. break;
  3088. }
  3089. case "studyDetailS":
  3090. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3091. setTimeout(() => {
  3092. U.MD.U.L.login();
  3093. }, 2000);
  3094. } else {
  3095. _formdiv = new U.UF.UI.form(
  3096. "项目详情",
  3097. $$("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 }), {
  3098. "id": "studyDetailS",
  3099. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3100. "onresize": function () { }
  3101. }, {
  3102. closecallback: function () { }
  3103. }, { "style": { "height": "36px" } }).form; //创建窗体
  3104. _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); } }
  3105. break;
  3106. }
  3107. case "studyDetailStudio":
  3108. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3109. setTimeout(() => {
  3110. U.MD.U.L.login();
  3111. }, 2000);
  3112. } else {
  3113. _formdiv = new U.UF.UI.form(
  3114. "工作详情",
  3115. $$("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 }), {
  3116. "id": "studyDetailStudio",
  3117. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3118. "onresize": function () { }
  3119. }, {
  3120. closecallback: function () { }
  3121. }, { "style": { "height": "36px" } }).form; //创建窗体
  3122. _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); } }
  3123. break;
  3124. }
  3125. case "studyDetailS5":
  3126. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3127. setTimeout(() => {
  3128. U.MD.U.L.login();
  3129. }, 2000);
  3130. } else {
  3131. _formdiv = new U.UF.UI.form(
  3132. "项目详情",
  3133. $$("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 }), {
  3134. "id": "studyDetailS",
  3135. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3136. "onresize": function () { }
  3137. }, {
  3138. closecallback: function () { }
  3139. }, { "style": { "height": "36px" } }).form; //创建窗体
  3140. _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); } }
  3141. break;
  3142. }
  3143. case "studyDetailGM":
  3144. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3145. setTimeout(() => {
  3146. U.MD.U.L.login();
  3147. }, 2000);
  3148. } else {
  3149. _formdiv = new U.UF.UI.form(
  3150. "课程详情",
  3151. $$("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 }), {
  3152. "id": "studyDetail",
  3153. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3154. "onresize": function () { }
  3155. }, {
  3156. closecallback: function () { }
  3157. }, { "style": { "height": "36px" } }).form; //创建窗体
  3158. _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); } }
  3159. break;
  3160. }
  3161. case "hanUrl":
  3162. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3163. setTimeout(() => {
  3164. U.MD.U.L.login();
  3165. }, 2000);
  3166. } else {
  3167. _formdiv = new U.UF.UI.form(
  3168. "汉字宫",
  3169. $$("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" }), {
  3170. "id": "hanUrl",
  3171. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3172. "onresize": function () { }
  3173. }, {
  3174. closecallback: function () { }
  3175. }, { "style": { "height": "36px" } }).form; //创建窗体
  3176. _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); } }
  3177. break;
  3178. }
  3179. case "index":
  3180. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3181. setTimeout(() => {
  3182. U.MD.U.L.login();
  3183. }, 2000);
  3184. } else {
  3185. _formdiv = new U.UF.UI.form(
  3186. "课程中心",
  3187. $$("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 }), {
  3188. "id": "study",
  3189. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3190. "onresize": function () { }
  3191. }, {
  3192. closecallback: function () { }
  3193. }, { "style": { "height": "36px" } }).form; //创建窗体
  3194. _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); } }
  3195. break;
  3196. }
  3197. case "dataClass":
  3198. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3199. setTimeout(() => {
  3200. U.MD.U.L.login();
  3201. }, 2000);
  3202. } else {
  3203. _formdiv = new U.UF.UI.form(
  3204. "数据报告",
  3205. $$("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 }), {
  3206. "id": "dataClass",
  3207. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3208. "onresize": function () { }
  3209. }, {
  3210. closecallback: function () { }
  3211. }, { "style": { "height": "36px" } }).form; //创建窗体
  3212. _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); } }
  3213. break;
  3214. }
  3215. case "opencCscl":
  3216. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3217. setTimeout(() => {
  3218. U.MD.U.L.login();
  3219. }, 2000);
  3220. } else {
  3221. _formdiv = new U.UF.UI.form(
  3222. "协同建构",
  3223. $$("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://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3224. "id": "futureClass",
  3225. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3226. "onresize": function () { }
  3227. }, {
  3228. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3229. }, { "style": { "height": "36px" } }).form; //创建窗体
  3230. _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); } }
  3231. break;
  3232. }
  3233. }
  3234. }
  3235. U.MD.D.I.openApplication = function (str, obj, info) {
  3236. obj = obj || {};
  3237. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3238. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3239. _userinfo = US.userInfo, //登录用户信息
  3240. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3241. _oid = obj.organizeid || _userinfo.organizeid,
  3242. _type = US.userInfo.type,
  3243. _org = US.userInfo.org,
  3244. _role = US.userInfo.role,
  3245. _classId = US.userInfo.classid,
  3246. _TscreenType = 1
  3247. _screenType = 2,
  3248. _SscreenType = 3;
  3249. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3250. return;
  3251. }
  3252. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3253. switch (str) {
  3254. case "studnetProject": //好友打开
  3255. _formdiv = new U.UF.UI.form(
  3256. "我的项目",
  3257. $$("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 }), {
  3258. "id": "studnetProject",
  3259. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3260. "onresize": function () { }
  3261. }, {
  3262. closecallback: function () { }
  3263. }, { "style": { "height": "36px" } }).form; //创建窗体
  3264. _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); } }
  3265. break;
  3266. case "studentEvaluate": //好友打开
  3267. _formdiv = new U.UF.UI.form(
  3268. "我的评价",
  3269. $$("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 }), {
  3270. "id": "studentEvaluate",
  3271. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3272. "onresize": function () { }
  3273. }, {
  3274. closecallback: function () { }
  3275. }, { "style": { "height": "36px" } }).form; //创建窗体
  3276. _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); } }
  3277. break;
  3278. case "my":
  3279. _formdiv = new U.UF.UI.form(
  3280. "我的资料",
  3281. $$("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 }), {
  3282. "id": "my",
  3283. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3284. "onresize": function () { }
  3285. }, {
  3286. closecallback: function () { }
  3287. }, { "style": { "height": "36px" } }).form; //创建窗体
  3288. _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); } }
  3289. break;
  3290. case "program":
  3291. _formdiv = new U.UF.UI.form(
  3292. "编程平台",
  3293. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3294. "id": "program",
  3295. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3296. "onresize": function () { }
  3297. }, {
  3298. closecallback: function () { }
  3299. }, { "style": { "height": "36px" } }).form; //创建窗体
  3300. _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); } }
  3301. break;
  3302. case "library":
  3303. _formdiv = new U.UF.UI.form(
  3304. "素材库",
  3305. $$("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 }), {
  3306. "id": "library",
  3307. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3308. "onresize": function () { }
  3309. }, {
  3310. closecallback: function () { }
  3311. }, { "style": { "height": "36px" } }).form; //创建窗体
  3312. _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); } }
  3313. break;
  3314. case "whiteboard":
  3315. _formdiv = new U.UF.UI.form(
  3316. "电子白板",
  3317. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3318. "id": "whiteboard",
  3319. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3320. "onresize": function () { }
  3321. }, {
  3322. closecallback: function () { }
  3323. }, { "style": { "height": "36px" } }).form; //创建窗体
  3324. _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); } }
  3325. break;
  3326. case "investigation":
  3327. _formdiv = new U.UF.UI.form(
  3328. "问卷调查",
  3329. $$("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 }), {
  3330. "id": "investigation",
  3331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3332. "onresize": function () { }
  3333. }, {
  3334. closecallback: function () { }
  3335. }, { "style": { "height": "36px" } }).form; //创建窗体
  3336. _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); } }
  3337. break;
  3338. case "note":
  3339. _formdiv = new U.UF.UI.form(
  3340. "便签分类",
  3341. $$("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 }), {
  3342. "id": "note",
  3343. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3344. "onresize": function () { }
  3345. }, {
  3346. closecallback: function () { }
  3347. }, { "style": { "height": "36px" } }).form; //创建窗体
  3348. _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); } }
  3349. break;
  3350. // case "score":
  3351. // _formdiv = new U.UF.UI.form(
  3352. // "量规评分",
  3353. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3354. // "id": "score",
  3355. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3356. // "onresize": function() {}
  3357. // }, {
  3358. // closecallback: function() {}
  3359. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3360. // _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); } }
  3361. // break;
  3362. case "mind":
  3363. _formdiv = new U.UF.UI.form(
  3364. "思维导图",
  3365. $$("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"
  3366. "id": "mind",
  3367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3368. "onresize": function () { }
  3369. }, {
  3370. closecallback: function () { }
  3371. }, { "style": { "height": "36px" } }).form; //创建窗体
  3372. _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); } }
  3373. break;
  3374. case "doc":
  3375. // U.MD.D.I.isRoom();
  3376. _formdiv = new U.UF.UI.form(
  3377. "协同文档",
  3378. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3379. "id": "doc",
  3380. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3381. "onresize": function () { }
  3382. }, {
  3383. closecallback: function () { }
  3384. }, { "style": { "height": "36px" } }).form; //创建窗体
  3385. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3386. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3387. // })
  3388. _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); } }
  3389. break;
  3390. case "studentStudy":
  3391. _formdiv = new U.UF.UI.form(
  3392. "课程中心",
  3393. $$("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
  3394. "id": "studentStudy",
  3395. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3396. "onresize": function () { }
  3397. }, {
  3398. closecallback: function () { }
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _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); } }
  3401. break;
  3402. case "train": //好友打开
  3403. _formdiv = new U.UF.UI.form(
  3404. "训练平台",
  3405. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3406. "id": "train",
  3407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3408. "onresize": function () { }
  3409. }, {
  3410. closecallback: function () { }
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _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); } }
  3413. break;
  3414. case "mindNetwork": //好友打开
  3415. _formdiv = new U.UF.UI.form(
  3416. "思维网格",
  3417. $$("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 }), {
  3418. "id": "mindNetwork",
  3419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function () { }
  3421. }, {
  3422. closecallback: function () { }
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _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); } }
  3425. break;
  3426. case "studentClassRoom": //好友打开
  3427. _formdiv = new U.UF.UI.form(
  3428. "实时课堂",
  3429. $$("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 }), {
  3430. "id": "studentClassRoom",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _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); } }
  3437. setTimeout(() => {
  3438. U.UF.F.windowZooming(_formdiv)
  3439. }, 0);
  3440. break;
  3441. }
  3442. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3443. switch (str) {
  3444. case "studnetProject": //好友打开
  3445. _formdiv = new U.UF.UI.form(
  3446. "我的项目",
  3447. $$("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 }), {
  3448. "id": "studnetProject",
  3449. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3450. "onresize": function () { }
  3451. }, {
  3452. closecallback: function () { }
  3453. }, { "style": { "height": "36px" } }).form; //创建窗体
  3454. _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); } }
  3455. break;
  3456. case "studentEvaluate": //好友打开
  3457. _formdiv = new U.UF.UI.form(
  3458. "我的评价",
  3459. $$("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 }), {
  3460. "id": "studentEvaluate",
  3461. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3462. "onresize": function () { }
  3463. }, {
  3464. closecallback: function () { }
  3465. }, { "style": { "height": "36px" } }).form; //创建窗体
  3466. _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); } }
  3467. break;
  3468. case "my":
  3469. _formdiv = new U.UF.UI.form(
  3470. "我的资料",
  3471. $$("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 }), {
  3472. "id": "my",
  3473. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3474. "onresize": function () { }
  3475. }, {
  3476. closecallback: function () { }
  3477. }, { "style": { "height": "36px" } }).form; //创建窗体
  3478. _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); } }
  3479. break;
  3480. case "program":
  3481. _formdiv = new U.UF.UI.form(
  3482. "编程平台",
  3483. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3484. "id": "program",
  3485. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3486. "onresize": function () { }
  3487. }, {
  3488. closecallback: function () { }
  3489. }, { "style": { "height": "36px" } }).form; //创建窗体
  3490. _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); } }
  3491. break;
  3492. case "library":
  3493. _formdiv = new U.UF.UI.form(
  3494. "素材库",
  3495. $$("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 }), {
  3496. "id": "library",
  3497. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3498. "onresize": function () { }
  3499. }, {
  3500. closecallback: function () { }
  3501. }, { "style": { "height": "36px" } }).form; //创建窗体
  3502. _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); } }
  3503. break;
  3504. case "whiteboard":
  3505. _formdiv = new U.UF.UI.form(
  3506. "电子白板",
  3507. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3508. "id": "whiteboard",
  3509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3510. "onresize": function () { }
  3511. }, {
  3512. closecallback: function () { }
  3513. }, { "style": { "height": "36px" } }).form; //创建窗体
  3514. _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); } }
  3515. break;
  3516. case "investigation":
  3517. _formdiv = new U.UF.UI.form(
  3518. "问卷调查",
  3519. $$("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 }), {
  3520. "id": "investigation",
  3521. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3522. "onresize": function () { }
  3523. }, {
  3524. closecallback: function () { }
  3525. }, { "style": { "height": "36px" } }).form; //创建窗体
  3526. _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); } }
  3527. break;
  3528. case "note":
  3529. _formdiv = new U.UF.UI.form(
  3530. "便签分类",
  3531. $$("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 }), {
  3532. "id": "note",
  3533. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3534. "onresize": function () { }
  3535. }, {
  3536. closecallback: function () { }
  3537. }, { "style": { "height": "36px" } }).form; //创建窗体
  3538. _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); } }
  3539. break;
  3540. // case "score":
  3541. // _formdiv = new U.UF.UI.form(
  3542. // "量规评分",
  3543. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3544. // "id": "score",
  3545. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3546. // "onresize": function() {}
  3547. // }, {
  3548. // closecallback: function() {}
  3549. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3550. // _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); } }
  3551. // break;
  3552. case "mind":
  3553. _formdiv = new U.UF.UI.form(
  3554. "思维导图",
  3555. $$("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"
  3556. "id": "mind",
  3557. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3558. "onresize": function () { }
  3559. }, {
  3560. closecallback: function () { }
  3561. }, { "style": { "height": "36px" } }).form; //创建窗体
  3562. _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); } }
  3563. break;
  3564. case "doc":
  3565. // U.MD.D.I.isRoom();
  3566. _formdiv = new U.UF.UI.form(
  3567. "协同文档",
  3568. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3569. "id": "doc",
  3570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3571. "onresize": function () { }
  3572. }, {
  3573. closecallback: function () { }
  3574. }, { "style": { "height": "36px" } }).form; //创建窗体
  3575. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3576. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3577. })
  3578. _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); } }
  3579. break;
  3580. case "train": //好友打开
  3581. _formdiv = new U.UF.UI.form(
  3582. "训练平台",
  3583. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3584. "id": "train",
  3585. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3586. "onresize": function () { }
  3587. }, {
  3588. closecallback: function () { }
  3589. }, { "style": { "height": "36px" } }).form; //创建窗体
  3590. _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); } }
  3591. break;
  3592. case "studentStudy":
  3593. _formdiv = new U.UF.UI.form(
  3594. "课程中心",
  3595. $$("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
  3596. "id": "studentStudy",
  3597. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3598. "onresize": function () { }
  3599. }, {
  3600. closecallback: function () { }
  3601. }, { "style": { "height": "36px" } }).form; //创建窗体
  3602. _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); } }
  3603. break;
  3604. case "mindNetwork": //好友打开
  3605. _formdiv = new U.UF.UI.form(
  3606. "思维网格",
  3607. $$("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 }), {
  3608. "id": "mindNetwork",
  3609. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3610. "onresize": function () { }
  3611. }, {
  3612. closecallback: function () { }
  3613. }, { "style": { "height": "36px" } }).form; //创建窗体
  3614. _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); } }
  3615. break;
  3616. case "studentClassRoom": //好友打开
  3617. _formdiv = new U.UF.UI.form(
  3618. "实时课堂",
  3619. $$("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 }), {
  3620. "id": "studentClassRoom",
  3621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3622. "onresize": function () { }
  3623. }, {
  3624. closecallback: function () { }
  3625. }, { "style": { "height": "36px" } }).form; //创建窗体
  3626. _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); } }
  3627. setTimeout(() => {
  3628. U.UF.F.windowZooming(_formdiv)
  3629. }, 0);
  3630. break;
  3631. }
  3632. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3633. //选择应用处理
  3634. switch (str) {
  3635. case "project": //好友打开
  3636. _formdiv = new U.UF.UI.form(
  3637. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3638. $$("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 }), {
  3639. "id": "project",
  3640. "style": { "width": "90%", "height": "90%", "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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3646. break;
  3647. case "student":
  3648. _formdiv = new U.UF.UI.form(
  3649. "学生管理",
  3650. $$("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 }), {
  3651. "id": "student",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3658. break;
  3659. case "evaluate":
  3660. _formdiv = new U.UF.UI.form(
  3661. "学生评价",
  3662. $$("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 }), {
  3663. "id": "evaluate",
  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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3670. break;
  3671. case "sys":
  3672. _formdiv = new U.UF.UI.form(
  3673. "目标管理",
  3674. $$("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 }), {
  3675. "id": "sys",
  3676. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3682. break;
  3683. case "courseDesign":
  3684. _formdiv = new U.UF.UI.form(
  3685. "项目设计",
  3686. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3687. "id": "courseDesign",
  3688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3689. "onresize": function () { }
  3690. }, {
  3691. closecallback: function () { }
  3692. }, { "style": { "height": "36px" } }).form; //创建窗体
  3693. _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); } }
  3694. break;
  3695. case "program":
  3696. _formdiv = new U.UF.UI.form(
  3697. "编程平台",
  3698. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3699. "id": "program",
  3700. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3701. "onresize": function () { }
  3702. }, {
  3703. closecallback: function () { }
  3704. }, { "style": { "height": "36px" } }).form; //创建窗体
  3705. _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); } }
  3706. break;
  3707. case "class":
  3708. _formdiv = new U.UF.UI.form(
  3709. "班级管理",
  3710. $$("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 }), {
  3711. "id": "class",
  3712. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3713. "onresize": function () { }
  3714. }, {
  3715. closecallback: function () { }
  3716. }, { "style": { "height": "36px" } }).form; //创建窗体
  3717. _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); } }
  3718. break;
  3719. case "Grade":
  3720. _formdiv = new U.UF.UI.form(
  3721. "年级管理",
  3722. $$("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 }), {
  3723. "id": "Grade",
  3724. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3725. "onresize": function () { }
  3726. }, {
  3727. closecallback: function () { }
  3728. }, { "style": { "height": "36px" } }).form; //创建窗体
  3729. _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); } }
  3730. break;
  3731. case "teacherOffice":
  3732. _formdiv = new U.UF.UI.form(
  3733. "教研室",
  3734. $$("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 }), {
  3735. "id": "teacherOffice",
  3736. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3737. "onresize": function () { }
  3738. }, {
  3739. closecallback: function () { }
  3740. }, { "style": { "height": "36px" } }).form; //创建窗体
  3741. _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); } }
  3742. break;
  3743. case "my":
  3744. _formdiv = new U.UF.UI.form(
  3745. "我的资料",
  3746. $$("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 }), {
  3747. "id": "my",
  3748. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3749. "onresize": function () { }
  3750. }, {
  3751. closecallback: function () { }
  3752. }, { "style": { "height": "36px" } }).form; //创建窗体
  3753. _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); } }
  3754. break;
  3755. case "notice":
  3756. _formdiv = new U.UF.UI.form(
  3757. "通知公告",
  3758. $$("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 }), {
  3759. "id": "notice",
  3760. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3761. "onresize": function () { }
  3762. }, {
  3763. closecallback: function () { }
  3764. }, { "style": { "height": "36px" } }).form; //创建窗体
  3765. _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); } }
  3766. break;
  3767. case "library":
  3768. _formdiv = new U.UF.UI.form(
  3769. "素材库",
  3770. $$("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 }), {
  3771. "id": "library",
  3772. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3773. "onresize": function () { }
  3774. }, {
  3775. closecallback: function () { }
  3776. }, { "style": { "height": "36px" } }).form; //创建窗体
  3777. _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); } }
  3778. break;
  3779. case "whiteboard":
  3780. _formdiv = new U.UF.UI.form(
  3781. "电子白板",
  3782. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3783. "id": "whiteboard",
  3784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3785. "onresize": function () { }
  3786. }, {
  3787. closecallback: function () { }
  3788. }, { "style": { "height": "36px" } }).form; //创建窗体
  3789. _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); } }
  3790. break;
  3791. case "investigation":
  3792. _formdiv = new U.UF.UI.form(
  3793. "问卷调查",
  3794. $$("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 }), {
  3795. "id": "investigation",
  3796. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3797. "onresize": function () { }
  3798. }, {
  3799. closecallback: function () { }
  3800. }, { "style": { "height": "36px" } }).form; //创建窗体
  3801. _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); } }
  3802. break;
  3803. case "note":
  3804. _formdiv = new U.UF.UI.form(
  3805. "便签分类",
  3806. $$("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 }), {
  3807. "id": "note",
  3808. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function () { }
  3810. }, {
  3811. closecallback: function () { }
  3812. }, { "style": { "height": "36px" } }).form; //创建窗体
  3813. _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); } }
  3814. break;
  3815. // case "score":
  3816. // _formdiv = new U.UF.UI.form(
  3817. // "量规评分",
  3818. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3819. // "id": "score",
  3820. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3821. // "onresize": function() {}
  3822. // }, {
  3823. // closecallback: function() {}
  3824. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. // _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); } }
  3826. // break;
  3827. case "mind":
  3828. _formdiv = new U.UF.UI.form(
  3829. "思维导图",
  3830. $$("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"
  3831. "id": "mind",
  3832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function () { }
  3834. }, {
  3835. closecallback: function () { }
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _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); } }
  3838. break;
  3839. case "doc":
  3840. // U.MD.D.I.isRoom();
  3841. _formdiv = new U.UF.UI.form(
  3842. "协同文档",
  3843. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3844. "id": "doc",
  3845. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3846. "onresize": function () { }
  3847. }, {
  3848. closecallback: function () { }
  3849. }, { "style": { "height": "36px" } }).form; //创建窗体
  3850. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3851. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3852. })
  3853. _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); } }
  3854. break;
  3855. case "study":
  3856. _formdiv = new U.UF.UI.form(
  3857. "课程中心",
  3858. $$("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
  3859. "id": "study",
  3860. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3861. "onresize": function () { }
  3862. }, {
  3863. closecallback: function () { }
  3864. }, { "style": { "height": "36px" } }).form; //创建窗体
  3865. _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); } }
  3866. break;
  3867. case "mindNetwork": //好友打开
  3868. _formdiv = new U.UF.UI.form(
  3869. "思维网格",
  3870. $$("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 }), {
  3871. "id": "mindNetwork",
  3872. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3873. "onresize": function () { }
  3874. }, {
  3875. closecallback: function () { }
  3876. }, { "style": { "height": "36px" } }).form; //创建窗体
  3877. _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); } }
  3878. break;
  3879. case "train": //好友打开
  3880. _formdiv = new U.UF.UI.form(
  3881. "训练平台",
  3882. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3883. "id": "mindNetwork",
  3884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3885. "onresize": function () { }
  3886. }, {
  3887. closecallback: function () { }
  3888. }, { "style": { "height": "36px" } }).form; //创建窗体
  3889. _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); } }
  3890. break;
  3891. case "teacherClassRoom": //好友打开
  3892. _formdiv = new U.UF.UI.form(
  3893. "实时课堂",
  3894. $$("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 }), {
  3895. "id": "teacherClassRoom",
  3896. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3897. "onresize": function () { }
  3898. }, {
  3899. closecallback: function () { }
  3900. }, { "style": { "height": "36px" } }).form; //创建窗体
  3901. _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); } }
  3902. setTimeout(() => {
  3903. U.UF.F.windowZooming(_formdiv)
  3904. }, 0);
  3905. break;
  3906. }
  3907. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3908. switch (str) {
  3909. case "project": //好友打开
  3910. _formdiv = new U.UF.UI.form(
  3911. "课程管理",
  3912. $$("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 }), {
  3913. "id": "project",
  3914. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3915. "onresize": function () { }
  3916. }, {
  3917. closecallback: function () { }
  3918. }, { "style": { "height": "36px" } }).form; //创建窗体
  3919. _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); } }
  3920. break;
  3921. case "evaluate":
  3922. _formdiv = new U.UF.UI.form(
  3923. "学生评价",
  3924. $$("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 }), {
  3925. "id": "evaluate",
  3926. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3927. "onresize": function () { }
  3928. }, {
  3929. closecallback: function () { }
  3930. }, { "style": { "height": "36px" } }).form; //创建窗体
  3931. _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); } }
  3932. break;
  3933. case "notice":
  3934. _formdiv = new U.UF.UI.form(
  3935. "通知公告",
  3936. $$("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 }), {
  3937. "id": "notice",
  3938. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3939. "onresize": function () { }
  3940. }, {
  3941. closecallback: function () { }
  3942. }, { "style": { "height": "36px" } }).form; //创建窗体
  3943. _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); } }
  3944. break;
  3945. case "stuLibrary":
  3946. _formdiv = new U.UF.UI.form(
  3947. "学习资料",
  3948. $$("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 }), {
  3949. "id": "stuLibrary",
  3950. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3951. "onresize": function () { }
  3952. }, {
  3953. closecallback: function () { }
  3954. }, { "style": { "height": "36px" } }).form; //创建窗体
  3955. _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); } }
  3956. break;
  3957. case "program":
  3958. _formdiv = new U.UF.UI.form(
  3959. "编程平台",
  3960. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3961. "id": "program",
  3962. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3963. "onresize": function () { }
  3964. }, {
  3965. closecallback: function () { }
  3966. }, { "style": { "height": "36px" } }).form; //创建窗体
  3967. _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); } }
  3968. break;
  3969. case "whiteboard":
  3970. _formdiv = new U.UF.UI.form(
  3971. "电子白板",
  3972. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3973. "id": "whiteboard",
  3974. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3975. "onresize": function () { }
  3976. }, {
  3977. closecallback: function () { }
  3978. }, { "style": { "height": "36px" } }).form; //创建窗体
  3979. _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); } }
  3980. break;
  3981. case "investigation":
  3982. _formdiv = new U.UF.UI.form(
  3983. "问卷调查",
  3984. $$("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 }), {
  3985. "id": "investigation",
  3986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3987. "onresize": function () { }
  3988. }, {
  3989. closecallback: function () { }
  3990. }, { "style": { "height": "36px" } }).form; //创建窗体
  3991. _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); } }
  3992. break;
  3993. case "mind":
  3994. _formdiv = new U.UF.UI.form(
  3995. "思维导图",
  3996. $$("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"
  3997. "id": "mind",
  3998. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3999. "onresize": function () { }
  4000. }, {
  4001. closecallback: function () { }
  4002. }, { "style": { "height": "36px" } }).form; //创建窗体
  4003. _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); } }
  4004. break;
  4005. case "doc":
  4006. // U.MD.D.I.isRoom();
  4007. _formdiv = new U.UF.UI.form(
  4008. "协同文档",
  4009. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4010. "id": "doc",
  4011. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4012. "onresize": function () { }
  4013. }, {
  4014. closecallback: function () { }
  4015. }, { "style": { "height": "36px" } }).form; //创建窗体
  4016. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4017. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4018. })
  4019. _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); } }
  4020. break;
  4021. case "study":
  4022. _formdiv = new U.UF.UI.form(
  4023. "课程中心",
  4024. $$("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
  4025. "id": "study",
  4026. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4027. "onresize": function () { }
  4028. }, {
  4029. closecallback: function () { }
  4030. }, { "style": { "height": "36px" } }).form; //创建窗体
  4031. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4032. break;
  4033. case "mindNetwork": //好友打开
  4034. _formdiv = new U.UF.UI.form(
  4035. "思维网格",
  4036. $$("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 }), {
  4037. "id": "mindNetwork",
  4038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4044. break;
  4045. case "train": //好友打开
  4046. _formdiv = new U.UF.UI.form(
  4047. "训练平台",
  4048. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4049. "id": "train",
  4050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4056. break;
  4057. case "sys":
  4058. _formdiv = new U.UF.UI.form(
  4059. "目标管理",
  4060. $$("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 }), {
  4061. "id": "sys",
  4062. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //创建窗体
  4067. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4068. break;
  4069. case "courseDesign":
  4070. _formdiv = new U.UF.UI.form(
  4071. "项目设计",
  4072. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4073. "id": "courseDesign",
  4074. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //创建窗体
  4079. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4080. break;
  4081. }
  4082. } else if (!_type) {
  4083. switch (str) {
  4084. case "my":
  4085. _formdiv = new U.UF.UI.form(
  4086. "我的资料",
  4087. $$("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 }), {
  4088. "id": "my",
  4089. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4090. "onresize": function () { }
  4091. }, {
  4092. closecallback: function () { }
  4093. }, { "style": { "height": "36px" } }).form; //创建窗体
  4094. _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); } }
  4095. break;
  4096. }
  4097. }
  4098. switch (str) {
  4099. // AIprogram2 AI体验 aihub.cocorobo.cn
  4100. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  4101. // AIprogram AI编程 ai-blockly.cocorobo.cn
  4102. case "formulaEdi": //公式编辑
  4103. _formdiv = new U.UF.UI.form(
  4104. "公式编辑",
  4105. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4106. "id": "formulaEdi",
  4107. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4108. "onresize": function () { }
  4109. }, {
  4110. closecallback: function () { }
  4111. }, { "style": { "height": "36px" } }).form; //创建窗体
  4112. _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); } }
  4113. break;
  4114. case "molStr": //分子结构
  4115. _formdiv = new U.UF.UI.form(
  4116. "分子结构",
  4117. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4118. "id": "molStr",
  4119. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4120. "onresize": function () { }
  4121. }, {
  4122. closecallback: function () { }
  4123. }, { "style": { "height": "36px" } }).form; //创建窗体
  4124. _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); } }
  4125. break;
  4126. case "timeAxis": //时间轴
  4127. _formdiv = new U.UF.UI.form(
  4128. "时间轴",
  4129. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4130. "id": "timeAxis",
  4131. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4132. "onresize": function () { }
  4133. }, {
  4134. closecallback: function () { }
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _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); } }
  4137. break;
  4138. case "AIprogram2": //AI体验
  4139. _formdiv = new U.UF.UI.form(
  4140. "AI体验",
  4141. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4142. "id": "AIprogram2",
  4143. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4144. "onresize": function () { }
  4145. }, {
  4146. closecallback: function () { }
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _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); } }
  4149. break;
  4150. case "Pythonprogram": //python编程
  4151. _formdiv = new U.UF.UI.form(
  4152. "Python编程",
  4153. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4154. "id": "Pythonprogram",
  4155. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4156. "onresize": function () { }
  4157. }, {
  4158. closecallback: function () { }
  4159. }, { "style": { "height": "36px" } }).form; //创建窗体
  4160. _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); } }
  4161. break;
  4162. case "AIprogram": //ai编程
  4163. _formdiv = new U.UF.UI.form(
  4164. "AI编程平台",
  4165. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4166. "id": "AIprogram",
  4167. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4168. "onresize": function () { }
  4169. }, {
  4170. closecallback: function () { }
  4171. }, { "style": { "height": "36px" } }).form; //创建窗体
  4172. _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); } }
  4173. break;
  4174. case "CocoPi": //CocoPi
  4175. _formdiv = new U.UF.UI.form(
  4176. "CocoPi",
  4177. $$("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" }), {
  4178. "id": "CocoPi",
  4179. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4180. "onresize": function () { }
  4181. }, {
  4182. closecallback: function () { }
  4183. }, { "style": { "height": "36px" } }).form; //创建窗体
  4184. _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); } }
  4185. break;
  4186. case "Wood": //Wood
  4187. _formdiv = new U.UF.UI.form(
  4188. "海龟编程",
  4189. $$("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/" }), {
  4190. "id": "Wood",
  4191. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4192. "onresize": function () { }
  4193. }, {
  4194. closecallback: function () { }
  4195. }, { "style": { "height": "36px" } }).form; //创建窗体
  4196. _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); } }
  4197. break;
  4198. case "car": //模拟驾驶
  4199. _formdiv = new U.UF.UI.form(
  4200. "模拟驾驶",
  4201. $$("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/" }), {
  4202. "id": "car",
  4203. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4204. "onresize": function () { }
  4205. }, {
  4206. closecallback: function () { }
  4207. }, { "style": { "height": "36px" } }).form; //创建窗体
  4208. _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); } }
  4209. break;
  4210. case "lineSearch": //路径搜索
  4211. _formdiv = new U.UF.UI.form(
  4212. "路径搜索",
  4213. $$("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/" }), {
  4214. "id": "lineSearch",
  4215. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4216. "onresize": function () { }
  4217. }, {
  4218. closecallback: function () { }
  4219. }, { "style": { "height": "36px" } }).form; //创建窗体
  4220. _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); } }
  4221. break;
  4222. case "deepLearning": //深度学习
  4223. _formdiv = new U.UF.UI.form(
  4224. "深度学习",
  4225. $$("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/#" }), {
  4226. "id": "deepLearning",
  4227. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4228. "onresize": function () { }
  4229. }, {
  4230. closecallback: function () { }
  4231. }, { "style": { "height": "36px" } }).form; //创建窗体
  4232. _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); } }
  4233. break;
  4234. case "allHistory": //深度学习
  4235. _formdiv = new U.UF.UI.form(
  4236. "全历史",
  4237. $$("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/" }), {
  4238. "id": "allHistory",
  4239. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4240. "onresize": function () { }
  4241. }, {
  4242. closecallback: function () { }
  4243. }, { "style": { "height": "36px" } }).form; //创建窗体
  4244. _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); } }
  4245. break;
  4246. case "chatPDF": //ai编程
  4247. _formdiv = new U.UF.UI.form(
  4248. "chatPDF",
  4249. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4250. "id": "chatPDF",
  4251. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4252. "onresize": function () { }
  4253. }, {
  4254. closecallback: function () { }
  4255. }, { "style": { "height": "36px" } }).form; //创建窗体
  4256. _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); } }
  4257. break;
  4258. case "resources": //国家教育
  4259. _formdiv = new U.UF.UI.form(
  4260. "国家教育",
  4261. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4262. "id": "resources",
  4263. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4264. "onresize": function () { }
  4265. }, {
  4266. closecallback: function () { }
  4267. }, { "style": { "height": "36px" } }).form; //创建窗体
  4268. _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); } }
  4269. break;
  4270. case "codeEdit": //源码编辑
  4271. _formdiv = new U.UF.UI.form(
  4272. "源码编辑",
  4273. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4274. "id": "codeEdit",
  4275. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4276. "onresize": function () { }
  4277. }, {
  4278. closecallback: function () { }
  4279. }, { "style": { "height": "36px" } }).form; //创建窗体
  4280. _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); } }
  4281. break; //
  4282. case "MindMap": //MindMap
  4283. _formdiv = new U.UF.UI.form(
  4284. "MindMap",
  4285. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4286. "id": "MindMap",
  4287. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4288. "onresize": function () { }
  4289. }, {
  4290. closecallback: function () { }
  4291. }, { "style": { "height": "36px" } }).form; //创建窗体
  4292. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4293. break;
  4294. case "netWorkPanel": //netWorkPanel
  4295. _formdiv = new U.UF.UI.form(
  4296. "netWorkPanel",
  4297. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4298. "id": "netWorkPanel",
  4299. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4300. "onresize": function () { }
  4301. }, {
  4302. closecallback: function () { }
  4303. }, { "style": { "height": "36px" } }).form; //创建窗体
  4304. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4305. break;
  4306. case "GeoGebra": //GeoGebra
  4307. _formdiv = new U.UF.UI.form(
  4308. "GeoGebra",
  4309. $$("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" }), {
  4310. "id": "GeoGebra",
  4311. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4312. "onresize": function () { }
  4313. }, {
  4314. closecallback: function () { }
  4315. }, { "style": { "height": "36px" } }).form; //创建窗体
  4316. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4317. break;
  4318. case "translation": //翻译
  4319. _formdiv = new U.UF.UI.form(
  4320. "翻译",
  4321. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4322. "id": "translation",
  4323. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4324. "onresize": function () { }
  4325. }, {
  4326. closecallback: function () { }
  4327. }, { "style": { "height": "36px" } }).form; //创建窗体
  4328. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4329. break;
  4330. case "mohe": //魔盒
  4331. _formdiv = new U.UF.UI.form(
  4332. "魔盒识字",
  4333. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4334. "id": "mohe",
  4335. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4336. "onresize": function () { }
  4337. }, {
  4338. closecallback: function () { }
  4339. }, { "style": { "height": "36px" } }).form; //创建窗体
  4340. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4341. break;
  4342. case "24game": //24点
  4343. _formdiv = new U.UF.UI.form(
  4344. "24点",
  4345. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4346. "id": "24game",
  4347. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4348. "onresize": function () { }
  4349. }, {
  4350. closecallback: function () { }
  4351. }, { "style": { "height": "36px" } }).form; //创建窗体
  4352. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4353. break;
  4354. case "case":
  4355. _formdiv = new U.UF.UI.form(
  4356. "课程进展",
  4357. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4358. "id": "case",
  4359. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4360. "onresize": function () { }
  4361. }, {
  4362. closecallback: function () { }
  4363. }, { "style": { "height": "36px" } }).form; //创建窗体
  4364. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4365. break;
  4366. case "snf":
  4367. _formdiv = new U.UF.UI.form(
  4368. "赛诺梵",
  4369. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  4370. "id": "snf",
  4371. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4372. "onresize": function () { }
  4373. }, {
  4374. closecallback: function () { }
  4375. }, { "style": { "height": "36px" } }).form; //创建窗体
  4376. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4377. break;
  4378. case "hanFamily":
  4379. _formdiv = new U.UF.UI.form(
  4380. "汉字家族",
  4381. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4382. "id": "hanFamily",
  4383. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4384. "onresize": function () { }
  4385. }, {
  4386. closecallback: function () { }
  4387. }, { "style": { "height": "36px" } }).form; //创建窗体
  4388. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4389. break;
  4390. case "hanClassics":
  4391. _formdiv = new U.UF.UI.form(
  4392. "国学经典",
  4393. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4394. "id": "hanClassics",
  4395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4396. "onresize": function () { }
  4397. }, {
  4398. closecallback: function () { }
  4399. }, { "style": { "height": "36px" } }).form; //创建窗体
  4400. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4401. break;
  4402. case "hanTraining":
  4403. _formdiv = new U.UF.UI.form(
  4404. "笔画训练",
  4405. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4406. "id": "hanTraining",
  4407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4408. "onresize": function () { }
  4409. }, {
  4410. closecallback: function () { }
  4411. }, { "style": { "height": "36px" } }).form; //创建窗体
  4412. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4413. break;
  4414. case "hanClass":
  4415. _formdiv = new U.UF.UI.form(
  4416. "书法课堂",
  4417. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4418. "id": "hanClass",
  4419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4420. "onresize": function () { }
  4421. }, {
  4422. closecallback: function () { }
  4423. }, { "style": { "height": "36px" } }).form; //创建窗体
  4424. _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); } }
  4425. break;
  4426. case "han":
  4427. _formdiv = new U.UF.UI.form(
  4428. "汉字宫",
  4429. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4430. "id": "han",
  4431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4432. "onresize": function () { }
  4433. }, {
  4434. closecallback: function () { }
  4435. }, { "style": { "height": "36px" } }).form; //创建窗体
  4436. _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); } }
  4437. break;
  4438. case "projectGM": //课程管理
  4439. _formdiv = new U.UF.UI.form(
  4440. "课程管理",
  4441. $$("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 }), {
  4442. "id": "projectGM",
  4443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4444. "onresize": function () { }
  4445. }, {
  4446. closecallback: function () { }
  4447. }, { "style": { "height": "36px" } }).form; //创建窗体
  4448. _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); } }
  4449. break;
  4450. case "studyGM": //课程中心
  4451. _formdiv = new U.UF.UI.form(
  4452. "课程中心",
  4453. $$("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
  4454. "id": "study",
  4455. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4456. "onresize": function () { }
  4457. }, {
  4458. closecallback: function () { }
  4459. }, { "style": { "height": "36px" } }).form; //创建窗体
  4460. _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); } }
  4461. break;
  4462. // studentGM
  4463. case "studentGM": //学生管理
  4464. _formdiv = new U.UF.UI.form(
  4465. "学生管理",
  4466. $$("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 }), {
  4467. "id": "studentGM",
  4468. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4469. "onresize": function () { }
  4470. }, {
  4471. closecallback: function () { }
  4472. }, { "style": { "height": "36px" } }).form; //创建窗体
  4473. _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); } }
  4474. break;
  4475. case "evaluateGM": //学生评价
  4476. _formdiv = new U.UF.UI.form(
  4477. "学生评价",
  4478. $$("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 }), {
  4479. "id": "evaluateGM",
  4480. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4481. "onresize": function () { }
  4482. }, {
  4483. closecallback: function () { }
  4484. }, { "style": { "height": "36px" } }).form; //创建窗体
  4485. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4486. break;
  4487. // classGM
  4488. case "classGM": //班级管理
  4489. _formdiv = new U.UF.UI.form(
  4490. "班级管理",
  4491. $$("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 }), {
  4492. "id": "classGM",
  4493. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4494. "onresize": function () { }
  4495. }, {
  4496. closecallback: function () { }
  4497. }, { "style": { "height": "36px" } }).form; //创建窗体
  4498. _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); } }
  4499. break;
  4500. // dataGM
  4501. case "dataGM":
  4502. _formdiv = new U.UF.UI.form(
  4503. "我的资料",
  4504. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4505. "id": "dataGM",
  4506. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4507. "onresize": function () { }
  4508. }, {
  4509. closecallback: function () { }
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4512. break;
  4513. // caseGM
  4514. case "caseGM": //课程进展
  4515. _formdiv = new U.UF.UI.form(
  4516. "课程进展",
  4517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4518. "id": "caseGM",
  4519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4520. "onresize": function () { }
  4521. }, {
  4522. closecallback: function () { }
  4523. }, { "style": { "height": "36px" } }).form; //创建窗体
  4524. _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); } }
  4525. break;
  4526. // meterialGM
  4527. case "meterialGM": //素材库
  4528. _formdiv = new U.UF.UI.form(
  4529. "素材库",
  4530. $$("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 }), {
  4531. "id": "meterialGM",
  4532. "style": { "width": "90%", "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/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4538. break;
  4539. // evaluateSGM
  4540. case "evaluateSGM": //我的评价
  4541. _formdiv = new U.UF.UI.form(
  4542. "我的评价",
  4543. $$("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 }), {
  4544. "id": "evaluateSGM",
  4545. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4546. "onresize": function () { }
  4547. }, {
  4548. closecallback: function () { }
  4549. }, { "style": { "height": "36px" } }).form; //创建窗体
  4550. _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); } }
  4551. break;
  4552. case "jupyter": //jupyter
  4553. _formdiv = new U.UF.UI.form(
  4554. "jupyter",
  4555. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4556. "id": "jupyter",
  4557. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4558. "onresize": function () { }
  4559. }, {
  4560. closecallback: function () { }
  4561. }, { "style": { "height": "36px" } }).form; //创建窗体
  4562. _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); } }
  4563. break;
  4564. case "number": //数字实验室
  4565. _formdiv = new U.UF.UI.form(
  4566. "数字实验室",
  4567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4568. "id": "number",
  4569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4570. "onresize": function () { }
  4571. }, {
  4572. closecallback: function () { }
  4573. }, { "style": { "height": "36px" } }).form; //创建窗体
  4574. _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); } }
  4575. break;
  4576. case "studentCourse": //项目管理 学生
  4577. _formdiv = new U.UF.UI.form(
  4578. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4579. $$("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 }), {
  4580. "id": "studentCourse",
  4581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4582. "onresize": function () { }
  4583. }, {
  4584. closecallback: function () { }
  4585. }, { "style": { "height": "36px" } }).form; //创建窗体
  4586. _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); } }
  4587. break;
  4588. case "studentCourseS": //项目管理 老师
  4589. _formdiv = new U.UF.UI.form(
  4590. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4591. $$("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 }), {
  4592. "id": "studentCourseS",
  4593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4594. "onresize": function () { }
  4595. }, {
  4596. closecallback: function () { }
  4597. }, { "style": { "height": "36px" } }).form; //创建窗体
  4598. _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); } }
  4599. break;
  4600. case "studentIndex": //项目中心
  4601. _formdiv = new U.UF.UI.form(
  4602. "项目中心",
  4603. $$("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 }), {
  4604. "id": "studentIndex",
  4605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4606. "onresize": function () { }
  4607. }, {
  4608. closecallback: function () { }
  4609. }, { "style": { "height": "36px" } }).form; //创建窗体
  4610. _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); } }
  4611. break;
  4612. case "CaseDesignS":
  4613. _formdiv = new U.UF.UI.form(
  4614. "项目进展",
  4615. $$("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 }), {
  4616. "id": "case",
  4617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4618. "onresize": function () { }
  4619. }, {
  4620. closecallback: function () { }
  4621. }, { "style": { "height": "36px" } }).form; //创建窗体
  4622. _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); } }
  4623. break;
  4624. case "tcStudent": //腾讯学生管理
  4625. _formdiv = new U.UF.UI.form(
  4626. "学生管理",
  4627. $$("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 }), {
  4628. "id": "tcStudent",
  4629. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4630. "onresize": function () { }
  4631. }, {
  4632. closecallback: function () { }
  4633. }, { "style": { "height": "36px" } }).form; //创建窗体
  4634. _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); } }
  4635. break;
  4636. case "tcSchool": //腾讯学校管理
  4637. _formdiv = new U.UF.UI.form(
  4638. "学校管理",
  4639. $$("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 }), {
  4640. "id": "tcSchool",
  4641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4642. "onresize": function () { }
  4643. }, {
  4644. closecallback: function () { }
  4645. }, { "style": { "height": "36px" } }).form; //创建窗体
  4646. _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); } }
  4647. break;
  4648. case "tcTeacher": //腾讯学校管理
  4649. _formdiv = new U.UF.UI.form(
  4650. "教师管理",
  4651. $$("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 }), {
  4652. "id": "tcTeacher",
  4653. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4654. "onresize": function () { }
  4655. }, {
  4656. closecallback: function () { }
  4657. }, { "style": { "height": "36px" } }).form; //创建窗体
  4658. _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); } }
  4659. break;
  4660. case "tcData": //腾讯我的资料
  4661. _formdiv = new U.UF.UI.form(
  4662. "我的资料",
  4663. $$("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 }), {
  4664. "id": "tcData",
  4665. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4666. "onresize": function () { }
  4667. }, {
  4668. closecallback: function () { }
  4669. }, { "style": { "height": "36px" } }).form; //创建窗体
  4670. _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); } }
  4671. break;
  4672. case "tcNotice": //腾讯消息通知
  4673. _formdiv = new U.UF.UI.form(
  4674. "消息通知",
  4675. $$("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 }), {
  4676. "id": "tcNotice",
  4677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4678. "onresize": function () { }
  4679. }, {
  4680. closecallback: function () { }
  4681. }, { "style": { "height": "36px" } }).form; //创建窗体
  4682. _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); } }
  4683. break;
  4684. case "myReport": //好友打开
  4685. _formdiv = new U.UF.UI.form(
  4686. "我的评价",
  4687. $$("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 }), {
  4688. "id": "myReport",
  4689. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4690. "onresize": function () { }
  4691. }, {
  4692. closecallback: function () { }
  4693. }, { "style": { "height": "36px" } }).form; //创建窗体
  4694. _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); } }
  4695. break;
  4696. case "learnAna": //好友打开
  4697. _formdiv = new U.UF.UI.form(
  4698. "学习分析",
  4699. $$("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 }), {
  4700. "id": "learnAna",
  4701. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4702. "onresize": function () { }
  4703. }, {
  4704. closecallback: function () { }
  4705. }, { "style": { "height": "36px" } }).form; //创建窗体
  4706. _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); } }
  4707. break;
  4708. case "AIChat": //AI共创
  4709. _formdiv = new U.UF.UI.form(
  4710. "AI共创",
  4711. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4712. "id": "AIChat",
  4713. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4714. "onresize": function () { }
  4715. }, {
  4716. istop: true,
  4717. closecallback: function () { $("#aichat_icon").remove(); },
  4718. narrowcallback: function () {
  4719. if (!$("#aichat_icon")[0]) {
  4720. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4721. }
  4722. },
  4723. }, { "style": { "height": "36px" } }).form; //创建窗体
  4724. _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); } }
  4725. break;
  4726. case "ainew": //AI共创
  4727. _formdiv = new U.UF.UI.form(
  4728. "AI协同",
  4729. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4730. "id": "ainew",
  4731. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4732. "onresize": function () { }
  4733. }, {
  4734. closecallback: function () { }
  4735. }, { "style": { "height": "36px" } }).form; //创建窗体
  4736. _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); } }
  4737. break;
  4738. case "gpt4": //gpt4
  4739. _formdiv = new U.UF.UI.form(
  4740. "AI助手",
  4741. $$("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 }), {
  4742. "id": "gpt4",
  4743. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4744. "onresize": function () { }
  4745. }, {
  4746. closecallback: function () { }
  4747. }, { "style": { "height": "36px" } }).form; //创建窗体
  4748. _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); } }
  4749. break;
  4750. case "aigpt": //gpt4
  4751. _formdiv = new U.UF.UI.form(
  4752. "AI助手+",
  4753. $$("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/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4754. "id": "aigpt",
  4755. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4756. "onresize": function () { }
  4757. }, {
  4758. closecallback: function () { }
  4759. }, { "style": { "height": "36px" } }).form; //创建窗体
  4760. _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); } }
  4761. break;
  4762. case "futureClass": //AI共创
  4763. _formdiv = new U.UF.UI.form(
  4764. "协同建构",
  4765. $$("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://cscl.cocorobo.cn
  4766. "id": "synergyCourse",
  4767. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4768. "onresize": function () { }
  4769. }, {
  4770. closecallback: function () {
  4771. $("iframe", _formdiv)[0].contentWindow.loginout();
  4772. }
  4773. }, { "style": { "height": "36px" } }).form; //创建窗体
  4774. _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); } }
  4775. break;
  4776. case "aiagent": //ai agent
  4777. _formdiv = new U.UF.UI.form(
  4778. "AI Agent",
  4779. $$("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" }), {
  4780. "id": "AIAgent",
  4781. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4782. "onresize": function () { }
  4783. }, {
  4784. closecallback: function () { }
  4785. }, { "style": { "height": "36px" } }).form; //创建窗体
  4786. _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); } }
  4787. break;
  4788. case "dataBoard": //数据看板
  4789. _formdiv = new U.UF.UI.form(
  4790. "数据看板",
  4791. $$("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 }), {
  4792. "id": "dataBoard",
  4793. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4794. "onresize": function () { }
  4795. }, {
  4796. closecallback: function () { }
  4797. }, { "style": { "height": "36px" } }).form; //创建窗体
  4798. _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); } }
  4799. break;
  4800. case "dataBoardSies": //数据融合
  4801. _formdiv = new U.UF.UI.form(
  4802. "数据融合",
  4803. $$("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 }), {
  4804. "id": "dataBoardSies",
  4805. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4806. "onresize": function () { }
  4807. }, {
  4808. closecallback: function () { }
  4809. }, { "style": { "height": "36px" } }).form; //创建窗体
  4810. _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); } }
  4811. break;
  4812. case "dataBoardNew": //数据看板
  4813. _formdiv = new U.UF.UI.form(
  4814. "综合看板",
  4815. $$("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 }), {
  4816. "id": "dataBoardNew",
  4817. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4818. "onresize": function () { }
  4819. }, {
  4820. closecallback: function () { }
  4821. }, { "style": { "height": "36px" } }).form; //创建窗体
  4822. _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); } }
  4823. break;
  4824. case "dataBoardTest": //数据看板
  4825. _formdiv = new U.UF.UI.form(
  4826. "评测看板",
  4827. $$("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 }), {
  4828. "id": "dataBoardTest",
  4829. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4830. "onresize": function () { }
  4831. }, {
  4832. closecallback: function () { }
  4833. }, { "style": { "height": "36px" } }).form; //创建窗体
  4834. _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); } }
  4835. break;
  4836. case "AIAnalyse": //AI共创
  4837. _formdiv = new U.UF.UI.form(
  4838. "AI分析",
  4839. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4840. "id": "AIAnalyse",
  4841. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4842. "onresize": function () { }
  4843. }, {
  4844. closecallback: function () { }
  4845. }, { "style": { "height": "36px" } }).form; //创建窗体
  4846. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4847. break;
  4848. case "studioCourse": //AI共创
  4849. _formdiv = new U.UF.UI.form(
  4850. "工作管理",
  4851. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4852. "id": "studioCourse",
  4853. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4854. "onresize": function () { }
  4855. }, {
  4856. closecallback: function () { }
  4857. }, { "style": { "height": "36px" } }).form; //创建窗体
  4858. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4859. break;
  4860. case "studioIndex": //AI共创
  4861. _formdiv = new U.UF.UI.form(
  4862. "工作中心",
  4863. $$("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 }), {
  4864. "id": "studioIndex",
  4865. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4866. "onresize": function () { }
  4867. }, {
  4868. closecallback: function () { }
  4869. }, { "style": { "height": "36px" } }).form; //创建窗体
  4870. _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); } }
  4871. break;
  4872. case "source":
  4873. _formdiv = new U.UF.UI.form(
  4874. "教学资源",
  4875. $$("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 }), {
  4876. "id": "source",
  4877. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4878. "onresize": function () { }
  4879. }, {
  4880. closecallback: function () { }
  4881. }, { "style": { "height": "36px" } }).form; //创建窗体
  4882. _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); } }
  4883. break;
  4884. case "testTeacher":
  4885. _formdiv = new U.UF.UI.form(
  4886. "教师管理",
  4887. $$("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 }), {
  4888. "id": "testTeacher",
  4889. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4890. "onresize": function () { }
  4891. }, {
  4892. closecallback: function () { }
  4893. }, { "style": { "height": "36px" } }).form; //创建窗体
  4894. _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); } }
  4895. break;
  4896. case "testStudent":
  4897. _formdiv = new U.UF.UI.form(
  4898. "教师中心",
  4899. $$("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 }), {
  4900. "id": "testStudent",
  4901. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4902. "onresize": function () { }
  4903. }, {
  4904. closecallback: function () { }
  4905. }, { "style": { "height": "36px" } }).form; //创建窗体
  4906. _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); } }
  4907. break;
  4908. case "testTeacherSies":
  4909. _formdiv = new U.UF.UI.form(
  4910. "教师管理",
  4911. $$("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 }), {
  4912. "id": "testTeacherSies",
  4913. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4914. "onresize": function () { }
  4915. }, {
  4916. closecallback: function () { }
  4917. }, { "style": { "height": "36px" } }).form; //创建窗体
  4918. _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); } }
  4919. break;
  4920. case "testStudentSies":
  4921. _formdiv = new U.UF.UI.form(
  4922. "教师中心",
  4923. $$("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 }), {
  4924. "id": "testStudentSies",
  4925. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4926. "onresize": function () { }
  4927. }, {
  4928. closecallback: function () { }
  4929. }, { "style": { "height": "36px" } }).form; //创建窗体
  4930. _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); } }
  4931. break;
  4932. case "ytpbl": //消息通知
  4933. _formdiv = new U.UF.UI.form(
  4934. "案例征集",
  4935. $$("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 }), {
  4936. "id": "ytpbl",
  4937. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4938. "onresize": function () { }
  4939. }, {
  4940. closecallback: function () { }
  4941. }, { "style": { "height": "36px" } }).form; //创建窗体
  4942. _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); } }
  4943. // 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");
  4944. break;
  4945. }
  4946. //U.MD.D.I.openClick(str);
  4947. //如果有任务栏信息
  4948. if (_taskbar) {
  4949. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4950. }
  4951. }
  4952. // U.MD.D.I.openClick = function(str){
  4953. // var click = '';
  4954. // switch(str){
  4955. // case 'friend':
  4956. // click = '我的好友';
  4957. // break;
  4958. // case 'domain':
  4959. // click = '域名管理';
  4960. // break;
  4961. // case 'disk':
  4962. // click = '我的云盘';
  4963. // break;
  4964. // case 'word':
  4965. // click = 'Word';
  4966. // break;
  4967. // case 'excel':
  4968. // click = 'Execl';
  4969. // break;
  4970. // case 'txt':
  4971. // click = '文本文件';
  4972. // break;
  4973. // case 'lookupFriend':
  4974. // click = '查找好友';
  4975. // break;
  4976. // case 'ftp':
  4977. // click = 'FTP';
  4978. // break;
  4979. // case 'group':
  4980. // click = '群组';
  4981. // break;
  4982. // case 'set':
  4983. // click = '我的设置';
  4984. // break;
  4985. // case 'systemSet':
  4986. // click = '系统设置';
  4987. // break;
  4988. // case 'boomYun':
  4989. // click = '互联办公';
  4990. // break;
  4991. // case 'xz':
  4992. // click = '云端下载';
  4993. // break;
  4994. // case 'client':
  4995. // click = '有思浏览器';
  4996. // break;
  4997. // case 'backEndProgramming':
  4998. // click = '在线后台编程';
  4999. // break;
  5000. // case 'frontEndProgramming':
  5001. // click = '在线前端编程';
  5002. // break;
  5003. // default: break;
  5004. // }
  5005. // if(U.MD.D.I.Ip && click){
  5006. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5007. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5008. // })
  5009. // }
  5010. // }
  5011. /**
  5012. *函数作用:ajax简易函数,使用post格式
  5013. *@param url {data} 后台地址
  5014. *@param data {data} 参数json
  5015. *@param fn {data} 回调函数
  5016. *
  5017. */
  5018. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5019. // var xhr = new XMLHttpRequest();
  5020. // xhr.open("GET",url,true);
  5021. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5022. // xhr.onreadystatechange = function(){
  5023. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5024. // fn.call(this,xhr.responseText);
  5025. // }
  5026. // };
  5027. // xhr.send();
  5028. // }
  5029. /*判断是否是内网IP*/
  5030. // U.MD.D.I.isInnerIPFn = function(str){
  5031. // var curPageUrl = str;
  5032. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  5033. // curPageUrl =curPageUrl.replace(reg1,'');
  5034. // // console.log('curPageUrl-1 '+curPageUrl);
  5035. // var reg2 = /\:+/g;//替换冒号为一点
  5036. // curPageUrl =curPageUrl.replace(reg2,'.');
  5037. // // console.log('curPageUrl-2 '+curPageUrl);
  5038. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  5039. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5040. // if(curPageUrl[2] != '16'){
  5041. // return ipAddress;
  5042. // }else{
  5043. // return false;
  5044. // }
  5045. // }
  5046. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5047. // //compatibility for firefox and chrome
  5048. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5049. // var pc = new myPeerConnection({
  5050. // iceServers: []
  5051. // }),
  5052. // noop = function() {},
  5053. // localIPs = {},
  5054. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5055. // key;
  5056. // function iterateIP(ip) {
  5057. // if (!localIPs[ip]) onNewIP(ip);
  5058. // localIPs[ip] = true;
  5059. // }
  5060. // //create a bogus data channel
  5061. // pc.createDataChannel("");
  5062. // // create offer and set local description
  5063. // pc.createOffer().then(function(sdp) {
  5064. // sdp.sdp.split('\n').forEach(function(line) {
  5065. // if (line.indexOf('candidate') < 0) return;
  5066. // line.match(ipRegex).forEach(iterateIP);
  5067. // });
  5068. // pc.setLocalDescription(sdp, noop, noop);
  5069. // }).catch(function(reason) {
  5070. // // An error occurred, so handle the failure to connect
  5071. // });
  5072. // //sten for candidate events
  5073. // pc.onicecandidate = function(ice) {
  5074. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5075. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5076. // };
  5077. // }
  5078. // U.MD.D.I.getUserIpBool = function(callback){
  5079. // U.MD.D.I.getUserIP(function(ip){
  5080. // alert("Got IP! :" + ip);
  5081. // });
  5082. //}
  5083. //#endregion
  5084. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5085. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5086. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5087. _userinfo = US.userInfo, //登录用户信息
  5088. _userid = US.userInfo.userid //登录用户id
  5089. let _iframe;
  5090. let _cid = cid,
  5091. _stage = stage,
  5092. _task = task,
  5093. _tool = tool;
  5094. var _jie = $$("div", {
  5095. "style": {
  5096. "position": "absolute",
  5097. "bottom": "50px",
  5098. "right": "50px",
  5099. "zIndex": "9999",
  5100. "backgroundColor": "#2268bc",
  5101. "color": "#fff",
  5102. "padding": "12px 20px",
  5103. "cursor": "pointer",
  5104. "borderRadius": "4px",
  5105. },
  5106. "innerHTML": "提交作业"
  5107. })
  5108. let aTool = ''
  5109. let _loading = document.createElement('div')
  5110. _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;"
  5111. // _loading.id = "";
  5112. let _lchild = document.createElement('div')
  5113. let _limg = document.createElement('img')
  5114. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5115. _limg.style = "width: 26px;margin-right: 10px;"
  5116. _lchild.appendChild(_limg)
  5117. let _lspan = document.createElement('span')
  5118. _lspan.innerHTML = "上传中..."
  5119. _lchild.appendChild(_lspan)
  5120. _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%);"
  5121. _loading.appendChild(_lchild)
  5122. var _box = $$('div', {
  5123. "style": {
  5124. "position": "relative",
  5125. "width": "100%",
  5126. "height": "100%",
  5127. },
  5128. })
  5129. _box.appendChild(_loading)
  5130. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5131. switch (str) {
  5132. case "whiteboard":
  5133. aTool = 1;
  5134. _iframe = $$("iframe", {
  5135. "frameborder": "no",
  5136. "border": "0",
  5137. "scrolling ": "no",
  5138. "style": {
  5139. "cssText": "border:0;width:100%;height:100%"
  5140. },
  5141. "src": "https://iwb.cocorobo.cn/"
  5142. })
  5143. _box.appendChild(_iframe);
  5144. _box.appendChild(_jie);
  5145. _formdiv = new U.UF.UI.form(
  5146. "电子白板",
  5147. _box, {
  5148. "id": "whiteboard" + cid + stage + task + tool,
  5149. "style": {
  5150. "width": "90%",
  5151. "height": "90%",
  5152. "overflow": 'hidden'
  5153. },
  5154. "onresize": function () { }
  5155. }, {
  5156. closecallback: function () { }
  5157. }, {
  5158. "style": {
  5159. "height": "36px"
  5160. }
  5161. }).form; //创建窗体
  5162. _taskbar = {
  5163. "id": str + _formdiv.id,
  5164. "style": {
  5165. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5166. },
  5167. "name": "电子白板",
  5168. "forms": _formdiv,
  5169. "click": function () {
  5170. U.MD.D.I.openApplication(str, obj, info);
  5171. }
  5172. }
  5173. break;
  5174. case "mind":
  5175. aTool = 3;
  5176. _iframe = $$("iframe", {
  5177. "frameborder": "no",
  5178. "border": "0",
  5179. "scrolling ": "no",
  5180. "style": {
  5181. "cssText": "border:0;width:100%;height:100%"
  5182. },
  5183. "src": "/kityminder-editor/dist/index.html"
  5184. })
  5185. _box.appendChild(_iframe);
  5186. _box.appendChild(_jie);
  5187. _formdiv = new U.UF.UI.form(
  5188. "思维导图",
  5189. _box, { //"/jsmind/example/demo.html"
  5190. "id": "mind" + cid + stage + task + tool,
  5191. "style": {
  5192. "width": "90%",
  5193. "height": "90%",
  5194. "overflow": 'hidden'
  5195. },
  5196. "onresize": function () { }
  5197. }, {
  5198. closecallback: function () { }
  5199. }, {
  5200. "style": {
  5201. "height": "36px"
  5202. }
  5203. }).form; //创建窗体
  5204. _taskbar = {
  5205. "id": str + _formdiv.id,
  5206. "style": {
  5207. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5208. },
  5209. "name": "思维导图",
  5210. "forms": _formdiv,
  5211. "click": function () {
  5212. U.MD.D.I.openApplication(str, obj, info);
  5213. }
  5214. }
  5215. break;
  5216. case "MindMap":
  5217. aTool = 3;
  5218. _iframe = $$("iframe", {
  5219. "frameborder": "no",
  5220. "border": "0",
  5221. "scrolling ": "no",
  5222. "style": {
  5223. "cssText": "border:0;width:100%;height:100%"
  5224. },
  5225. "src": "//cloud.cocorobo.cn/mind/"
  5226. })
  5227. _box.appendChild(_iframe);
  5228. _box.appendChild(_jie);
  5229. _formdiv = new U.UF.UI.form(
  5230. "思维导图",
  5231. _box, { //"/jsmind/example/demo.html"
  5232. "id": "mind" + cid + stage + task + tool,
  5233. "style": {
  5234. "width": "90%",
  5235. "height": "90%",
  5236. "overflow": 'hidden'
  5237. },
  5238. "onresize": function () { }
  5239. }, {
  5240. closecallback: function () { }
  5241. }, {
  5242. "style": {
  5243. "height": "36px"
  5244. }
  5245. }).form; //创建窗体
  5246. _taskbar = {
  5247. "id": str + _formdiv.id,
  5248. "style": {
  5249. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5250. },
  5251. "name": "思维导图",
  5252. "forms": _formdiv,
  5253. "click": function () {
  5254. U.MD.D.I.openApplication(str, obj, info);
  5255. }
  5256. }
  5257. break;
  5258. case "doc":
  5259. aTool = 6;
  5260. _iframe = $$("iframe", {
  5261. "frameborder": "no",
  5262. "border": "0",
  5263. "scrolling ": "no",
  5264. "style": {
  5265. "cssText": "border:0;width:100%;height:100%"
  5266. },
  5267. "src": "/Office/Word/WordEditArea.htm"
  5268. })
  5269. _box.appendChild(_iframe);
  5270. _box.appendChild(_jie);
  5271. _formdiv = new U.UF.UI.form(
  5272. "协同文档",
  5273. _box, {
  5274. "id": "doc" + cid + stage + task + tool,
  5275. "style": {
  5276. "width": "90%",
  5277. "height": "90%",
  5278. "overflow": 'hidden'
  5279. },
  5280. "onresize": function () { }
  5281. }, {
  5282. closecallback: function () { }
  5283. }, {
  5284. "style": {
  5285. "height": "36px"
  5286. }
  5287. }).form; //创建窗体
  5288. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5289. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5290. })
  5291. _taskbar = {
  5292. "id": str + _formdiv.id,
  5293. "style": {
  5294. "backgroundImage": "url(/img/icon/doc.png)"
  5295. },
  5296. "name": "协同文档",
  5297. "forms": _formdiv,
  5298. "click": function () {
  5299. U.MD.D.I.openApplication(str, obj, info);
  5300. }
  5301. }
  5302. break;
  5303. case "mindNetwork": //好友打开
  5304. aTool = 7;
  5305. _iframe = $$("iframe", {
  5306. "webkitallowfullscreen": "",
  5307. "mozallowfullscreen": "",
  5308. "allowfullscreen": "",
  5309. "frameborder": "no",
  5310. "border": "0",
  5311. "scrolling ": "no",
  5312. "style": {
  5313. "cssText": "border:0; width:100%; height:100%;"
  5314. },
  5315. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5316. })
  5317. _box.appendChild(_iframe);
  5318. _box.appendChild(_jie);
  5319. _formdiv = new U.UF.UI.form(
  5320. "思维网格",
  5321. _box, {
  5322. "id": "mindNetwork" + cid + stage + task + tool,
  5323. "style": {
  5324. "width": "90%",
  5325. "height": "90%",
  5326. "overflow": 'hidden'
  5327. },
  5328. "onresize": function () { }
  5329. }, {
  5330. closecallback: function () { }
  5331. }, {
  5332. "style": {
  5333. "height": "36px"
  5334. }
  5335. }).form; //创建窗体
  5336. _taskbar = {
  5337. "id": str + _formdiv.id,
  5338. "style": {
  5339. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5340. },
  5341. "name": "思维网格",
  5342. "forms": _formdiv,
  5343. "click": function () {
  5344. U.MD.D.I.openApplication(str, obj, info);
  5345. }
  5346. }
  5347. break;
  5348. case "courseDesign":
  5349. _iframe = $$("iframe", {
  5350. "webkitallowfullscreen": "",
  5351. "mozallowfullscreen": "",
  5352. "allowfullscreen": "",
  5353. "frameborder": "no",
  5354. "border": "0",
  5355. "scrolling ": "no",
  5356. "style": {
  5357. "cssText": "border:0; width:100%; height:100%;"
  5358. },
  5359. "src": "/course-design-vue"
  5360. })
  5361. _box.appendChild(_iframe);
  5362. _box.appendChild(_jie);
  5363. _formdiv = new U.UF.UI.form(
  5364. "项目设计",
  5365. _box, {
  5366. "id": "courseDesign" + cid + stage + task + tool,
  5367. "style": {
  5368. "width": "90%",
  5369. "height": "90%",
  5370. "overflow": 'hidden'
  5371. },
  5372. "onresize": function () { }
  5373. }, {
  5374. closecallback: function () { }
  5375. }, {
  5376. "style": {
  5377. "height": "36px"
  5378. }
  5379. }).form; //创建窗体
  5380. _taskbar = {
  5381. "id": str + _formdiv.id,
  5382. "style": {
  5383. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5384. },
  5385. "name": "项目设计",
  5386. "forms": _formdiv,
  5387. "click": function () {
  5388. U.MD.D.I.openApplication(str, obj, info);
  5389. }
  5390. }
  5391. break;
  5392. }
  5393. const script1 = document.createElement("script");
  5394. script1.type = "text/javascript";
  5395. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5396. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5397. const script2 = document.createElement("script");
  5398. script2.type = "text/javascript";
  5399. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5400. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5401. const script3 = document.createElement("script");
  5402. script3.type = "text/javascript";
  5403. script3.charset = "UTF-8";
  5404. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5405. const script4 = document.createElement("script");
  5406. script4.type = "text/javascript";
  5407. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5408. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5409. if (_iframe) {
  5410. if (str == 'doc') {
  5411. _iframe = _formdiv.querySelector('iframe')
  5412. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5413. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5414. _iframe.contentWindow.document.body.appendChild(script1);
  5415. _iframe.contentWindow.document.body.appendChild(script2);
  5416. // _iframe.contentWindow.document.body.appendChild(script3);
  5417. _iframe.contentWindow.document.body.appendChild(script4);
  5418. })
  5419. if (onloadListener) {
  5420. _iframe.contentDocument.location.reload()
  5421. } else {
  5422. _iframe.contentDocument.location.reload()
  5423. }
  5424. } else if (str == 'courseDesign') {
  5425. U.UF.DL.iframeLoad(_iframe, function () {
  5426. // _iframe.contentWindow.U.MD.O.W.load();
  5427. // _iframe.contentWindow.document.body.appendChild(script1);
  5428. _iframe.contentWindow.document.body.appendChild(script2);
  5429. _iframe.contentWindow.document.body.appendChild(script4);
  5430. })
  5431. } else if (str == 'mind') {
  5432. _iframe = _formdiv.querySelector('iframe')
  5433. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5434. //
  5435. _iframe.contentWindow.document.body.appendChild(script1);
  5436. _iframe.contentWindow.document.body.appendChild(script2);
  5437. _iframe.contentWindow.document.body.appendChild(script4);
  5438. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5439. })
  5440. if (onloadListener) {
  5441. _iframe.contentDocument.location.reload()
  5442. } else {
  5443. _iframe.contentDocument.location.reload()
  5444. }
  5445. } else if (str == 'whiteboard') {
  5446. _iframe = _formdiv.querySelector('iframe')
  5447. let onloadListener = _iframe.onload = () => {
  5448. _iframe.contentWindow.document.body.appendChild(script1);
  5449. _iframe.contentWindow.document.body.appendChild(script2);
  5450. _iframe.contentWindow.document.body.appendChild(script4);
  5451. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5452. };
  5453. if (onloadListener) {
  5454. _iframe.contentDocument.location.reload()
  5455. } else {
  5456. _iframe.contentDocument.location.reload()
  5457. }
  5458. } else {
  5459. _iframe.onload = () => {
  5460. _iframe.contentWindow.document.body.appendChild(script1);
  5461. _iframe.contentWindow.document.body.appendChild(script2);
  5462. // _iframe.contentWindow.document.body.appendChild(script3);
  5463. _iframe.contentWindow.document.body.appendChild(script4);
  5464. };
  5465. }
  5466. _jie.onclick = async () => {
  5467. let text = ''
  5468. if (aTool == 1) {
  5469. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5470. } else if (aTool == 6) {
  5471. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5472. } else if (aTool == 3) {
  5473. text = await U.MD.D.I.getEditorContent(_iframe);
  5474. }
  5475. _loading.style.display = 'flex'
  5476. console.log(_loading);
  5477. var _ajs = _iframe.contentWindow.document.createElement("script");
  5478. _ajs.type = "text/javascript";
  5479. _ajs.innerHTML =
  5480. // 'console.log(' + _loading + ');\n' +
  5481. 'var _js = document.createElement("script");\n' +
  5482. '_js.type="text/javascript";\n' +
  5483. '_js.charset="UTF-8";\n' +
  5484. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5485. "_js.onload = function(){\n" +
  5486. ' var a = document.getElementsByTagName("img")\n' +
  5487. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5488. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5489. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5490. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5491. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5492. "beforeUpload_shishi(file," +
  5493. "'" +
  5494. _userid +
  5495. "'" +
  5496. ", " +
  5497. "'" +
  5498. _cid +
  5499. "'" +
  5500. ", " +
  5501. "'" +
  5502. _stage +
  5503. "'" +
  5504. ", " +
  5505. "'" +
  5506. _task +
  5507. "'" +
  5508. ", " +
  5509. "'" +
  5510. _tool +
  5511. "'" +
  5512. ", " +
  5513. "'" +
  5514. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5515. "'" +
  5516. ", " +
  5517. "'" +
  5518. aTool +
  5519. "'" +
  5520. ", " +
  5521. "`" +
  5522. text +
  5523. "`" +
  5524. ")\n" +
  5525. " });\n" +
  5526. "}\n" +
  5527. "document.head.appendChild(_js);\n";
  5528. _iframe.contentWindow.document.head.appendChild(_ajs);
  5529. }
  5530. }
  5531. //U.MD.D.I.openClick(str);
  5532. //如果有任务栏信息
  5533. // if (_taskbar) {
  5534. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5535. // }
  5536. }
  5537. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5538. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5539. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5540. _userinfo = US.userInfo, //登录用户信息
  5541. _userid = US.userInfo.userid //登录用户id
  5542. let _iframe;
  5543. let _cid = cid,
  5544. _stage = stage,
  5545. _task = task,
  5546. _tool = tool;
  5547. var _jie = $$("div", {
  5548. "style": {
  5549. "position": "absolute",
  5550. "bottom": "50px",
  5551. "right": "50px",
  5552. "zIndex": "9999",
  5553. "backgroundColor": "#2268bc",
  5554. "color": "#fff",
  5555. "padding": "12px 20px",
  5556. "cursor": "pointer",
  5557. "borderRadius": "4px",
  5558. },
  5559. "innerHTML": "提交作业"
  5560. })
  5561. let aTool = ''
  5562. let _loading = document.createElement('div')
  5563. _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;"
  5564. // _loading.id = "";
  5565. let _lchild = document.createElement('div')
  5566. let _limg = document.createElement('img')
  5567. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5568. _limg.style = "width: 26px;margin-right: 10px;"
  5569. _lchild.appendChild(_limg)
  5570. let _lspan = document.createElement('span')
  5571. _lspan.innerHTML = "上传中..."
  5572. _lchild.appendChild(_lspan)
  5573. _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%);"
  5574. _loading.appendChild(_lchild)
  5575. var _box = $$('div', {
  5576. "style": {
  5577. "position": "relative",
  5578. "width": "100%",
  5579. "height": "100%",
  5580. },
  5581. })
  5582. _box.appendChild(_loading)
  5583. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5584. switch (str) {
  5585. case "whiteboard":
  5586. aTool = 1;
  5587. _iframe = $$("iframe", {
  5588. "frameborder": "no",
  5589. "border": "0",
  5590. "scrolling ": "no",
  5591. "style": {
  5592. "cssText": "border:0;width:100%;height:100%"
  5593. },
  5594. "src": "https://iwb.cocorobo.cn/"
  5595. })
  5596. _box.appendChild(_iframe);
  5597. _box.appendChild(_jie);
  5598. _formdiv = new U.UF.UI.form(
  5599. "电子白板",
  5600. _box, {
  5601. "id": "whiteboard" + cid + stage + task + tool,
  5602. "style": {
  5603. "width": "90%",
  5604. "height": "90%",
  5605. "overflow": 'hidden'
  5606. },
  5607. "onresize": function () { }
  5608. }, {
  5609. closecallback: function () { }
  5610. }, {
  5611. "style": {
  5612. "height": "36px"
  5613. }
  5614. }).form; //创建窗体
  5615. _taskbar = {
  5616. "id": str + _formdiv.id,
  5617. "style": {
  5618. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5619. },
  5620. "name": "电子白板",
  5621. "forms": _formdiv,
  5622. "click": function () {
  5623. U.MD.D.I.openApplication(str, obj, info);
  5624. }
  5625. }
  5626. break;
  5627. case "mind":
  5628. aTool = 3;
  5629. _iframe = $$("iframe", {
  5630. "frameborder": "no",
  5631. "border": "0",
  5632. "scrolling ": "no",
  5633. "style": {
  5634. "cssText": "border:0;width:100%;height:100%"
  5635. },
  5636. "src": "/kityminder-editor/dist/index.html"
  5637. })
  5638. _box.appendChild(_iframe);
  5639. _box.appendChild(_jie);
  5640. _formdiv = new U.UF.UI.form(
  5641. "思维导图",
  5642. _box, { //"/jsmind/example/demo.html"
  5643. "id": "mind" + cid + stage + task + tool,
  5644. "style": {
  5645. "width": "90%",
  5646. "height": "90%",
  5647. "overflow": 'hidden'
  5648. },
  5649. "onresize": function () { }
  5650. }, {
  5651. closecallback: function () { }
  5652. }, {
  5653. "style": {
  5654. "height": "36px"
  5655. }
  5656. }).form; //创建窗体
  5657. _taskbar = {
  5658. "id": str + _formdiv.id,
  5659. "style": {
  5660. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5661. },
  5662. "name": "思维导图",
  5663. "forms": _formdiv,
  5664. "click": function () {
  5665. U.MD.D.I.openApplication(str, obj, info);
  5666. }
  5667. }
  5668. break;
  5669. case "MindMap":
  5670. aTool = 3;
  5671. _iframe = $$("iframe", {
  5672. "frameborder": "no",
  5673. "border": "0",
  5674. "scrolling ": "no",
  5675. "style": {
  5676. "cssText": "border:0;width:100%;height:100%"
  5677. },
  5678. "src": "//cloud.cocorobo.cn/mind/"
  5679. })
  5680. _box.appendChild(_iframe);
  5681. _box.appendChild(_jie);
  5682. _formdiv = new U.UF.UI.form(
  5683. "思维导图",
  5684. _box, { //"/jsmind/example/demo.html"
  5685. "id": "mind" + cid + stage + task + tool,
  5686. "style": {
  5687. "width": "90%",
  5688. "height": "90%",
  5689. "overflow": 'hidden'
  5690. },
  5691. "onresize": function () { }
  5692. }, {
  5693. closecallback: function () { }
  5694. }, {
  5695. "style": {
  5696. "height": "36px"
  5697. }
  5698. }).form; //创建窗体
  5699. _taskbar = {
  5700. "id": str + _formdiv.id,
  5701. "style": {
  5702. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5703. },
  5704. "name": "思维导图",
  5705. "forms": _formdiv,
  5706. "click": function () {
  5707. U.MD.D.I.openApplication(str, obj, info);
  5708. }
  5709. }
  5710. break;
  5711. case "doc":
  5712. aTool = 6;
  5713. _iframe = $$("iframe", {
  5714. "frameborder": "no",
  5715. "border": "0",
  5716. "scrolling ": "no",
  5717. "style": {
  5718. "cssText": "border:0;width:100%;height:100%"
  5719. },
  5720. "src": "/Office/Word/WordEditArea.htm"
  5721. })
  5722. _box.appendChild(_iframe);
  5723. _box.appendChild(_jie);
  5724. _formdiv = new U.UF.UI.form(
  5725. "协同文档",
  5726. _box, {
  5727. "id": "doc" + cid + stage + task + tool,
  5728. "style": {
  5729. "width": "90%",
  5730. "height": "90%",
  5731. "overflow": 'hidden'
  5732. },
  5733. "onresize": function () { }
  5734. }, {
  5735. closecallback: function () { }
  5736. }, {
  5737. "style": {
  5738. "height": "36px"
  5739. }
  5740. }).form; //创建窗体
  5741. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5742. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5743. })
  5744. _taskbar = {
  5745. "id": str + _formdiv.id,
  5746. "style": {
  5747. "backgroundImage": "url(/img/icon/doc.png)"
  5748. },
  5749. "name": "协同文档",
  5750. "forms": _formdiv,
  5751. "click": function () {
  5752. U.MD.D.I.openApplication(str, obj, info);
  5753. }
  5754. }
  5755. break;
  5756. case "mindNetwork": //好友打开
  5757. aTool = 7;
  5758. _iframe = $$("iframe", {
  5759. "webkitallowfullscreen": "",
  5760. "mozallowfullscreen": "",
  5761. "allowfullscreen": "",
  5762. "frameborder": "no",
  5763. "border": "0",
  5764. "scrolling ": "no",
  5765. "style": {
  5766. "cssText": "border:0; width:100%; height:100%;"
  5767. },
  5768. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5769. })
  5770. _box.appendChild(_iframe);
  5771. _box.appendChild(_jie);
  5772. _formdiv = new U.UF.UI.form(
  5773. "思维网格",
  5774. _box, {
  5775. "id": "mindNetwork" + cid + stage + task + tool,
  5776. "style": {
  5777. "width": "90%",
  5778. "height": "90%",
  5779. "overflow": 'hidden'
  5780. },
  5781. "onresize": function () { }
  5782. }, {
  5783. closecallback: function () { }
  5784. }, {
  5785. "style": {
  5786. "height": "36px"
  5787. }
  5788. }).form; //创建窗体
  5789. _taskbar = {
  5790. "id": str + _formdiv.id,
  5791. "style": {
  5792. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5793. },
  5794. "name": "思维网格",
  5795. "forms": _formdiv,
  5796. "click": function () {
  5797. U.MD.D.I.openApplication(str, obj, info);
  5798. }
  5799. }
  5800. break;
  5801. case "courseDesign":
  5802. _iframe = $$("iframe", {
  5803. "webkitallowfullscreen": "",
  5804. "mozallowfullscreen": "",
  5805. "allowfullscreen": "",
  5806. "frameborder": "no",
  5807. "border": "0",
  5808. "scrolling ": "no",
  5809. "style": {
  5810. "cssText": "border:0; width:100%; height:100%;"
  5811. },
  5812. "src": "/course-design-vue"
  5813. })
  5814. _box.appendChild(_iframe);
  5815. _box.appendChild(_jie);
  5816. _formdiv = new U.UF.UI.form(
  5817. "项目设计",
  5818. _box, {
  5819. "id": "courseDesign" + cid + stage + task + tool,
  5820. "style": {
  5821. "width": "90%",
  5822. "height": "90%",
  5823. "overflow": 'hidden'
  5824. },
  5825. "onresize": function () { }
  5826. }, {
  5827. closecallback: function () { }
  5828. }, {
  5829. "style": {
  5830. "height": "36px"
  5831. }
  5832. }).form; //创建窗体
  5833. _taskbar = {
  5834. "id": str + _formdiv.id,
  5835. "style": {
  5836. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5837. },
  5838. "name": "项目设计",
  5839. "forms": _formdiv,
  5840. "click": function () {
  5841. U.MD.D.I.openApplication(str, obj, info);
  5842. }
  5843. }
  5844. break;
  5845. }
  5846. const script1 = document.createElement("script");
  5847. script1.type = "text/javascript";
  5848. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5849. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5850. const script2 = document.createElement("script");
  5851. script2.type = "text/javascript";
  5852. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5853. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5854. const script3 = document.createElement("script");
  5855. script3.type = "text/javascript";
  5856. script3.charset = "UTF-8";
  5857. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5858. const script4 = document.createElement("script");
  5859. script4.type = "text/javascript";
  5860. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5861. script4.src = window.origin + "/js/Common/jietu2E.js";
  5862. if (_iframe) {
  5863. if (str == 'doc') {
  5864. _iframe = _formdiv.querySelector('iframe')
  5865. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5866. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5867. _iframe.contentWindow.document.body.appendChild(script1);
  5868. _iframe.contentWindow.document.body.appendChild(script2);
  5869. // _iframe.contentWindow.document.body.appendChild(script3);
  5870. _iframe.contentWindow.document.body.appendChild(script4);
  5871. })
  5872. if (onloadListener) {
  5873. _iframe.contentDocument.location.reload()
  5874. } else {
  5875. _iframe.contentDocument.location.reload()
  5876. }
  5877. } else if (str == 'courseDesign') {
  5878. U.UF.DL.iframeLoad(_iframe, function () {
  5879. // _iframe.contentWindow.U.MD.O.W.load();
  5880. // _iframe.contentWindow.document.body.appendChild(script1);
  5881. _iframe.contentWindow.document.body.appendChild(script2);
  5882. _iframe.contentWindow.document.body.appendChild(script4);
  5883. })
  5884. } else if (str == 'mind') {
  5885. _iframe = _formdiv.querySelector('iframe')
  5886. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5887. //
  5888. _iframe.contentWindow.document.body.appendChild(script1);
  5889. _iframe.contentWindow.document.body.appendChild(script2);
  5890. _iframe.contentWindow.document.body.appendChild(script4);
  5891. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5892. })
  5893. if (onloadListener) {
  5894. _iframe.contentDocument.location.reload()
  5895. } else {
  5896. _iframe.contentDocument.location.reload()
  5897. }
  5898. } else if (str == 'whiteboard') {
  5899. _iframe = _formdiv.querySelector('iframe')
  5900. let onloadListener = _iframe.onload = () => {
  5901. _iframe.contentWindow.document.body.appendChild(script1);
  5902. _iframe.contentWindow.document.body.appendChild(script2);
  5903. _iframe.contentWindow.document.body.appendChild(script4);
  5904. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5905. };
  5906. if (onloadListener) {
  5907. _iframe.contentDocument.location.reload()
  5908. } else {
  5909. _iframe.contentDocument.location.reload()
  5910. }
  5911. } else {
  5912. _iframe.onload = () => {
  5913. _iframe.contentWindow.document.body.appendChild(script1);
  5914. _iframe.contentWindow.document.body.appendChild(script2);
  5915. // _iframe.contentWindow.document.body.appendChild(script3);
  5916. _iframe.contentWindow.document.body.appendChild(script4);
  5917. };
  5918. }
  5919. _jie.onclick = async () => {
  5920. let text = ''
  5921. if (aTool == 1) {
  5922. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5923. } else if (aTool == 6) {
  5924. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5925. } else if (aTool == 3) {
  5926. text = await U.MD.D.I.getEditorContent(_iframe);
  5927. }
  5928. _loading.style.display = 'flex'
  5929. console.log(_loading);
  5930. var _ajs = _iframe.contentWindow.document.createElement("script");
  5931. _ajs.type = "text/javascript";
  5932. _ajs.innerHTML =
  5933. // 'console.log(' + _loading + ');\n' +
  5934. 'var _js = document.createElement("script");\n' +
  5935. '_js.type="text/javascript";\n' +
  5936. '_js.charset="UTF-8";\n' +
  5937. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5938. "_js.onload = function(){\n" +
  5939. ' var a = document.getElementsByTagName("img")\n' +
  5940. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5941. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5942. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5943. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5944. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5945. "beforeUpload_shishi(file," +
  5946. "'" +
  5947. _userid +
  5948. "'" +
  5949. ", " +
  5950. "'" +
  5951. _cid +
  5952. "'" +
  5953. ", " +
  5954. "'" +
  5955. _stage +
  5956. "'" +
  5957. ", " +
  5958. "'" +
  5959. _task +
  5960. "'" +
  5961. ", " +
  5962. "'" +
  5963. _tool +
  5964. "'" +
  5965. ", " +
  5966. "'" +
  5967. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5968. "'" +
  5969. ", " +
  5970. "'" +
  5971. aTool +
  5972. "'" +
  5973. ", " +
  5974. "`" +
  5975. text +
  5976. "`" +
  5977. ")\n" +
  5978. " });\n" +
  5979. "}\n" +
  5980. "document.head.appendChild(_js);\n";
  5981. _iframe.contentWindow.document.head.appendChild(_ajs);
  5982. }
  5983. }
  5984. //U.MD.D.I.openClick(str);
  5985. //如果有任务栏信息
  5986. // if (_taskbar) {
  5987. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5988. // }
  5989. }
  5990. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5991. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5992. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5993. _userid = student.userid, //登录用户id
  5994. _username = student.student //用户名字
  5995. let _iframe;
  5996. let _cid = cid,
  5997. _stage = stage,
  5998. _task = task,
  5999. _tool = tool;
  6000. var _jie = $$("div", {
  6001. "style": {
  6002. "position": "absolute",
  6003. "bottom": "50px",
  6004. "right": "50px",
  6005. "zIndex": "9999",
  6006. "backgroundColor": "#2268bc",
  6007. "color": "#fff",
  6008. "padding": "12px 20px",
  6009. "cursor": "pointer",
  6010. "borderRadius": "4px",
  6011. },
  6012. "innerHTML": "提交作业"
  6013. })
  6014. let aTool = ''
  6015. let _loading = document.createElement('div')
  6016. _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;"
  6017. // _loading.id = "";
  6018. let _lchild = document.createElement('div')
  6019. let _limg = document.createElement('img')
  6020. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6021. _limg.style = "width: 26px;margin-right: 10px;"
  6022. _lchild.appendChild(_limg)
  6023. let _lspan = document.createElement('span')
  6024. _lspan.innerHTML = "上传中..."
  6025. _lchild.appendChild(_lspan)
  6026. _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%);"
  6027. _loading.appendChild(_lchild)
  6028. var _box = $$('div', {
  6029. "style": {
  6030. "position": "relative",
  6031. "width": "100%",
  6032. "height": "100%",
  6033. },
  6034. })
  6035. _box.appendChild(_loading)
  6036. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6037. switch (str) {
  6038. case "whiteboard":
  6039. aTool = 1;
  6040. _iframe = $$("iframe", {
  6041. "frameborder": "no",
  6042. "border": "0",
  6043. "scrolling ": "no",
  6044. "style": {
  6045. "cssText": "border:0;width:100%;height:100%"
  6046. },
  6047. "src": "https://iwb.cocorobo.cn/"
  6048. })
  6049. _box.appendChild(_iframe);
  6050. _box.appendChild(_jie);
  6051. _formdiv = new U.UF.UI.form(
  6052. "电子白板-" + _username,
  6053. _box, {
  6054. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6055. "style": {
  6056. "width": "90%",
  6057. "height": "90%",
  6058. "overflow": 'hidden'
  6059. },
  6060. "onresize": function () { }
  6061. }, {
  6062. closecallback: function () { }
  6063. }, {
  6064. "style": {
  6065. "height": "36px"
  6066. }
  6067. }).form; //创建窗体
  6068. _taskbar = {
  6069. "id": str + _formdiv.id,
  6070. "style": {
  6071. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6072. },
  6073. "name": "电子白板",
  6074. "forms": _formdiv,
  6075. "click": function () {
  6076. U.MD.D.I.openApplication(str, obj, info);
  6077. }
  6078. }
  6079. break;
  6080. case "mind":
  6081. aTool = 3;
  6082. _iframe = $$("iframe", {
  6083. "frameborder": "no",
  6084. "border": "0",
  6085. "scrolling ": "no",
  6086. "style": {
  6087. "cssText": "border:0;width:100%;height:100%"
  6088. },
  6089. "src": "/kityminder-editor/dist/index.html"
  6090. })
  6091. _box.appendChild(_iframe);
  6092. _box.appendChild(_jie);
  6093. _formdiv = new U.UF.UI.form(
  6094. "思维导图-" + _username,
  6095. _box, { //"/jsmind/example/demo.html"
  6096. "id": "mind" + cid + stage + task + tool + _userid,
  6097. "style": {
  6098. "width": "90%",
  6099. "height": "90%",
  6100. "overflow": 'hidden'
  6101. },
  6102. "onresize": function () { }
  6103. }, {
  6104. closecallback: function () { }
  6105. }, {
  6106. "style": {
  6107. "height": "36px"
  6108. }
  6109. }).form; //创建窗体
  6110. _taskbar = {
  6111. "id": str + _formdiv.id,
  6112. "style": {
  6113. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6114. },
  6115. "name": "思维导图",
  6116. "forms": _formdiv,
  6117. "click": function () {
  6118. U.MD.D.I.openApplication(str, obj, info);
  6119. }
  6120. }
  6121. break;
  6122. case "MindMap":
  6123. aTool = 3;
  6124. _iframe = $$("iframe", {
  6125. "frameborder": "no",
  6126. "border": "0",
  6127. "scrolling ": "no",
  6128. "style": {
  6129. "cssText": "border:0;width:100%;height:100%"
  6130. },
  6131. "src": "//cloud.cocorobo.cn/mind/"
  6132. })
  6133. _box.appendChild(_iframe);
  6134. _box.appendChild(_jie);
  6135. _formdiv = new U.UF.UI.form(
  6136. "思维导图-" + _username,
  6137. _box, { //"/jsmind/example/demo.html"
  6138. "id": "mind" + cid + stage + task + tool + _userid,
  6139. "style": {
  6140. "width": "90%",
  6141. "height": "90%",
  6142. "overflow": 'hidden'
  6143. },
  6144. "onresize": function () { }
  6145. }, {
  6146. closecallback: function () { }
  6147. }, {
  6148. "style": {
  6149. "height": "36px"
  6150. }
  6151. }).form; //创建窗体
  6152. _taskbar = {
  6153. "id": str + _formdiv.id,
  6154. "style": {
  6155. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6156. },
  6157. "name": "思维导图",
  6158. "forms": _formdiv,
  6159. "click": function () {
  6160. U.MD.D.I.openApplication(str, obj, info);
  6161. }
  6162. }
  6163. break;
  6164. case "doc":
  6165. aTool = 6;
  6166. _iframe = $$("iframe", {
  6167. "frameborder": "no",
  6168. "border": "0",
  6169. "scrolling ": "no",
  6170. "style": {
  6171. "cssText": "border:0;width:100%;height:100%"
  6172. },
  6173. "src": "/Office/Word/WordEditArea.htm"
  6174. })
  6175. _box.appendChild(_iframe);
  6176. _box.appendChild(_jie);
  6177. _formdiv = new U.UF.UI.form(
  6178. "协同文档-" + _username,
  6179. _box, {
  6180. "id": "doc" + cid + stage + task + tool + _userid,
  6181. "style": {
  6182. "width": "90%",
  6183. "height": "90%",
  6184. "overflow": 'hidden'
  6185. },
  6186. "onresize": function () { }
  6187. }, {
  6188. closecallback: function () { }
  6189. }, {
  6190. "style": {
  6191. "height": "36px"
  6192. }
  6193. }).form; //创建窗体
  6194. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6195. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6196. })
  6197. _taskbar = {
  6198. "id": str + _formdiv.id,
  6199. "style": {
  6200. "backgroundImage": "url(/img/icon/doc.png)"
  6201. },
  6202. "name": "协同文档",
  6203. "forms": _formdiv,
  6204. "click": function () {
  6205. U.MD.D.I.openApplication(str, obj, info);
  6206. }
  6207. }
  6208. break;
  6209. case "mindNetwork": //好友打开
  6210. aTool = 7;
  6211. _iframe = $$("iframe", {
  6212. "webkitallowfullscreen": "",
  6213. "mozallowfullscreen": "",
  6214. "allowfullscreen": "",
  6215. "frameborder": "no",
  6216. "border": "0",
  6217. "scrolling ": "no",
  6218. "style": {
  6219. "cssText": "border:0; width:100%; height:100%;"
  6220. },
  6221. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6222. })
  6223. _box.appendChild(_iframe);
  6224. _box.appendChild(_jie);
  6225. _formdiv = new U.UF.UI.form(
  6226. "思维网格-" + _username,
  6227. _box, {
  6228. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6229. "style": {
  6230. "width": "90%",
  6231. "height": "90%",
  6232. "overflow": 'hidden'
  6233. },
  6234. "onresize": function () { }
  6235. }, {
  6236. closecallback: function () { }
  6237. }, {
  6238. "style": {
  6239. "height": "36px"
  6240. }
  6241. }).form; //创建窗体
  6242. _taskbar = {
  6243. "id": str + _formdiv.id,
  6244. "style": {
  6245. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6246. },
  6247. "name": "思维网格",
  6248. "forms": _formdiv,
  6249. "click": function () {
  6250. U.MD.D.I.openApplication(str, obj, info);
  6251. }
  6252. }
  6253. break;
  6254. case "courseDesign":
  6255. _iframe = $$("iframe", {
  6256. "webkitallowfullscreen": "",
  6257. "mozallowfullscreen": "",
  6258. "allowfullscreen": "",
  6259. "frameborder": "no",
  6260. "border": "0",
  6261. "scrolling ": "no",
  6262. "style": {
  6263. "cssText": "border:0; width:100%; height:100%;"
  6264. },
  6265. "src": "/course-design-vue"
  6266. })
  6267. _box.appendChild(_iframe);
  6268. _box.appendChild(_jie);
  6269. _formdiv = new U.UF.UI.form(
  6270. "项目设计-" + _username,
  6271. _box, {
  6272. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6273. "style": {
  6274. "width": "90%",
  6275. "height": "90%",
  6276. "overflow": 'hidden'
  6277. },
  6278. "onresize": function () { }
  6279. }, {
  6280. closecallback: function () { }
  6281. }, {
  6282. "style": {
  6283. "height": "36px"
  6284. }
  6285. }).form; //创建窗体
  6286. _taskbar = {
  6287. "id": str + _formdiv.id,
  6288. "style": {
  6289. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6290. },
  6291. "name": "项目设计",
  6292. "forms": _formdiv,
  6293. "click": function () {
  6294. U.MD.D.I.openApplication(str, obj, info);
  6295. }
  6296. }
  6297. break;
  6298. }
  6299. const script1 = document.createElement("script");
  6300. script1.type = "text/javascript";
  6301. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6302. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6303. const script2 = document.createElement("script");
  6304. script2.type = "text/javascript";
  6305. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6306. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6307. const script3 = document.createElement("script");
  6308. script3.type = "text/javascript";
  6309. script3.charset = "UTF-8";
  6310. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6311. const script4 = document.createElement("script");
  6312. script4.type = "text/javascript";
  6313. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6314. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6315. if (_iframe) {
  6316. if (str == 'doc') {
  6317. _iframe = _formdiv.querySelector('iframe')
  6318. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6319. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6320. _iframe.contentWindow.document.body.appendChild(script1);
  6321. _iframe.contentWindow.document.body.appendChild(script2);
  6322. // _iframe.contentWindow.document.body.appendChild(script3);
  6323. _iframe.contentWindow.document.body.appendChild(script4);
  6324. })
  6325. if (onloadListener) {
  6326. _iframe.contentDocument.location.reload()
  6327. } else {
  6328. _iframe.contentDocument.location.reload()
  6329. }
  6330. } else if (str == 'courseDesign') {
  6331. U.UF.DL.iframeLoad(_iframe, function () {
  6332. // _iframe.contentWindow.U.MD.O.W.load();
  6333. // _iframe.contentWindow.document.body.appendChild(script1);
  6334. _iframe.contentWindow.document.body.appendChild(script2);
  6335. _iframe.contentWindow.document.body.appendChild(script4);
  6336. })
  6337. } else if (str == 'mind') {
  6338. _iframe = _formdiv.querySelector('iframe')
  6339. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6340. //
  6341. _iframe.contentWindow.document.body.appendChild(script1);
  6342. _iframe.contentWindow.document.body.appendChild(script2);
  6343. _iframe.contentWindow.document.body.appendChild(script4);
  6344. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6345. })
  6346. if (onloadListener) {
  6347. _iframe.contentDocument.location.reload()
  6348. } else {
  6349. _iframe.contentDocument.location.reload()
  6350. }
  6351. } else if (str == 'whiteboard') {
  6352. _iframe = _formdiv.querySelector('iframe')
  6353. let onloadListener = _iframe.onload = () => {
  6354. _iframe.contentWindow.document.body.appendChild(script1);
  6355. _iframe.contentWindow.document.body.appendChild(script2);
  6356. _iframe.contentWindow.document.body.appendChild(script4);
  6357. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6358. };
  6359. if (onloadListener) {
  6360. _iframe.contentDocument.location.reload()
  6361. } else {
  6362. _iframe.contentDocument.location.reload()
  6363. }
  6364. } else {
  6365. _iframe.onload = () => {
  6366. _iframe.contentWindow.document.body.appendChild(script1);
  6367. _iframe.contentWindow.document.body.appendChild(script2);
  6368. // _iframe.contentWindow.document.body.appendChild(script3);
  6369. _iframe.contentWindow.document.body.appendChild(script4);
  6370. };
  6371. }
  6372. _jie.onclick = async () => {
  6373. let text = ''
  6374. if (aTool == 1) {
  6375. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6376. } else if (aTool == 6) {
  6377. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6378. } else if (aTool == 3) {
  6379. text = await U.MD.D.I.getEditorContent(_iframe);
  6380. }
  6381. _loading.style.display = 'flex'
  6382. console.log(_loading);
  6383. var _ajs = _iframe.contentWindow.document.createElement("script");
  6384. _ajs.type = "text/javascript";
  6385. _ajs.innerHTML =
  6386. // 'console.log(' + _loading + ');\n' +
  6387. 'var _js = document.createElement("script");\n' +
  6388. '_js.type="text/javascript";\n' +
  6389. '_js.charset="UTF-8";\n' +
  6390. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6391. "_js.onload = function(){\n" +
  6392. ' var a = document.getElementsByTagName("img")\n' +
  6393. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6394. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6395. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6396. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6397. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6398. "beforeUpload_shishi(file," +
  6399. "'" +
  6400. _userid +
  6401. "'" +
  6402. ", " +
  6403. "'" +
  6404. _cid +
  6405. "'" +
  6406. ", " +
  6407. "'" +
  6408. _stage +
  6409. "'" +
  6410. ", " +
  6411. "'" +
  6412. _task +
  6413. "'" +
  6414. ", " +
  6415. "'" +
  6416. _tool +
  6417. "'" +
  6418. ", " +
  6419. "'" +
  6420. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6421. "'" +
  6422. ", " +
  6423. "'" +
  6424. aTool +
  6425. "'" +
  6426. ", " +
  6427. "`" +
  6428. text +
  6429. "`" +
  6430. ")\n" +
  6431. " });\n" +
  6432. "}\n" +
  6433. "document.head.appendChild(_js);\n";
  6434. _iframe.contentWindow.document.head.appendChild(_ajs);
  6435. }
  6436. }
  6437. }
  6438. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6439. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6440. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6441. _userid = student.userid, //登录用户id
  6442. _username = student.student //用户名字
  6443. let _iframe;
  6444. let _cid = cid,
  6445. _stage = stage,
  6446. _task = task,
  6447. _tool = tool;
  6448. var _jie = $$("div", {
  6449. "style": {
  6450. "position": "absolute",
  6451. "bottom": "50px",
  6452. "right": "50px",
  6453. "zIndex": "9999",
  6454. "backgroundColor": "#2268bc",
  6455. "color": "#fff",
  6456. "padding": "12px 20px",
  6457. "cursor": "pointer",
  6458. "borderRadius": "4px",
  6459. },
  6460. "innerHTML": "提交作业"
  6461. })
  6462. let aTool = ''
  6463. let _loading = document.createElement('div')
  6464. _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;"
  6465. // _loading.id = "";
  6466. let _lchild = document.createElement('div')
  6467. let _limg = document.createElement('img')
  6468. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6469. _limg.style = "width: 26px;margin-right: 10px;"
  6470. _lchild.appendChild(_limg)
  6471. let _lspan = document.createElement('span')
  6472. _lspan.innerHTML = "上传中..."
  6473. _lchild.appendChild(_lspan)
  6474. _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%);"
  6475. _loading.appendChild(_lchild)
  6476. var _box = $$('div', {
  6477. "style": {
  6478. "position": "relative",
  6479. "width": "100%",
  6480. "height": "100%",
  6481. },
  6482. })
  6483. _box.appendChild(_loading)
  6484. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6485. switch (str) {
  6486. case "whiteboard":
  6487. aTool = 1;
  6488. _iframe = $$("iframe", {
  6489. "frameborder": "no",
  6490. "border": "0",
  6491. "scrolling ": "no",
  6492. "style": {
  6493. "cssText": "border:0;width:100%;height:100%"
  6494. },
  6495. "src": "https://iwb.cocorobo.cn/"
  6496. })
  6497. _box.appendChild(_iframe);
  6498. _box.appendChild(_jie);
  6499. _formdiv = new U.UF.UI.form(
  6500. "电子白板-" + _username,
  6501. _box, {
  6502. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6503. "style": {
  6504. "width": "90%",
  6505. "height": "90%",
  6506. "overflow": 'hidden'
  6507. },
  6508. "onresize": function () { }
  6509. }, {
  6510. closecallback: function () { }
  6511. }, {
  6512. "style": {
  6513. "height": "36px"
  6514. }
  6515. }).form; //创建窗体
  6516. _taskbar = {
  6517. "id": str + _formdiv.id,
  6518. "style": {
  6519. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6520. },
  6521. "name": "电子白板",
  6522. "forms": _formdiv,
  6523. "click": function () {
  6524. U.MD.D.I.openApplication(str, obj, info);
  6525. }
  6526. }
  6527. break;
  6528. case "mind":
  6529. aTool = 3;
  6530. _iframe = $$("iframe", {
  6531. "frameborder": "no",
  6532. "border": "0",
  6533. "scrolling ": "no",
  6534. "style": {
  6535. "cssText": "border:0;width:100%;height:100%"
  6536. },
  6537. "src": "/kityminder-editor/dist/index.html"
  6538. })
  6539. _box.appendChild(_iframe);
  6540. _box.appendChild(_jie);
  6541. _formdiv = new U.UF.UI.form(
  6542. "思维导图-" + _username,
  6543. _box, { //"/jsmind/example/demo.html"
  6544. "id": "mind" + cid + stage + task + tool + _userid,
  6545. "style": {
  6546. "width": "90%",
  6547. "height": "90%",
  6548. "overflow": 'hidden'
  6549. },
  6550. "onresize": function () { }
  6551. }, {
  6552. closecallback: function () { }
  6553. }, {
  6554. "style": {
  6555. "height": "36px"
  6556. }
  6557. }).form; //创建窗体
  6558. _taskbar = {
  6559. "id": str + _formdiv.id,
  6560. "style": {
  6561. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6562. },
  6563. "name": "思维导图",
  6564. "forms": _formdiv,
  6565. "click": function () {
  6566. U.MD.D.I.openApplication(str, obj, info);
  6567. }
  6568. }
  6569. break;
  6570. case "MindMap":
  6571. aTool = 3;
  6572. _iframe = $$("iframe", {
  6573. "frameborder": "no",
  6574. "border": "0",
  6575. "scrolling ": "no",
  6576. "style": {
  6577. "cssText": "border:0;width:100%;height:100%"
  6578. },
  6579. "src": "//cloud.cocorobo.cn/mind/"
  6580. })
  6581. _box.appendChild(_iframe);
  6582. _box.appendChild(_jie);
  6583. _formdiv = new U.UF.UI.form(
  6584. "思维导图-" + _username,
  6585. _box, { //"/jsmind/example/demo.html"
  6586. "id": "mind" + cid + stage + task + tool + _userid,
  6587. "style": {
  6588. "width": "90%",
  6589. "height": "90%",
  6590. "overflow": 'hidden'
  6591. },
  6592. "onresize": function () { }
  6593. }, {
  6594. closecallback: function () { }
  6595. }, {
  6596. "style": {
  6597. "height": "36px"
  6598. }
  6599. }).form; //创建窗体
  6600. _taskbar = {
  6601. "id": str + _formdiv.id,
  6602. "style": {
  6603. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6604. },
  6605. "name": "思维导图",
  6606. "forms": _formdiv,
  6607. "click": function () {
  6608. U.MD.D.I.openApplication(str, obj, info);
  6609. }
  6610. }
  6611. break;
  6612. case "doc":
  6613. aTool = 6;
  6614. _iframe = $$("iframe", {
  6615. "frameborder": "no",
  6616. "border": "0",
  6617. "scrolling ": "no",
  6618. "style": {
  6619. "cssText": "border:0;width:100%;height:100%"
  6620. },
  6621. "src": "/Office/Word/WordEditArea.htm"
  6622. })
  6623. _box.appendChild(_iframe);
  6624. _box.appendChild(_jie);
  6625. _formdiv = new U.UF.UI.form(
  6626. "协同文档-" + _username,
  6627. _box, {
  6628. "id": "doc" + cid + stage + task + tool + _userid,
  6629. "style": {
  6630. "width": "90%",
  6631. "height": "90%",
  6632. "overflow": 'hidden'
  6633. },
  6634. "onresize": function () { }
  6635. }, {
  6636. closecallback: function () { }
  6637. }, {
  6638. "style": {
  6639. "height": "36px"
  6640. }
  6641. }).form; //创建窗体
  6642. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6643. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6644. })
  6645. _taskbar = {
  6646. "id": str + _formdiv.id,
  6647. "style": {
  6648. "backgroundImage": "url(/img/icon/doc.png)"
  6649. },
  6650. "name": "协同文档",
  6651. "forms": _formdiv,
  6652. "click": function () {
  6653. U.MD.D.I.openApplication(str, obj, info);
  6654. }
  6655. }
  6656. break;
  6657. case "mindNetwork": //好友打开
  6658. aTool = 7;
  6659. _iframe = $$("iframe", {
  6660. "webkitallowfullscreen": "",
  6661. "mozallowfullscreen": "",
  6662. "allowfullscreen": "",
  6663. "frameborder": "no",
  6664. "border": "0",
  6665. "scrolling ": "no",
  6666. "style": {
  6667. "cssText": "border:0; width:100%; height:100%;"
  6668. },
  6669. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6670. })
  6671. _box.appendChild(_iframe);
  6672. _box.appendChild(_jie);
  6673. _formdiv = new U.UF.UI.form(
  6674. "思维网格-" + _username,
  6675. _box, {
  6676. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6677. "style": {
  6678. "width": "90%",
  6679. "height": "90%",
  6680. "overflow": 'hidden'
  6681. },
  6682. "onresize": function () { }
  6683. }, {
  6684. closecallback: function () { }
  6685. }, {
  6686. "style": {
  6687. "height": "36px"
  6688. }
  6689. }).form; //创建窗体
  6690. _taskbar = {
  6691. "id": str + _formdiv.id,
  6692. "style": {
  6693. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6694. },
  6695. "name": "思维网格",
  6696. "forms": _formdiv,
  6697. "click": function () {
  6698. U.MD.D.I.openApplication(str, obj, info);
  6699. }
  6700. }
  6701. break;
  6702. case "courseDesign":
  6703. _iframe = $$("iframe", {
  6704. "webkitallowfullscreen": "",
  6705. "mozallowfullscreen": "",
  6706. "allowfullscreen": "",
  6707. "frameborder": "no",
  6708. "border": "0",
  6709. "scrolling ": "no",
  6710. "style": {
  6711. "cssText": "border:0; width:100%; height:100%;"
  6712. },
  6713. "src": "/course-design-vue"
  6714. })
  6715. _box.appendChild(_iframe);
  6716. _box.appendChild(_jie);
  6717. _formdiv = new U.UF.UI.form(
  6718. "项目设计-" + _username,
  6719. _box, {
  6720. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6721. "style": {
  6722. "width": "90%",
  6723. "height": "90%",
  6724. "overflow": 'hidden'
  6725. },
  6726. "onresize": function () { }
  6727. }, {
  6728. closecallback: function () { }
  6729. }, {
  6730. "style": {
  6731. "height": "36px"
  6732. }
  6733. }).form; //创建窗体
  6734. _taskbar = {
  6735. "id": str + _formdiv.id,
  6736. "style": {
  6737. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6738. },
  6739. "name": "项目设计",
  6740. "forms": _formdiv,
  6741. "click": function () {
  6742. U.MD.D.I.openApplication(str, obj, info);
  6743. }
  6744. }
  6745. break;
  6746. }
  6747. const script1 = document.createElement("script");
  6748. script1.type = "text/javascript";
  6749. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6750. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6751. const script2 = document.createElement("script");
  6752. script2.type = "text/javascript";
  6753. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6754. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6755. const script3 = document.createElement("script");
  6756. script3.type = "text/javascript";
  6757. script3.charset = "UTF-8";
  6758. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6759. const script4 = document.createElement("script");
  6760. script4.type = "text/javascript";
  6761. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6762. script4.src = window.origin + "/js/Common/jietu2E.js";
  6763. if (_iframe) {
  6764. if (str == 'doc') {
  6765. _iframe = _formdiv.querySelector('iframe')
  6766. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6767. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6768. _iframe.contentWindow.document.body.appendChild(script1);
  6769. _iframe.contentWindow.document.body.appendChild(script2);
  6770. // _iframe.contentWindow.document.body.appendChild(script3);
  6771. _iframe.contentWindow.document.body.appendChild(script4);
  6772. })
  6773. if (onloadListener) {
  6774. _iframe.contentDocument.location.reload()
  6775. } else {
  6776. _iframe.contentDocument.location.reload()
  6777. }
  6778. } else if (str == 'courseDesign') {
  6779. U.UF.DL.iframeLoad(_iframe, function () {
  6780. // _iframe.contentWindow.U.MD.O.W.load();
  6781. // _iframe.contentWindow.document.body.appendChild(script1);
  6782. _iframe.contentWindow.document.body.appendChild(script2);
  6783. _iframe.contentWindow.document.body.appendChild(script4);
  6784. })
  6785. } else if (str == 'mind') {
  6786. _iframe = _formdiv.querySelector('iframe')
  6787. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6788. //
  6789. _iframe.contentWindow.document.body.appendChild(script1);
  6790. _iframe.contentWindow.document.body.appendChild(script2);
  6791. _iframe.contentWindow.document.body.appendChild(script4);
  6792. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6793. })
  6794. if (onloadListener) {
  6795. _iframe.contentDocument.location.reload()
  6796. } else {
  6797. _iframe.contentDocument.location.reload()
  6798. }
  6799. } else if (str == 'whiteboard') {
  6800. _iframe = _formdiv.querySelector('iframe')
  6801. let onloadListener = _iframe.onload = () => {
  6802. _iframe.contentWindow.document.body.appendChild(script1);
  6803. _iframe.contentWindow.document.body.appendChild(script2);
  6804. _iframe.contentWindow.document.body.appendChild(script4);
  6805. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6806. };
  6807. if (onloadListener) {
  6808. _iframe.contentDocument.location.reload()
  6809. } else {
  6810. _iframe.contentDocument.location.reload()
  6811. }
  6812. } else {
  6813. _iframe.onload = () => {
  6814. _iframe.contentWindow.document.body.appendChild(script1);
  6815. _iframe.contentWindow.document.body.appendChild(script2);
  6816. // _iframe.contentWindow.document.body.appendChild(script3);
  6817. _iframe.contentWindow.document.body.appendChild(script4);
  6818. };
  6819. }
  6820. _jie.onclick = async () => {
  6821. let text = ''
  6822. if (aTool == 1) {
  6823. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6824. } else if (aTool == 6) {
  6825. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6826. } else if (aTool == 3) {
  6827. text = await U.MD.D.I.getEditorContent(_iframe);
  6828. }
  6829. _loading.style.display = 'flex'
  6830. console.log(_loading);
  6831. var _ajs = _iframe.contentWindow.document.createElement("script");
  6832. _ajs.type = "text/javascript";
  6833. _ajs.innerHTML =
  6834. // 'console.log(' + _loading + ');\n' +
  6835. 'var _js = document.createElement("script");\n' +
  6836. '_js.type="text/javascript";\n' +
  6837. '_js.charset="UTF-8";\n' +
  6838. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6839. "_js.onload = function(){\n" +
  6840. ' var a = document.getElementsByTagName("img")\n' +
  6841. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6842. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6843. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6844. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6845. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6846. "beforeUpload_shishi(file," +
  6847. "'" +
  6848. _userid +
  6849. "'" +
  6850. ", " +
  6851. "'" +
  6852. _cid +
  6853. "'" +
  6854. ", " +
  6855. "'" +
  6856. _stage +
  6857. "'" +
  6858. ", " +
  6859. "'" +
  6860. _task +
  6861. "'" +
  6862. ", " +
  6863. "'" +
  6864. _tool +
  6865. "'" +
  6866. ", " +
  6867. "'" +
  6868. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6869. "'" +
  6870. ", " +
  6871. "'" +
  6872. aTool +
  6873. "'" +
  6874. ", " +
  6875. "`" +
  6876. text +
  6877. "`" +
  6878. ")\n" +
  6879. " });\n" +
  6880. "}\n" +
  6881. "document.head.appendChild(_js);\n";
  6882. _iframe.contentWindow.document.head.appendChild(_ajs);
  6883. }
  6884. }
  6885. }
  6886. U.MD.D.I.getEditorContent = function (iframe) {
  6887. return new Promise((resolve, reject) => {
  6888. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6889. console.log(content);
  6890. resolve(content)
  6891. });
  6892. });
  6893. }
  6894. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6895. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6896. // if (res.value[0].length > 0) {
  6897. // // resolve(res.value[0][0].text);
  6898. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6899. // $(fileInput).val('');
  6900. // });
  6901. // }
  6902. // }, [], { "type": "GET", "withCredentials": true });
  6903. var xmlhttp;
  6904. var Mac, Sn, DeviceId
  6905. if (window.XMLHttpRequest) {
  6906. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6907. xmlhttp = new XMLHttpRequest();
  6908. } else {
  6909. // IE6, IE5 浏览器执行代码
  6910. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6911. }
  6912. xmlhttp.onreadystatechange = function () {
  6913. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6914. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6915. // resolve(res.value[0][0].text);
  6916. if (type == '2') {
  6917. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6918. } else if (type == '3') {
  6919. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6920. }
  6921. } else {
  6922. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6923. }
  6924. }
  6925. }
  6926. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6927. xmlhttp.send();
  6928. }
  6929. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6930. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6931. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6932. _userinfo = US.userInfo, //登录用户信息
  6933. _userid = US.userInfo.userid //登录用户id
  6934. let _iframe;
  6935. let _cid = cid,
  6936. _stage = stage,
  6937. _task = task,
  6938. _tool = tool;
  6939. var _jie = $$("div", {
  6940. "style": {
  6941. "position": "absolute",
  6942. "bottom": "50px",
  6943. "right": "50px",
  6944. "zIndex": "9999",
  6945. "backgroundColor": "#2268bc",
  6946. "color": "#fff",
  6947. "padding": "12px 20px",
  6948. "cursor": "pointer",
  6949. "borderRadius": "4px",
  6950. },
  6951. "innerHTML": "确认并提交"
  6952. })
  6953. let aTool = ''
  6954. let _loading = document.createElement('div')
  6955. _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;"
  6956. // _loading.id = "";
  6957. let _lchild = document.createElement('div')
  6958. let _limg = document.createElement('img')
  6959. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6960. _limg.style = "width: 26px;margin-right: 10px;"
  6961. _lchild.appendChild(_limg)
  6962. let _lspan = document.createElement('span')
  6963. _lspan.innerHTML = "上传中..."
  6964. _lchild.appendChild(_lspan)
  6965. _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%);"
  6966. _loading.appendChild(_lchild)
  6967. var _box = $$('div', {
  6968. "style": {
  6969. "position": "relative",
  6970. "width": "100%",
  6971. "height": "100%",
  6972. },
  6973. })
  6974. _box.appendChild(_loading)
  6975. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6976. switch (str) {
  6977. case "whiteboard":
  6978. aTool = 1;
  6979. _iframe = $$("iframe", {
  6980. "frameborder": "no",
  6981. "border": "0",
  6982. "scrolling ": "no",
  6983. "style": {
  6984. "cssText": "border:0;width:100%;height:100%"
  6985. },
  6986. "src": "https://iwb.cocorobo.cn/"
  6987. })
  6988. _box.appendChild(_iframe);
  6989. _box.appendChild(_jie);
  6990. _formdiv = new U.UF.UI.form(
  6991. "电子白板",
  6992. _box, {
  6993. "id": "whiteboards" + cid + stage + task + tool,
  6994. "style": {
  6995. "width": "90%",
  6996. "height": "90%",
  6997. "overflow": 'hidden'
  6998. },
  6999. "onresize": function () { }
  7000. }, {
  7001. closecallback: function () { }
  7002. }, {
  7003. "style": {
  7004. "height": "36px"
  7005. }
  7006. }).form; //创建窗体
  7007. _taskbar = {
  7008. "id": str + _formdiv.id,
  7009. "style": {
  7010. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7011. },
  7012. "name": "电子白板",
  7013. "forms": _formdiv,
  7014. "click": function () {
  7015. U.MD.D.I.openApplication(str, obj, info);
  7016. }
  7017. }
  7018. break;
  7019. case "mind":
  7020. aTool = 3;
  7021. _iframe = $$("iframe", {
  7022. "frameborder": "no",
  7023. "border": "0",
  7024. "scrolling ": "no",
  7025. "style": {
  7026. "cssText": "border:0;width:100%;height:100%"
  7027. },
  7028. "src": "/kityminder-editor/dist/index.html"
  7029. });
  7030. _box.appendChild(_iframe);
  7031. _box.appendChild(_jie);
  7032. _formdiv = new U.UF.UI.form(
  7033. "思维导图",
  7034. _box, { //"/jsmind/example/demo.html"
  7035. "id": "minds" + cid + stage + task + tool,
  7036. "style": {
  7037. "width": "90%",
  7038. "height": "90%",
  7039. "overflow": 'hidden'
  7040. },
  7041. "onresize": function () { }
  7042. }, {
  7043. closecallback: function () { }
  7044. }, {
  7045. "style": {
  7046. "height": "36px"
  7047. }
  7048. }).form; //创建窗体
  7049. _taskbar = {
  7050. "id": str + _formdiv.id,
  7051. "style": {
  7052. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7053. },
  7054. "name": "思维导图",
  7055. "forms": _formdiv,
  7056. "click": function () {
  7057. U.MD.D.I.openApplication(str, obj, info);
  7058. }
  7059. }
  7060. break;
  7061. case "doc":
  7062. aTool = 6;
  7063. _iframe = $$("iframe", {
  7064. "frameborder": "no",
  7065. "border": "0",
  7066. "scrolling ": "no",
  7067. "style": {
  7068. "cssText": "border:0;width:100%;height:100%"
  7069. },
  7070. "src": "/Office/Word/WordEditArea.htm"
  7071. })
  7072. _box.appendChild(_iframe);
  7073. _box.appendChild(_jie);
  7074. _formdiv = new U.UF.UI.form(
  7075. "协同文档",
  7076. _box, {
  7077. "id": "docs" + cid + stage + task + tool,
  7078. "style": {
  7079. "width": "90%",
  7080. "height": "90%",
  7081. "overflow": 'hidden'
  7082. },
  7083. "onresize": function () { }
  7084. }, {
  7085. closecallback: function () { }
  7086. }, {
  7087. "style": {
  7088. "height": "36px"
  7089. }
  7090. }).form; //创建窗体
  7091. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7092. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7093. })
  7094. _taskbar = {
  7095. "id": str + _formdiv.id,
  7096. "style": {
  7097. "backgroundImage": "url(/img/icon/doc.png)"
  7098. },
  7099. "name": "协同文档",
  7100. "forms": _formdiv,
  7101. "click": function () {
  7102. U.MD.D.I.openApplication(str, obj, info);
  7103. }
  7104. }
  7105. break;
  7106. }
  7107. const script1 = document.createElement("script");
  7108. script1.type = "text/javascript";
  7109. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7110. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7111. const script2 = document.createElement("script");
  7112. script2.type = "text/javascript";
  7113. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7114. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7115. const script3 = document.createElement("script");
  7116. script3.type = "text/javascript";
  7117. script3.charset = "UTF-8";
  7118. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7119. const script4 = document.createElement("script");
  7120. script4.type = "text/javascript";
  7121. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7122. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  7123. if (_iframe) {
  7124. if (str == 'doc') {
  7125. _iframe = _formdiv.querySelector('iframe')
  7126. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7127. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7128. _iframe.contentWindow.document.body.appendChild(script1);
  7129. _iframe.contentWindow.document.body.appendChild(script2);
  7130. // _iframe.contentWindow.document.body.appendChild(script3);
  7131. _iframe.contentWindow.document.body.appendChild(script4);
  7132. })
  7133. if (onloadListener) {
  7134. _iframe.contentDocument.location.reload()
  7135. } else {
  7136. _iframe.contentDocument.location.reload()
  7137. }
  7138. } else if (str == 'mind') {
  7139. _iframe = _formdiv.querySelector('iframe')
  7140. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7141. _iframe.contentWindow.document.body.appendChild(script1);
  7142. _iframe.contentWindow.document.body.appendChild(script2);
  7143. _iframe.contentWindow.document.body.appendChild(script4);
  7144. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7145. })
  7146. if (onloadListener) {
  7147. _iframe.contentDocument.location.reload()
  7148. } else {
  7149. _iframe.contentDocument.location.reload()
  7150. }
  7151. } else {
  7152. _iframe.onload = () => {
  7153. _iframe.contentWindow.document.body.appendChild(script1);
  7154. _iframe.contentWindow.document.body.appendChild(script2);
  7155. // _iframe.contentWindow.document.body.appendChild(script3);
  7156. _iframe.contentWindow.document.body.appendChild(script4);
  7157. };
  7158. }
  7159. _jie.onclick = async () => {
  7160. let text = ''
  7161. if (aTool == 6) {
  7162. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7163. } else if (aTool == 3) {
  7164. text = await U.MD.D.I.getEditorContent(_iframe);
  7165. }
  7166. _loading.style.display = 'flex'
  7167. console.log(_loading);
  7168. var _ajs = _iframe.contentWindow.document.createElement("script");
  7169. _ajs.type = "text/javascript";
  7170. _ajs.innerHTML =
  7171. // 'console.log(' + _loading + ');\n' +
  7172. 'var _js = document.createElement("script");\n' +
  7173. '_js.type="text/javascript";\n' +
  7174. '_js.charset="UTF-8";\n' +
  7175. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7176. "_js.onload = function(){\n" +
  7177. ' var a = document.getElementsByTagName("img")\n' +
  7178. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7179. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7180. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7181. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7182. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7183. "beforeUpload_shishi(file," +
  7184. "'" +
  7185. _userid +
  7186. "'" +
  7187. ", " +
  7188. "'" +
  7189. _cid +
  7190. "'" +
  7191. ", " +
  7192. "'" +
  7193. _stage +
  7194. "'" +
  7195. ", " +
  7196. "'" +
  7197. _task +
  7198. "'" +
  7199. ", " +
  7200. "'" +
  7201. _tool +
  7202. "'" +
  7203. ", " +
  7204. "'" +
  7205. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7206. "'" +
  7207. ", " +
  7208. "'" +
  7209. aTool +
  7210. "'" +
  7211. ", " +
  7212. "`" +
  7213. text +
  7214. "`" +
  7215. ")\n" +
  7216. " });\n" +
  7217. "}\n" +
  7218. "document.head.appendChild(_js);\n";
  7219. _iframe.contentWindow.document.head.appendChild(_ajs);
  7220. }
  7221. }
  7222. //U.MD.D.I.openClick(str);
  7223. //如果有任务栏信息
  7224. // if (_taskbar) {
  7225. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7226. // }
  7227. }
  7228. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7229. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7230. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7231. _userinfo = US.userInfo, //登录用户信息
  7232. _userid = US.userInfo.userid //登录用户id
  7233. let _iframe;
  7234. let _cid = cid,
  7235. _stage = stage,
  7236. _task = task,
  7237. _tool = tool;
  7238. var _jie = $$("div", {
  7239. "style": {
  7240. "position": "absolute",
  7241. "bottom": "50px",
  7242. "right": "50px",
  7243. "zIndex": "9999",
  7244. "backgroundColor": "#2268bc",
  7245. "color": "#fff",
  7246. "padding": "12px 20px",
  7247. "cursor": "pointer",
  7248. "borderRadius": "4px",
  7249. },
  7250. "innerHTML": "确认并提交"
  7251. })
  7252. let aTool = ''
  7253. let _loading = document.createElement('div')
  7254. _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;"
  7255. // _loading.id = "";
  7256. let _lchild = document.createElement('div')
  7257. let _limg = document.createElement('img')
  7258. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7259. _limg.style = "width: 26px;margin-right: 10px;"
  7260. _lchild.appendChild(_limg)
  7261. let _lspan = document.createElement('span')
  7262. _lspan.innerHTML = "上传中..."
  7263. _lchild.appendChild(_lspan)
  7264. _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%);"
  7265. _loading.appendChild(_lchild)
  7266. var _box = $$('div', {
  7267. "style": {
  7268. "position": "relative",
  7269. "width": "100%",
  7270. "height": "100%",
  7271. },
  7272. })
  7273. _box.appendChild(_loading)
  7274. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7275. switch (str) {
  7276. case "whiteboard":
  7277. aTool = 1;
  7278. _iframe = $$("iframe", {
  7279. "frameborder": "no",
  7280. "border": "0",
  7281. "scrolling ": "no",
  7282. "style": {
  7283. "cssText": "border:0;width:100%;height:100%"
  7284. },
  7285. "src": "https://iwb.cocorobo.cn/"
  7286. })
  7287. _box.appendChild(_iframe);
  7288. _box.appendChild(_jie);
  7289. _formdiv = new U.UF.UI.form(
  7290. "电子白板",
  7291. _box, {
  7292. "id": "whiteboards" + cid + stage + task + tool,
  7293. "style": {
  7294. "width": "90%",
  7295. "height": "90%",
  7296. "overflow": 'hidden'
  7297. },
  7298. "onresize": function () { }
  7299. }, {
  7300. closecallback: function () { }
  7301. }, {
  7302. "style": {
  7303. "height": "36px"
  7304. }
  7305. }).form; //创建窗体
  7306. _taskbar = {
  7307. "id": str + _formdiv.id,
  7308. "style": {
  7309. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7310. },
  7311. "name": "电子白板",
  7312. "forms": _formdiv,
  7313. "click": function () {
  7314. U.MD.D.I.openApplication(str, obj, info);
  7315. }
  7316. }
  7317. break;
  7318. case "mind":
  7319. aTool = 3;
  7320. _iframe = $$("iframe", {
  7321. "frameborder": "no",
  7322. "border": "0",
  7323. "scrolling ": "no",
  7324. "style": {
  7325. "cssText": "border:0;width:100%;height:100%"
  7326. },
  7327. "src": "/kityminder-editor/dist/index.html"
  7328. });
  7329. _box.appendChild(_iframe);
  7330. _box.appendChild(_jie);
  7331. _formdiv = new U.UF.UI.form(
  7332. "思维导图",
  7333. _box, { //"/jsmind/example/demo.html"
  7334. "id": "minds" + cid + stage + task + tool,
  7335. "style": {
  7336. "width": "90%",
  7337. "height": "90%",
  7338. "overflow": 'hidden'
  7339. },
  7340. "onresize": function () { }
  7341. }, {
  7342. closecallback: function () { }
  7343. }, {
  7344. "style": {
  7345. "height": "36px"
  7346. }
  7347. }).form; //创建窗体
  7348. _taskbar = {
  7349. "id": str + _formdiv.id,
  7350. "style": {
  7351. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7352. },
  7353. "name": "思维导图",
  7354. "forms": _formdiv,
  7355. "click": function () {
  7356. U.MD.D.I.openApplication(str, obj, info);
  7357. }
  7358. }
  7359. break;
  7360. case "doc":
  7361. aTool = 6;
  7362. _iframe = $$("iframe", {
  7363. "frameborder": "no",
  7364. "border": "0",
  7365. "scrolling ": "no",
  7366. "style": {
  7367. "cssText": "border:0;width:100%;height:100%"
  7368. },
  7369. "src": "/Office/Word/WordEditArea.htm"
  7370. })
  7371. _box.appendChild(_iframe);
  7372. _box.appendChild(_jie);
  7373. _formdiv = new U.UF.UI.form(
  7374. "协同文档",
  7375. _box, {
  7376. "id": "docs" + cid + stage + task + tool,
  7377. "style": {
  7378. "width": "90%",
  7379. "height": "90%",
  7380. "overflow": 'hidden'
  7381. },
  7382. "onresize": function () { }
  7383. }, {
  7384. closecallback: function () { }
  7385. }, {
  7386. "style": {
  7387. "height": "36px"
  7388. }
  7389. }).form; //创建窗体
  7390. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7391. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7392. })
  7393. _taskbar = {
  7394. "id": str + _formdiv.id,
  7395. "style": {
  7396. "backgroundImage": "url(/img/icon/doc.png)"
  7397. },
  7398. "name": "协同文档",
  7399. "forms": _formdiv,
  7400. "click": function () {
  7401. U.MD.D.I.openApplication(str, obj, info);
  7402. }
  7403. }
  7404. break;
  7405. }
  7406. const script1 = document.createElement("script");
  7407. script1.type = "text/javascript";
  7408. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7409. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7410. const script2 = document.createElement("script");
  7411. script2.type = "text/javascript";
  7412. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7413. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7414. const script3 = document.createElement("script");
  7415. script3.type = "text/javascript";
  7416. script3.charset = "UTF-8";
  7417. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7418. const script4 = document.createElement("script");
  7419. script4.type = "text/javascript";
  7420. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7421. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7422. if (_iframe) {
  7423. if (str == 'doc') {
  7424. _iframe = _formdiv.querySelector('iframe')
  7425. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7426. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7427. _iframe.contentWindow.document.body.appendChild(script1);
  7428. _iframe.contentWindow.document.body.appendChild(script2);
  7429. // _iframe.contentWindow.document.body.appendChild(script3);
  7430. _iframe.contentWindow.document.body.appendChild(script4);
  7431. })
  7432. if (onloadListener) {
  7433. _iframe.contentDocument.location.reload()
  7434. } else {
  7435. _iframe.contentDocument.location.reload()
  7436. }
  7437. } else if (str == 'mind') {
  7438. _iframe = _formdiv.querySelector('iframe')
  7439. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7440. _iframe.contentWindow.document.body.appendChild(script1);
  7441. _iframe.contentWindow.document.body.appendChild(script2);
  7442. _iframe.contentWindow.document.body.appendChild(script4);
  7443. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7444. })
  7445. if (onloadListener) {
  7446. _iframe.contentDocument.location.reload()
  7447. } else {
  7448. _iframe.contentDocument.location.reload()
  7449. }
  7450. } else {
  7451. _iframe.onload = () => {
  7452. _iframe.contentWindow.document.body.appendChild(script1);
  7453. _iframe.contentWindow.document.body.appendChild(script2);
  7454. // _iframe.contentWindow.document.body.appendChild(script3);
  7455. _iframe.contentWindow.document.body.appendChild(script4);
  7456. };
  7457. }
  7458. _jie.onclick = async () => {
  7459. let text = ''
  7460. if (aTool == 6) {
  7461. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7462. } else if (aTool == 3) {
  7463. text = await U.MD.D.I.getEditorContent(_iframe);
  7464. }
  7465. _loading.style.display = 'flex'
  7466. console.log(_loading);
  7467. var _ajs = _iframe.contentWindow.document.createElement("script");
  7468. _ajs.type = "text/javascript";
  7469. _ajs.innerHTML =
  7470. // 'console.log(' + _loading + ');\n' +
  7471. 'var _js = document.createElement("script");\n' +
  7472. '_js.type="text/javascript";\n' +
  7473. '_js.charset="UTF-8";\n' +
  7474. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7475. "_js.onload = function(){\n" +
  7476. ' var a = document.getElementsByTagName("img")\n' +
  7477. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7478. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7479. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7480. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7481. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7482. "beforeUpload_shishi(file," +
  7483. "'" +
  7484. _userid +
  7485. "'" +
  7486. ", " +
  7487. "'" +
  7488. _cid +
  7489. "'" +
  7490. ", " +
  7491. "'" +
  7492. _stage +
  7493. "'" +
  7494. ", " +
  7495. "'" +
  7496. _task +
  7497. "'" +
  7498. ", " +
  7499. "'" +
  7500. _tool +
  7501. "'" +
  7502. ", " +
  7503. "'" +
  7504. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7505. "'" +
  7506. ", " +
  7507. "'" +
  7508. aTool +
  7509. "'" +
  7510. ", " +
  7511. "`" +
  7512. text +
  7513. "`" +
  7514. ")\n" +
  7515. " });\n" +
  7516. "}\n" +
  7517. "document.head.appendChild(_js);\n";
  7518. _iframe.contentWindow.document.head.appendChild(_ajs);
  7519. }
  7520. }
  7521. //U.MD.D.I.openClick(str);
  7522. //如果有任务栏信息
  7523. // if (_taskbar) {
  7524. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7525. // }
  7526. }
  7527. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7528. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7529. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7530. _userinfo = US.userInfo, //登录用户信息
  7531. _userid = US.userInfo.userid //登录用户id
  7532. let _iframe;
  7533. let _cid = cid,
  7534. _stage = stage,
  7535. _task = task,
  7536. _tool = tool;
  7537. var _jie = $$("div", {
  7538. "style": {
  7539. "position": "absolute",
  7540. "bottom": "50px",
  7541. "right": "50px",
  7542. "zIndex": "9999",
  7543. "backgroundColor": "#2268bc",
  7544. "color": "#fff",
  7545. "padding": "12px 20px",
  7546. "cursor": "pointer",
  7547. "borderRadius": "4px",
  7548. },
  7549. "innerHTML": "上传模板"
  7550. })
  7551. let aTool = ''
  7552. let _loading = document.createElement('div')
  7553. _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;"
  7554. // _loading.id = "";
  7555. let _lchild = document.createElement('div')
  7556. let _limg = document.createElement('img')
  7557. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7558. _limg.style = "width: 26px;margin-right: 10px;"
  7559. _lchild.appendChild(_limg)
  7560. let _lspan = document.createElement('span')
  7561. _lspan.innerHTML = "上传中..."
  7562. _lchild.appendChild(_lspan)
  7563. _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%);"
  7564. _loading.appendChild(_lchild)
  7565. var _box = $$('div', {
  7566. "style": {
  7567. "position": "relative",
  7568. "width": "100%",
  7569. "height": "100%",
  7570. },
  7571. })
  7572. _box.appendChild(_loading)
  7573. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7574. switch (str) {
  7575. case "whiteboard":
  7576. aTool = 1;
  7577. _iframe = $$("iframe", {
  7578. "frameborder": "no",
  7579. "border": "0",
  7580. "scrolling ": "no",
  7581. "style": {
  7582. "cssText": "border:0;width:100%;height:100%"
  7583. },
  7584. "src": "https://iwb.cocorobo.cn/"
  7585. })
  7586. _box.appendChild(_iframe);
  7587. _box.appendChild(_jie);
  7588. _formdiv = new U.UF.UI.form(
  7589. "电子白板",
  7590. _box, {
  7591. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7592. "style": {
  7593. "width": "90%",
  7594. "height": "90%",
  7595. "overflow": 'hidden'
  7596. },
  7597. "onresize": function () { }
  7598. }, {
  7599. closecallback: function () { }
  7600. }, {
  7601. "style": {
  7602. "height": "36px"
  7603. }
  7604. }).form; //创建窗体
  7605. _taskbar = {
  7606. "id": str + _formdiv.id,
  7607. "style": {
  7608. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7609. },
  7610. "name": "电子白板",
  7611. "forms": _formdiv,
  7612. "click": function () {
  7613. U.MD.D.I.openApplication(str, obj, info);
  7614. }
  7615. }
  7616. break;
  7617. case "mind":
  7618. aTool = 3;
  7619. _iframe = $$("iframe", {
  7620. "frameborder": "no",
  7621. "border": "0",
  7622. "scrolling ": "no",
  7623. "style": {
  7624. "cssText": "border:0;width:100%;height:100%"
  7625. },
  7626. "src": "/kityminder-editor/dist/index.html"
  7627. });
  7628. _box.appendChild(_iframe);
  7629. _box.appendChild(_jie);
  7630. _formdiv = new U.UF.UI.form(
  7631. "思维导图",
  7632. _box, { //"/jsmind/example/demo.html"
  7633. "id": "minds_Yu" + cid + stage + task + tool,
  7634. "style": {
  7635. "width": "90%",
  7636. "height": "90%",
  7637. "overflow": 'hidden'
  7638. },
  7639. "onresize": function () { }
  7640. }, {
  7641. closecallback: function () { }
  7642. }, {
  7643. "style": {
  7644. "height": "36px"
  7645. }
  7646. }).form; //创建窗体
  7647. _taskbar = {
  7648. "id": str + _formdiv.id,
  7649. "style": {
  7650. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7651. },
  7652. "name": "思维导图",
  7653. "forms": _formdiv,
  7654. "click": function () {
  7655. U.MD.D.I.openApplication(str, obj, info);
  7656. }
  7657. }
  7658. break;
  7659. case "doc":
  7660. aTool = 6;
  7661. _iframe = $$("iframe", {
  7662. "frameborder": "no",
  7663. "border": "0",
  7664. "scrolling ": "no",
  7665. "style": {
  7666. "cssText": "border:0;width:100%;height:100%"
  7667. },
  7668. "src": "/Office/Word/WordEditArea.htm"
  7669. })
  7670. _box.appendChild(_iframe);
  7671. _box.appendChild(_jie);
  7672. _formdiv = new U.UF.UI.form(
  7673. "协同文档",
  7674. _box, {
  7675. "id": "docs_Yu" + cid + stage + task + tool,
  7676. "style": {
  7677. "width": "90%",
  7678. "height": "90%",
  7679. "overflow": 'hidden'
  7680. },
  7681. "onresize": function () { }
  7682. }, {
  7683. closecallback: function () { }
  7684. }, {
  7685. "style": {
  7686. "height": "36px"
  7687. }
  7688. }).form; //创建窗体
  7689. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7690. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7691. })
  7692. _taskbar = {
  7693. "id": str + _formdiv.id,
  7694. "style": {
  7695. "backgroundImage": "url(/img/icon/doc.png)"
  7696. },
  7697. "name": "协同文档",
  7698. "forms": _formdiv,
  7699. "click": function () {
  7700. U.MD.D.I.openApplication(str, obj, info);
  7701. }
  7702. }
  7703. break;
  7704. case "CocoPi":
  7705. aTool = 57;
  7706. _iframe = $$("iframe", {
  7707. "allowpaymentrequest": "allowpaymentrequest",
  7708. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7709. "webkitallowfullscreen": "",
  7710. "mozallowfullscreen": "",
  7711. "frameborder": "no",
  7712. "border": "0",
  7713. "scrolling ": "no",
  7714. "style": {
  7715. "cssText": "border:0;width:100%;height:100%"
  7716. },
  7717. "src": "https://pi.cocorobo.cn/"
  7718. })
  7719. _box.appendChild(_iframe);
  7720. _box.appendChild(_jie);
  7721. _formdiv = new U.UF.UI.form(
  7722. "CocoPi",
  7723. _box, {
  7724. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7725. "style": {
  7726. "width": "90%",
  7727. "height": "90%",
  7728. "overflow": 'hidden'
  7729. },
  7730. "onresize": function () { }
  7731. }, {
  7732. closecallback: function () { }
  7733. }, {
  7734. "style": {
  7735. "height": "36px"
  7736. }
  7737. }).form; //创建窗体
  7738. _taskbar = {
  7739. "id": str + _formdiv.id,
  7740. "style": {
  7741. "backgroundImage": "url(/img/icon/cocopi.png)"
  7742. },
  7743. "name": "CocoPi",
  7744. "forms": _formdiv,
  7745. "click": function () {
  7746. U.MD.D.I.openApplication(str, obj, info);
  7747. }
  7748. }
  7749. break;
  7750. }
  7751. if (_iframe) {
  7752. if (str == 'doc') {
  7753. _iframe = _formdiv.querySelector('iframe')
  7754. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7755. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7756. })
  7757. if (onloadListener) {
  7758. _iframe.contentDocument.location.reload()
  7759. } else {
  7760. _iframe.contentDocument.location.reload()
  7761. }
  7762. } else if (str == 'mind') {
  7763. _iframe = _formdiv.querySelector('iframe')
  7764. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7765. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7766. })
  7767. if (onloadListener) {
  7768. _iframe.contentDocument.location.reload()
  7769. } else {
  7770. _iframe.contentDocument.location.reload()
  7771. }
  7772. } else if (str == 'whiteboard') {
  7773. _iframe = _formdiv.querySelector('iframe')
  7774. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7775. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7776. })
  7777. if (onloadListener) {
  7778. _iframe.contentDocument.location.reload()
  7779. } else {
  7780. _iframe.contentDocument.location.reload()
  7781. }
  7782. } else if (str == 'CocoPi') {
  7783. _iframe = _formdiv.querySelector('iframe')
  7784. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7785. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7786. })
  7787. if (onloadListener) {
  7788. _iframe.contentDocument.location.reload()
  7789. } else {
  7790. _iframe.contentDocument.location.reload()
  7791. }
  7792. } else {
  7793. _iframe.onload = () => { };
  7794. }
  7795. _jie.onclick = async () => {
  7796. let text = ''
  7797. let type = '2'
  7798. if (aTool == 1) {
  7799. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7800. type = '3'
  7801. } else if (aTool == 6) {
  7802. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7803. type = '1'
  7804. } else if (aTool == 3) {
  7805. text = await U.MD.D.I.getEditorContent(_iframe);
  7806. type = '2'
  7807. } else if (aTool == 57) {
  7808. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7809. type = '4'
  7810. }
  7811. _loading.style.display = 'flex'
  7812. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7813. }
  7814. }
  7815. //U.MD.D.I.openClick(str);
  7816. //如果有任务栏信息
  7817. // if (_taskbar) {
  7818. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7819. // }
  7820. }
  7821. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7822. var xmlhttp;
  7823. var Mac, Sn, DeviceId
  7824. if (window.XMLHttpRequest) {
  7825. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7826. xmlhttp = new XMLHttpRequest();
  7827. } else {
  7828. // IE6, IE5 浏览器执行代码
  7829. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7830. }
  7831. xmlhttp.onreadystatechange = function () {
  7832. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7833. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7834. // resolve(res.value[0][0].text);
  7835. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7836. }
  7837. }
  7838. }
  7839. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7840. xmlhttp.send();
  7841. }
  7842. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7843. var xmlhttp;
  7844. var Mac, Sn, DeviceId
  7845. if (window.XMLHttpRequest) {
  7846. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7847. xmlhttp = new XMLHttpRequest();
  7848. } else {
  7849. // IE6, IE5 浏览器执行代码
  7850. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7851. }
  7852. xmlhttp.onreadystatechange = function () {
  7853. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7854. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7855. // resolve(res.value[0][0].text);
  7856. if (type == '2') {
  7857. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7858. } else if (type == '3') {
  7859. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7860. } else if (type == '4') {
  7861. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7862. }
  7863. } else {
  7864. if (type == '2') {
  7865. iframe.contentWindow.editor.minder.importData('json', '')
  7866. } else if (type == '3') {
  7867. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7868. } else if (type == '4') {
  7869. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7870. }
  7871. }
  7872. }
  7873. }
  7874. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7875. xmlhttp.send();
  7876. }
  7877. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7878. var xmlhttp;
  7879. var Mac, Sn, DeviceId
  7880. if (window.XMLHttpRequest) {
  7881. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7882. xmlhttp = new XMLHttpRequest();
  7883. } else {
  7884. // IE6, IE5 浏览器执行代码
  7885. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7886. }
  7887. xmlhttp.onreadystatechange = function () {
  7888. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7889. if (xmlhttp.response) {
  7890. // resolve(res.value[0][0].text);
  7891. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7892. // $(fileInput).val('');
  7893. // });
  7894. span.innerHTML = '上传成功'
  7895. setTimeout(() => {
  7896. loading.style.display = 'none'
  7897. }, 1000);
  7898. }
  7899. }
  7900. }
  7901. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7902. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7903. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7904. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7905. // 设置请求头,表示请求体的编码格式
  7906. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7907. // 设置请求体,使用url-encoded格式的数据
  7908. }
  7909. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7910. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7911. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7912. _userinfo = US.userInfo, //登录用户信息
  7913. _userid = US.userInfo.userid //登录用户id
  7914. let _iframe;
  7915. let _cid = cid,
  7916. _stage = stage,
  7917. _task = task,
  7918. _tool = tool;
  7919. var _jie = $$("div", {
  7920. "style": {
  7921. "position": "absolute",
  7922. "bottom": "50px",
  7923. "right": "50px",
  7924. "zIndex": "9999",
  7925. "backgroundColor": "#2268bc",
  7926. "color": "#fff",
  7927. "padding": "12px 20px",
  7928. "cursor": "pointer",
  7929. "borderRadius": "4px",
  7930. },
  7931. "innerHTML": "提交作业"
  7932. })
  7933. let aTool = ''
  7934. let _loading = document.createElement('div')
  7935. _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;"
  7936. // _loading.id = "";
  7937. let _lchild = document.createElement('div')
  7938. let _limg = document.createElement('img')
  7939. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7940. _limg.style = "width: 26px;margin-right: 10px;"
  7941. _lchild.appendChild(_limg)
  7942. let _lspan = document.createElement('span')
  7943. _lspan.innerHTML = "上传中..."
  7944. _lchild.appendChild(_lspan)
  7945. _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%);"
  7946. _loading.appendChild(_lchild)
  7947. var _box = $$('div', {
  7948. "style": {
  7949. "position": "relative",
  7950. "width": "100%",
  7951. "height": "100%",
  7952. },
  7953. })
  7954. _box.appendChild(_loading)
  7955. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7956. switch (str) {
  7957. case "CocoPi":
  7958. aTool = 57;
  7959. _iframe = $$("iframe", {
  7960. "allowpaymentrequest": "allowpaymentrequest",
  7961. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7962. "webkitallowfullscreen": "",
  7963. "mozallowfullscreen": "",
  7964. "frameborder": "no",
  7965. "border": "0",
  7966. "scrolling ": "no",
  7967. "style": {
  7968. "cssText": "border:0;width:100%;height:100%"
  7969. },
  7970. "src": "https://pi.cocorobo.cn/"
  7971. })
  7972. _box.appendChild(_iframe);
  7973. _box.appendChild(_jie);
  7974. _formdiv = new U.UF.UI.form(
  7975. "CocoPi",
  7976. _box, {
  7977. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7978. "style": {
  7979. "width": "90%",
  7980. "height": "90%",
  7981. "overflow": 'hidden'
  7982. },
  7983. "onresize": function () { }
  7984. }, {
  7985. closecallback: function () { }
  7986. }, {
  7987. "style": {
  7988. "height": "36px"
  7989. }
  7990. }).form; //创建窗体
  7991. _taskbar = {
  7992. "id": str + _formdiv.id,
  7993. "style": {
  7994. "backgroundImage": "url(/img/icon/cocopi.png)"
  7995. },
  7996. "name": "CocoPi",
  7997. "forms": _formdiv,
  7998. "click": function () {
  7999. U.MD.D.I.openApplication(str, obj, info);
  8000. }
  8001. }
  8002. break;
  8003. }
  8004. if (_iframe) {
  8005. if (str == 'CocoPi') {
  8006. _iframe = _formdiv.querySelector('iframe')
  8007. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8008. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8009. })
  8010. if (onloadListener) {
  8011. _iframe.contentDocument.location.reload()
  8012. } else {
  8013. _iframe.contentDocument.location.reload()
  8014. }
  8015. }
  8016. _jie.onclick = async () => {
  8017. let text = ''
  8018. if (aTool == 57) {
  8019. text = _iframe.contentWindow.getLoadXmlStr()
  8020. }
  8021. _loading.style.display = 'flex'
  8022. console.log(_loading);
  8023. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8024. _loading.style.display = 'none'
  8025. let _div = document.createElement('div')
  8026. _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;"
  8027. let _inner = document.createElement('div')
  8028. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8029. _inner.innerHTML = "上传成功"
  8030. _div.appendChild(_inner)
  8031. _iframe.contentWindow.window.document.body.appendChild(_div)
  8032. _div.onclick = () => {
  8033. _iframe.contentWindow.window.document.body.removeChild(_div)
  8034. }
  8035. setTimeout(() => {
  8036. _iframe.contentWindow.window.document.body.removeChild(_div)
  8037. }, 1000);
  8038. }, [], { "type": "POST", "withCredentials": true });
  8039. }
  8040. }
  8041. }
  8042. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8043. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  8044. _formdiv, //创建任务栏时同时弹出的窗体元素。
  8045. _userid = student.userid, //登录用户id
  8046. _username = student.student //用户名字
  8047. let _iframe;
  8048. let _cid = cid,
  8049. _stage = stage,
  8050. _task = task,
  8051. _tool = tool;
  8052. var _jie = $$("div", {
  8053. "style": {
  8054. "position": "absolute",
  8055. "bottom": "50px",
  8056. "right": "50px",
  8057. "zIndex": "9999",
  8058. "backgroundColor": "#2268bc",
  8059. "color": "#fff",
  8060. "padding": "12px 20px",
  8061. "cursor": "pointer",
  8062. "borderRadius": "4px",
  8063. },
  8064. "innerHTML": "提交作业"
  8065. })
  8066. let aTool = ''
  8067. let _loading = document.createElement('div')
  8068. _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;"
  8069. // _loading.id = "";
  8070. let _lchild = document.createElement('div')
  8071. let _limg = document.createElement('img')
  8072. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8073. _limg.style = "width: 26px;margin-right: 10px;"
  8074. _lchild.appendChild(_limg)
  8075. let _lspan = document.createElement('span')
  8076. _lspan.innerHTML = "上传中..."
  8077. _lchild.appendChild(_lspan)
  8078. _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%);"
  8079. _loading.appendChild(_lchild)
  8080. var _box = $$('div', {
  8081. "style": {
  8082. "position": "relative",
  8083. "width": "100%",
  8084. "height": "100%",
  8085. },
  8086. })
  8087. _box.appendChild(_loading)
  8088. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8089. switch (str) {
  8090. case "CocoPi":
  8091. aTool = 57;
  8092. _iframe = $$("iframe", {
  8093. "allowpaymentrequest": "allowpaymentrequest",
  8094. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8095. "webkitallowfullscreen": "",
  8096. "mozallowfullscreen": "",
  8097. "frameborder": "no",
  8098. "border": "0",
  8099. "scrolling ": "no",
  8100. "style": {
  8101. "cssText": "border:0;width:100%;height:100%"
  8102. },
  8103. "src": "https://pi.cocorobo.cn/"
  8104. })
  8105. _box.appendChild(_iframe);
  8106. _box.appendChild(_jie);
  8107. _formdiv = new U.UF.UI.form(
  8108. "CocoPi-" + _username,
  8109. _box, {
  8110. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8111. "style": {
  8112. "width": "90%",
  8113. "height": "90%",
  8114. "overflow": 'hidden'
  8115. },
  8116. "onresize": function () { }
  8117. }, {
  8118. closecallback: function () { }
  8119. }, {
  8120. "style": {
  8121. "height": "36px"
  8122. }
  8123. }).form; //创建窗体
  8124. _taskbar = {
  8125. "id": str + _formdiv.id,
  8126. "style": {
  8127. "backgroundImage": "url(/img/icon/cocopi.png)"
  8128. },
  8129. "name": "CocoPi",
  8130. "forms": _formdiv,
  8131. "click": function () {
  8132. U.MD.D.I.openApplication(str, obj, info);
  8133. }
  8134. }
  8135. break;
  8136. }
  8137. if (_iframe) {
  8138. if (str == 'CocoPi') {
  8139. _iframe = _formdiv.querySelector('iframe')
  8140. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8141. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8142. })
  8143. if (onloadListener) {
  8144. _iframe.contentDocument.location.reload()
  8145. } else {
  8146. _iframe.contentDocument.location.reload()
  8147. }
  8148. }
  8149. _jie.onclick = async () => {
  8150. let text = ''
  8151. if (aTool == 57) {
  8152. text = _iframe.contentWindow.getLoadXmlStr()
  8153. }
  8154. _loading.style.display = 'flex'
  8155. console.log(_loading);
  8156. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8157. _loading.style.display = 'none'
  8158. let _div = document.createElement('div')
  8159. _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;"
  8160. let _inner = document.createElement('div')
  8161. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8162. _inner.innerHTML = "上传成功"
  8163. _div.appendChild(_inner)
  8164. _iframe.contentWindow.window.document.body.appendChild(_div)
  8165. _div.onclick = () => {
  8166. _iframe.contentWindow.window.document.body.removeChild(_div)
  8167. }
  8168. setTimeout(() => {
  8169. _iframe.contentWindow.window.document.body.removeChild(_div)
  8170. }, 1000);
  8171. }, [], { "type": "POST", "withCredentials": true });
  8172. }
  8173. }
  8174. }
  8175. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8176. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8177. if (res.value[0].length > 0) {
  8178. if (atool == 57) {
  8179. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8180. }
  8181. } else {
  8182. if (atool == 57) {
  8183. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8184. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8185. }
  8186. }
  8187. }, [], { "type": "POST", "withCredentials": true });
  8188. }