DeskTop.js 495 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //极简模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教师桌面图标的全局变量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. ];
  190. U.MD.D.I.orgStemDeskIcon = [
  191. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  192. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  193. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  194. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  195. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  196. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  197. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  198. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  199. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  200. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  201. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  202. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  203. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  204. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  205. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  208. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  211. ];
  212. U.MD.D.I.szulsDeskIcon = [
  213. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  214. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  215. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  216. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  217. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  218. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  219. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  220. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  221. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  224. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  225. ];
  226. U.MD.D.I.hanDeskIcon = [
  227. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  228. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  229. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  230. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  231. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  232. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  233. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  236. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  239. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  240. ];
  241. U.MD.D.I.GMteacherDeskIcon = [
  242. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  243. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  244. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  245. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  246. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  247. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  248. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  249. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  250. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  251. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  252. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  256. ];
  257. U.MD.D.I.GMstudentDeskIcon = [
  258. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  259. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  260. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  261. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  262. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  263. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  264. ];
  265. //北师大
  266. U.MD.D.I.BSDNSteacherDeskIcon = [
  267. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  268. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  269. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  270. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  271. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  272. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  273. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  274. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  275. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  276. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  277. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  278. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  279. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  280. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  281. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  282. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  283. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  284. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  285. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  286. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  287. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  288. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  289. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  290. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  291. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  292. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  293. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  294. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  295. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  296. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  297. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  298. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  299. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  300. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  301. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  302. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  303. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  304. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. //松山湖
  308. U.MD.D.I.SONGteacherDeskIcon = [
  309. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  310. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  311. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  312. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  313. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  314. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  315. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  316. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  317. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  318. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  319. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  320. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  321. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  322. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  323. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  324. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  325. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  326. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  327. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  328. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  329. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  330. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  331. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  332. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  333. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  334. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  335. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  336. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  337. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  338. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  339. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  341. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  342. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  343. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  344. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  345. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  346. ];
  347. U.MD.D.I.tcStudentDeskIcon = [
  348. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.tcTeacherDeskIcon = [
  354. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  355. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  356. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  357. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  358. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  359. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  360. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  361. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  362. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  363. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  364. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  365. ];
  366. U.MD.D.I.tcOrganizerDeskIcon = [
  367. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  370. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  371. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  372. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  378. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  379. ];
  380. U.MD.D.I.szscStudentDeskIcon = [
  381. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  382. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscTeacherDeskIcon = [
  388. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  393. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  394. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  395. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  396. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  397. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  400. ];
  401. U.MD.D.I.szscOrganizerDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  407. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  408. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  409. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  410. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  413. ];
  414. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  415. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  416. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  417. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  418. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  419. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  420. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  421. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  422. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  423. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  424. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  425. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  426. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  427. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  429. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  430. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  431. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  432. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  433. ];
  434. U.MD.D.I.wankeAdminDeskIcon = [
  435. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  436. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  437. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  438. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  439. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  440. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  441. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  442. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  443. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  444. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  445. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  446. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  447. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  448. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  451. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  452. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  453. ];
  454. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  455. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  456. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  457. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  458. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  459. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  460. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  461. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  462. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  463. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  464. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  465. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  468. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  469. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  470. ];
  471. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  472. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  479. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  480. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  481. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  482. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  485. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  486. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  487. ];
  488. //明德教师桌面图标的全局变量
  489. U.MD.D.I.MingdeTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  497. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  498. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  499. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  500. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  501. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  502. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  503. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  504. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  505. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  506. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  507. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  508. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  509. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  510. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  511. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  512. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  513. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  514. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  515. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  516. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  517. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  518. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  521. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  522. ];
  523. //97c4ee8b-d010-4042-986d-e9d3c217264f
  524. //教师桌面图标的全局变量
  525. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  526. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  533. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  534. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  535. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  536. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  537. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  538. ];
  539. //福田
  540. U.MD.D.I.futianTeacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  546. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  549. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  550. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  551. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  552. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  553. ];
  554. //福田
  555. U.MD.D.I.futianAdminDeskIcon = [
  556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  559. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  560. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  561. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  562. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  563. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  564. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  565. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  566. ];
  567. //lotech
  568. U.MD.D.I.lotechTeacherDeskIcon = [
  569. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  570. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  573. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  574. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  575. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  576. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  577. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  578. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  579. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  580. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  581. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  584. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  585. ];
  586. //龙华中心小学教师桌面图标的全局变量
  587. U.MD.D.I.longhuateacherDeskIcon = [
  588. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  589. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  590. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  591. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  592. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  593. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  594. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  595. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  596. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  597. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  598. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  599. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  600. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  601. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  602. ];
  603. //教科院实小教师桌面图标的全局变量
  604. U.MD.D.I.siesteacherDeskIcon = [
  605. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  608. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  609. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  610. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  611. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  612. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  613. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  614. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  615. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  616. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  617. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  620. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  621. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  623. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  624. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  625. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  626. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  627. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  628. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  629. ];
  630. //教科院实小教师桌面图标的全局变量
  631. U.MD.D.I.siesStudentDeskIcon = [
  632. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  633. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  636. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  637. ];
  638. //福田
  639. U.MD.D.I.gdjgTeacherDeskIcon = [
  640. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  641. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  647. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  648. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  649. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  650. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  651. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  652. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  653. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  654. ];
  655. //gdjg
  656. U.MD.D.I.gdjgAdminDeskIcon = [
  657. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  658. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  660. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  661. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  662. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  663. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  664. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  665. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  666. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  667. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  668. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  669. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  670. ];
  671. //hk
  672. U.MD.D.I.hkteacherDeskIcon = [
  673. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  674. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  675. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  676. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  677. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  678. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  679. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  680. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  681. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  682. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  683. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  684. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  685. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  690. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  691. ];
  692. //hk
  693. U.MD.D.I.hkStudentDeskIcon = [
  694. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  699. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  700. ];
  701. //hk
  702. U.MD.D.I.hkaceteacherDeskIcon = [
  703. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  704. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  705. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  706. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  707. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  708. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  709. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  710. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  711. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  712. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  713. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  714. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  715. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  716. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  717. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  718. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  719. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  720. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  721. ];
  722. //hk
  723. U.MD.D.I.hkaceStudentDeskIcon = [
  724. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  725. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  726. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  727. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  728. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  730. ];
  731. //香海正覺蓮社佛教正覺中學
  732. U.MD.D.I.hkZJLSteacherDeskIcon = [
  733. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  734. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  735. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  736. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  737. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  738. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  739. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  740. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  741. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  742. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  743. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  744. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  745. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  746. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  748. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  749. ];
  750. //香海正覺蓮社佛教正覺中學
  751. U.MD.D.I.hkZJLSStudentDeskIcon = [
  752. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  753. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  754. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  755. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  756. ];
  757. //云海
  758. U.MD.D.I.yunhaiTeacherDeskIcon = [
  759. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  760. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  761. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  762. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  763. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  764. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  765. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  766. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  767. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  768. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  769. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  770. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  771. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  772. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  773. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  774. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  775. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  776. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  777. ];
  778. //福田
  779. U.MD.D.I.heyuanTeacherDeskIcon = [
  780. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  781. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  782. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  783. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  784. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  785. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  786. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  787. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  788. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  792. ];
  793. //福田
  794. U.MD.D.I.heyuanAdminDeskIcon = [
  795. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  796. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  797. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  798. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  799. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  800. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  801. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  802. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  803. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  804. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  805. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  806. ];
  807. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  808. U.MD.D.I.szherTeacherDeskIcon = [
  809. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  810. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  811. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  812. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  813. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  814. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  815. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  816. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  818. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  819. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  820. ];
  821. //dsei
  822. U.MD.D.I.dseiTeacherDeskIcon = [
  823. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  824. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  825. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  826. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  827. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  828. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  829. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  830. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  831. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  832. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  833. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  834. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  835. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  836. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  837. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  838. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  839. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  840. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  841. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  842. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  843. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  844. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  845. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  846. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  847. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  848. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  849. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  850. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  851. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  852. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  853. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  854. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  855. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  856. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  857. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  858. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  859. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  860. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  864. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  865. ];
  866. //dsei
  867. U.MD.D.I.dseiAdminDeskIcon = [
  868. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  869. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  870. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  871. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  872. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  873. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  874. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  875. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  876. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  877. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  878. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  879. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  880. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  881. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  882. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  883. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  884. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  885. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  886. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  887. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  888. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  889. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  890. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  891. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  892. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  893. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  894. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  895. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  896. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  897. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  898. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  899. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  900. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  901. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  902. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  903. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  904. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  905. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  906. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  907. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  908. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  909. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  910. ];
  911. //dsei
  912. U.MD.D.I.dseiStudentDeskIcon = [
  913. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  914. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  915. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  916. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  917. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  918. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  919. ];
  920. //未来教育基地
  921. U.MD.D.I.szjkyTeacherDeskIcon = [
  922. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  923. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  924. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  925. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  926. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  927. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  928. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  929. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  930. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  931. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  932. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  933. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  934. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  935. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  936. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  937. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  938. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  939. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  940. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  941. ];
  942. //未来教育基地
  943. U.MD.D.I.szjkyAdminDeskIcon = [
  944. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  945. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  946. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  947. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  948. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  949. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  950. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  951. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  952. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  953. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  954. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  955. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  956. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  957. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  958. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  959. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  960. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  961. ];
  962. //未来教育基地
  963. U.MD.D.I.szjkyStudentDeskIcon = [
  964. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  965. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  966. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  967. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  968. ];
  969. //成华教育局
  970. U.MD.D.I.chjyjTeacherDeskIcon = [
  971. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  972. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  973. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  974. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  975. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  976. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  977. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  978. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  979. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  980. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  981. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  982. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  983. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  984. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  985. ];
  986. //成华教育局chjyj
  987. U.MD.D.I.chjyjAdminDeskIcon = [
  988. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  989. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  990. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  991. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  992. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  993. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  994. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  995. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  996. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  997. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  998. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  999. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1000. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1001. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1002. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1003. ];
  1004. //成华教育局chjyj
  1005. U.MD.D.I.chjyjStudentDeskIcon = [
  1006. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1007. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1008. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1009. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1010. ];
  1011. //tpc
  1012. U.MD.D.I.tpcStudentDeskIcon = [
  1013. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1014. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1015. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1016. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1017. ];
  1018. //tpc
  1019. U.MD.D.I.tpcTeacherDeskIcon = [
  1020. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1021. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1022. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1023. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1024. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1025. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1026. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1027. ];
  1028. //tpc
  1029. U.MD.D.I.tpcAdminDeskIcon = [
  1030. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1031. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1032. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1033. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1034. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1035. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1036. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1037. ];
  1038. //THU-IOE
  1039. U.MD.D.I.thuioeTeacherDeskIcon = [
  1040. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1041. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1042. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1043. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1047. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1048. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1049. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1050. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1051. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1052. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1053. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1054. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1055. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1056. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1057. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1058. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1059. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1060. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1061. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1062. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1063. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1064. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1065. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1066. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1067. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1068. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1069. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1070. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1071. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1072. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1073. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1074. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1075. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1076. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1077. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1078. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1079. ];
  1080. //THU-IOE
  1081. U.MD.D.I.thuioeStudentDeskIcon = [
  1082. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1083. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1084. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1085. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1086. ];
  1087. //jccssyl
  1088. U.MD.D.I.jccssylTeacherDeskIcon = [
  1089. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1090. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1091. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1092. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1093. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1094. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1095. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1096. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1097. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1098. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1099. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1100. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1101. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1102. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1103. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1104. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1105. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1106. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1107. ];
  1108. //jccssyl
  1109. U.MD.D.I.jccssylStudentDeskIcon = [
  1110. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1111. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1112. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1113. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1114. ];
  1115. //#region 桌面初始化a
  1116. /**
  1117. * 初始化桌面的起始函数
  1118. *
  1119. */
  1120. U.MD.D.I.init = function () {
  1121. if ($("#U_MD_D_K")[0]) {
  1122. //初始化桌面图标
  1123. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1124. // var clickUrl = ':12588/requestIp.php';
  1125. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1126. // U.MD.D.I.Ip = data;
  1127. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1128. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1129. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1130. // })
  1131. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1132. // })
  1133. }
  1134. }
  1135. /**
  1136. * 模式切换
  1137. *
  1138. */
  1139. U.MD.D.I.ModeCheck = function (type) {
  1140. if (US.Config.type == type) {
  1141. return
  1142. }
  1143. US.Config.type = type
  1144. $('.U_PBL_Check .active')[0].className = ''
  1145. if (type == 1) {
  1146. $('.U_PBL_Check div')[0].className = 'active'
  1147. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1148. } else {
  1149. $('.U_PBL_Check div')[1].className = 'active'
  1150. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1151. }
  1152. //初始化桌面图标
  1153. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1154. if (type == 2) {
  1155. U.MD.D.I.openApplication("project")
  1156. }
  1157. }
  1158. /**
  1159. * 隐藏任务栏
  1160. *
  1161. * @param {element} 桌面元素
  1162. */
  1163. U.MD.D.I.hiddenTaskbar = function (el) {
  1164. //任务栏位置变小
  1165. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1166. //桌面的位置变大
  1167. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1168. }
  1169. /**
  1170. * 隐藏任务栏
  1171. *
  1172. * @param {element} 桌面元素
  1173. */
  1174. U.MD.D.I.hiddenTaskbarout = function (el) {
  1175. //任务栏位置变小
  1176. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1177. //任务栏位置变化
  1178. U.selectEl(el).css({ "bottom": "-60px" });
  1179. //桌面的位置变大
  1180. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1181. }
  1182. }
  1183. /**
  1184. * 初始化打印桌面图标
  1185. *
  1186. * @param {element} 桌面元素
  1187. */
  1188. U.MD.D.I.initDesktopIcons = function (el, type) {
  1189. var i, //用于循环
  1190. _content, //桌面图标元素
  1191. _iconcontent, //桌面图标元素
  1192. _frag = $$("frag"), //定义一个碎片元素
  1193. _type = US.userInfo.type,
  1194. _org = US.userInfo.org,
  1195. _oid = US.userInfo.organizeid,
  1196. _role = US.userInfo.role,
  1197. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1198. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1199. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1200. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1201. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1202. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1203. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1204. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1205. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1206. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1207. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1208. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1209. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1210. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1211. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1212. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1213. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1214. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1215. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1216. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1217. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1218. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1219. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1220. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1221. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1222. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1223. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1224. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1225. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1226. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1227. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1228. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1229. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1230. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1231. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1232. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1233. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1234. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1235. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1236. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1237. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1238. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1239. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1240. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1241. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1242. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1243. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1244. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1245. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1246. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1247. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1248. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1249. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1250. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1251. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1252. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1253. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1254. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1255. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1256. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1257. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1258. 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'];
  1259. 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'];
  1260. //清楚桌面图标
  1261. el.innerHTML = "";
  1262. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1263. _teacherDesktopIconInfo.push(
  1264. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1265. { "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)" } },
  1266. )
  1267. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1268. }
  1269. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1270. _teacherDesktopIconInfo.push(
  1271. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1272. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1273. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1274. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1275. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1276. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1277. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1278. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1279. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1280. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1281. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1282. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1283. )
  1284. }
  1285. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1286. // _teacherDesktopIconInfo.push(
  1287. // )
  1288. // }
  1289. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1290. _teacherDesktopIconInfo.push(
  1291. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1292. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1293. )
  1294. }
  1295. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1296. _teacherDesktopIconInfo.push(
  1297. )
  1298. }
  1299. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1300. _teacherDesktopIconInfo.push(
  1301. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1302. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1303. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1304. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1305. )
  1306. _studentDesktopIconInfo.push(
  1307. )
  1308. }
  1309. //麒麟二中 和 民新小学
  1310. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1311. _teacherDesktopIconInfo.push(
  1312. )
  1313. }
  1314. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1315. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1316. _teacherDesktopIconInfo.push(
  1317. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1318. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1319. )
  1320. }
  1321. //麒麟二中
  1322. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1323. _studentDesktopIconInfo.push(
  1324. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1325. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1326. )
  1327. }
  1328. //万科双语
  1329. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1330. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1331. if (el.Name == '项目管理') {
  1332. el.Name = 'PBL项目'
  1333. }
  1334. return el
  1335. })
  1336. _studentDesktopIconInfo3.push(
  1337. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1338. )
  1339. }
  1340. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1341. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1342. return el.Name != '魔盒识字' && el.Name != '24点'
  1343. })
  1344. }
  1345. 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) {
  1346. _studentDesktopIconInfo.push(
  1347. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1348. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1349. )
  1350. }
  1351. //循环创建桌面图标
  1352. if (type == 1) {
  1353. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1354. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1355. _content = $$("div", {
  1356. className: "U_MD_D_KO",
  1357. "onmousedown": U.UF.C.closure(function (obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_studentDesktopIconInfo[i]]),
  1361. "onclick": U.UF.C.closure(function (obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_studentDesktopIconInfo[i]])
  1365. }, _frag); //
  1366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1369. }
  1370. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1371. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1372. _content = $$("div", {
  1373. className: "U_MD_D_KO",
  1374. "onmousedown": U.UF.C.closure(function (obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1378. "onclick": U.UF.C.closure(function (obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_hkZJLSStudentDeskIconInfo[i]])
  1382. }, _frag); //
  1383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1386. } //
  1387. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1388. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1389. _content = $$("div", {
  1390. className: "U_MD_D_KO",
  1391. "onmousedown": U.UF.C.closure(function (obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_jccssylStudentDeskIconInfo[i]]),
  1395. "onclick": U.UF.C.closure(function (obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_jccssylStudentDeskIconInfo[i]])
  1399. }, _frag); //
  1400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1403. }
  1404. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1405. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1406. _content = $$("div", {
  1407. className: "U_MD_D_KO",
  1408. "onmousedown": U.UF.C.closure(function (obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_thuioeStudentDeskIconInfo[i]]),
  1412. "onclick": U.UF.C.closure(function (obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_thuioeStudentDeskIconInfo[i]])
  1416. }, _frag); //
  1417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1420. }
  1421. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1422. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1423. _content = $$("div", {
  1424. className: "U_MD_D_KO",
  1425. "onmousedown": U.UF.C.closure(function (obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_tpcStudentDeskIconInfo[i]]),
  1429. "onclick": U.UF.C.closure(function (obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_tpcStudentDeskIconInfo[i]])
  1433. }, _frag); //
  1434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1437. } //
  1438. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1439. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1440. _content = $$("div", {
  1441. className: "U_MD_D_KO",
  1442. "onmousedown": U.UF.C.closure(function (obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_chjyjStudentDeskIconInfo[i]]),
  1446. "onclick": U.UF.C.closure(function (obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_chjyjStudentDeskIconInfo[i]])
  1450. }, _frag); //
  1451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1454. }
  1455. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1456. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1457. _content = $$("div", {
  1458. className: "U_MD_D_KO",
  1459. "onmousedown": U.UF.C.closure(function (obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_szjkyStudentDeskIconInfo[i]]),
  1463. "onclick": U.UF.C.closure(function (obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_szjkyStudentDeskIconInfo[i]])
  1467. }, _frag); //
  1468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1471. }
  1472. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1473. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1474. _content = $$("div", {
  1475. className: "U_MD_D_KO",
  1476. "onmousedown": U.UF.C.closure(function (obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_dseiStudentDeskIconInfo[i]]),
  1480. "onclick": U.UF.C.closure(function (obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_dseiStudentDeskIconInfo[i]])
  1484. }, _frag); //
  1485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1488. }
  1489. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1490. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1491. _content = $$("div", {
  1492. className: "U_MD_D_KO",
  1493. "onmousedown": U.UF.C.closure(function (obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_siesStudentDeskIconInfo[i]]),
  1497. "onclick": U.UF.C.closure(function (obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_siesStudentDeskIconInfo[i]])
  1501. }, _frag); //
  1502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1505. }
  1506. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1507. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1508. _content = $$("div", {
  1509. className: "U_MD_D_KO",
  1510. "onmousedown": U.UF.C.closure(function (obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_hkStudentDeskIconInfo[i]]),
  1514. "onclick": U.UF.C.closure(function (obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_hkStudentDeskIconInfo[i]])
  1518. }, _frag); //
  1519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1522. }
  1523. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1524. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1525. _content = $$("div", {
  1526. className: "U_MD_D_KO",
  1527. "onmousedown": U.UF.C.closure(function (obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_hkaceStudentDeskIconInfo[i]]),
  1531. "onclick": U.UF.C.closure(function (obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_hkaceStudentDeskIconInfo[i]])
  1535. }, _frag); //
  1536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1539. }
  1540. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1541. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1542. _content = $$("div", {
  1543. className: "U_MD_D_KO",
  1544. "onmousedown": U.UF.C.closure(function (obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_studentDesktopIconInfo[i]]),
  1548. "onclick": U.UF.C.closure(function (obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_studentDesktopIconInfo[i]])
  1552. }, _frag); //
  1553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1556. }
  1557. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1558. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1559. _content = $$("div", {
  1560. className: "U_MD_D_KO",
  1561. "onmousedown": U.UF.C.closure(function (obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_tcStudentDeskIconInfo[i]]),
  1565. "onclick": U.UF.C.closure(function (obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_tcStudentDeskIconInfo[i]])
  1569. }, _frag); //
  1570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1573. }
  1574. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1575. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1576. _content = $$("div", {
  1577. className: "U_MD_D_KO",
  1578. "onmousedown": U.UF.C.closure(function (obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_szscStudentDeskIconInfo[i]]),
  1582. "onclick": U.UF.C.closure(function (obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_szscStudentDeskIconInfo[i]])
  1586. }, _frag); //
  1587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1590. }
  1591. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1592. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1593. _content = $$("div", {
  1594. className: "U_MD_D_KO",
  1595. "onmousedown": U.UF.C.closure(function (obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_studentDesktopIconInfo3[i]]),
  1599. "onclick": U.UF.C.closure(function (obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_studentDesktopIconInfo3[i]])
  1603. }, _frag); //
  1604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1607. }
  1608. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1609. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1610. _content = $$("div", {
  1611. className: "U_MD_D_KO",
  1612. "onmousedown": U.UF.C.closure(function (obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_studentDesktopIconInfo2[i]]),
  1616. "onclick": U.UF.C.closure(function (obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_studentDesktopIconInfo2[i]])
  1620. }, _frag); //
  1621. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1622. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1623. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1624. }
  1625. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1626. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1627. _content = $$("div", {
  1628. className: "U_MD_D_KO",
  1629. "onmousedown": U.UF.C.closure(function (obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_wanketeacherDesktopIconInfo[i]]),
  1633. "onclick": U.UF.C.closure(function (obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_wanketeacherDesktopIconInfo[i]])
  1637. }, _frag); //
  1638. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1639. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1640. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1641. }
  1642. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1643. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1644. _content = $$("div", {
  1645. className: "U_MD_D_KO",
  1646. "onmousedown": U.UF.C.closure(function (obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_wankeAdminDesktopIconInfo[i]]),
  1650. "onclick": U.UF.C.closure(function (obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_wankeAdminDesktopIconInfo[i]])
  1654. }, _frag); //
  1655. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1656. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1657. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1658. }
  1659. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1660. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1661. _content = $$("div", {
  1662. className: "U_MD_D_KO",
  1663. "onmousedown": U.UF.C.closure(function (obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_jccssylTeacherDeskIconInfo[i]]),
  1667. "onclick": U.UF.C.closure(function (obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_jccssylTeacherDeskIconInfo[i]])
  1671. }, _frag); //
  1672. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1673. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1674. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1675. }
  1676. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1677. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1678. _content = $$("div", {
  1679. className: "U_MD_D_KO",
  1680. "onmousedown": U.UF.C.closure(function (obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_tpcOrganizerDeskIconInfo[i]]),
  1684. "onclick": U.UF.C.closure(function (obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_tpcOrganizerDeskIconInfo[i]])
  1688. }, _frag); //
  1689. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1690. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1691. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1692. }
  1693. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1694. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1695. _content = $$("div", {
  1696. className: "U_MD_D_KO",
  1697. "onmousedown": U.UF.C.closure(function (obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_tpcTeacherDeskIconInfo[i]]),
  1701. "onclick": U.UF.C.closure(function (obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_tpcTeacherDeskIconInfo[i]])
  1705. }, _frag); //
  1706. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1707. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1708. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1709. }
  1710. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1711. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1712. _content = $$("div", {
  1713. className: "U_MD_D_KO",
  1714. "onmousedown": U.UF.C.closure(function (obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_teacherDesktopIconInfo2[i]]),
  1718. "onclick": U.UF.C.closure(function (obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_teacherDesktopIconInfo2[i]])
  1722. }, _frag); //
  1723. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1724. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1725. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1726. }
  1727. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1728. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1729. _content = $$("div", {
  1730. className: "U_MD_D_KO",
  1731. "onmousedown": U.UF.C.closure(function (obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_thuioeTeacherDeskIconInfo[i]]),
  1735. "onclick": U.UF.C.closure(function (obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_thuioeTeacherDeskIconInfo[i]])
  1739. }, _frag); //
  1740. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1741. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1742. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1743. }
  1744. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1745. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1746. _content = $$("div", {
  1747. className: "U_MD_D_KO",
  1748. "onmousedown": U.UF.C.closure(function (obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_lotechTeacherDeskIconInfo[i]]),
  1752. "onclick": U.UF.C.closure(function (obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_lotechTeacherDeskIconInfo[i]])
  1756. }, _frag); //
  1757. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1758. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1759. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1760. }//
  1761. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1762. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1763. _content = $$("div", {
  1764. className: "U_MD_D_KO",
  1765. "onmousedown": U.UF.C.closure(function (obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_siesTeacherDeskIconInfo[i]]),
  1769. "onclick": U.UF.C.closure(function (obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_siesTeacherDeskIconInfo[i]])
  1773. }, _frag); //
  1774. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1775. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1776. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1777. }
  1778. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1779. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1780. _content = $$("div", {
  1781. className: "U_MD_D_KO",
  1782. "onmousedown": U.UF.C.closure(function (obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_longhuaTeacherDeskIconInfo[i]]),
  1786. "onclick": U.UF.C.closure(function (obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_longhuaTeacherDeskIconInfo[i]])
  1790. }, _frag); //
  1791. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1792. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1793. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1794. }
  1795. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1796. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1797. _content = $$("div", {
  1798. className: "U_MD_D_KO",
  1799. "onmousedown": U.UF.C.closure(function (obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1803. "onclick": U.UF.C.closure(function (obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_yunhaiTeacherDeskIconInfo[i]])
  1807. }, _frag); //
  1808. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1809. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1810. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1811. } //_hkStudentDeskIconInfo
  1812. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1813. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1814. _content = $$("div", {
  1815. className: "U_MD_D_KO",
  1816. "onmousedown": U.UF.C.closure(function (obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1820. "onclick": U.UF.C.closure(function (obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1824. }, _frag); //
  1825. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1826. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1827. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1828. }
  1829. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1830. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1831. _content = $$("div", {
  1832. className: "U_MD_D_KO",
  1833. "onmousedown": U.UF.C.closure(function (obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_hkTeacherDeskIconInfo[i]]),
  1837. "onclick": U.UF.C.closure(function (obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_hkTeacherDeskIconInfo[i]])
  1841. }, _frag); //
  1842. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1843. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1844. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1845. }
  1846. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1847. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1848. _content = $$("div", {
  1849. className: "U_MD_D_KO",
  1850. "onmousedown": U.UF.C.closure(function (obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_hkaceTeacherDeskIconInfo[i]]),
  1854. "onclick": U.UF.C.closure(function (obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_hkaceTeacherDeskIconInfo[i]])
  1858. }, _frag); //
  1859. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1860. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1861. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1862. }
  1863. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1864. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1865. _content = $$("div", {
  1866. className: "U_MD_D_KO",
  1867. "onmousedown": U.UF.C.closure(function (obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_gdjgAdminDeskIconInfo[i]]),
  1871. "onclick": U.UF.C.closure(function (obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_gdjgAdminDeskIconInfo[i]])
  1875. }, _frag); //
  1876. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1877. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1878. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1879. }
  1880. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1881. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1882. _content = $$("div", {
  1883. className: "U_MD_D_KO",
  1884. "onmousedown": U.UF.C.closure(function (obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_gdjgTeacherDeskIconInfo[i]]),
  1888. "onclick": U.UF.C.closure(function (obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_gdjgTeacherDeskIconInfo[i]])
  1892. }, _frag); //
  1893. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1894. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1895. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1896. }
  1897. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1898. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1899. _content = $$("div", {
  1900. className: "U_MD_D_KO",
  1901. "onmousedown": U.UF.C.closure(function (obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_szherTeacherDeskIconInfo[i]]),
  1905. "onclick": U.UF.C.closure(function (obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_szherTeacherDeskIconInfo[i]])
  1909. }, _frag); //
  1910. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1911. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1912. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1913. }
  1914. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1915. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1916. _content = $$("div", {
  1917. className: "U_MD_D_KO",
  1918. "onmousedown": U.UF.C.closure(function (obj) {
  1919. //防止拖动图标即打开了桌面应用
  1920. U.MD.D.click(this, obj);
  1921. }, [_heyuannAdminDeskIconInfo[i]]),
  1922. "onclick": U.UF.C.closure(function (obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_heyuannAdminDeskIconInfo[i]])
  1926. }, _frag); //
  1927. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1928. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1929. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1930. }
  1931. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1932. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1933. _content = $$("div", {
  1934. className: "U_MD_D_KO",
  1935. "onmousedown": U.UF.C.closure(function (obj) {
  1936. //防止拖动图标即打开了桌面应用
  1937. U.MD.D.click(this, obj);
  1938. }, [_heyuanTeacherDeskIconInfo[i]]),
  1939. "onclick": U.UF.C.closure(function (obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_heyuanTeacherDeskIconInfo[i]])
  1943. }, _frag); //
  1944. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1945. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1946. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1947. } //
  1948. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1949. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1950. _content = $$("div", {
  1951. className: "U_MD_D_KO",
  1952. "onmousedown": U.UF.C.closure(function (obj) {
  1953. //防止拖动图标即打开了桌面应用
  1954. U.MD.D.click(this, obj);
  1955. }, [_dseiAdminDeskIconInfo[i]]),
  1956. "onclick": U.UF.C.closure(function (obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_dseiAdminDeskIconInfo[i]])
  1960. }, _frag); //
  1961. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1962. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1963. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1964. }
  1965. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1966. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1967. _content = $$("div", {
  1968. className: "U_MD_D_KO",
  1969. "onmousedown": U.UF.C.closure(function (obj) {
  1970. //防止拖动图标即打开了桌面应用
  1971. U.MD.D.click(this, obj);
  1972. }, [_dseiTeacherDeskIconInfo[i]]),
  1973. "onclick": U.UF.C.closure(function (obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_dseiTeacherDeskIconInfo[i]])
  1977. }, _frag); //
  1978. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1979. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1980. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1981. } //
  1982. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1983. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1984. _content = $$("div", {
  1985. className: "U_MD_D_KO",
  1986. "onmousedown": U.UF.C.closure(function (obj) {
  1987. //防止拖动图标即打开了桌面应用
  1988. U.MD.D.click(this, obj);
  1989. }, [_chjyjAdminDeskIconInfo[i]]),
  1990. "onclick": U.UF.C.closure(function (obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_chjyjAdminDeskIconInfo[i]])
  1994. }, _frag); //
  1995. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1996. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1997. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1998. }//
  1999. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2000. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2001. _content = $$("div", {
  2002. className: "U_MD_D_KO",
  2003. "onmousedown": U.UF.C.closure(function (obj) {
  2004. //防止拖动图标即打开了桌面应用
  2005. U.MD.D.click(this, obj);
  2006. }, [_chjyjTeacherDeskIconInfo[i]]),
  2007. "onclick": U.UF.C.closure(function (obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_chjyjTeacherDeskIconInfo[i]])
  2011. }, _frag); //
  2012. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2013. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2014. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2015. }
  2016. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2017. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2018. _content = $$("div", {
  2019. className: "U_MD_D_KO",
  2020. "onmousedown": U.UF.C.closure(function (obj) {
  2021. //防止拖动图标即打开了桌面应用
  2022. U.MD.D.click(this, obj);
  2023. }, [_szjkyAdminDeskIconInfo[i]]),
  2024. "onclick": U.UF.C.closure(function (obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_szjkyAdminDeskIconInfo[i]])
  2028. }, _frag); //
  2029. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2030. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2031. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2032. }//
  2033. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2034. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2035. _content = $$("div", {
  2036. className: "U_MD_D_KO",
  2037. "onmousedown": U.UF.C.closure(function (obj) {
  2038. //防止拖动图标即打开了桌面应用
  2039. U.MD.D.click(this, obj);
  2040. }, [_szjkyTeacherDeskIconInfo[i]]),
  2041. "onclick": U.UF.C.closure(function (obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_szjkyTeacherDeskIconInfo[i]])
  2045. }, _frag); //
  2046. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2047. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2048. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2049. }
  2050. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2051. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2052. _content = $$("div", {
  2053. className: "U_MD_D_KO",
  2054. "onmousedown": U.UF.C.closure(function (obj) {
  2055. //防止拖动图标即打开了桌面应用
  2056. U.MD.D.click(this, obj);
  2057. }, [_futianAdminDeskIconInfo[i]]),
  2058. "onclick": U.UF.C.closure(function (obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_futianAdminDeskIconInfo[i]])
  2062. }, _frag); //
  2063. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2064. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2065. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2066. }
  2067. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2068. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2069. _content = $$("div", {
  2070. className: "U_MD_D_KO",
  2071. "onmousedown": U.UF.C.closure(function (obj) {
  2072. //防止拖动图标即打开了桌面应用
  2073. U.MD.D.click(this, obj);
  2074. }, [_futianTeacherDeskIconInfo[i]]),
  2075. "onclick": U.UF.C.closure(function (obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_futianTeacherDeskIconInfo[i]])
  2079. }, _frag); //
  2080. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2081. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2082. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2083. }
  2084. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2085. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2086. _content = $$("div", {
  2087. className: "U_MD_D_KO",
  2088. "onmousedown": U.UF.C.closure(function (obj) {
  2089. //防止拖动图标即打开了桌面应用
  2090. U.MD.D.click(this, obj);
  2091. }, [_MingdeTeacherDeskIcon[i]]),
  2092. "onclick": U.UF.C.closure(function (obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_MingdeTeacherDeskIcon[i]])
  2096. }, _frag); //
  2097. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2098. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2099. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2100. }
  2101. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2102. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2103. _content = $$("div", {
  2104. className: "U_MD_D_KO",
  2105. "onmousedown": U.UF.C.closure(function (obj) {
  2106. //防止拖动图标即打开了桌面应用
  2107. U.MD.D.click(this, obj);
  2108. }, [_lhsAdminDesktopIconInfo[i]]),
  2109. "onclick": U.UF.C.closure(function (obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_lhsAdminDesktopIconInfo[i]])
  2113. }, _frag); //
  2114. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2115. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2116. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2117. }
  2118. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2119. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2120. _content = $$("div", {
  2121. className: "U_MD_D_KO",
  2122. "onmousedown": U.UF.C.closure(function (obj) {
  2123. //防止拖动图标即打开了桌面应用
  2124. U.MD.D.click(this, obj);
  2125. }, [_lhsteacherDesktopIconInfo[i]]),
  2126. "onclick": U.UF.C.closure(function (obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_lhsteacherDesktopIconInfo[i]])
  2130. }, _frag); //
  2131. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2132. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2133. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2134. }
  2135. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2136. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2137. _content = $$("div", {
  2138. className: "U_MD_D_KO",
  2139. "onmousedown": U.UF.C.closure(function (obj) {
  2140. //防止拖动图标即打开了桌面应用
  2141. U.MD.D.click(this, obj);
  2142. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2143. "onclick": U.UF.C.closure(function (obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_zhoujiateacherDesktopIconInfo[i]])
  2147. }, _frag); //
  2148. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2149. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2150. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2151. }
  2152. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2153. for (i = 0; i < _hanDeskIcon.length; i++) {
  2154. _content = $$("div", {
  2155. className: "U_MD_D_KO",
  2156. "onmousedown": U.UF.C.closure(function (obj) {
  2157. //防止拖动图标即打开了桌面应用
  2158. U.MD.D.click(this, obj);
  2159. }, [_hanDeskIcon[i]]),
  2160. "onclick": U.UF.C.closure(function (obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_hanDeskIcon[i]])
  2164. }, _frag); //
  2165. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2166. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2167. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2168. }
  2169. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2170. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2171. _content = $$("div", {
  2172. className: "U_MD_D_KO",
  2173. "onmousedown": U.UF.C.closure(function (obj) {
  2174. //防止拖动图标即打开了桌面应用
  2175. U.MD.D.click(this, obj);
  2176. }, [_orgStemDeskIcon[i]]),
  2177. "onclick": U.UF.C.closure(function (obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_orgStemDeskIcon[i]])
  2181. }, _frag); //
  2182. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2183. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2184. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2185. }
  2186. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2187. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2188. _content = $$("div", {
  2189. className: "U_MD_D_KO",
  2190. "onmousedown": U.UF.C.closure(function (obj) {
  2191. //防止拖动图标即打开了桌面应用
  2192. U.MD.D.click(this, obj);
  2193. }, [_szulsDeskIcon[i]]),
  2194. "onclick": U.UF.C.closure(function (obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_szulsDeskIcon[i]])
  2198. }, _frag); //
  2199. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2200. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2201. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2202. }
  2203. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2204. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2205. _content = $$("div", {
  2206. className: "U_MD_D_KO",
  2207. "onmousedown": U.UF.C.closure(function (obj) {
  2208. //防止拖动图标即打开了桌面应用
  2209. U.MD.D.click(this, obj);
  2210. }, [_orgDesktopIconInfo[i]]),
  2211. "onclick": U.UF.C.closure(function (obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_orgDesktopIconInfo[i]])
  2215. }, _frag); //
  2216. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2217. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2218. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2219. }
  2220. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2221. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2222. _content = $$("div", {
  2223. className: "U_MD_D_KO",
  2224. "onmousedown": U.UF.C.closure(function (obj) {
  2225. //防止拖动图标即打开了桌面应用
  2226. U.MD.D.click(this, obj);
  2227. }, [_schoolDesktopIconInfo[i]]),
  2228. "onclick": U.UF.C.closure(function (obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_schoolDesktopIconInfo[i]])
  2232. }, _frag); //
  2233. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2234. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2235. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2236. }
  2237. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2238. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2239. _content = $$("div", {
  2240. className: "U_MD_D_KO",
  2241. "onmousedown": U.UF.C.closure(function (obj) {
  2242. //防止拖动图标即打开了桌面应用
  2243. U.MD.D.click(this, obj);
  2244. }, [_GMteacherDesktopIconInfo[i]]),
  2245. "onclick": U.UF.C.closure(function (obj) {
  2246. //防止拖动图标即打开了桌面应用
  2247. U.MD.D.click(this, obj);
  2248. }, [_GMteacherDesktopIconInfo[i]])
  2249. }, _frag); //
  2250. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2251. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2252. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2253. }
  2254. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2255. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2256. _content = $$("div", {
  2257. className: "U_MD_D_KO",
  2258. "onmousedown": U.UF.C.closure(function (obj) {
  2259. //防止拖动图标即打开了桌面应用
  2260. U.MD.D.click(this, obj);
  2261. }, [_SONGteacherDesktopIconInfo[i]]),
  2262. "onclick": U.UF.C.closure(function (obj) {
  2263. //防止拖动图标即打开了桌面应用
  2264. U.MD.D.click(this, obj);
  2265. }, [_SONGteacherDesktopIconInfo[i]])
  2266. }, _frag); //
  2267. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2268. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2269. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2270. }
  2271. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2272. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2273. _content = $$("div", {
  2274. className: "U_MD_D_KO",
  2275. "onmousedown": U.UF.C.closure(function (obj) {
  2276. //防止拖动图标即打开了桌面应用
  2277. U.MD.D.click(this, obj);
  2278. }, [_GMstudentDesktopIconInfo[i]]),
  2279. "onclick": U.UF.C.closure(function (obj) {
  2280. //防止拖动图标即打开了桌面应用
  2281. U.MD.D.click(this, obj);
  2282. }, [_GMstudentDesktopIconInfo[i]])
  2283. }, _frag); //
  2284. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2285. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2286. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2287. }
  2288. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2289. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2290. _content = $$("div", {
  2291. className: "U_MD_D_KO",
  2292. "onmousedown": U.UF.C.closure(function (obj) {
  2293. //防止拖动图标即打开了桌面应用
  2294. U.MD.D.click(this, obj);
  2295. }, [_tcTeacherDeskIconInfo[i]]),
  2296. "onclick": U.UF.C.closure(function (obj) {
  2297. //防止拖动图标即打开了桌面应用
  2298. U.MD.D.click(this, obj);
  2299. }, [_tcTeacherDeskIconInfo[i]])
  2300. }, _frag); //
  2301. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2302. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2303. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2304. }
  2305. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2306. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2307. _content = $$("div", {
  2308. className: "U_MD_D_KO",
  2309. "onmousedown": U.UF.C.closure(function (obj) {
  2310. //防止拖动图标即打开了桌面应用
  2311. U.MD.D.click(this, obj);
  2312. }, [_tcOrganizerDeskIconInfo[i]]),
  2313. "onclick": U.UF.C.closure(function (obj) {
  2314. //防止拖动图标即打开了桌面应用
  2315. U.MD.D.click(this, obj);
  2316. }, [_tcOrganizerDeskIconInfo[i]])
  2317. }, _frag); //
  2318. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2319. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2320. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2321. }
  2322. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2323. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2324. _content = $$("div", {
  2325. className: "U_MD_D_KO",
  2326. "onmousedown": U.UF.C.closure(function (obj) {
  2327. //防止拖动图标即打开了桌面应用
  2328. U.MD.D.click(this, obj);
  2329. }, [_szscTeacherDeskIconInfo[i]]),
  2330. "onclick": U.UF.C.closure(function (obj) {
  2331. //防止拖动图标即打开了桌面应用
  2332. U.MD.D.click(this, obj);
  2333. }, [_szscTeacherDeskIconInfo[i]])
  2334. }, _frag); //
  2335. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2336. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2337. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2338. }
  2339. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2340. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2341. _content = $$("div", {
  2342. className: "U_MD_D_KO",
  2343. "onmousedown": U.UF.C.closure(function (obj) {
  2344. //防止拖动图标即打开了桌面应用
  2345. U.MD.D.click(this, obj);
  2346. }, [_szscOrganizerDeskIconInfo[i]]),
  2347. "onclick": U.UF.C.closure(function (obj) {
  2348. //防止拖动图标即打开了桌面应用
  2349. U.MD.D.click(this, obj);
  2350. }, [_szscOrganizerDeskIconInfo[i]])
  2351. }, _frag); //
  2352. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2353. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2354. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2355. }
  2356. } else {
  2357. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2358. _content = $$("div", {
  2359. className: "U_MD_D_KO",
  2360. "onmousedown": U.UF.C.closure(function (obj) {
  2361. //防止拖动图标即打开了桌面应用
  2362. U.MD.D.click(this, obj);
  2363. }, [_teacherDesktopIconInfo[i]]),
  2364. "onclick": U.UF.C.closure(function (obj) {
  2365. //防止拖动图标即打开了桌面应用
  2366. U.MD.D.click(this, obj);
  2367. }, [_teacherDesktopIconInfo[i]])
  2368. }, _frag); //
  2369. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2370. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2371. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2372. }
  2373. }
  2374. } else {
  2375. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2376. _content = $$("div", {
  2377. className: "U_MD_D_KO",
  2378. style: { 'width': '124px', 'height': '145px' },
  2379. "onmousedown": U.UF.C.closure(function (obj) {
  2380. //防止拖动图标即打开了桌面应用
  2381. U.MD.D.click(this, obj);
  2382. }, [_easyDesktopIconInfo[i]]),
  2383. "onclick": U.UF.C.closure(function (obj) {
  2384. //防止拖动图标即打开了桌面应用
  2385. U.MD.D.click(this, obj);
  2386. }, [_easyDesktopIconInfo[i]])
  2387. }, _frag); //
  2388. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2389. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2390. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2391. }
  2392. }
  2393. if (type == 1) {
  2394. //加载好后给图标定位
  2395. U.MD.D.iconPostion($(_frag).Child());
  2396. } else {
  2397. //加载好后给图标定位
  2398. U.MD.D.iconPostion2($(_frag).Child());
  2399. }
  2400. //把图标加载到页面
  2401. el.appendChild(_frag);
  2402. }
  2403. /**
  2404. * 显示任务栏
  2405. *
  2406. * @param {element} 桌面元素
  2407. */
  2408. U.MD.D.I.displayTaskbar = function (el) {
  2409. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2410. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2411. //任务栏位置变化
  2412. U.selectEl(el).css({ "bottom": "0px" });
  2413. //桌面位置变话
  2414. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2415. }
  2416. }
  2417. //#region 桌面图标拖动逻辑
  2418. /**
  2419. * 桌面排列图标
  2420. *
  2421. * @param {element} 桌面元素
  2422. * @param {object} 上下相距的距离
  2423. * @param {object} 左右相距的距离
  2424. * @return {object} 命名空间
  2425. */
  2426. U.MD.D.iconPostion = function (childs, top, left) {
  2427. var i; //用于循环处理
  2428. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2429. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2430. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2431. for (i = 0; i < childs.length; i++) {
  2432. //如果竖排top超过了范围处理
  2433. if (top + 95 > US.height - 10) {
  2434. //left超过了页面范围处理,则向上重叠打印处理
  2435. if ((left + 180) > US.width) {
  2436. top -= 110;
  2437. left -= 90;
  2438. }
  2439. //没有超过范围,那么left+90添加到下一个竖排打印
  2440. else {
  2441. left += 90;
  2442. top = 15;
  2443. };
  2444. }
  2445. //给图标的位置赋值
  2446. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2447. if (i < childs.length - 1) {
  2448. //页面图标每次向下加95
  2449. top += 95;
  2450. }
  2451. }
  2452. //返回最后调用的图标的位置
  2453. return [top, left];
  2454. }
  2455. /**
  2456. * 桌面排列图标
  2457. *
  2458. * @param {element} 桌面元素
  2459. * @param {object} 上下相距的距离
  2460. * @param {object} 左右相距的距离
  2461. * @return {object} 命名空间
  2462. */
  2463. U.MD.D.iconPostion2 = function (childs, top, left) {
  2464. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2465. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2466. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2467. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2468. for (i = 0; i < childs.length; i++) {
  2469. //如果竖排top超过了范围处理
  2470. if (left + 150 > US.width - 10) {
  2471. //left超过了页面范围处理,则向上重叠打印处理
  2472. if ((top + 180) > US.Height) {
  2473. top -= 150;
  2474. left -= 150;
  2475. }
  2476. //没有超过范围,那么left+90添加到下一个竖排打印
  2477. else {
  2478. top += 150;
  2479. left = ol;
  2480. };
  2481. }
  2482. //给图标的位置赋值
  2483. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2484. if (i < childs.length - 1) {
  2485. //页面图标每次向下加95
  2486. left += 150;
  2487. }
  2488. }
  2489. //返回最后调用的图标的位置
  2490. return [top, left];
  2491. }
  2492. /**
  2493. * 桌面点击事件逻辑
  2494. *
  2495. * @param {element} 桌面元素
  2496. * @param {object} 上下相距的距离
  2497. * @param {object} 左右相距的距离
  2498. * @return {object} 命名空间
  2499. */
  2500. U.MD.D.click = function (el, obj) {
  2501. var _buttonnumber = event.button; //点击的按钮的事件值
  2502. var _userinfo = US.userInfo;
  2503. U.UF.EV.stopBubble(); //阻止向上冒泡
  2504. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2505. if (_buttonnumber < 2) {
  2506. //如果是click事件的处理
  2507. if (event.type == "click") {
  2508. //如果元素在mousemove事件中没有移动则出发click事件
  2509. if (!U.MD.D.I.IsDrag) {
  2510. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2511. U.alert("请先登录您的账号!");
  2512. setTimeout(() => {
  2513. U.MD.U.L.login();
  2514. }, 2000);
  2515. } else {
  2516. //打开应用处理
  2517. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2518. }
  2519. }
  2520. }
  2521. //如果是mouse事件的处理
  2522. else {
  2523. if (US.Config.type == '1') {
  2524. //拖动处理,添加拖动和拖动结束事件
  2525. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2526. }
  2527. }
  2528. U.MD.D.I.IsDrag = false;
  2529. }
  2530. }
  2531. /**
  2532. * 拖动的处理
  2533. *
  2534. */
  2535. U.MD.D.iconMove = function () {
  2536. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2537. U.MD.D.I.IsDrag = true;
  2538. }
  2539. /**
  2540. * 拖动结束后,这里是定位处理,以网状的形式定位
  2541. *
  2542. * @param {element} 拖动的元素
  2543. * @return {object} 命名空间
  2544. */
  2545. U.MD.D.iconUp = function (el) {
  2546. var _top = 15,
  2547. _left = 20,
  2548. _margin,
  2549. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2550. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2551. if (_positioninfo["OT"] > 15) {
  2552. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2553. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2554. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2555. }
  2556. if (_positioninfo["OL"] > 20) {
  2557. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2558. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2559. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2560. }
  2561. //while循环判断么一个重叠的元素
  2562. do {
  2563. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2564. _top = _positioninfo[0] + 95; //得到定位后的top
  2565. _left = _positioninfo[1]; //得到定位后的left
  2566. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2567. }
  2568. /**
  2569. * 判断拖动后图标是否重叠
  2570. *
  2571. * @param {element} 拖动的元素
  2572. * @param {element} 桌面所有的元素
  2573. * @param {array} 拖动元素的位置
  2574. ----------[0] 上 top
  2575. ----------[1] 左 left
  2576. * @return {object} 命名空间
  2577. */
  2578. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2579. //循环所有的图标
  2580. for (var i = 0; i < childs.length; i++) {
  2581. //判断有没有和该图标诶子重叠的元素
  2582. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2583. return childs[i]; //如果有返回
  2584. }
  2585. }
  2586. }
  2587. //#endregion
  2588. //#endregion
  2589. //#region 桌面应用
  2590. /**
  2591. * 打开应用
  2592. *
  2593. * @param {string} 类型
  2594. -----------------Disk 网盘系统
  2595. -----------------PDisk 学习系统网盘
  2596. -----------------Poto 图片
  2597. -----------------Video 视频
  2598. -----------------Music 音乐
  2599. -----------------Word word
  2600. -----------------Excel excel
  2601. -----------------Txt 记事本
  2602. -----------------PB 学习系统
  2603. -----------------Blog 朋友圈系统
  2604. -----------------FTP ftp系统
  2605. -----------------Group 好友群
  2606. -----------------SY 首页系统
  2607. -----------------Set 个人设置
  2608. -----------------XSet 系统设置
  2609. -----------------App 我们所有的app
  2610. -----------------BC c.1473.cn 平台
  2611. -----------------CWeb d.1473.cn 变成平台
  2612. -----------------其他的外联系统 我们统一用iframe打开
  2613. * @param {array} 类型
  2614. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2615. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2616. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2617. 如果第一个参数为其他,则无第二个参数
  2618. * @returns {array}
  2619. */
  2620. window.addEventListener('message', function (e) { // 监听 message 事件
  2621. // alert(e.data.type);
  2622. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2623. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2624. //3是展示全部阶段 2学生 1老师 4专家
  2625. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2626. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2627. //3是展示全部阶段 2学生 1老师 4专家
  2628. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2629. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2630. //3是展示全部阶段 2学生 1老师 4专家
  2631. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2632. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2633. } else if (e.data.screenType && e.data.screenType == "3train") { //培训管理传入
  2634. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2635. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2636. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2637. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2638. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2639. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2640. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2641. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2642. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2643. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2644. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2645. //3是展示全部阶段 2学生 1老师 4专家
  2646. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2647. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2648. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2649. U.MD.D.I.selectUser();
  2650. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2651. var _formel = document.getElementById("study");
  2652. U.UF.F.windowZooming(_formel);
  2653. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2654. var _formel = document.getElementById("studyDetail");
  2655. U.UF.F.windowZooming(_formel);
  2656. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2657. var _formel = document.getElementById("studyDetail");
  2658. U.UF.F.windowZooming(_formel);
  2659. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2660. var _formel = document.getElementById("studentStudy");
  2661. U.UF.F.windowZooming(_formel);
  2662. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2663. // var _formel = document.getElementById("study");
  2664. //如果最大化了,那么就把他缩小
  2665. // if (_formel.ismaximize) {
  2666. // return;
  2667. // }
  2668. // U.UF.F.windowZooming(_formel);
  2669. // U.UF.F.topWindow(_formel);
  2670. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2671. // var _formel = document.getElementById("studyDetail");
  2672. //如果最大化了,那么就把他缩小
  2673. // if (_formel.ismaximize) {
  2674. // return;
  2675. // }
  2676. // U.UF.F.windowZooming(_formel);
  2677. // U.UF.F.topWindow(_formel);
  2678. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2679. // var _formel = document.getElementById("studentStudy");
  2680. // if (_formel.ismaximize) {
  2681. // return;
  2682. // }
  2683. // U.UF.F.windowZooming(_formel);
  2684. // U.UF.F.topWindow(_formel);
  2685. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2686. var _formel = document.getElementById("study");
  2687. // if (_formel.ismaximize) {
  2688. // return;
  2689. // }
  2690. // U.UF.F.windowZooming(_formel);
  2691. U.UF.F.topWindow(_formel);
  2692. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2693. var _formel = document.getElementById("studentIndex");
  2694. U.UF.F.windowZooming(_formel);
  2695. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2696. var _formel = document.getElementById("studyDetailS");
  2697. U.UF.F.windowZooming(_formel);
  2698. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2699. var _formel = document.getElementById("studioIndex");
  2700. U.UF.F.windowZooming(_formel);
  2701. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2702. var _formel = document.getElementById("studyDetailStudio");
  2703. U.UF.F.windowZooming(_formel);
  2704. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2705. var _formel = document.getElementById("studyDetailStudio");
  2706. U.UF.F.windowZooming(_formel);
  2707. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2708. var _formel = document.getElementById("studyDetailNT");
  2709. U.UF.F.windowZooming(_formel);
  2710. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2711. var _formel = document.getElementById("studyDetailS");
  2712. U.UF.F.windowZooming(_formel);
  2713. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2714. var _formel = document.getElementById("studyDetailS");
  2715. U.UF.F.topWindow(_formel);
  2716. } else if (e.data.tools && e.data.tools == "1") {
  2717. // U.MD.D.I.openApplication("whiteboard")
  2718. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2719. } else if (e.data.tools && e.data.tools == "2") {
  2720. U.MD.D.I.openApplication("note")
  2721. } else if (e.data.tools && e.data.tools == "3") {
  2722. // U.MD.D.I.openApplication("mind")
  2723. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2724. } else if (e.data.tools && e.data.tools == "4") {
  2725. U.MD.D.I.openApplication("investigation")
  2726. } else if (e.data.tools && e.data.tools == "6") {
  2727. // U.MD.D.I.openApplication("doc")
  2728. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2729. } else if (e.data.tools && e.data.tools == "7") {
  2730. // U.MD.D.I.openApplication("mindNetwork")
  2731. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2732. } else if (e.data.tools && e.data.tools == "8") {
  2733. U.MD.D.I.openApplication("library")
  2734. } else if (e.data.tools && e.data.tools == "17") {
  2735. U.MD.D.I.openApplication("stuLibrary")
  2736. } else if (e.data.tools && e.data.tools == "18") {
  2737. U.MD.D.I.openApplication("train")
  2738. } else if (e.data.tools && e.data.tools == "21") {
  2739. U.MD.D.I.openApplication("program")
  2740. } else if (e.data.tools && e.data.tools == "22") {
  2741. U.MD.D.I.openApplication("AIprogram2")
  2742. } else if (e.data.tools && e.data.tools == "23") {
  2743. U.MD.D.I.openApplication("Pythonprogram")
  2744. } else if (e.data.tools && e.data.tools == "24") {
  2745. U.MD.D.I.openApplication("AIprogram")
  2746. } else if (e.data.tools && e.data.tools == "25") {
  2747. U.MD.D.I.openApplication("sys")
  2748. } else if (e.data.tools && e.data.tools == "26") {
  2749. // U.MD.D.I.openApplication("courseDesign")
  2750. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2751. } else if (e.data.tools && e.data.tools == "31") {
  2752. U.MD.D.I.openApplication("netWorkPanel")
  2753. } else if (e.data.tools && e.data.tools == "32") {
  2754. U.MD.D.I.openApplication("codeEdit")
  2755. } else if (e.data.tools && e.data.tools == "57") {
  2756. U.MD.D.I.openApplication("CocoPi")
  2757. } else if (e.data.tools && e.data.tools == "63") {
  2758. U.MD.D.I.openApplication("Wood")
  2759. } else if (e.data.tools && e.data.tools == "58") {
  2760. U.MD.D.I.openApplication("car")
  2761. } else if (e.data.tools && e.data.tools == "59") {
  2762. U.MD.D.I.openApplication("lineSearch")
  2763. } else if (e.data.tools && e.data.tools == "60") {
  2764. U.MD.D.I.openApplication("deepLearning")
  2765. } else if (e.data.tools && e.data.tools == "61") {
  2766. U.MD.D.I.openApplication("allHistory")
  2767. } else if (e.data.tools && e.data.tools == "28") {
  2768. U.MD.D.I.openApplication("translation")
  2769. } else if (e.data.tools && e.data.tools == "37") {
  2770. U.MD.D.I.openApplication("mohe")
  2771. } else if (e.data.tools && e.data.tools == "38") {
  2772. U.MD.D.I.openApplication("24game")
  2773. } else if (e.data.tools && e.data.tools == "39") {
  2774. U.MD.D.I.openApplication("GeoGebra")
  2775. } else if (e.data.tools && e.data.tools == "43") {
  2776. U.MD.D.I.openApplication("studentEvaluate")
  2777. } else if (e.data.tools && e.data.tools == "44") {
  2778. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2779. } else if (e.data.tools && e.data.tools == "46") {
  2780. U.MD.D.I.openApplication("project")
  2781. } else if (e.data.tools && e.data.tools == "1s") {
  2782. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2783. } else if (e.data.tools && e.data.tools == "3s") {
  2784. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2785. } else if (e.data.tools && e.data.tools == "6s") {
  2786. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2787. } else if (e.data.tools && e.data.tools == "1studio") {
  2788. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2789. } else if (e.data.tools && e.data.tools == "3studio") {
  2790. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2791. } else if (e.data.tools && e.data.tools == "6studio") {
  2792. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2793. } else if (e.data.tools && e.data.tools == "3y") {
  2794. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2795. } else if (e.data.tools && e.data.tools == "1y") {
  2796. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2797. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2798. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2799. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2800. U.MD.D.I.openApplication("AIAnalyse")
  2801. } else if (e.data.tools && e.data.tools == "1teacher") {
  2802. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2803. } else if (e.data.tools && e.data.tools == "3teacher") {
  2804. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2805. } else if (e.data.tools && e.data.tools == "7teacher") {
  2806. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2807. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2808. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2809. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2810. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2811. } else if (e.data.tools && e.data.tools == "1E") {
  2812. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2813. } else if (e.data.tools && e.data.tools == "3E") {
  2814. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2815. } else if (e.data.tools && e.data.tools == "57y") {
  2816. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2817. } else if (e.data.tools && e.data.tools == "57u") {
  2818. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2819. } else if (e.data.tools && e.data.tools == "57teacher") {
  2820. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2821. } else if (e.data.tools && e.data.tools == "64") {
  2822. U.MD.D.I.openApplication("AIChat")
  2823. } else if (e.data.tools && e.data.tools == "66") {
  2824. U.MD.D.I.openApplication("formulaEdi")
  2825. } else if (e.data.tools && e.data.tools == "67") {
  2826. U.MD.D.I.openApplication("molStr")
  2827. } else if (e.data.tools && e.data.tools == "68") {
  2828. U.MD.D.I.openApplication("timeAxis")
  2829. } else if (e.data.tools && e.data.tools == "openCourse") {
  2830. let _data = {
  2831. typea: e.data.typea || '',
  2832. typeb: e.data.typeb || '',
  2833. typed: e.data.typed || '',
  2834. }
  2835. U.MD.D.I.openInApplication("index", _data)
  2836. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2837. let _data = {
  2838. classid: e.data.classid || '',
  2839. }
  2840. U.MD.D.I.openInApplication("dataClass", _data)
  2841. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2842. let _data = {
  2843. cid: e.data.cid || '',
  2844. gid: e.data.gid || '',
  2845. }
  2846. U.MD.D.I.openInApplication("opencCscl", _data)
  2847. }
  2848. });
  2849. U.MD.D.I.selectUser = function () {
  2850. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2851. if (res.value[0].length > 0) {
  2852. US.userInfo = res.value[0][0];
  2853. $(".userName")[0].innerHTML = US.userInfo.username;
  2854. }
  2855. }, [], { "type": "GET", "withCredentials": true });
  2856. }
  2857. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2858. var _userinfo = US.userInfo, //登录用户信息
  2859. _userid = US.userInfo.userid, //登录用户id
  2860. _oid = _userinfo.organizeid,
  2861. _type = US.userInfo.type,
  2862. _org = US.userInfo.org,
  2863. _role = US.userInfo.role,
  2864. _classId = US.userInfo.classid;
  2865. if (_type == 4) {
  2866. tType = 4
  2867. }
  2868. switch (str) {
  2869. case "studyDetailNT": //无终端模式
  2870. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2871. setTimeout(() => {
  2872. U.MD.U.L.login();
  2873. }, 2000);
  2874. } else {
  2875. _formdiv = new U.UF.UI.form(
  2876. "课程详情",
  2877. $$("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 }), {
  2878. "id": "studyDetailNT",
  2879. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2880. "onresize": function () { }
  2881. }, {
  2882. closecallback: function () { }
  2883. }, { "style": { "height": "36px" } }).form; //创建窗体
  2884. _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); } }
  2885. break;
  2886. }
  2887. case "studyDetail":
  2888. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2889. setTimeout(() => {
  2890. U.MD.U.L.login();
  2891. }, 2000);
  2892. } else {
  2893. _formdiv = new U.UF.UI.form(
  2894. "课程详情",
  2895. $$("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 }), {
  2896. "id": "studyDetail",
  2897. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2898. "onresize": function () { }
  2899. }, {
  2900. closecallback: function () { }
  2901. }, { "style": { "height": "36px" } }).form; //创建窗体
  2902. _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); } }
  2903. break;
  2904. }
  2905. case "studyDetailTrain":
  2906. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2907. setTimeout(() => {
  2908. U.MD.U.L.login();
  2909. }, 2000);
  2910. } else {
  2911. _formdiv = new U.UF.UI.form(
  2912. "培训详情",
  2913. $$("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 }), {
  2914. "id": "studyDetailTrain",
  2915. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2916. "onresize": function () { }
  2917. }, {
  2918. closecallback: function () { }
  2919. }, { "style": { "height": "36px" } }).form; //创建窗体
  2920. _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); } }
  2921. break;
  2922. }
  2923. case "studyDetailS":
  2924. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2925. setTimeout(() => {
  2926. U.MD.U.L.login();
  2927. }, 2000);
  2928. } else {
  2929. _formdiv = new U.UF.UI.form(
  2930. "项目详情",
  2931. $$("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 }), {
  2932. "id": "studyDetailS",
  2933. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2934. "onresize": function () { }
  2935. }, {
  2936. closecallback: function () { }
  2937. }, { "style": { "height": "36px" } }).form; //创建窗体
  2938. _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); } }
  2939. break;
  2940. }
  2941. case "studyDetailStudio":
  2942. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2943. setTimeout(() => {
  2944. U.MD.U.L.login();
  2945. }, 2000);
  2946. } else {
  2947. _formdiv = new U.UF.UI.form(
  2948. "工作详情",
  2949. $$("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 }), {
  2950. "id": "studyDetailStudio",
  2951. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2952. "onresize": function () { }
  2953. }, {
  2954. closecallback: function () { }
  2955. }, { "style": { "height": "36px" } }).form; //创建窗体
  2956. _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); } }
  2957. break;
  2958. }
  2959. case "studyDetailS5":
  2960. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2961. setTimeout(() => {
  2962. U.MD.U.L.login();
  2963. }, 2000);
  2964. } else {
  2965. _formdiv = new U.UF.UI.form(
  2966. "项目详情",
  2967. $$("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 }), {
  2968. "id": "studyDetailS",
  2969. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2970. "onresize": function () { }
  2971. }, {
  2972. closecallback: function () { }
  2973. }, { "style": { "height": "36px" } }).form; //创建窗体
  2974. _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); } }
  2975. break;
  2976. }
  2977. case "studyDetailGM":
  2978. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2979. setTimeout(() => {
  2980. U.MD.U.L.login();
  2981. }, 2000);
  2982. } else {
  2983. _formdiv = new U.UF.UI.form(
  2984. "课程详情",
  2985. $$("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 }), {
  2986. "id": "studyDetail",
  2987. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2988. "onresize": function () { }
  2989. }, {
  2990. closecallback: function () { }
  2991. }, { "style": { "height": "36px" } }).form; //创建窗体
  2992. _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); } }
  2993. break;
  2994. }
  2995. case "hanUrl":
  2996. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2997. setTimeout(() => {
  2998. U.MD.U.L.login();
  2999. }, 2000);
  3000. } else {
  3001. _formdiv = new U.UF.UI.form(
  3002. "汉字宫",
  3003. $$("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" }), {
  3004. "id": "hanUrl",
  3005. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3006. "onresize": function () { }
  3007. }, {
  3008. closecallback: function () { }
  3009. }, { "style": { "height": "36px" } }).form; //创建窗体
  3010. _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); } }
  3011. break;
  3012. }
  3013. case "index":
  3014. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3015. setTimeout(() => {
  3016. U.MD.U.L.login();
  3017. }, 2000);
  3018. } else {
  3019. _formdiv = new U.UF.UI.form(
  3020. "课程中心",
  3021. $$("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 }), {
  3022. "id": "study",
  3023. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3024. "onresize": function () { }
  3025. }, {
  3026. closecallback: function () { }
  3027. }, { "style": { "height": "36px" } }).form; //创建窗体
  3028. _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); } }
  3029. break;
  3030. }
  3031. case "dataClass":
  3032. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3033. setTimeout(() => {
  3034. U.MD.U.L.login();
  3035. }, 2000);
  3036. } else {
  3037. _formdiv = new U.UF.UI.form(
  3038. "数据报告",
  3039. $$("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 }), {
  3040. "id": "dataClass",
  3041. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3042. "onresize": function () { }
  3043. }, {
  3044. closecallback: function () { }
  3045. }, { "style": { "height": "36px" } }).form; //创建窗体
  3046. _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); } }
  3047. break;
  3048. }
  3049. case "opencCscl":
  3050. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3051. setTimeout(() => {
  3052. U.MD.U.L.login();
  3053. }, 2000);
  3054. } else {
  3055. _formdiv = new U.UF.UI.form(
  3056. "协同建构",
  3057. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  3058. "id": "futureClass",
  3059. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3060. "onresize": function () { }
  3061. }, {
  3062. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3063. }, { "style": { "height": "36px" } }).form; //创建窗体
  3064. _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); } }
  3065. break;
  3066. }
  3067. }
  3068. }
  3069. U.MD.D.I.openApplication = function (str, obj, info) {
  3070. obj = obj || {};
  3071. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3072. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3073. _userinfo = US.userInfo, //登录用户信息
  3074. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3075. _oid = obj.organizeid || _userinfo.organizeid,
  3076. _type = US.userInfo.type,
  3077. _org = US.userInfo.org,
  3078. _role = US.userInfo.role,
  3079. _classId = US.userInfo.classid,
  3080. _TscreenType = 1
  3081. _screenType = 2,
  3082. _SscreenType = 3;
  3083. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3084. return;
  3085. }
  3086. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3087. switch (str) {
  3088. case "studnetProject": //好友打开
  3089. _formdiv = new U.UF.UI.form(
  3090. "我的项目",
  3091. $$("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 }), {
  3092. "id": "studnetProject",
  3093. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3094. "onresize": function () { }
  3095. }, {
  3096. closecallback: function () { }
  3097. }, { "style": { "height": "36px" } }).form; //创建窗体
  3098. _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); } }
  3099. break;
  3100. case "studentEvaluate": //好友打开
  3101. _formdiv = new U.UF.UI.form(
  3102. "我的评价",
  3103. $$("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 }), {
  3104. "id": "studentEvaluate",
  3105. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3106. "onresize": function () { }
  3107. }, {
  3108. closecallback: function () { }
  3109. }, { "style": { "height": "36px" } }).form; //创建窗体
  3110. _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); } }
  3111. break;
  3112. case "my":
  3113. _formdiv = new U.UF.UI.form(
  3114. "我的资料",
  3115. $$("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 }), {
  3116. "id": "my",
  3117. "style": { "width": "42%", "height": "90%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3123. break;
  3124. case "program":
  3125. _formdiv = new U.UF.UI.form(
  3126. "编程平台",
  3127. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3128. "id": "program",
  3129. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3130. "onresize": function () { }
  3131. }, {
  3132. closecallback: function () { }
  3133. }, { "style": { "height": "36px" } }).form; //创建窗体
  3134. _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); } }
  3135. break;
  3136. case "library":
  3137. _formdiv = new U.UF.UI.form(
  3138. "素材库",
  3139. $$("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 }), {
  3140. "id": "library",
  3141. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3142. "onresize": function () { }
  3143. }, {
  3144. closecallback: function () { }
  3145. }, { "style": { "height": "36px" } }).form; //创建窗体
  3146. _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); } }
  3147. break;
  3148. case "whiteboard":
  3149. _formdiv = new U.UF.UI.form(
  3150. "电子白板",
  3151. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3152. "id": "whiteboard",
  3153. "style": { "width": "90%", "height": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3159. break;
  3160. case "investigation":
  3161. _formdiv = new U.UF.UI.form(
  3162. "问卷调查",
  3163. $$("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 }), {
  3164. "id": "investigation",
  3165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3166. "onresize": function () { }
  3167. }, {
  3168. closecallback: function () { }
  3169. }, { "style": { "height": "36px" } }).form; //创建窗体
  3170. _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); } }
  3171. break;
  3172. case "note":
  3173. _formdiv = new U.UF.UI.form(
  3174. "便签分类",
  3175. $$("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 }), {
  3176. "id": "note",
  3177. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3178. "onresize": function () { }
  3179. }, {
  3180. closecallback: function () { }
  3181. }, { "style": { "height": "36px" } }).form; //创建窗体
  3182. _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); } }
  3183. break;
  3184. // case "score":
  3185. // _formdiv = new U.UF.UI.form(
  3186. // "量规评分",
  3187. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3188. // "id": "score",
  3189. // "style": { "width": "90%", "height": "90%", "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/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3195. // break;
  3196. case "mind":
  3197. _formdiv = new U.UF.UI.form(
  3198. "思维导图",
  3199. $$("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"
  3200. "id": "mind",
  3201. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3202. "onresize": function () { }
  3203. }, {
  3204. closecallback: function () { }
  3205. }, { "style": { "height": "36px" } }).form; //创建窗体
  3206. _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); } }
  3207. break;
  3208. case "doc":
  3209. // U.MD.D.I.isRoom();
  3210. _formdiv = new U.UF.UI.form(
  3211. "协同文档",
  3212. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3213. "id": "doc",
  3214. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3215. "onresize": function () { }
  3216. }, {
  3217. closecallback: function () { }
  3218. }, { "style": { "height": "36px" } }).form; //创建窗体
  3219. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3220. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3221. // })
  3222. _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); } }
  3223. break;
  3224. case "studentStudy":
  3225. _formdiv = new U.UF.UI.form(
  3226. "课程中心",
  3227. $$("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
  3228. "id": "studentStudy",
  3229. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3230. "onresize": function () { }
  3231. }, {
  3232. closecallback: function () { }
  3233. }, { "style": { "height": "36px" } }).form; //创建窗体
  3234. _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); } }
  3235. break;
  3236. case "train": //好友打开
  3237. _formdiv = new U.UF.UI.form(
  3238. "训练平台",
  3239. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3240. "id": "train",
  3241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3242. "onresize": function () { }
  3243. }, {
  3244. closecallback: function () { }
  3245. }, { "style": { "height": "36px" } }).form; //创建窗体
  3246. _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); } }
  3247. break;
  3248. case "mindNetwork": //好友打开
  3249. _formdiv = new U.UF.UI.form(
  3250. "思维网格",
  3251. $$("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 }), {
  3252. "id": "mindNetwork",
  3253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3254. "onresize": function () { }
  3255. }, {
  3256. closecallback: function () { }
  3257. }, { "style": { "height": "36px" } }).form; //创建窗体
  3258. _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); } }
  3259. break;
  3260. case "studentClassRoom": //好友打开
  3261. _formdiv = new U.UF.UI.form(
  3262. "实时课堂",
  3263. $$("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 }), {
  3264. "id": "studentClassRoom",
  3265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function () { }
  3267. }, {
  3268. closecallback: function () { }
  3269. }, { "style": { "height": "36px" } }).form; //创建窗体
  3270. _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); } }
  3271. setTimeout(() => {
  3272. U.UF.F.windowZooming(_formdiv)
  3273. }, 0);
  3274. break;
  3275. }
  3276. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3277. switch (str) {
  3278. case "studnetProject": //好友打开
  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-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3282. "id": "studnetProject",
  3283. "style": { "width": "70%", "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/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3289. break;
  3290. case "studentEvaluate": //好友打开
  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": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3294. "id": "studentEvaluate",
  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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3301. break;
  3302. case "my":
  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/#/data?userid=" + _userid + "&org=" + _org }), {
  3306. "id": "my",
  3307. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3313. break;
  3314. case "program":
  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://x.cocorobo.cn" }), {
  3318. "id": "program",
  3319. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3325. break;
  3326. case "library":
  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/#/library?userid=" + _userid + "&org=" + _org }), {
  3330. "id": "library",
  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/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3337. break;
  3338. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3342. "id": "whiteboard",
  3343. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3349. break;
  3350. case "investigation":
  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 + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3354. "id": "investigation",
  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/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3361. break;
  3362. case "note":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3366. "id": "note",
  3367. "style": { "width": "20%", "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/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3373. break;
  3374. // case "score":
  3375. // _formdiv = new U.UF.UI.form(
  3376. // "量规评分",
  3377. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3378. // "id": "score",
  3379. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3380. // "onresize": function() {}
  3381. // }, {
  3382. // closecallback: function() {}
  3383. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3384. // _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); } }
  3385. // break;
  3386. case "mind":
  3387. _formdiv = new U.UF.UI.form(
  3388. "思维导图",
  3389. $$("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"
  3390. "id": "mind",
  3391. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3392. "onresize": function () { }
  3393. }, {
  3394. closecallback: function () { }
  3395. }, { "style": { "height": "36px" } }).form; //创建窗体
  3396. _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); } }
  3397. break;
  3398. case "doc":
  3399. // U.MD.D.I.isRoom();
  3400. _formdiv = new U.UF.UI.form(
  3401. "协同文档",
  3402. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3403. "id": "doc",
  3404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3405. "onresize": function () { }
  3406. }, {
  3407. closecallback: function () { }
  3408. }, { "style": { "height": "36px" } }).form; //创建窗体
  3409. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3410. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3411. })
  3412. _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); } }
  3413. break;
  3414. case "train": //好友打开
  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": "https://xunlian.cocorobo.cn/" }), {
  3418. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3425. break;
  3426. case "studentStudy":
  3427. _formdiv = new U.UF.UI.form(
  3428. "课程中心",
  3429. $$("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
  3430. "id": "studentStudy",
  3431. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3437. break;
  3438. case "mindNetwork": //好友打开
  3439. _formdiv = new U.UF.UI.form(
  3440. "思维网格",
  3441. $$("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 }), {
  3442. "id": "mindNetwork",
  3443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. case "studentClassRoom": //好友打开
  3451. _formdiv = new U.UF.UI.form(
  3452. "实时课堂",
  3453. $$("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 }), {
  3454. "id": "studentClassRoom",
  3455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function () { }
  3457. }, {
  3458. closecallback: function () { }
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _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); } }
  3461. setTimeout(() => {
  3462. U.UF.F.windowZooming(_formdiv)
  3463. }, 0);
  3464. break;
  3465. }
  3466. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3467. //选择应用处理
  3468. switch (str) {
  3469. case "project": //好友打开
  3470. _formdiv = new U.UF.UI.form(
  3471. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3472. $$("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 }), {
  3473. "id": "project",
  3474. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3475. "onresize": function () { }
  3476. }, {
  3477. closecallback: function () { }
  3478. }, { "style": { "height": "36px" } }).form; //创建窗体
  3479. _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); } }
  3480. break;
  3481. case "student":
  3482. _formdiv = new U.UF.UI.form(
  3483. "学生管理",
  3484. $$("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 }), {
  3485. "id": "student",
  3486. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3487. "onresize": function () { }
  3488. }, {
  3489. closecallback: function () { }
  3490. }, { "style": { "height": "36px" } }).form; //创建窗体
  3491. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3492. break;
  3493. case "evaluate":
  3494. _formdiv = new U.UF.UI.form(
  3495. "学生评价",
  3496. $$("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 }), {
  3497. "id": "evaluate",
  3498. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3499. "onresize": function () { }
  3500. }, {
  3501. closecallback: function () { }
  3502. }, { "style": { "height": "36px" } }).form; //创建窗体
  3503. _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); } }
  3504. break;
  3505. case "sys":
  3506. _formdiv = new U.UF.UI.form(
  3507. "目标管理",
  3508. $$("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 }), {
  3509. "id": "sys",
  3510. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3511. "onresize": function () { }
  3512. }, {
  3513. closecallback: function () { }
  3514. }, { "style": { "height": "36px" } }).form; //创建窗体
  3515. _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); } }
  3516. break;
  3517. case "courseDesign":
  3518. _formdiv = new U.UF.UI.form(
  3519. "项目设计",
  3520. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3521. "id": "courseDesign",
  3522. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3523. "onresize": function () { }
  3524. }, {
  3525. closecallback: function () { }
  3526. }, { "style": { "height": "36px" } }).form; //创建窗体
  3527. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3528. break;
  3529. case "program":
  3530. _formdiv = new U.UF.UI.form(
  3531. "编程平台",
  3532. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3533. "id": "program",
  3534. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3535. "onresize": function () { }
  3536. }, {
  3537. closecallback: function () { }
  3538. }, { "style": { "height": "36px" } }).form; //创建窗体
  3539. _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); } }
  3540. break;
  3541. case "class":
  3542. _formdiv = new U.UF.UI.form(
  3543. "班级管理",
  3544. $$("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 }), {
  3545. "id": "class",
  3546. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3547. "onresize": function () { }
  3548. }, {
  3549. closecallback: function () { }
  3550. }, { "style": { "height": "36px" } }).form; //创建窗体
  3551. _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); } }
  3552. break;
  3553. case "Grade":
  3554. _formdiv = new U.UF.UI.form(
  3555. "年级管理",
  3556. $$("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 }), {
  3557. "id": "Grade",
  3558. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3559. "onresize": function () { }
  3560. }, {
  3561. closecallback: function () { }
  3562. }, { "style": { "height": "36px" } }).form; //创建窗体
  3563. _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); } }
  3564. break;
  3565. case "teacherOffice":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3569. "id": "teacherOffice",
  3570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3571. "onresize": function () { }
  3572. }, {
  3573. closecallback: function () { }
  3574. }, { "style": { "height": "36px" } }).form; //创建窗体
  3575. _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); } }
  3576. break;
  3577. case "my":
  3578. _formdiv = new U.UF.UI.form(
  3579. "我的资料",
  3580. $$("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 }), {
  3581. "id": "my",
  3582. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3583. "onresize": function () { }
  3584. }, {
  3585. closecallback: function () { }
  3586. }, { "style": { "height": "36px" } }).form; //创建窗体
  3587. _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); } }
  3588. break;
  3589. case "notice":
  3590. _formdiv = new U.UF.UI.form(
  3591. "通知公告",
  3592. $$("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 }), {
  3593. "id": "notice",
  3594. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3595. "onresize": function () { }
  3596. }, {
  3597. closecallback: function () { }
  3598. }, { "style": { "height": "36px" } }).form; //创建窗体
  3599. _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); } }
  3600. break;
  3601. case "library":
  3602. _formdiv = new U.UF.UI.form(
  3603. "素材库",
  3604. $$("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 }), {
  3605. "id": "library",
  3606. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3607. "onresize": function () { }
  3608. }, {
  3609. closecallback: function () { }
  3610. }, { "style": { "height": "36px" } }).form; //创建窗体
  3611. _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); } }
  3612. break;
  3613. case "whiteboard":
  3614. _formdiv = new U.UF.UI.form(
  3615. "电子白板",
  3616. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3617. "id": "whiteboard",
  3618. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3619. "onresize": function () { }
  3620. }, {
  3621. closecallback: function () { }
  3622. }, { "style": { "height": "36px" } }).form; //创建窗体
  3623. _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); } }
  3624. break;
  3625. case "investigation":
  3626. _formdiv = new U.UF.UI.form(
  3627. "问卷调查",
  3628. $$("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 }), {
  3629. "id": "investigation",
  3630. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3631. "onresize": function () { }
  3632. }, {
  3633. closecallback: function () { }
  3634. }, { "style": { "height": "36px" } }).form; //创建窗体
  3635. _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); } }
  3636. break;
  3637. case "note":
  3638. _formdiv = new U.UF.UI.form(
  3639. "便签分类",
  3640. $$("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 }), {
  3641. "id": "note",
  3642. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3643. "onresize": function () { }
  3644. }, {
  3645. closecallback: function () { }
  3646. }, { "style": { "height": "36px" } }).form; //创建窗体
  3647. _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); } }
  3648. break;
  3649. // case "score":
  3650. // _formdiv = new U.UF.UI.form(
  3651. // "量规评分",
  3652. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3653. // "id": "score",
  3654. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3655. // "onresize": function() {}
  3656. // }, {
  3657. // closecallback: function() {}
  3658. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3659. // _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); } }
  3660. // break;
  3661. case "mind":
  3662. _formdiv = new U.UF.UI.form(
  3663. "思维导图",
  3664. $$("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"
  3665. "id": "mind",
  3666. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3667. "onresize": function () { }
  3668. }, {
  3669. closecallback: function () { }
  3670. }, { "style": { "height": "36px" } }).form; //创建窗体
  3671. _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); } }
  3672. break;
  3673. case "doc":
  3674. // U.MD.D.I.isRoom();
  3675. _formdiv = new U.UF.UI.form(
  3676. "协同文档",
  3677. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3678. "id": "doc",
  3679. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3680. "onresize": function () { }
  3681. }, {
  3682. closecallback: function () { }
  3683. }, { "style": { "height": "36px" } }).form; //创建窗体
  3684. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3685. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3686. })
  3687. _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); } }
  3688. break;
  3689. case "study":
  3690. _formdiv = new U.UF.UI.form(
  3691. "课程中心",
  3692. $$("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
  3693. "id": "study",
  3694. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3695. "onresize": function () { }
  3696. }, {
  3697. closecallback: function () { }
  3698. }, { "style": { "height": "36px" } }).form; //创建窗体
  3699. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3700. break;
  3701. case "mindNetwork": //好友打开
  3702. _formdiv = new U.UF.UI.form(
  3703. "思维网格",
  3704. $$("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 }), {
  3705. "id": "mindNetwork",
  3706. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3707. "onresize": function () { }
  3708. }, {
  3709. closecallback: function () { }
  3710. }, { "style": { "height": "36px" } }).form; //创建窗体
  3711. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3712. break;
  3713. case "train": //好友打开
  3714. _formdiv = new U.UF.UI.form(
  3715. "训练平台",
  3716. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3717. "id": "mindNetwork",
  3718. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3719. "onresize": function () { }
  3720. }, {
  3721. closecallback: function () { }
  3722. }, { "style": { "height": "36px" } }).form; //创建窗体
  3723. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3724. break;
  3725. case "teacherClassRoom": //好友打开
  3726. _formdiv = new U.UF.UI.form(
  3727. "实时课堂",
  3728. $$("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 }), {
  3729. "id": "teacherClassRoom",
  3730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3731. "onresize": function () { }
  3732. }, {
  3733. closecallback: function () { }
  3734. }, { "style": { "height": "36px" } }).form; //创建窗体
  3735. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3736. setTimeout(() => {
  3737. U.UF.F.windowZooming(_formdiv)
  3738. }, 0);
  3739. break;
  3740. }
  3741. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3742. switch (str) {
  3743. case "project": //好友打开
  3744. _formdiv = new U.UF.UI.form(
  3745. "课程管理",
  3746. $$("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 }), {
  3747. "id": "project",
  3748. "style": { "width": "90%", "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/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3754. break;
  3755. case "evaluate":
  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/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3759. "id": "evaluate",
  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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3766. break;
  3767. case "notice":
  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/#/notice?userid=" + _userid + "&org=" + _org }), {
  3771. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3778. break;
  3779. case "stuLibrary":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3783. "id": "stuLibrary",
  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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3790. break;
  3791. case "program":
  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": "https://x.cocorobo.cn" }), {
  3795. "id": "program",
  3796. "style": { "width": "70%", "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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3802. break;
  3803. case "whiteboard":
  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": "https://iwb.cocorobo.cn/" }), {
  3807. "id": "whiteboard",
  3808. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3814. break;
  3815. case "investigation":
  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 + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3819. "id": "investigation",
  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/ask.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": "train",
  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 "sys":
  3892. _formdiv = new U.UF.UI.form(
  3893. "目标管理",
  3894. $$("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 }), {
  3895. "id": "sys",
  3896. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3902. break;
  3903. case "courseDesign":
  3904. _formdiv = new U.UF.UI.form(
  3905. "项目设计",
  3906. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3907. "id": "courseDesign",
  3908. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3909. "onresize": function () { }
  3910. }, {
  3911. closecallback: function () { }
  3912. }, { "style": { "height": "36px" } }).form; //创建窗体
  3913. _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); } }
  3914. break;
  3915. }
  3916. } else if (!_type) {
  3917. switch (str) {
  3918. case "my":
  3919. _formdiv = new U.UF.UI.form(
  3920. "我的资料",
  3921. $$("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 }), {
  3922. "id": "my",
  3923. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3924. "onresize": function () { }
  3925. }, {
  3926. closecallback: function () { }
  3927. }, { "style": { "height": "36px" } }).form; //创建窗体
  3928. _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); } }
  3929. break;
  3930. }
  3931. }
  3932. switch (str) {
  3933. // AIprogram2 AI体验 aihub.cocorobo.cn
  3934. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3935. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3936. case "formulaEdi": //公式编辑
  3937. _formdiv = new U.UF.UI.form(
  3938. "公式编辑",
  3939. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3940. "id": "formulaEdi",
  3941. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3942. "onresize": function () { }
  3943. }, {
  3944. closecallback: function () { }
  3945. }, { "style": { "height": "36px" } }).form; //创建窗体
  3946. _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); } }
  3947. break;
  3948. case "molStr": //分子结构
  3949. _formdiv = new U.UF.UI.form(
  3950. "分子结构",
  3951. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3952. "id": "molStr",
  3953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3954. "onresize": function () { }
  3955. }, {
  3956. closecallback: function () { }
  3957. }, { "style": { "height": "36px" } }).form; //创建窗体
  3958. _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); } }
  3959. break;
  3960. case "timeAxis": //时间轴
  3961. _formdiv = new U.UF.UI.form(
  3962. "时间轴",
  3963. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3964. "id": "timeAxis",
  3965. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function () { }
  3967. }, {
  3968. closecallback: function () { }
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. _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); } }
  3971. break;
  3972. case "AIprogram2": //AI体验
  3973. _formdiv = new U.UF.UI.form(
  3974. "AI体验",
  3975. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3976. "id": "AIprogram2",
  3977. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function () { }
  3979. }, {
  3980. closecallback: function () { }
  3981. }, { "style": { "height": "36px" } }).form; //创建窗体
  3982. _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); } }
  3983. break;
  3984. case "Pythonprogram": //python编程
  3985. _formdiv = new U.UF.UI.form(
  3986. "Python编程",
  3987. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3988. "id": "Pythonprogram",
  3989. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3990. "onresize": function () { }
  3991. }, {
  3992. closecallback: function () { }
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _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); } }
  3995. break;
  3996. case "AIprogram": //ai编程
  3997. _formdiv = new U.UF.UI.form(
  3998. "AI编程平台",
  3999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4000. "id": "AIprogram",
  4001. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4002. "onresize": function () { }
  4003. }, {
  4004. closecallback: function () { }
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _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); } }
  4007. break;
  4008. case "CocoPi": //CocoPi
  4009. _formdiv = new U.UF.UI.form(
  4010. "CocoPi",
  4011. $$("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" }), {
  4012. "id": "CocoPi",
  4013. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _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); } }
  4019. break;
  4020. case "Wood": //Wood
  4021. _formdiv = new U.UF.UI.form(
  4022. "海龟编程",
  4023. $$("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/" }), {
  4024. "id": "Wood",
  4025. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _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); } }
  4031. break;
  4032. case "car": //模拟驾驶
  4033. _formdiv = new U.UF.UI.form(
  4034. "模拟驾驶",
  4035. $$("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/" }), {
  4036. "id": "car",
  4037. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _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); } }
  4043. break;
  4044. case "lineSearch": //路径搜索
  4045. _formdiv = new U.UF.UI.form(
  4046. "路径搜索",
  4047. $$("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/" }), {
  4048. "id": "lineSearch",
  4049. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4050. "onresize": function () { }
  4051. }, {
  4052. closecallback: function () { }
  4053. }, { "style": { "height": "36px" } }).form; //创建窗体
  4054. _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); } }
  4055. break;
  4056. case "deepLearning": //深度学习
  4057. _formdiv = new U.UF.UI.form(
  4058. "深度学习",
  4059. $$("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/#" }), {
  4060. "id": "deepLearning",
  4061. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //创建窗体
  4066. _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); } }
  4067. break;
  4068. case "allHistory": //深度学习
  4069. _formdiv = new U.UF.UI.form(
  4070. "全历史",
  4071. $$("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/" }), {
  4072. "id": "allHistory",
  4073. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function () { }
  4075. }, {
  4076. closecallback: function () { }
  4077. }, { "style": { "height": "36px" } }).form; //创建窗体
  4078. _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); } }
  4079. break;
  4080. case "chatPDF": //ai编程
  4081. _formdiv = new U.UF.UI.form(
  4082. "chatPDF",
  4083. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4084. "id": "chatPDF",
  4085. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //创建窗体
  4090. _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); } }
  4091. break;
  4092. case "resources": //国家教育
  4093. _formdiv = new U.UF.UI.form(
  4094. "国家教育",
  4095. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4096. "id": "resources",
  4097. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //创建窗体
  4102. _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); } }
  4103. break;
  4104. case "codeEdit": //源码编辑
  4105. _formdiv = new U.UF.UI.form(
  4106. "源码编辑",
  4107. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4108. "id": "codeEdit",
  4109. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function () { }
  4111. }, {
  4112. closecallback: function () { }
  4113. }, { "style": { "height": "36px" } }).form; //创建窗体
  4114. _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); } }
  4115. break; //
  4116. case "MindMap": //MindMap
  4117. _formdiv = new U.UF.UI.form(
  4118. "MindMap",
  4119. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4120. "id": "MindMap",
  4121. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function () { }
  4123. }, {
  4124. closecallback: function () { }
  4125. }, { "style": { "height": "36px" } }).form; //创建窗体
  4126. _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); } }
  4127. break;
  4128. case "netWorkPanel": //netWorkPanel
  4129. _formdiv = new U.UF.UI.form(
  4130. "netWorkPanel",
  4131. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4132. "id": "netWorkPanel",
  4133. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //创建窗体
  4138. _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); } }
  4139. break;
  4140. case "GeoGebra": //GeoGebra
  4141. _formdiv = new U.UF.UI.form(
  4142. "GeoGebra",
  4143. $$("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" }), {
  4144. "id": "GeoGebra",
  4145. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //创建窗体
  4150. _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); } }
  4151. break;
  4152. case "translation": //翻译
  4153. _formdiv = new U.UF.UI.form(
  4154. "翻译",
  4155. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4156. "id": "translation",
  4157. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //创建窗体
  4162. _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); } }
  4163. break;
  4164. case "mohe": //魔盒
  4165. _formdiv = new U.UF.UI.form(
  4166. "魔盒识字",
  4167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4168. "id": "mohe",
  4169. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //创建窗体
  4174. _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); } }
  4175. break;
  4176. case "24game": //24点
  4177. _formdiv = new U.UF.UI.form(
  4178. "24点",
  4179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4180. "id": "24game",
  4181. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4182. "onresize": function () { }
  4183. }, {
  4184. closecallback: function () { }
  4185. }, { "style": { "height": "36px" } }).form; //创建窗体
  4186. _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); } }
  4187. break;
  4188. case "case":
  4189. _formdiv = new U.UF.UI.form(
  4190. "课程进展",
  4191. $$("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 }), {
  4192. "id": "case",
  4193. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4194. "onresize": function () { }
  4195. }, {
  4196. closecallback: function () { }
  4197. }, { "style": { "height": "36px" } }).form; //创建窗体
  4198. _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); } }
  4199. break;
  4200. case "snf":
  4201. _formdiv = new U.UF.UI.form(
  4202. "赛诺梵",
  4203. $$("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" }), {
  4204. "id": "snf",
  4205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4206. "onresize": function () { }
  4207. }, {
  4208. closecallback: function () { }
  4209. }, { "style": { "height": "36px" } }).form; //创建窗体
  4210. _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); } }
  4211. break;
  4212. case "hanFamily":
  4213. _formdiv = new U.UF.UI.form(
  4214. "汉字家族",
  4215. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4216. "id": "hanFamily",
  4217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4218. "onresize": function () { }
  4219. }, {
  4220. closecallback: function () { }
  4221. }, { "style": { "height": "36px" } }).form; //创建窗体
  4222. _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); } }
  4223. break;
  4224. case "hanClassics":
  4225. _formdiv = new U.UF.UI.form(
  4226. "国学经典",
  4227. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4228. "id": "hanClassics",
  4229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4230. "onresize": function () { }
  4231. }, {
  4232. closecallback: function () { }
  4233. }, { "style": { "height": "36px" } }).form; //创建窗体
  4234. _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); } }
  4235. break;
  4236. case "hanTraining":
  4237. _formdiv = new U.UF.UI.form(
  4238. "笔画训练",
  4239. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4240. "id": "hanTraining",
  4241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4242. "onresize": function () { }
  4243. }, {
  4244. closecallback: function () { }
  4245. }, { "style": { "height": "36px" } }).form; //创建窗体
  4246. _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); } }
  4247. break;
  4248. case "hanClass":
  4249. _formdiv = new U.UF.UI.form(
  4250. "书法课堂",
  4251. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4252. "id": "hanClass",
  4253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4254. "onresize": function () { }
  4255. }, {
  4256. closecallback: function () { }
  4257. }, { "style": { "height": "36px" } }).form; //创建窗体
  4258. _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); } }
  4259. break;
  4260. case "han":
  4261. _formdiv = new U.UF.UI.form(
  4262. "汉字宫",
  4263. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4264. "id": "han",
  4265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4266. "onresize": function () { }
  4267. }, {
  4268. closecallback: function () { }
  4269. }, { "style": { "height": "36px" } }).form; //创建窗体
  4270. _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); } }
  4271. break;
  4272. case "projectGM": //课程管理
  4273. _formdiv = new U.UF.UI.form(
  4274. "课程管理",
  4275. $$("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 }), {
  4276. "id": "projectGM",
  4277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4278. "onresize": function () { }
  4279. }, {
  4280. closecallback: function () { }
  4281. }, { "style": { "height": "36px" } }).form; //创建窗体
  4282. _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); } }
  4283. break;
  4284. case "studyGM": //课程中心
  4285. _formdiv = new U.UF.UI.form(
  4286. "课程中心",
  4287. $$("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
  4288. "id": "study",
  4289. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4290. "onresize": function () { }
  4291. }, {
  4292. closecallback: function () { }
  4293. }, { "style": { "height": "36px" } }).form; //创建窗体
  4294. _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); } }
  4295. break;
  4296. // studentGM
  4297. case "studentGM": //学生管理
  4298. _formdiv = new U.UF.UI.form(
  4299. "学生管理",
  4300. $$("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 }), {
  4301. "id": "studentGM",
  4302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4303. "onresize": function () { }
  4304. }, {
  4305. closecallback: function () { }
  4306. }, { "style": { "height": "36px" } }).form; //创建窗体
  4307. _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); } }
  4308. break;
  4309. case "evaluateGM": //学生评价
  4310. _formdiv = new U.UF.UI.form(
  4311. "学生评价",
  4312. $$("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 }), {
  4313. "id": "evaluateGM",
  4314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function () { }
  4316. }, {
  4317. closecallback: function () { }
  4318. }, { "style": { "height": "36px" } }).form; //创建窗体
  4319. _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); } }
  4320. break;
  4321. // classGM
  4322. case "classGM": //班级管理
  4323. _formdiv = new U.UF.UI.form(
  4324. "班级管理",
  4325. $$("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 }), {
  4326. "id": "classGM",
  4327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4328. "onresize": function () { }
  4329. }, {
  4330. closecallback: function () { }
  4331. }, { "style": { "height": "36px" } }).form; //创建窗体
  4332. _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); } }
  4333. break;
  4334. // dataGM
  4335. case "dataGM":
  4336. _formdiv = new U.UF.UI.form(
  4337. "我的资料",
  4338. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4339. "id": "dataGM",
  4340. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function () { }
  4342. }, {
  4343. closecallback: function () { }
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4346. break;
  4347. // caseGM
  4348. case "caseGM": //课程进展
  4349. _formdiv = new U.UF.UI.form(
  4350. "课程进展",
  4351. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4352. "id": "caseGM",
  4353. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4354. "onresize": function () { }
  4355. }, {
  4356. closecallback: function () { }
  4357. }, { "style": { "height": "36px" } }).form; //创建窗体
  4358. _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); } }
  4359. break;
  4360. // meterialGM
  4361. case "meterialGM": //素材库
  4362. _formdiv = new U.UF.UI.form(
  4363. "素材库",
  4364. $$("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 }), {
  4365. "id": "meterialGM",
  4366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4367. "onresize": function () { }
  4368. }, {
  4369. closecallback: function () { }
  4370. }, { "style": { "height": "36px" } }).form; //创建窗体
  4371. _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); } }
  4372. break;
  4373. // evaluateSGM
  4374. case "evaluateSGM": //我的评价
  4375. _formdiv = new U.UF.UI.form(
  4376. "我的评价",
  4377. $$("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 }), {
  4378. "id": "evaluateSGM",
  4379. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4380. "onresize": function () { }
  4381. }, {
  4382. closecallback: function () { }
  4383. }, { "style": { "height": "36px" } }).form; //创建窗体
  4384. _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); } }
  4385. break;
  4386. case "jupyter": //jupyter
  4387. _formdiv = new U.UF.UI.form(
  4388. "jupyter",
  4389. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4390. "id": "jupyter",
  4391. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4392. "onresize": function () { }
  4393. }, {
  4394. closecallback: function () { }
  4395. }, { "style": { "height": "36px" } }).form; //创建窗体
  4396. _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); } }
  4397. break;
  4398. case "number": //数字实验室
  4399. _formdiv = new U.UF.UI.form(
  4400. "数字实验室",
  4401. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4402. "id": "number",
  4403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4404. "onresize": function () { }
  4405. }, {
  4406. closecallback: function () { }
  4407. }, { "style": { "height": "36px" } }).form; //创建窗体
  4408. _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); } }
  4409. break;
  4410. case "studentCourse": //项目管理 学生
  4411. _formdiv = new U.UF.UI.form(
  4412. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4413. $$("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 }), {
  4414. "id": "studentCourse",
  4415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4416. "onresize": function () { }
  4417. }, {
  4418. closecallback: function () { }
  4419. }, { "style": { "height": "36px" } }).form; //创建窗体
  4420. _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); } }
  4421. break;
  4422. case "studentCourseS": //项目管理 老师
  4423. _formdiv = new U.UF.UI.form(
  4424. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4425. $$("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 }), {
  4426. "id": "studentCourseS",
  4427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4428. "onresize": function () { }
  4429. }, {
  4430. closecallback: function () { }
  4431. }, { "style": { "height": "36px" } }).form; //创建窗体
  4432. _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); } }
  4433. break;
  4434. case "studentIndex": //项目中心
  4435. _formdiv = new U.UF.UI.form(
  4436. "项目中心",
  4437. $$("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 }), {
  4438. "id": "studentIndex",
  4439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4440. "onresize": function () { }
  4441. }, {
  4442. closecallback: function () { }
  4443. }, { "style": { "height": "36px" } }).form; //创建窗体
  4444. _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); } }
  4445. break;
  4446. case "CaseDesignS":
  4447. _formdiv = new U.UF.UI.form(
  4448. "项目进展",
  4449. $$("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 }), {
  4450. "id": "case",
  4451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4452. "onresize": function () { }
  4453. }, {
  4454. closecallback: function () { }
  4455. }, { "style": { "height": "36px" } }).form; //创建窗体
  4456. _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); } }
  4457. break;
  4458. case "tcStudent": //腾讯学生管理
  4459. _formdiv = new U.UF.UI.form(
  4460. "学生管理",
  4461. $$("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 }), {
  4462. "id": "tcStudent",
  4463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4464. "onresize": function () { }
  4465. }, {
  4466. closecallback: function () { }
  4467. }, { "style": { "height": "36px" } }).form; //创建窗体
  4468. _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); } }
  4469. break;
  4470. case "tcSchool": //腾讯学校管理
  4471. _formdiv = new U.UF.UI.form(
  4472. "学校管理",
  4473. $$("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 }), {
  4474. "id": "tcSchool",
  4475. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4476. "onresize": function () { }
  4477. }, {
  4478. closecallback: function () { }
  4479. }, { "style": { "height": "36px" } }).form; //创建窗体
  4480. _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); } }
  4481. break;
  4482. case "tcTeacher": //腾讯学校管理
  4483. _formdiv = new U.UF.UI.form(
  4484. "教师管理",
  4485. $$("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 }), {
  4486. "id": "tcTeacher",
  4487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4488. "onresize": function () { }
  4489. }, {
  4490. closecallback: function () { }
  4491. }, { "style": { "height": "36px" } }).form; //创建窗体
  4492. _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); } }
  4493. break;
  4494. case "tcData": //腾讯我的资料
  4495. _formdiv = new U.UF.UI.form(
  4496. "我的资料",
  4497. $$("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 }), {
  4498. "id": "tcData",
  4499. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4500. "onresize": function () { }
  4501. }, {
  4502. closecallback: function () { }
  4503. }, { "style": { "height": "36px" } }).form; //创建窗体
  4504. _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); } }
  4505. break;
  4506. case "tcNotice": //腾讯消息通知
  4507. _formdiv = new U.UF.UI.form(
  4508. "消息通知",
  4509. $$("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 }), {
  4510. "id": "tcNotice",
  4511. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4512. "onresize": function () { }
  4513. }, {
  4514. closecallback: function () { }
  4515. }, { "style": { "height": "36px" } }).form; //创建窗体
  4516. _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); } }
  4517. break;
  4518. case "myReport": //好友打开
  4519. _formdiv = new U.UF.UI.form(
  4520. "我的评价",
  4521. $$("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 }), {
  4522. "id": "myReport",
  4523. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4524. "onresize": function () { }
  4525. }, {
  4526. closecallback: function () { }
  4527. }, { "style": { "height": "36px" } }).form; //创建窗体
  4528. _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); } }
  4529. break;
  4530. case "learnAna": //好友打开
  4531. _formdiv = new U.UF.UI.form(
  4532. "学习分析",
  4533. $$("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 }), {
  4534. "id": "learnAna",
  4535. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4536. "onresize": function () { }
  4537. }, {
  4538. closecallback: function () { }
  4539. }, { "style": { "height": "36px" } }).form; //创建窗体
  4540. _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); } }
  4541. break;
  4542. case "AIChat": //AI共创
  4543. _formdiv = new U.UF.UI.form(
  4544. "AI共创",
  4545. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4546. "id": "AIChat",
  4547. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4548. "onresize": function () { }
  4549. }, {
  4550. istop: true,
  4551. closecallback: function () { $("#aichat_icon").remove(); },
  4552. narrowcallback: function () {
  4553. if (!$("#aichat_icon")[0]) {
  4554. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4555. }
  4556. },
  4557. }, { "style": { "height": "36px" } }).form; //创建窗体
  4558. _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); } }
  4559. break;
  4560. case "ainew": //AI共创
  4561. _formdiv = new U.UF.UI.form(
  4562. "AI协同",
  4563. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4564. "id": "ainew",
  4565. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4566. "onresize": function () { }
  4567. }, {
  4568. closecallback: function () { }
  4569. }, { "style": { "height": "36px" } }).form; //创建窗体
  4570. _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); } }
  4571. break;
  4572. case "gpt4": //gpt4
  4573. _formdiv = new U.UF.UI.form(
  4574. "AI助手",
  4575. $$("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 }), {
  4576. "id": "ainew",
  4577. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4578. "onresize": function () { }
  4579. }, {
  4580. closecallback: function () { }
  4581. }, { "style": { "height": "36px" } }).form; //创建窗体
  4582. _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); } }
  4583. break;
  4584. case "aigpt": //gpt4
  4585. _formdiv = new U.UF.UI.form(
  4586. "AI助手+",
  4587. $$("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 }), {
  4588. "id": "ainew",
  4589. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4590. "onresize": function () { }
  4591. }, {
  4592. closecallback: function () { }
  4593. }, { "style": { "height": "36px" } }).form; //创建窗体
  4594. _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); } }
  4595. break;
  4596. case "futureClass": //AI共创
  4597. _formdiv = new U.UF.UI.form(
  4598. "协同建构",
  4599. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://beta.cscl.cocorobo.cn
  4600. "id": "synergyCourse",
  4601. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4602. "onresize": function () { }
  4603. }, {
  4604. closecallback: function () {
  4605. $("iframe", _formdiv)[0].contentWindow.loginout();
  4606. }
  4607. }, { "style": { "height": "36px" } }).form; //创建窗体
  4608. _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); } }
  4609. break;
  4610. case "aiagent": //ai agent
  4611. _formdiv = new U.UF.UI.form(
  4612. "AI Agent",
  4613. $$("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" }), {
  4614. "id": "AIAgent",
  4615. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4616. "onresize": function () { }
  4617. }, {
  4618. closecallback: function () { }
  4619. }, { "style": { "height": "36px" } }).form; //创建窗体
  4620. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4621. break;
  4622. case "dataBoard": //数据看板
  4623. _formdiv = new U.UF.UI.form(
  4624. "数据看板",
  4625. $$("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 }), {
  4626. "id": "dataBoard",
  4627. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4628. "onresize": function () { }
  4629. }, {
  4630. closecallback: function () { }
  4631. }, { "style": { "height": "36px" } }).form; //创建窗体
  4632. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4633. break;
  4634. case "dataBoardSies": //数据融合
  4635. _formdiv = new U.UF.UI.form(
  4636. "数据融合",
  4637. $$("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 }), {
  4638. "id": "dataBoardSies",
  4639. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4640. "onresize": function () { }
  4641. }, {
  4642. closecallback: function () { }
  4643. }, { "style": { "height": "36px" } }).form; //创建窗体
  4644. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据融合", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4645. break;
  4646. case "dataBoardNew": //数据看板
  4647. _formdiv = new U.UF.UI.form(
  4648. "综合看板",
  4649. $$("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 }), {
  4650. "id": "dataBoardNew",
  4651. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4652. "onresize": function () { }
  4653. }, {
  4654. closecallback: function () { }
  4655. }, { "style": { "height": "36px" } }).form; //创建窗体
  4656. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4657. break;
  4658. case "AIAnalyse": //AI共创
  4659. _formdiv = new U.UF.UI.form(
  4660. "AI分析",
  4661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4662. "id": "AIAnalyse",
  4663. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4664. "onresize": function () { }
  4665. }, {
  4666. closecallback: function () { }
  4667. }, { "style": { "height": "36px" } }).form; //创建窗体
  4668. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4669. break;
  4670. case "studioCourse": //AI共创
  4671. _formdiv = new U.UF.UI.form(
  4672. "工作管理",
  4673. $$("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 }), {
  4674. "id": "studioCourse",
  4675. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4676. "onresize": function () { }
  4677. }, {
  4678. closecallback: function () { }
  4679. }, { "style": { "height": "36px" } }).form; //创建窗体
  4680. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4681. break;
  4682. case "studioIndex": //AI共创
  4683. _formdiv = new U.UF.UI.form(
  4684. "工作中心",
  4685. $$("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 }), {
  4686. "id": "studioIndex",
  4687. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4688. "onresize": function () { }
  4689. }, {
  4690. closecallback: function () { }
  4691. }, { "style": { "height": "36px" } }).form; //创建窗体
  4692. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4693. break;
  4694. case "source":
  4695. _formdiv = new U.UF.UI.form(
  4696. "教学资源",
  4697. $$("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 }), {
  4698. "id": "source",
  4699. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4700. "onresize": function () { }
  4701. }, {
  4702. closecallback: function () { }
  4703. }, { "style": { "height": "36px" } }).form; //创建窗体
  4704. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4705. break;
  4706. case "testTeacher":
  4707. _formdiv = new U.UF.UI.form(
  4708. "评测管理",
  4709. $$("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 }), {
  4710. "id": "testTeacher",
  4711. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4712. "onresize": function () { }
  4713. }, {
  4714. closecallback: function () { }
  4715. }, { "style": { "height": "36px" } }).form; //创建窗体
  4716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4717. break;
  4718. case "testStudent":
  4719. _formdiv = new U.UF.UI.form(
  4720. "评测中心",
  4721. $$("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 }), {
  4722. "id": "testStudent",
  4723. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4724. "onresize": function () { }
  4725. }, {
  4726. closecallback: function () { }
  4727. }, { "style": { "height": "36px" } }).form; //创建窗体
  4728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4729. break;
  4730. case "testTeacherSies":
  4731. _formdiv = new U.UF.UI.form(
  4732. "教师管理",
  4733. $$("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 }), {
  4734. "id": "testTeacherSies",
  4735. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, { "style": { "height": "36px" } }).form; //创建窗体
  4740. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4741. break;
  4742. case "testStudentSies":
  4743. _formdiv = new U.UF.UI.form(
  4744. "教师中心",
  4745. $$("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 }), {
  4746. "id": "testStudentSies",
  4747. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4748. "onresize": function () { }
  4749. }, {
  4750. closecallback: function () { }
  4751. }, { "style": { "height": "36px" } }).form; //创建窗体
  4752. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "教师中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4753. break;
  4754. }
  4755. //U.MD.D.I.openClick(str);
  4756. //如果有任务栏信息
  4757. if (_taskbar) {
  4758. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4759. }
  4760. }
  4761. // U.MD.D.I.openClick = function(str){
  4762. // var click = '';
  4763. // switch(str){
  4764. // case 'friend':
  4765. // click = '我的好友';
  4766. // break;
  4767. // case 'domain':
  4768. // click = '域名管理';
  4769. // break;
  4770. // case 'disk':
  4771. // click = '我的云盘';
  4772. // break;
  4773. // case 'word':
  4774. // click = 'Word';
  4775. // break;
  4776. // case 'excel':
  4777. // click = 'Execl';
  4778. // break;
  4779. // case 'txt':
  4780. // click = '文本文件';
  4781. // break;
  4782. // case 'lookupFriend':
  4783. // click = '查找好友';
  4784. // break;
  4785. // case 'ftp':
  4786. // click = 'FTP';
  4787. // break;
  4788. // case 'group':
  4789. // click = '群组';
  4790. // break;
  4791. // case 'set':
  4792. // click = '我的设置';
  4793. // break;
  4794. // case 'systemSet':
  4795. // click = '系统设置';
  4796. // break;
  4797. // case 'boomYun':
  4798. // click = '互联办公';
  4799. // break;
  4800. // case 'xz':
  4801. // click = '云端下载';
  4802. // break;
  4803. // case 'client':
  4804. // click = '有思浏览器';
  4805. // break;
  4806. // case 'backEndProgramming':
  4807. // click = '在线后台编程';
  4808. // break;
  4809. // case 'frontEndProgramming':
  4810. // click = '在线前端编程';
  4811. // break;
  4812. // default: break;
  4813. // }
  4814. // if(U.MD.D.I.Ip && click){
  4815. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4816. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4817. // })
  4818. // }
  4819. // }
  4820. /**
  4821. *函数作用:ajax简易函数,使用post格式
  4822. *@param url {data} 后台地址
  4823. *@param data {data} 参数json
  4824. *@param fn {data} 回调函数
  4825. *
  4826. */
  4827. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4828. // var xhr = new XMLHttpRequest();
  4829. // xhr.open("GET",url,true);
  4830. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4831. // xhr.onreadystatechange = function(){
  4832. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4833. // fn.call(this,xhr.responseText);
  4834. // }
  4835. // };
  4836. // xhr.send();
  4837. // }
  4838. /*判断是否是内网IP*/
  4839. // U.MD.D.I.isInnerIPFn = function(str){
  4840. // var curPageUrl = str;
  4841. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4842. // curPageUrl =curPageUrl.replace(reg1,'');
  4843. // // console.log('curPageUrl-1 '+curPageUrl);
  4844. // var reg2 = /\:+/g;//替换冒号为一点
  4845. // curPageUrl =curPageUrl.replace(reg2,'.');
  4846. // // console.log('curPageUrl-2 '+curPageUrl);
  4847. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4848. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4849. // if(curPageUrl[2] != '16'){
  4850. // return ipAddress;
  4851. // }else{
  4852. // return false;
  4853. // }
  4854. // }
  4855. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4856. // //compatibility for firefox and chrome
  4857. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4858. // var pc = new myPeerConnection({
  4859. // iceServers: []
  4860. // }),
  4861. // noop = function() {},
  4862. // localIPs = {},
  4863. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4864. // key;
  4865. // function iterateIP(ip) {
  4866. // if (!localIPs[ip]) onNewIP(ip);
  4867. // localIPs[ip] = true;
  4868. // }
  4869. // //create a bogus data channel
  4870. // pc.createDataChannel("");
  4871. // // create offer and set local description
  4872. // pc.createOffer().then(function(sdp) {
  4873. // sdp.sdp.split('\n').forEach(function(line) {
  4874. // if (line.indexOf('candidate') < 0) return;
  4875. // line.match(ipRegex).forEach(iterateIP);
  4876. // });
  4877. // pc.setLocalDescription(sdp, noop, noop);
  4878. // }).catch(function(reason) {
  4879. // // An error occurred, so handle the failure to connect
  4880. // });
  4881. // //sten for candidate events
  4882. // pc.onicecandidate = function(ice) {
  4883. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4884. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4885. // };
  4886. // }
  4887. // U.MD.D.I.getUserIpBool = function(callback){
  4888. // U.MD.D.I.getUserIP(function(ip){
  4889. // alert("Got IP! :" + ip);
  4890. // });
  4891. //}
  4892. //#endregion
  4893. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4894. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4895. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4896. _userinfo = US.userInfo, //登录用户信息
  4897. _userid = US.userInfo.userid //登录用户id
  4898. let _iframe;
  4899. let _cid = cid,
  4900. _stage = stage,
  4901. _task = task,
  4902. _tool = tool;
  4903. var _jie = $$("div", {
  4904. "style": {
  4905. "position": "absolute",
  4906. "bottom": "50px",
  4907. "right": "50px",
  4908. "zIndex": "9999",
  4909. "backgroundColor": "#2268bc",
  4910. "color": "#fff",
  4911. "padding": "12px 20px",
  4912. "cursor": "pointer",
  4913. "borderRadius": "4px",
  4914. },
  4915. "innerHTML": "提交作业"
  4916. })
  4917. let aTool = ''
  4918. let _loading = document.createElement('div')
  4919. _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;"
  4920. // _loading.id = "";
  4921. let _lchild = document.createElement('div')
  4922. let _limg = document.createElement('img')
  4923. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4924. _limg.style = "width: 26px;margin-right: 10px;"
  4925. _lchild.appendChild(_limg)
  4926. let _lspan = document.createElement('span')
  4927. _lspan.innerHTML = "上传中..."
  4928. _lchild.appendChild(_lspan)
  4929. _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%);"
  4930. _loading.appendChild(_lchild)
  4931. var _box = $$('div', {
  4932. "style": {
  4933. "position": "relative",
  4934. "width": "100%",
  4935. "height": "100%",
  4936. },
  4937. })
  4938. _box.appendChild(_loading)
  4939. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4940. switch (str) {
  4941. case "whiteboard":
  4942. aTool = 1;
  4943. _iframe = $$("iframe", {
  4944. "frameborder": "no",
  4945. "border": "0",
  4946. "scrolling ": "no",
  4947. "style": {
  4948. "cssText": "border:0;width:100%;height:100%"
  4949. },
  4950. "src": "https://iwb.cocorobo.cn/"
  4951. })
  4952. _box.appendChild(_iframe);
  4953. _box.appendChild(_jie);
  4954. _formdiv = new U.UF.UI.form(
  4955. "电子白板",
  4956. _box, {
  4957. "id": "whiteboard" + cid + stage + task + tool,
  4958. "style": {
  4959. "width": "90%",
  4960. "height": "90%",
  4961. "overflow": 'hidden'
  4962. },
  4963. "onresize": function () { }
  4964. }, {
  4965. closecallback: function () { }
  4966. }, {
  4967. "style": {
  4968. "height": "36px"
  4969. }
  4970. }).form; //创建窗体
  4971. _taskbar = {
  4972. "id": str + _formdiv.id,
  4973. "style": {
  4974. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4975. },
  4976. "name": "电子白板",
  4977. "forms": _formdiv,
  4978. "click": function () {
  4979. U.MD.D.I.openApplication(str, obj, info);
  4980. }
  4981. }
  4982. break;
  4983. case "mind":
  4984. aTool = 3;
  4985. _iframe = $$("iframe", {
  4986. "frameborder": "no",
  4987. "border": "0",
  4988. "scrolling ": "no",
  4989. "style": {
  4990. "cssText": "border:0;width:100%;height:100%"
  4991. },
  4992. "src": "/kityminder-editor/dist/index.html"
  4993. })
  4994. _box.appendChild(_iframe);
  4995. _box.appendChild(_jie);
  4996. _formdiv = new U.UF.UI.form(
  4997. "思维导图",
  4998. _box, { //"/jsmind/example/demo.html"
  4999. "id": "mind" + cid + stage + task + tool,
  5000. "style": {
  5001. "width": "90%",
  5002. "height": "90%",
  5003. "overflow": 'hidden'
  5004. },
  5005. "onresize": function () { }
  5006. }, {
  5007. closecallback: function () { }
  5008. }, {
  5009. "style": {
  5010. "height": "36px"
  5011. }
  5012. }).form; //创建窗体
  5013. _taskbar = {
  5014. "id": str + _formdiv.id,
  5015. "style": {
  5016. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5017. },
  5018. "name": "思维导图",
  5019. "forms": _formdiv,
  5020. "click": function () {
  5021. U.MD.D.I.openApplication(str, obj, info);
  5022. }
  5023. }
  5024. break;
  5025. case "MindMap":
  5026. aTool = 3;
  5027. _iframe = $$("iframe", {
  5028. "frameborder": "no",
  5029. "border": "0",
  5030. "scrolling ": "no",
  5031. "style": {
  5032. "cssText": "border:0;width:100%;height:100%"
  5033. },
  5034. "src": "//cloud.cocorobo.cn/mind/"
  5035. })
  5036. _box.appendChild(_iframe);
  5037. _box.appendChild(_jie);
  5038. _formdiv = new U.UF.UI.form(
  5039. "思维导图",
  5040. _box, { //"/jsmind/example/demo.html"
  5041. "id": "mind" + cid + stage + task + tool,
  5042. "style": {
  5043. "width": "90%",
  5044. "height": "90%",
  5045. "overflow": 'hidden'
  5046. },
  5047. "onresize": function () { }
  5048. }, {
  5049. closecallback: function () { }
  5050. }, {
  5051. "style": {
  5052. "height": "36px"
  5053. }
  5054. }).form; //创建窗体
  5055. _taskbar = {
  5056. "id": str + _formdiv.id,
  5057. "style": {
  5058. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5059. },
  5060. "name": "思维导图",
  5061. "forms": _formdiv,
  5062. "click": function () {
  5063. U.MD.D.I.openApplication(str, obj, info);
  5064. }
  5065. }
  5066. break;
  5067. case "doc":
  5068. aTool = 6;
  5069. _iframe = $$("iframe", {
  5070. "frameborder": "no",
  5071. "border": "0",
  5072. "scrolling ": "no",
  5073. "style": {
  5074. "cssText": "border:0;width:100%;height:100%"
  5075. },
  5076. "src": "/Office/Word/WordEditArea.htm"
  5077. })
  5078. _box.appendChild(_iframe);
  5079. _box.appendChild(_jie);
  5080. _formdiv = new U.UF.UI.form(
  5081. "协同文档",
  5082. _box, {
  5083. "id": "doc" + cid + stage + task + tool,
  5084. "style": {
  5085. "width": "90%",
  5086. "height": "90%",
  5087. "overflow": 'hidden'
  5088. },
  5089. "onresize": function () { }
  5090. }, {
  5091. closecallback: function () { }
  5092. }, {
  5093. "style": {
  5094. "height": "36px"
  5095. }
  5096. }).form; //创建窗体
  5097. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5098. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5099. })
  5100. _taskbar = {
  5101. "id": str + _formdiv.id,
  5102. "style": {
  5103. "backgroundImage": "url(/img/icon/doc.png)"
  5104. },
  5105. "name": "协同文档",
  5106. "forms": _formdiv,
  5107. "click": function () {
  5108. U.MD.D.I.openApplication(str, obj, info);
  5109. }
  5110. }
  5111. break;
  5112. case "mindNetwork": //好友打开
  5113. aTool = 7;
  5114. _iframe = $$("iframe", {
  5115. "webkitallowfullscreen": "",
  5116. "mozallowfullscreen": "",
  5117. "allowfullscreen": "",
  5118. "frameborder": "no",
  5119. "border": "0",
  5120. "scrolling ": "no",
  5121. "style": {
  5122. "cssText": "border:0; width:100%; height:100%;"
  5123. },
  5124. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5125. })
  5126. _box.appendChild(_iframe);
  5127. _box.appendChild(_jie);
  5128. _formdiv = new U.UF.UI.form(
  5129. "思维网格",
  5130. _box, {
  5131. "id": "mindNetwork" + cid + stage + task + tool,
  5132. "style": {
  5133. "width": "90%",
  5134. "height": "90%",
  5135. "overflow": 'hidden'
  5136. },
  5137. "onresize": function () { }
  5138. }, {
  5139. closecallback: function () { }
  5140. }, {
  5141. "style": {
  5142. "height": "36px"
  5143. }
  5144. }).form; //创建窗体
  5145. _taskbar = {
  5146. "id": str + _formdiv.id,
  5147. "style": {
  5148. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5149. },
  5150. "name": "思维网格",
  5151. "forms": _formdiv,
  5152. "click": function () {
  5153. U.MD.D.I.openApplication(str, obj, info);
  5154. }
  5155. }
  5156. break;
  5157. case "courseDesign":
  5158. _iframe = $$("iframe", {
  5159. "webkitallowfullscreen": "",
  5160. "mozallowfullscreen": "",
  5161. "allowfullscreen": "",
  5162. "frameborder": "no",
  5163. "border": "0",
  5164. "scrolling ": "no",
  5165. "style": {
  5166. "cssText": "border:0; width:100%; height:100%;"
  5167. },
  5168. "src": "/course-design-vue"
  5169. })
  5170. _box.appendChild(_iframe);
  5171. _box.appendChild(_jie);
  5172. _formdiv = new U.UF.UI.form(
  5173. "项目设计",
  5174. _box, {
  5175. "id": "courseDesign" + cid + stage + task + tool,
  5176. "style": {
  5177. "width": "90%",
  5178. "height": "90%",
  5179. "overflow": 'hidden'
  5180. },
  5181. "onresize": function () { }
  5182. }, {
  5183. closecallback: function () { }
  5184. }, {
  5185. "style": {
  5186. "height": "36px"
  5187. }
  5188. }).form; //创建窗体
  5189. _taskbar = {
  5190. "id": str + _formdiv.id,
  5191. "style": {
  5192. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5193. },
  5194. "name": "项目设计",
  5195. "forms": _formdiv,
  5196. "click": function () {
  5197. U.MD.D.I.openApplication(str, obj, info);
  5198. }
  5199. }
  5200. break;
  5201. }
  5202. const script1 = document.createElement("script");
  5203. script1.type = "text/javascript";
  5204. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5205. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5206. const script2 = document.createElement("script");
  5207. script2.type = "text/javascript";
  5208. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5209. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5210. const script3 = document.createElement("script");
  5211. script3.type = "text/javascript";
  5212. script3.charset = "UTF-8";
  5213. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5214. const script4 = document.createElement("script");
  5215. script4.type = "text/javascript";
  5216. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5217. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5218. if (_iframe) {
  5219. if (str == 'doc') {
  5220. _iframe = _formdiv.querySelector('iframe')
  5221. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5222. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5223. _iframe.contentWindow.document.body.appendChild(script1);
  5224. _iframe.contentWindow.document.body.appendChild(script2);
  5225. // _iframe.contentWindow.document.body.appendChild(script3);
  5226. _iframe.contentWindow.document.body.appendChild(script4);
  5227. })
  5228. if (onloadListener) {
  5229. _iframe.contentDocument.location.reload()
  5230. } else {
  5231. _iframe.contentDocument.location.reload()
  5232. }
  5233. } else if (str == 'courseDesign') {
  5234. U.UF.DL.iframeLoad(_iframe, function () {
  5235. // _iframe.contentWindow.U.MD.O.W.load();
  5236. // _iframe.contentWindow.document.body.appendChild(script1);
  5237. _iframe.contentWindow.document.body.appendChild(script2);
  5238. _iframe.contentWindow.document.body.appendChild(script4);
  5239. })
  5240. } else if (str == 'mind') {
  5241. _iframe = _formdiv.querySelector('iframe')
  5242. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5243. //
  5244. _iframe.contentWindow.document.body.appendChild(script1);
  5245. _iframe.contentWindow.document.body.appendChild(script2);
  5246. _iframe.contentWindow.document.body.appendChild(script4);
  5247. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5248. })
  5249. if (onloadListener) {
  5250. _iframe.contentDocument.location.reload()
  5251. } else {
  5252. _iframe.contentDocument.location.reload()
  5253. }
  5254. } else if (str == 'whiteboard') {
  5255. _iframe = _formdiv.querySelector('iframe')
  5256. let onloadListener = _iframe.onload = () => {
  5257. _iframe.contentWindow.document.body.appendChild(script1);
  5258. _iframe.contentWindow.document.body.appendChild(script2);
  5259. _iframe.contentWindow.document.body.appendChild(script4);
  5260. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5261. };
  5262. if (onloadListener) {
  5263. _iframe.contentDocument.location.reload()
  5264. } else {
  5265. _iframe.contentDocument.location.reload()
  5266. }
  5267. } else {
  5268. _iframe.onload = () => {
  5269. _iframe.contentWindow.document.body.appendChild(script1);
  5270. _iframe.contentWindow.document.body.appendChild(script2);
  5271. // _iframe.contentWindow.document.body.appendChild(script3);
  5272. _iframe.contentWindow.document.body.appendChild(script4);
  5273. };
  5274. }
  5275. _jie.onclick = async () => {
  5276. let text = ''
  5277. if (aTool == 1) {
  5278. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5279. } else if (aTool == 6) {
  5280. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5281. } else if (aTool == 3) {
  5282. text = await U.MD.D.I.getEditorContent(_iframe);
  5283. }
  5284. _loading.style.display = 'flex'
  5285. console.log(_loading);
  5286. var _ajs = _iframe.contentWindow.document.createElement("script");
  5287. _ajs.type = "text/javascript";
  5288. _ajs.innerHTML =
  5289. // 'console.log(' + _loading + ');\n' +
  5290. 'var _js = document.createElement("script");\n' +
  5291. '_js.type="text/javascript";\n' +
  5292. '_js.charset="UTF-8";\n' +
  5293. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5294. "_js.onload = function(){\n" +
  5295. ' var a = document.getElementsByTagName("img")\n' +
  5296. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5297. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5298. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5299. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5300. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5301. "beforeUpload_shishi(file," +
  5302. "'" +
  5303. _userid +
  5304. "'" +
  5305. ", " +
  5306. "'" +
  5307. _cid +
  5308. "'" +
  5309. ", " +
  5310. "'" +
  5311. _stage +
  5312. "'" +
  5313. ", " +
  5314. "'" +
  5315. _task +
  5316. "'" +
  5317. ", " +
  5318. "'" +
  5319. _tool +
  5320. "'" +
  5321. ", " +
  5322. "'" +
  5323. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5324. "'" +
  5325. ", " +
  5326. "'" +
  5327. aTool +
  5328. "'" +
  5329. ", " +
  5330. "`" +
  5331. text +
  5332. "`" +
  5333. ")\n" +
  5334. " });\n" +
  5335. "}\n" +
  5336. "document.head.appendChild(_js);\n";
  5337. _iframe.contentWindow.document.head.appendChild(_ajs);
  5338. }
  5339. }
  5340. //U.MD.D.I.openClick(str);
  5341. //如果有任务栏信息
  5342. // if (_taskbar) {
  5343. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5344. // }
  5345. }
  5346. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5347. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5348. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5349. _userinfo = US.userInfo, //登录用户信息
  5350. _userid = US.userInfo.userid //登录用户id
  5351. let _iframe;
  5352. let _cid = cid,
  5353. _stage = stage,
  5354. _task = task,
  5355. _tool = tool;
  5356. var _jie = $$("div", {
  5357. "style": {
  5358. "position": "absolute",
  5359. "bottom": "50px",
  5360. "right": "50px",
  5361. "zIndex": "9999",
  5362. "backgroundColor": "#2268bc",
  5363. "color": "#fff",
  5364. "padding": "12px 20px",
  5365. "cursor": "pointer",
  5366. "borderRadius": "4px",
  5367. },
  5368. "innerHTML": "提交作业"
  5369. })
  5370. let aTool = ''
  5371. let _loading = document.createElement('div')
  5372. _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;"
  5373. // _loading.id = "";
  5374. let _lchild = document.createElement('div')
  5375. let _limg = document.createElement('img')
  5376. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5377. _limg.style = "width: 26px;margin-right: 10px;"
  5378. _lchild.appendChild(_limg)
  5379. let _lspan = document.createElement('span')
  5380. _lspan.innerHTML = "上传中..."
  5381. _lchild.appendChild(_lspan)
  5382. _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%);"
  5383. _loading.appendChild(_lchild)
  5384. var _box = $$('div', {
  5385. "style": {
  5386. "position": "relative",
  5387. "width": "100%",
  5388. "height": "100%",
  5389. },
  5390. })
  5391. _box.appendChild(_loading)
  5392. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5393. switch (str) {
  5394. case "whiteboard":
  5395. aTool = 1;
  5396. _iframe = $$("iframe", {
  5397. "frameborder": "no",
  5398. "border": "0",
  5399. "scrolling ": "no",
  5400. "style": {
  5401. "cssText": "border:0;width:100%;height:100%"
  5402. },
  5403. "src": "https://iwb.cocorobo.cn/"
  5404. })
  5405. _box.appendChild(_iframe);
  5406. _box.appendChild(_jie);
  5407. _formdiv = new U.UF.UI.form(
  5408. "电子白板",
  5409. _box, {
  5410. "id": "whiteboard" + cid + stage + task + tool,
  5411. "style": {
  5412. "width": "90%",
  5413. "height": "90%",
  5414. "overflow": 'hidden'
  5415. },
  5416. "onresize": function () { }
  5417. }, {
  5418. closecallback: function () { }
  5419. }, {
  5420. "style": {
  5421. "height": "36px"
  5422. }
  5423. }).form; //创建窗体
  5424. _taskbar = {
  5425. "id": str + _formdiv.id,
  5426. "style": {
  5427. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5428. },
  5429. "name": "电子白板",
  5430. "forms": _formdiv,
  5431. "click": function () {
  5432. U.MD.D.I.openApplication(str, obj, info);
  5433. }
  5434. }
  5435. break;
  5436. case "mind":
  5437. aTool = 3;
  5438. _iframe = $$("iframe", {
  5439. "frameborder": "no",
  5440. "border": "0",
  5441. "scrolling ": "no",
  5442. "style": {
  5443. "cssText": "border:0;width:100%;height:100%"
  5444. },
  5445. "src": "/kityminder-editor/dist/index.html"
  5446. })
  5447. _box.appendChild(_iframe);
  5448. _box.appendChild(_jie);
  5449. _formdiv = new U.UF.UI.form(
  5450. "思维导图",
  5451. _box, { //"/jsmind/example/demo.html"
  5452. "id": "mind" + cid + stage + task + tool,
  5453. "style": {
  5454. "width": "90%",
  5455. "height": "90%",
  5456. "overflow": 'hidden'
  5457. },
  5458. "onresize": function () { }
  5459. }, {
  5460. closecallback: function () { }
  5461. }, {
  5462. "style": {
  5463. "height": "36px"
  5464. }
  5465. }).form; //创建窗体
  5466. _taskbar = {
  5467. "id": str + _formdiv.id,
  5468. "style": {
  5469. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5470. },
  5471. "name": "思维导图",
  5472. "forms": _formdiv,
  5473. "click": function () {
  5474. U.MD.D.I.openApplication(str, obj, info);
  5475. }
  5476. }
  5477. break;
  5478. case "MindMap":
  5479. aTool = 3;
  5480. _iframe = $$("iframe", {
  5481. "frameborder": "no",
  5482. "border": "0",
  5483. "scrolling ": "no",
  5484. "style": {
  5485. "cssText": "border:0;width:100%;height:100%"
  5486. },
  5487. "src": "//cloud.cocorobo.cn/mind/"
  5488. })
  5489. _box.appendChild(_iframe);
  5490. _box.appendChild(_jie);
  5491. _formdiv = new U.UF.UI.form(
  5492. "思维导图",
  5493. _box, { //"/jsmind/example/demo.html"
  5494. "id": "mind" + cid + stage + task + tool,
  5495. "style": {
  5496. "width": "90%",
  5497. "height": "90%",
  5498. "overflow": 'hidden'
  5499. },
  5500. "onresize": function () { }
  5501. }, {
  5502. closecallback: function () { }
  5503. }, {
  5504. "style": {
  5505. "height": "36px"
  5506. }
  5507. }).form; //创建窗体
  5508. _taskbar = {
  5509. "id": str + _formdiv.id,
  5510. "style": {
  5511. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5512. },
  5513. "name": "思维导图",
  5514. "forms": _formdiv,
  5515. "click": function () {
  5516. U.MD.D.I.openApplication(str, obj, info);
  5517. }
  5518. }
  5519. break;
  5520. case "doc":
  5521. aTool = 6;
  5522. _iframe = $$("iframe", {
  5523. "frameborder": "no",
  5524. "border": "0",
  5525. "scrolling ": "no",
  5526. "style": {
  5527. "cssText": "border:0;width:100%;height:100%"
  5528. },
  5529. "src": "/Office/Word/WordEditArea.htm"
  5530. })
  5531. _box.appendChild(_iframe);
  5532. _box.appendChild(_jie);
  5533. _formdiv = new U.UF.UI.form(
  5534. "协同文档",
  5535. _box, {
  5536. "id": "doc" + cid + stage + task + tool,
  5537. "style": {
  5538. "width": "90%",
  5539. "height": "90%",
  5540. "overflow": 'hidden'
  5541. },
  5542. "onresize": function () { }
  5543. }, {
  5544. closecallback: function () { }
  5545. }, {
  5546. "style": {
  5547. "height": "36px"
  5548. }
  5549. }).form; //创建窗体
  5550. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5551. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5552. })
  5553. _taskbar = {
  5554. "id": str + _formdiv.id,
  5555. "style": {
  5556. "backgroundImage": "url(/img/icon/doc.png)"
  5557. },
  5558. "name": "协同文档",
  5559. "forms": _formdiv,
  5560. "click": function () {
  5561. U.MD.D.I.openApplication(str, obj, info);
  5562. }
  5563. }
  5564. break;
  5565. case "mindNetwork": //好友打开
  5566. aTool = 7;
  5567. _iframe = $$("iframe", {
  5568. "webkitallowfullscreen": "",
  5569. "mozallowfullscreen": "",
  5570. "allowfullscreen": "",
  5571. "frameborder": "no",
  5572. "border": "0",
  5573. "scrolling ": "no",
  5574. "style": {
  5575. "cssText": "border:0; width:100%; height:100%;"
  5576. },
  5577. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5578. })
  5579. _box.appendChild(_iframe);
  5580. _box.appendChild(_jie);
  5581. _formdiv = new U.UF.UI.form(
  5582. "思维网格",
  5583. _box, {
  5584. "id": "mindNetwork" + cid + stage + task + tool,
  5585. "style": {
  5586. "width": "90%",
  5587. "height": "90%",
  5588. "overflow": 'hidden'
  5589. },
  5590. "onresize": function () { }
  5591. }, {
  5592. closecallback: function () { }
  5593. }, {
  5594. "style": {
  5595. "height": "36px"
  5596. }
  5597. }).form; //创建窗体
  5598. _taskbar = {
  5599. "id": str + _formdiv.id,
  5600. "style": {
  5601. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5602. },
  5603. "name": "思维网格",
  5604. "forms": _formdiv,
  5605. "click": function () {
  5606. U.MD.D.I.openApplication(str, obj, info);
  5607. }
  5608. }
  5609. break;
  5610. case "courseDesign":
  5611. _iframe = $$("iframe", {
  5612. "webkitallowfullscreen": "",
  5613. "mozallowfullscreen": "",
  5614. "allowfullscreen": "",
  5615. "frameborder": "no",
  5616. "border": "0",
  5617. "scrolling ": "no",
  5618. "style": {
  5619. "cssText": "border:0; width:100%; height:100%;"
  5620. },
  5621. "src": "/course-design-vue"
  5622. })
  5623. _box.appendChild(_iframe);
  5624. _box.appendChild(_jie);
  5625. _formdiv = new U.UF.UI.form(
  5626. "项目设计",
  5627. _box, {
  5628. "id": "courseDesign" + cid + stage + task + tool,
  5629. "style": {
  5630. "width": "90%",
  5631. "height": "90%",
  5632. "overflow": 'hidden'
  5633. },
  5634. "onresize": function () { }
  5635. }, {
  5636. closecallback: function () { }
  5637. }, {
  5638. "style": {
  5639. "height": "36px"
  5640. }
  5641. }).form; //创建窗体
  5642. _taskbar = {
  5643. "id": str + _formdiv.id,
  5644. "style": {
  5645. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5646. },
  5647. "name": "项目设计",
  5648. "forms": _formdiv,
  5649. "click": function () {
  5650. U.MD.D.I.openApplication(str, obj, info);
  5651. }
  5652. }
  5653. break;
  5654. }
  5655. const script1 = document.createElement("script");
  5656. script1.type = "text/javascript";
  5657. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5658. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5659. const script2 = document.createElement("script");
  5660. script2.type = "text/javascript";
  5661. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5662. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5663. const script3 = document.createElement("script");
  5664. script3.type = "text/javascript";
  5665. script3.charset = "UTF-8";
  5666. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5667. const script4 = document.createElement("script");
  5668. script4.type = "text/javascript";
  5669. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5670. script4.src = window.origin + "/js/Common/jietu2E.js";
  5671. if (_iframe) {
  5672. if (str == 'doc') {
  5673. _iframe = _formdiv.querySelector('iframe')
  5674. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5675. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5676. _iframe.contentWindow.document.body.appendChild(script1);
  5677. _iframe.contentWindow.document.body.appendChild(script2);
  5678. // _iframe.contentWindow.document.body.appendChild(script3);
  5679. _iframe.contentWindow.document.body.appendChild(script4);
  5680. })
  5681. if (onloadListener) {
  5682. _iframe.contentDocument.location.reload()
  5683. } else {
  5684. _iframe.contentDocument.location.reload()
  5685. }
  5686. } else if (str == 'courseDesign') {
  5687. U.UF.DL.iframeLoad(_iframe, function () {
  5688. // _iframe.contentWindow.U.MD.O.W.load();
  5689. // _iframe.contentWindow.document.body.appendChild(script1);
  5690. _iframe.contentWindow.document.body.appendChild(script2);
  5691. _iframe.contentWindow.document.body.appendChild(script4);
  5692. })
  5693. } else if (str == 'mind') {
  5694. _iframe = _formdiv.querySelector('iframe')
  5695. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5696. //
  5697. _iframe.contentWindow.document.body.appendChild(script1);
  5698. _iframe.contentWindow.document.body.appendChild(script2);
  5699. _iframe.contentWindow.document.body.appendChild(script4);
  5700. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5701. })
  5702. if (onloadListener) {
  5703. _iframe.contentDocument.location.reload()
  5704. } else {
  5705. _iframe.contentDocument.location.reload()
  5706. }
  5707. } else if (str == 'whiteboard') {
  5708. _iframe = _formdiv.querySelector('iframe')
  5709. let onloadListener = _iframe.onload = () => {
  5710. _iframe.contentWindow.document.body.appendChild(script1);
  5711. _iframe.contentWindow.document.body.appendChild(script2);
  5712. _iframe.contentWindow.document.body.appendChild(script4);
  5713. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5714. };
  5715. if (onloadListener) {
  5716. _iframe.contentDocument.location.reload()
  5717. } else {
  5718. _iframe.contentDocument.location.reload()
  5719. }
  5720. } else {
  5721. _iframe.onload = () => {
  5722. _iframe.contentWindow.document.body.appendChild(script1);
  5723. _iframe.contentWindow.document.body.appendChild(script2);
  5724. // _iframe.contentWindow.document.body.appendChild(script3);
  5725. _iframe.contentWindow.document.body.appendChild(script4);
  5726. };
  5727. }
  5728. _jie.onclick = async () => {
  5729. let text = ''
  5730. if (aTool == 1) {
  5731. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5732. } else if (aTool == 6) {
  5733. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5734. } else if (aTool == 3) {
  5735. text = await U.MD.D.I.getEditorContent(_iframe);
  5736. }
  5737. _loading.style.display = 'flex'
  5738. console.log(_loading);
  5739. var _ajs = _iframe.contentWindow.document.createElement("script");
  5740. _ajs.type = "text/javascript";
  5741. _ajs.innerHTML =
  5742. // 'console.log(' + _loading + ');\n' +
  5743. 'var _js = document.createElement("script");\n' +
  5744. '_js.type="text/javascript";\n' +
  5745. '_js.charset="UTF-8";\n' +
  5746. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5747. "_js.onload = function(){\n" +
  5748. ' var a = document.getElementsByTagName("img")\n' +
  5749. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5750. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5751. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5752. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5753. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5754. "beforeUpload_shishi(file," +
  5755. "'" +
  5756. _userid +
  5757. "'" +
  5758. ", " +
  5759. "'" +
  5760. _cid +
  5761. "'" +
  5762. ", " +
  5763. "'" +
  5764. _stage +
  5765. "'" +
  5766. ", " +
  5767. "'" +
  5768. _task +
  5769. "'" +
  5770. ", " +
  5771. "'" +
  5772. _tool +
  5773. "'" +
  5774. ", " +
  5775. "'" +
  5776. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5777. "'" +
  5778. ", " +
  5779. "'" +
  5780. aTool +
  5781. "'" +
  5782. ", " +
  5783. "`" +
  5784. text +
  5785. "`" +
  5786. ")\n" +
  5787. " });\n" +
  5788. "}\n" +
  5789. "document.head.appendChild(_js);\n";
  5790. _iframe.contentWindow.document.head.appendChild(_ajs);
  5791. }
  5792. }
  5793. //U.MD.D.I.openClick(str);
  5794. //如果有任务栏信息
  5795. // if (_taskbar) {
  5796. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5797. // }
  5798. }
  5799. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5800. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5801. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5802. _userid = student.userid, //登录用户id
  5803. _username = student.student //用户名字
  5804. let _iframe;
  5805. let _cid = cid,
  5806. _stage = stage,
  5807. _task = task,
  5808. _tool = tool;
  5809. var _jie = $$("div", {
  5810. "style": {
  5811. "position": "absolute",
  5812. "bottom": "50px",
  5813. "right": "50px",
  5814. "zIndex": "9999",
  5815. "backgroundColor": "#2268bc",
  5816. "color": "#fff",
  5817. "padding": "12px 20px",
  5818. "cursor": "pointer",
  5819. "borderRadius": "4px",
  5820. },
  5821. "innerHTML": "提交作业"
  5822. })
  5823. let aTool = ''
  5824. let _loading = document.createElement('div')
  5825. _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;"
  5826. // _loading.id = "";
  5827. let _lchild = document.createElement('div')
  5828. let _limg = document.createElement('img')
  5829. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5830. _limg.style = "width: 26px;margin-right: 10px;"
  5831. _lchild.appendChild(_limg)
  5832. let _lspan = document.createElement('span')
  5833. _lspan.innerHTML = "上传中..."
  5834. _lchild.appendChild(_lspan)
  5835. _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%);"
  5836. _loading.appendChild(_lchild)
  5837. var _box = $$('div', {
  5838. "style": {
  5839. "position": "relative",
  5840. "width": "100%",
  5841. "height": "100%",
  5842. },
  5843. })
  5844. _box.appendChild(_loading)
  5845. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5846. switch (str) {
  5847. case "whiteboard":
  5848. aTool = 1;
  5849. _iframe = $$("iframe", {
  5850. "frameborder": "no",
  5851. "border": "0",
  5852. "scrolling ": "no",
  5853. "style": {
  5854. "cssText": "border:0;width:100%;height:100%"
  5855. },
  5856. "src": "https://iwb.cocorobo.cn/"
  5857. })
  5858. _box.appendChild(_iframe);
  5859. _box.appendChild(_jie);
  5860. _formdiv = new U.UF.UI.form(
  5861. "电子白板-" + _username,
  5862. _box, {
  5863. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5864. "style": {
  5865. "width": "90%",
  5866. "height": "90%",
  5867. "overflow": 'hidden'
  5868. },
  5869. "onresize": function () { }
  5870. }, {
  5871. closecallback: function () { }
  5872. }, {
  5873. "style": {
  5874. "height": "36px"
  5875. }
  5876. }).form; //创建窗体
  5877. _taskbar = {
  5878. "id": str + _formdiv.id,
  5879. "style": {
  5880. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5881. },
  5882. "name": "电子白板",
  5883. "forms": _formdiv,
  5884. "click": function () {
  5885. U.MD.D.I.openApplication(str, obj, info);
  5886. }
  5887. }
  5888. break;
  5889. case "mind":
  5890. aTool = 3;
  5891. _iframe = $$("iframe", {
  5892. "frameborder": "no",
  5893. "border": "0",
  5894. "scrolling ": "no",
  5895. "style": {
  5896. "cssText": "border:0;width:100%;height:100%"
  5897. },
  5898. "src": "/kityminder-editor/dist/index.html"
  5899. })
  5900. _box.appendChild(_iframe);
  5901. _box.appendChild(_jie);
  5902. _formdiv = new U.UF.UI.form(
  5903. "思维导图-" + _username,
  5904. _box, { //"/jsmind/example/demo.html"
  5905. "id": "mind" + cid + stage + task + tool + _userid,
  5906. "style": {
  5907. "width": "90%",
  5908. "height": "90%",
  5909. "overflow": 'hidden'
  5910. },
  5911. "onresize": function () { }
  5912. }, {
  5913. closecallback: function () { }
  5914. }, {
  5915. "style": {
  5916. "height": "36px"
  5917. }
  5918. }).form; //创建窗体
  5919. _taskbar = {
  5920. "id": str + _formdiv.id,
  5921. "style": {
  5922. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5923. },
  5924. "name": "思维导图",
  5925. "forms": _formdiv,
  5926. "click": function () {
  5927. U.MD.D.I.openApplication(str, obj, info);
  5928. }
  5929. }
  5930. break;
  5931. case "MindMap":
  5932. aTool = 3;
  5933. _iframe = $$("iframe", {
  5934. "frameborder": "no",
  5935. "border": "0",
  5936. "scrolling ": "no",
  5937. "style": {
  5938. "cssText": "border:0;width:100%;height:100%"
  5939. },
  5940. "src": "//cloud.cocorobo.cn/mind/"
  5941. })
  5942. _box.appendChild(_iframe);
  5943. _box.appendChild(_jie);
  5944. _formdiv = new U.UF.UI.form(
  5945. "思维导图-" + _username,
  5946. _box, { //"/jsmind/example/demo.html"
  5947. "id": "mind" + cid + stage + task + tool + _userid,
  5948. "style": {
  5949. "width": "90%",
  5950. "height": "90%",
  5951. "overflow": 'hidden'
  5952. },
  5953. "onresize": function () { }
  5954. }, {
  5955. closecallback: function () { }
  5956. }, {
  5957. "style": {
  5958. "height": "36px"
  5959. }
  5960. }).form; //创建窗体
  5961. _taskbar = {
  5962. "id": str + _formdiv.id,
  5963. "style": {
  5964. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5965. },
  5966. "name": "思维导图",
  5967. "forms": _formdiv,
  5968. "click": function () {
  5969. U.MD.D.I.openApplication(str, obj, info);
  5970. }
  5971. }
  5972. break;
  5973. case "doc":
  5974. aTool = 6;
  5975. _iframe = $$("iframe", {
  5976. "frameborder": "no",
  5977. "border": "0",
  5978. "scrolling ": "no",
  5979. "style": {
  5980. "cssText": "border:0;width:100%;height:100%"
  5981. },
  5982. "src": "/Office/Word/WordEditArea.htm"
  5983. })
  5984. _box.appendChild(_iframe);
  5985. _box.appendChild(_jie);
  5986. _formdiv = new U.UF.UI.form(
  5987. "协同文档-" + _username,
  5988. _box, {
  5989. "id": "doc" + cid + stage + task + tool + _userid,
  5990. "style": {
  5991. "width": "90%",
  5992. "height": "90%",
  5993. "overflow": 'hidden'
  5994. },
  5995. "onresize": function () { }
  5996. }, {
  5997. closecallback: function () { }
  5998. }, {
  5999. "style": {
  6000. "height": "36px"
  6001. }
  6002. }).form; //创建窗体
  6003. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6004. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6005. })
  6006. _taskbar = {
  6007. "id": str + _formdiv.id,
  6008. "style": {
  6009. "backgroundImage": "url(/img/icon/doc.png)"
  6010. },
  6011. "name": "协同文档",
  6012. "forms": _formdiv,
  6013. "click": function () {
  6014. U.MD.D.I.openApplication(str, obj, info);
  6015. }
  6016. }
  6017. break;
  6018. case "mindNetwork": //好友打开
  6019. aTool = 7;
  6020. _iframe = $$("iframe", {
  6021. "webkitallowfullscreen": "",
  6022. "mozallowfullscreen": "",
  6023. "allowfullscreen": "",
  6024. "frameborder": "no",
  6025. "border": "0",
  6026. "scrolling ": "no",
  6027. "style": {
  6028. "cssText": "border:0; width:100%; height:100%;"
  6029. },
  6030. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6031. })
  6032. _box.appendChild(_iframe);
  6033. _box.appendChild(_jie);
  6034. _formdiv = new U.UF.UI.form(
  6035. "思维网格-" + _username,
  6036. _box, {
  6037. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6038. "style": {
  6039. "width": "90%",
  6040. "height": "90%",
  6041. "overflow": 'hidden'
  6042. },
  6043. "onresize": function () { }
  6044. }, {
  6045. closecallback: function () { }
  6046. }, {
  6047. "style": {
  6048. "height": "36px"
  6049. }
  6050. }).form; //创建窗体
  6051. _taskbar = {
  6052. "id": str + _formdiv.id,
  6053. "style": {
  6054. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6055. },
  6056. "name": "思维网格",
  6057. "forms": _formdiv,
  6058. "click": function () {
  6059. U.MD.D.I.openApplication(str, obj, info);
  6060. }
  6061. }
  6062. break;
  6063. case "courseDesign":
  6064. _iframe = $$("iframe", {
  6065. "webkitallowfullscreen": "",
  6066. "mozallowfullscreen": "",
  6067. "allowfullscreen": "",
  6068. "frameborder": "no",
  6069. "border": "0",
  6070. "scrolling ": "no",
  6071. "style": {
  6072. "cssText": "border:0; width:100%; height:100%;"
  6073. },
  6074. "src": "/course-design-vue"
  6075. })
  6076. _box.appendChild(_iframe);
  6077. _box.appendChild(_jie);
  6078. _formdiv = new U.UF.UI.form(
  6079. "项目设计-" + _username,
  6080. _box, {
  6081. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6082. "style": {
  6083. "width": "90%",
  6084. "height": "90%",
  6085. "overflow": 'hidden'
  6086. },
  6087. "onresize": function () { }
  6088. }, {
  6089. closecallback: function () { }
  6090. }, {
  6091. "style": {
  6092. "height": "36px"
  6093. }
  6094. }).form; //创建窗体
  6095. _taskbar = {
  6096. "id": str + _formdiv.id,
  6097. "style": {
  6098. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6099. },
  6100. "name": "项目设计",
  6101. "forms": _formdiv,
  6102. "click": function () {
  6103. U.MD.D.I.openApplication(str, obj, info);
  6104. }
  6105. }
  6106. break;
  6107. }
  6108. const script1 = document.createElement("script");
  6109. script1.type = "text/javascript";
  6110. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6111. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6112. const script2 = document.createElement("script");
  6113. script2.type = "text/javascript";
  6114. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6115. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6116. const script3 = document.createElement("script");
  6117. script3.type = "text/javascript";
  6118. script3.charset = "UTF-8";
  6119. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6120. const script4 = document.createElement("script");
  6121. script4.type = "text/javascript";
  6122. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6123. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6124. if (_iframe) {
  6125. if (str == 'doc') {
  6126. _iframe = _formdiv.querySelector('iframe')
  6127. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6128. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6129. _iframe.contentWindow.document.body.appendChild(script1);
  6130. _iframe.contentWindow.document.body.appendChild(script2);
  6131. // _iframe.contentWindow.document.body.appendChild(script3);
  6132. _iframe.contentWindow.document.body.appendChild(script4);
  6133. })
  6134. if (onloadListener) {
  6135. _iframe.contentDocument.location.reload()
  6136. } else {
  6137. _iframe.contentDocument.location.reload()
  6138. }
  6139. } else if (str == 'courseDesign') {
  6140. U.UF.DL.iframeLoad(_iframe, function () {
  6141. // _iframe.contentWindow.U.MD.O.W.load();
  6142. // _iframe.contentWindow.document.body.appendChild(script1);
  6143. _iframe.contentWindow.document.body.appendChild(script2);
  6144. _iframe.contentWindow.document.body.appendChild(script4);
  6145. })
  6146. } else if (str == 'mind') {
  6147. _iframe = _formdiv.querySelector('iframe')
  6148. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6149. //
  6150. _iframe.contentWindow.document.body.appendChild(script1);
  6151. _iframe.contentWindow.document.body.appendChild(script2);
  6152. _iframe.contentWindow.document.body.appendChild(script4);
  6153. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6154. })
  6155. if (onloadListener) {
  6156. _iframe.contentDocument.location.reload()
  6157. } else {
  6158. _iframe.contentDocument.location.reload()
  6159. }
  6160. } else if (str == 'whiteboard') {
  6161. _iframe = _formdiv.querySelector('iframe')
  6162. let onloadListener = _iframe.onload = () => {
  6163. _iframe.contentWindow.document.body.appendChild(script1);
  6164. _iframe.contentWindow.document.body.appendChild(script2);
  6165. _iframe.contentWindow.document.body.appendChild(script4);
  6166. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6167. };
  6168. if (onloadListener) {
  6169. _iframe.contentDocument.location.reload()
  6170. } else {
  6171. _iframe.contentDocument.location.reload()
  6172. }
  6173. } else {
  6174. _iframe.onload = () => {
  6175. _iframe.contentWindow.document.body.appendChild(script1);
  6176. _iframe.contentWindow.document.body.appendChild(script2);
  6177. // _iframe.contentWindow.document.body.appendChild(script3);
  6178. _iframe.contentWindow.document.body.appendChild(script4);
  6179. };
  6180. }
  6181. _jie.onclick = async () => {
  6182. let text = ''
  6183. if (aTool == 1) {
  6184. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6185. } else if (aTool == 6) {
  6186. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6187. } else if (aTool == 3) {
  6188. text = await U.MD.D.I.getEditorContent(_iframe);
  6189. }
  6190. _loading.style.display = 'flex'
  6191. console.log(_loading);
  6192. var _ajs = _iframe.contentWindow.document.createElement("script");
  6193. _ajs.type = "text/javascript";
  6194. _ajs.innerHTML =
  6195. // 'console.log(' + _loading + ');\n' +
  6196. 'var _js = document.createElement("script");\n' +
  6197. '_js.type="text/javascript";\n' +
  6198. '_js.charset="UTF-8";\n' +
  6199. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6200. "_js.onload = function(){\n" +
  6201. ' var a = document.getElementsByTagName("img")\n' +
  6202. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6203. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6204. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6205. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6206. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6207. "beforeUpload_shishi(file," +
  6208. "'" +
  6209. _userid +
  6210. "'" +
  6211. ", " +
  6212. "'" +
  6213. _cid +
  6214. "'" +
  6215. ", " +
  6216. "'" +
  6217. _stage +
  6218. "'" +
  6219. ", " +
  6220. "'" +
  6221. _task +
  6222. "'" +
  6223. ", " +
  6224. "'" +
  6225. _tool +
  6226. "'" +
  6227. ", " +
  6228. "'" +
  6229. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6230. "'" +
  6231. ", " +
  6232. "'" +
  6233. aTool +
  6234. "'" +
  6235. ", " +
  6236. "`" +
  6237. text +
  6238. "`" +
  6239. ")\n" +
  6240. " });\n" +
  6241. "}\n" +
  6242. "document.head.appendChild(_js);\n";
  6243. _iframe.contentWindow.document.head.appendChild(_ajs);
  6244. }
  6245. }
  6246. }
  6247. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6248. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6249. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6250. _userid = student.userid, //登录用户id
  6251. _username = student.student //用户名字
  6252. let _iframe;
  6253. let _cid = cid,
  6254. _stage = stage,
  6255. _task = task,
  6256. _tool = tool;
  6257. var _jie = $$("div", {
  6258. "style": {
  6259. "position": "absolute",
  6260. "bottom": "50px",
  6261. "right": "50px",
  6262. "zIndex": "9999",
  6263. "backgroundColor": "#2268bc",
  6264. "color": "#fff",
  6265. "padding": "12px 20px",
  6266. "cursor": "pointer",
  6267. "borderRadius": "4px",
  6268. },
  6269. "innerHTML": "提交作业"
  6270. })
  6271. let aTool = ''
  6272. let _loading = document.createElement('div')
  6273. _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;"
  6274. // _loading.id = "";
  6275. let _lchild = document.createElement('div')
  6276. let _limg = document.createElement('img')
  6277. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6278. _limg.style = "width: 26px;margin-right: 10px;"
  6279. _lchild.appendChild(_limg)
  6280. let _lspan = document.createElement('span')
  6281. _lspan.innerHTML = "上传中..."
  6282. _lchild.appendChild(_lspan)
  6283. _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%);"
  6284. _loading.appendChild(_lchild)
  6285. var _box = $$('div', {
  6286. "style": {
  6287. "position": "relative",
  6288. "width": "100%",
  6289. "height": "100%",
  6290. },
  6291. })
  6292. _box.appendChild(_loading)
  6293. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6294. switch (str) {
  6295. case "whiteboard":
  6296. aTool = 1;
  6297. _iframe = $$("iframe", {
  6298. "frameborder": "no",
  6299. "border": "0",
  6300. "scrolling ": "no",
  6301. "style": {
  6302. "cssText": "border:0;width:100%;height:100%"
  6303. },
  6304. "src": "https://iwb.cocorobo.cn/"
  6305. })
  6306. _box.appendChild(_iframe);
  6307. _box.appendChild(_jie);
  6308. _formdiv = new U.UF.UI.form(
  6309. "电子白板-" + _username,
  6310. _box, {
  6311. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6312. "style": {
  6313. "width": "90%",
  6314. "height": "90%",
  6315. "overflow": 'hidden'
  6316. },
  6317. "onresize": function () { }
  6318. }, {
  6319. closecallback: function () { }
  6320. }, {
  6321. "style": {
  6322. "height": "36px"
  6323. }
  6324. }).form; //创建窗体
  6325. _taskbar = {
  6326. "id": str + _formdiv.id,
  6327. "style": {
  6328. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6329. },
  6330. "name": "电子白板",
  6331. "forms": _formdiv,
  6332. "click": function () {
  6333. U.MD.D.I.openApplication(str, obj, info);
  6334. }
  6335. }
  6336. break;
  6337. case "mind":
  6338. aTool = 3;
  6339. _iframe = $$("iframe", {
  6340. "frameborder": "no",
  6341. "border": "0",
  6342. "scrolling ": "no",
  6343. "style": {
  6344. "cssText": "border:0;width:100%;height:100%"
  6345. },
  6346. "src": "/kityminder-editor/dist/index.html"
  6347. })
  6348. _box.appendChild(_iframe);
  6349. _box.appendChild(_jie);
  6350. _formdiv = new U.UF.UI.form(
  6351. "思维导图-" + _username,
  6352. _box, { //"/jsmind/example/demo.html"
  6353. "id": "mind" + cid + stage + task + tool + _userid,
  6354. "style": {
  6355. "width": "90%",
  6356. "height": "90%",
  6357. "overflow": 'hidden'
  6358. },
  6359. "onresize": function () { }
  6360. }, {
  6361. closecallback: function () { }
  6362. }, {
  6363. "style": {
  6364. "height": "36px"
  6365. }
  6366. }).form; //创建窗体
  6367. _taskbar = {
  6368. "id": str + _formdiv.id,
  6369. "style": {
  6370. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6371. },
  6372. "name": "思维导图",
  6373. "forms": _formdiv,
  6374. "click": function () {
  6375. U.MD.D.I.openApplication(str, obj, info);
  6376. }
  6377. }
  6378. break;
  6379. case "MindMap":
  6380. aTool = 3;
  6381. _iframe = $$("iframe", {
  6382. "frameborder": "no",
  6383. "border": "0",
  6384. "scrolling ": "no",
  6385. "style": {
  6386. "cssText": "border:0;width:100%;height:100%"
  6387. },
  6388. "src": "//cloud.cocorobo.cn/mind/"
  6389. })
  6390. _box.appendChild(_iframe);
  6391. _box.appendChild(_jie);
  6392. _formdiv = new U.UF.UI.form(
  6393. "思维导图-" + _username,
  6394. _box, { //"/jsmind/example/demo.html"
  6395. "id": "mind" + cid + stage + task + tool + _userid,
  6396. "style": {
  6397. "width": "90%",
  6398. "height": "90%",
  6399. "overflow": 'hidden'
  6400. },
  6401. "onresize": function () { }
  6402. }, {
  6403. closecallback: function () { }
  6404. }, {
  6405. "style": {
  6406. "height": "36px"
  6407. }
  6408. }).form; //创建窗体
  6409. _taskbar = {
  6410. "id": str + _formdiv.id,
  6411. "style": {
  6412. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6413. },
  6414. "name": "思维导图",
  6415. "forms": _formdiv,
  6416. "click": function () {
  6417. U.MD.D.I.openApplication(str, obj, info);
  6418. }
  6419. }
  6420. break;
  6421. case "doc":
  6422. aTool = 6;
  6423. _iframe = $$("iframe", {
  6424. "frameborder": "no",
  6425. "border": "0",
  6426. "scrolling ": "no",
  6427. "style": {
  6428. "cssText": "border:0;width:100%;height:100%"
  6429. },
  6430. "src": "/Office/Word/WordEditArea.htm"
  6431. })
  6432. _box.appendChild(_iframe);
  6433. _box.appendChild(_jie);
  6434. _formdiv = new U.UF.UI.form(
  6435. "协同文档-" + _username,
  6436. _box, {
  6437. "id": "doc" + cid + stage + task + tool + _userid,
  6438. "style": {
  6439. "width": "90%",
  6440. "height": "90%",
  6441. "overflow": 'hidden'
  6442. },
  6443. "onresize": function () { }
  6444. }, {
  6445. closecallback: function () { }
  6446. }, {
  6447. "style": {
  6448. "height": "36px"
  6449. }
  6450. }).form; //创建窗体
  6451. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6452. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6453. })
  6454. _taskbar = {
  6455. "id": str + _formdiv.id,
  6456. "style": {
  6457. "backgroundImage": "url(/img/icon/doc.png)"
  6458. },
  6459. "name": "协同文档",
  6460. "forms": _formdiv,
  6461. "click": function () {
  6462. U.MD.D.I.openApplication(str, obj, info);
  6463. }
  6464. }
  6465. break;
  6466. case "mindNetwork": //好友打开
  6467. aTool = 7;
  6468. _iframe = $$("iframe", {
  6469. "webkitallowfullscreen": "",
  6470. "mozallowfullscreen": "",
  6471. "allowfullscreen": "",
  6472. "frameborder": "no",
  6473. "border": "0",
  6474. "scrolling ": "no",
  6475. "style": {
  6476. "cssText": "border:0; width:100%; height:100%;"
  6477. },
  6478. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6479. })
  6480. _box.appendChild(_iframe);
  6481. _box.appendChild(_jie);
  6482. _formdiv = new U.UF.UI.form(
  6483. "思维网格-" + _username,
  6484. _box, {
  6485. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6486. "style": {
  6487. "width": "90%",
  6488. "height": "90%",
  6489. "overflow": 'hidden'
  6490. },
  6491. "onresize": function () { }
  6492. }, {
  6493. closecallback: function () { }
  6494. }, {
  6495. "style": {
  6496. "height": "36px"
  6497. }
  6498. }).form; //创建窗体
  6499. _taskbar = {
  6500. "id": str + _formdiv.id,
  6501. "style": {
  6502. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6503. },
  6504. "name": "思维网格",
  6505. "forms": _formdiv,
  6506. "click": function () {
  6507. U.MD.D.I.openApplication(str, obj, info);
  6508. }
  6509. }
  6510. break;
  6511. case "courseDesign":
  6512. _iframe = $$("iframe", {
  6513. "webkitallowfullscreen": "",
  6514. "mozallowfullscreen": "",
  6515. "allowfullscreen": "",
  6516. "frameborder": "no",
  6517. "border": "0",
  6518. "scrolling ": "no",
  6519. "style": {
  6520. "cssText": "border:0; width:100%; height:100%;"
  6521. },
  6522. "src": "/course-design-vue"
  6523. })
  6524. _box.appendChild(_iframe);
  6525. _box.appendChild(_jie);
  6526. _formdiv = new U.UF.UI.form(
  6527. "项目设计-" + _username,
  6528. _box, {
  6529. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6530. "style": {
  6531. "width": "90%",
  6532. "height": "90%",
  6533. "overflow": 'hidden'
  6534. },
  6535. "onresize": function () { }
  6536. }, {
  6537. closecallback: function () { }
  6538. }, {
  6539. "style": {
  6540. "height": "36px"
  6541. }
  6542. }).form; //创建窗体
  6543. _taskbar = {
  6544. "id": str + _formdiv.id,
  6545. "style": {
  6546. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6547. },
  6548. "name": "项目设计",
  6549. "forms": _formdiv,
  6550. "click": function () {
  6551. U.MD.D.I.openApplication(str, obj, info);
  6552. }
  6553. }
  6554. break;
  6555. }
  6556. const script1 = document.createElement("script");
  6557. script1.type = "text/javascript";
  6558. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6559. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6560. const script2 = document.createElement("script");
  6561. script2.type = "text/javascript";
  6562. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6563. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6564. const script3 = document.createElement("script");
  6565. script3.type = "text/javascript";
  6566. script3.charset = "UTF-8";
  6567. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6568. const script4 = document.createElement("script");
  6569. script4.type = "text/javascript";
  6570. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6571. script4.src = window.origin + "/js/Common/jietu2E.js";
  6572. if (_iframe) {
  6573. if (str == 'doc') {
  6574. _iframe = _formdiv.querySelector('iframe')
  6575. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6576. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6577. _iframe.contentWindow.document.body.appendChild(script1);
  6578. _iframe.contentWindow.document.body.appendChild(script2);
  6579. // _iframe.contentWindow.document.body.appendChild(script3);
  6580. _iframe.contentWindow.document.body.appendChild(script4);
  6581. })
  6582. if (onloadListener) {
  6583. _iframe.contentDocument.location.reload()
  6584. } else {
  6585. _iframe.contentDocument.location.reload()
  6586. }
  6587. } else if (str == 'courseDesign') {
  6588. U.UF.DL.iframeLoad(_iframe, function () {
  6589. // _iframe.contentWindow.U.MD.O.W.load();
  6590. // _iframe.contentWindow.document.body.appendChild(script1);
  6591. _iframe.contentWindow.document.body.appendChild(script2);
  6592. _iframe.contentWindow.document.body.appendChild(script4);
  6593. })
  6594. } else if (str == 'mind') {
  6595. _iframe = _formdiv.querySelector('iframe')
  6596. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6597. //
  6598. _iframe.contentWindow.document.body.appendChild(script1);
  6599. _iframe.contentWindow.document.body.appendChild(script2);
  6600. _iframe.contentWindow.document.body.appendChild(script4);
  6601. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6602. })
  6603. if (onloadListener) {
  6604. _iframe.contentDocument.location.reload()
  6605. } else {
  6606. _iframe.contentDocument.location.reload()
  6607. }
  6608. } else if (str == 'whiteboard') {
  6609. _iframe = _formdiv.querySelector('iframe')
  6610. let onloadListener = _iframe.onload = () => {
  6611. _iframe.contentWindow.document.body.appendChild(script1);
  6612. _iframe.contentWindow.document.body.appendChild(script2);
  6613. _iframe.contentWindow.document.body.appendChild(script4);
  6614. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6615. };
  6616. if (onloadListener) {
  6617. _iframe.contentDocument.location.reload()
  6618. } else {
  6619. _iframe.contentDocument.location.reload()
  6620. }
  6621. } else {
  6622. _iframe.onload = () => {
  6623. _iframe.contentWindow.document.body.appendChild(script1);
  6624. _iframe.contentWindow.document.body.appendChild(script2);
  6625. // _iframe.contentWindow.document.body.appendChild(script3);
  6626. _iframe.contentWindow.document.body.appendChild(script4);
  6627. };
  6628. }
  6629. _jie.onclick = async () => {
  6630. let text = ''
  6631. if (aTool == 1) {
  6632. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6633. } else if (aTool == 6) {
  6634. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6635. } else if (aTool == 3) {
  6636. text = await U.MD.D.I.getEditorContent(_iframe);
  6637. }
  6638. _loading.style.display = 'flex'
  6639. console.log(_loading);
  6640. var _ajs = _iframe.contentWindow.document.createElement("script");
  6641. _ajs.type = "text/javascript";
  6642. _ajs.innerHTML =
  6643. // 'console.log(' + _loading + ');\n' +
  6644. 'var _js = document.createElement("script");\n' +
  6645. '_js.type="text/javascript";\n' +
  6646. '_js.charset="UTF-8";\n' +
  6647. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6648. "_js.onload = function(){\n" +
  6649. ' var a = document.getElementsByTagName("img")\n' +
  6650. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6651. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6652. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6653. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6654. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6655. "beforeUpload_shishi(file," +
  6656. "'" +
  6657. _userid +
  6658. "'" +
  6659. ", " +
  6660. "'" +
  6661. _cid +
  6662. "'" +
  6663. ", " +
  6664. "'" +
  6665. _stage +
  6666. "'" +
  6667. ", " +
  6668. "'" +
  6669. _task +
  6670. "'" +
  6671. ", " +
  6672. "'" +
  6673. _tool +
  6674. "'" +
  6675. ", " +
  6676. "'" +
  6677. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6678. "'" +
  6679. ", " +
  6680. "'" +
  6681. aTool +
  6682. "'" +
  6683. ", " +
  6684. "`" +
  6685. text +
  6686. "`" +
  6687. ")\n" +
  6688. " });\n" +
  6689. "}\n" +
  6690. "document.head.appendChild(_js);\n";
  6691. _iframe.contentWindow.document.head.appendChild(_ajs);
  6692. }
  6693. }
  6694. }
  6695. U.MD.D.I.getEditorContent = function (iframe) {
  6696. return new Promise((resolve, reject) => {
  6697. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6698. console.log(content);
  6699. resolve(content)
  6700. });
  6701. });
  6702. }
  6703. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6704. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6705. // if (res.value[0].length > 0) {
  6706. // // resolve(res.value[0][0].text);
  6707. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6708. // $(fileInput).val('');
  6709. // });
  6710. // }
  6711. // }, [], { "type": "GET", "withCredentials": true });
  6712. var xmlhttp;
  6713. var Mac, Sn, DeviceId
  6714. if (window.XMLHttpRequest) {
  6715. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6716. xmlhttp = new XMLHttpRequest();
  6717. } else {
  6718. // IE6, IE5 浏览器执行代码
  6719. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6720. }
  6721. xmlhttp.onreadystatechange = function () {
  6722. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6723. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6724. // resolve(res.value[0][0].text);
  6725. if (type == '2') {
  6726. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6727. } else if (type == '3') {
  6728. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6729. }
  6730. } else {
  6731. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6732. }
  6733. }
  6734. }
  6735. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6736. xmlhttp.send();
  6737. }
  6738. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6739. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6740. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6741. _userinfo = US.userInfo, //登录用户信息
  6742. _userid = US.userInfo.userid //登录用户id
  6743. let _iframe;
  6744. let _cid = cid,
  6745. _stage = stage,
  6746. _task = task,
  6747. _tool = tool;
  6748. var _jie = $$("div", {
  6749. "style": {
  6750. "position": "absolute",
  6751. "bottom": "50px",
  6752. "right": "50px",
  6753. "zIndex": "9999",
  6754. "backgroundColor": "#2268bc",
  6755. "color": "#fff",
  6756. "padding": "12px 20px",
  6757. "cursor": "pointer",
  6758. "borderRadius": "4px",
  6759. },
  6760. "innerHTML": "确认并提交"
  6761. })
  6762. let aTool = ''
  6763. let _loading = document.createElement('div')
  6764. _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;"
  6765. // _loading.id = "";
  6766. let _lchild = document.createElement('div')
  6767. let _limg = document.createElement('img')
  6768. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6769. _limg.style = "width: 26px;margin-right: 10px;"
  6770. _lchild.appendChild(_limg)
  6771. let _lspan = document.createElement('span')
  6772. _lspan.innerHTML = "上传中..."
  6773. _lchild.appendChild(_lspan)
  6774. _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%);"
  6775. _loading.appendChild(_lchild)
  6776. var _box = $$('div', {
  6777. "style": {
  6778. "position": "relative",
  6779. "width": "100%",
  6780. "height": "100%",
  6781. },
  6782. })
  6783. _box.appendChild(_loading)
  6784. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6785. switch (str) {
  6786. case "whiteboard":
  6787. aTool = 1;
  6788. _iframe = $$("iframe", {
  6789. "frameborder": "no",
  6790. "border": "0",
  6791. "scrolling ": "no",
  6792. "style": {
  6793. "cssText": "border:0;width:100%;height:100%"
  6794. },
  6795. "src": "https://iwb.cocorobo.cn/"
  6796. })
  6797. _box.appendChild(_iframe);
  6798. _box.appendChild(_jie);
  6799. _formdiv = new U.UF.UI.form(
  6800. "电子白板",
  6801. _box, {
  6802. "id": "whiteboards" + cid + stage + task + tool,
  6803. "style": {
  6804. "width": "90%",
  6805. "height": "90%",
  6806. "overflow": 'hidden'
  6807. },
  6808. "onresize": function () { }
  6809. }, {
  6810. closecallback: function () { }
  6811. }, {
  6812. "style": {
  6813. "height": "36px"
  6814. }
  6815. }).form; //创建窗体
  6816. _taskbar = {
  6817. "id": str + _formdiv.id,
  6818. "style": {
  6819. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6820. },
  6821. "name": "电子白板",
  6822. "forms": _formdiv,
  6823. "click": function () {
  6824. U.MD.D.I.openApplication(str, obj, info);
  6825. }
  6826. }
  6827. break;
  6828. case "mind":
  6829. aTool = 3;
  6830. _iframe = $$("iframe", {
  6831. "frameborder": "no",
  6832. "border": "0",
  6833. "scrolling ": "no",
  6834. "style": {
  6835. "cssText": "border:0;width:100%;height:100%"
  6836. },
  6837. "src": "/kityminder-editor/dist/index.html"
  6838. });
  6839. _box.appendChild(_iframe);
  6840. _box.appendChild(_jie);
  6841. _formdiv = new U.UF.UI.form(
  6842. "思维导图",
  6843. _box, { //"/jsmind/example/demo.html"
  6844. "id": "minds" + cid + stage + task + tool,
  6845. "style": {
  6846. "width": "90%",
  6847. "height": "90%",
  6848. "overflow": 'hidden'
  6849. },
  6850. "onresize": function () { }
  6851. }, {
  6852. closecallback: function () { }
  6853. }, {
  6854. "style": {
  6855. "height": "36px"
  6856. }
  6857. }).form; //创建窗体
  6858. _taskbar = {
  6859. "id": str + _formdiv.id,
  6860. "style": {
  6861. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6862. },
  6863. "name": "思维导图",
  6864. "forms": _formdiv,
  6865. "click": function () {
  6866. U.MD.D.I.openApplication(str, obj, info);
  6867. }
  6868. }
  6869. break;
  6870. case "doc":
  6871. aTool = 6;
  6872. _iframe = $$("iframe", {
  6873. "frameborder": "no",
  6874. "border": "0",
  6875. "scrolling ": "no",
  6876. "style": {
  6877. "cssText": "border:0;width:100%;height:100%"
  6878. },
  6879. "src": "/Office/Word/WordEditArea.htm"
  6880. })
  6881. _box.appendChild(_iframe);
  6882. _box.appendChild(_jie);
  6883. _formdiv = new U.UF.UI.form(
  6884. "协同文档",
  6885. _box, {
  6886. "id": "docs" + cid + stage + task + tool,
  6887. "style": {
  6888. "width": "90%",
  6889. "height": "90%",
  6890. "overflow": 'hidden'
  6891. },
  6892. "onresize": function () { }
  6893. }, {
  6894. closecallback: function () { }
  6895. }, {
  6896. "style": {
  6897. "height": "36px"
  6898. }
  6899. }).form; //创建窗体
  6900. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6901. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6902. })
  6903. _taskbar = {
  6904. "id": str + _formdiv.id,
  6905. "style": {
  6906. "backgroundImage": "url(/img/icon/doc.png)"
  6907. },
  6908. "name": "协同文档",
  6909. "forms": _formdiv,
  6910. "click": function () {
  6911. U.MD.D.I.openApplication(str, obj, info);
  6912. }
  6913. }
  6914. break;
  6915. }
  6916. const script1 = document.createElement("script");
  6917. script1.type = "text/javascript";
  6918. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6919. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6920. const script2 = document.createElement("script");
  6921. script2.type = "text/javascript";
  6922. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6923. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6924. const script3 = document.createElement("script");
  6925. script3.type = "text/javascript";
  6926. script3.charset = "UTF-8";
  6927. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6928. const script4 = document.createElement("script");
  6929. script4.type = "text/javascript";
  6930. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6931. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6932. if (_iframe) {
  6933. if (str == 'doc') {
  6934. _iframe = _formdiv.querySelector('iframe')
  6935. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6936. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6937. _iframe.contentWindow.document.body.appendChild(script1);
  6938. _iframe.contentWindow.document.body.appendChild(script2);
  6939. // _iframe.contentWindow.document.body.appendChild(script3);
  6940. _iframe.contentWindow.document.body.appendChild(script4);
  6941. })
  6942. if (onloadListener) {
  6943. _iframe.contentDocument.location.reload()
  6944. } else {
  6945. _iframe.contentDocument.location.reload()
  6946. }
  6947. } else if (str == 'mind') {
  6948. _iframe = _formdiv.querySelector('iframe')
  6949. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6950. _iframe.contentWindow.document.body.appendChild(script1);
  6951. _iframe.contentWindow.document.body.appendChild(script2);
  6952. _iframe.contentWindow.document.body.appendChild(script4);
  6953. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6954. })
  6955. if (onloadListener) {
  6956. _iframe.contentDocument.location.reload()
  6957. } else {
  6958. _iframe.contentDocument.location.reload()
  6959. }
  6960. } else {
  6961. _iframe.onload = () => {
  6962. _iframe.contentWindow.document.body.appendChild(script1);
  6963. _iframe.contentWindow.document.body.appendChild(script2);
  6964. // _iframe.contentWindow.document.body.appendChild(script3);
  6965. _iframe.contentWindow.document.body.appendChild(script4);
  6966. };
  6967. }
  6968. _jie.onclick = async () => {
  6969. let text = ''
  6970. if (aTool == 6) {
  6971. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6972. } else if (aTool == 3) {
  6973. text = await U.MD.D.I.getEditorContent(_iframe);
  6974. }
  6975. _loading.style.display = 'flex'
  6976. console.log(_loading);
  6977. var _ajs = _iframe.contentWindow.document.createElement("script");
  6978. _ajs.type = "text/javascript";
  6979. _ajs.innerHTML =
  6980. // 'console.log(' + _loading + ');\n' +
  6981. 'var _js = document.createElement("script");\n' +
  6982. '_js.type="text/javascript";\n' +
  6983. '_js.charset="UTF-8";\n' +
  6984. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6985. "_js.onload = function(){\n" +
  6986. ' var a = document.getElementsByTagName("img")\n' +
  6987. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6988. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6989. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6990. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6991. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6992. "beforeUpload_shishi(file," +
  6993. "'" +
  6994. _userid +
  6995. "'" +
  6996. ", " +
  6997. "'" +
  6998. _cid +
  6999. "'" +
  7000. ", " +
  7001. "'" +
  7002. _stage +
  7003. "'" +
  7004. ", " +
  7005. "'" +
  7006. _task +
  7007. "'" +
  7008. ", " +
  7009. "'" +
  7010. _tool +
  7011. "'" +
  7012. ", " +
  7013. "'" +
  7014. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7015. "'" +
  7016. ", " +
  7017. "'" +
  7018. aTool +
  7019. "'" +
  7020. ", " +
  7021. "`" +
  7022. text +
  7023. "`" +
  7024. ")\n" +
  7025. " });\n" +
  7026. "}\n" +
  7027. "document.head.appendChild(_js);\n";
  7028. _iframe.contentWindow.document.head.appendChild(_ajs);
  7029. }
  7030. }
  7031. //U.MD.D.I.openClick(str);
  7032. //如果有任务栏信息
  7033. // if (_taskbar) {
  7034. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7035. // }
  7036. }
  7037. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7038. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7039. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7040. _userinfo = US.userInfo, //登录用户信息
  7041. _userid = US.userInfo.userid //登录用户id
  7042. let _iframe;
  7043. let _cid = cid,
  7044. _stage = stage,
  7045. _task = task,
  7046. _tool = tool;
  7047. var _jie = $$("div", {
  7048. "style": {
  7049. "position": "absolute",
  7050. "bottom": "50px",
  7051. "right": "50px",
  7052. "zIndex": "9999",
  7053. "backgroundColor": "#2268bc",
  7054. "color": "#fff",
  7055. "padding": "12px 20px",
  7056. "cursor": "pointer",
  7057. "borderRadius": "4px",
  7058. },
  7059. "innerHTML": "确认并提交"
  7060. })
  7061. let aTool = ''
  7062. let _loading = document.createElement('div')
  7063. _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;"
  7064. // _loading.id = "";
  7065. let _lchild = document.createElement('div')
  7066. let _limg = document.createElement('img')
  7067. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7068. _limg.style = "width: 26px;margin-right: 10px;"
  7069. _lchild.appendChild(_limg)
  7070. let _lspan = document.createElement('span')
  7071. _lspan.innerHTML = "上传中..."
  7072. _lchild.appendChild(_lspan)
  7073. _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%);"
  7074. _loading.appendChild(_lchild)
  7075. var _box = $$('div', {
  7076. "style": {
  7077. "position": "relative",
  7078. "width": "100%",
  7079. "height": "100%",
  7080. },
  7081. })
  7082. _box.appendChild(_loading)
  7083. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7084. switch (str) {
  7085. case "whiteboard":
  7086. aTool = 1;
  7087. _iframe = $$("iframe", {
  7088. "frameborder": "no",
  7089. "border": "0",
  7090. "scrolling ": "no",
  7091. "style": {
  7092. "cssText": "border:0;width:100%;height:100%"
  7093. },
  7094. "src": "https://iwb.cocorobo.cn/"
  7095. })
  7096. _box.appendChild(_iframe);
  7097. _box.appendChild(_jie);
  7098. _formdiv = new U.UF.UI.form(
  7099. "电子白板",
  7100. _box, {
  7101. "id": "whiteboards" + cid + stage + task + tool,
  7102. "style": {
  7103. "width": "90%",
  7104. "height": "90%",
  7105. "overflow": 'hidden'
  7106. },
  7107. "onresize": function () { }
  7108. }, {
  7109. closecallback: function () { }
  7110. }, {
  7111. "style": {
  7112. "height": "36px"
  7113. }
  7114. }).form; //创建窗体
  7115. _taskbar = {
  7116. "id": str + _formdiv.id,
  7117. "style": {
  7118. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7119. },
  7120. "name": "电子白板",
  7121. "forms": _formdiv,
  7122. "click": function () {
  7123. U.MD.D.I.openApplication(str, obj, info);
  7124. }
  7125. }
  7126. break;
  7127. case "mind":
  7128. aTool = 3;
  7129. _iframe = $$("iframe", {
  7130. "frameborder": "no",
  7131. "border": "0",
  7132. "scrolling ": "no",
  7133. "style": {
  7134. "cssText": "border:0;width:100%;height:100%"
  7135. },
  7136. "src": "/kityminder-editor/dist/index.html"
  7137. });
  7138. _box.appendChild(_iframe);
  7139. _box.appendChild(_jie);
  7140. _formdiv = new U.UF.UI.form(
  7141. "思维导图",
  7142. _box, { //"/jsmind/example/demo.html"
  7143. "id": "minds" + cid + stage + task + tool,
  7144. "style": {
  7145. "width": "90%",
  7146. "height": "90%",
  7147. "overflow": 'hidden'
  7148. },
  7149. "onresize": function () { }
  7150. }, {
  7151. closecallback: function () { }
  7152. }, {
  7153. "style": {
  7154. "height": "36px"
  7155. }
  7156. }).form; //创建窗体
  7157. _taskbar = {
  7158. "id": str + _formdiv.id,
  7159. "style": {
  7160. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7161. },
  7162. "name": "思维导图",
  7163. "forms": _formdiv,
  7164. "click": function () {
  7165. U.MD.D.I.openApplication(str, obj, info);
  7166. }
  7167. }
  7168. break;
  7169. case "doc":
  7170. aTool = 6;
  7171. _iframe = $$("iframe", {
  7172. "frameborder": "no",
  7173. "border": "0",
  7174. "scrolling ": "no",
  7175. "style": {
  7176. "cssText": "border:0;width:100%;height:100%"
  7177. },
  7178. "src": "/Office/Word/WordEditArea.htm"
  7179. })
  7180. _box.appendChild(_iframe);
  7181. _box.appendChild(_jie);
  7182. _formdiv = new U.UF.UI.form(
  7183. "协同文档",
  7184. _box, {
  7185. "id": "docs" + cid + stage + task + tool,
  7186. "style": {
  7187. "width": "90%",
  7188. "height": "90%",
  7189. "overflow": 'hidden'
  7190. },
  7191. "onresize": function () { }
  7192. }, {
  7193. closecallback: function () { }
  7194. }, {
  7195. "style": {
  7196. "height": "36px"
  7197. }
  7198. }).form; //创建窗体
  7199. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7200. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7201. })
  7202. _taskbar = {
  7203. "id": str + _formdiv.id,
  7204. "style": {
  7205. "backgroundImage": "url(/img/icon/doc.png)"
  7206. },
  7207. "name": "协同文档",
  7208. "forms": _formdiv,
  7209. "click": function () {
  7210. U.MD.D.I.openApplication(str, obj, info);
  7211. }
  7212. }
  7213. break;
  7214. }
  7215. const script1 = document.createElement("script");
  7216. script1.type = "text/javascript";
  7217. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7218. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7219. const script2 = document.createElement("script");
  7220. script2.type = "text/javascript";
  7221. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7222. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7223. const script3 = document.createElement("script");
  7224. script3.type = "text/javascript";
  7225. script3.charset = "UTF-8";
  7226. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7227. const script4 = document.createElement("script");
  7228. script4.type = "text/javascript";
  7229. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7230. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7231. if (_iframe) {
  7232. if (str == 'doc') {
  7233. _iframe = _formdiv.querySelector('iframe')
  7234. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7235. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7236. _iframe.contentWindow.document.body.appendChild(script1);
  7237. _iframe.contentWindow.document.body.appendChild(script2);
  7238. // _iframe.contentWindow.document.body.appendChild(script3);
  7239. _iframe.contentWindow.document.body.appendChild(script4);
  7240. })
  7241. if (onloadListener) {
  7242. _iframe.contentDocument.location.reload()
  7243. } else {
  7244. _iframe.contentDocument.location.reload()
  7245. }
  7246. } else if (str == 'mind') {
  7247. _iframe = _formdiv.querySelector('iframe')
  7248. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7249. _iframe.contentWindow.document.body.appendChild(script1);
  7250. _iframe.contentWindow.document.body.appendChild(script2);
  7251. _iframe.contentWindow.document.body.appendChild(script4);
  7252. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7253. })
  7254. if (onloadListener) {
  7255. _iframe.contentDocument.location.reload()
  7256. } else {
  7257. _iframe.contentDocument.location.reload()
  7258. }
  7259. } else {
  7260. _iframe.onload = () => {
  7261. _iframe.contentWindow.document.body.appendChild(script1);
  7262. _iframe.contentWindow.document.body.appendChild(script2);
  7263. // _iframe.contentWindow.document.body.appendChild(script3);
  7264. _iframe.contentWindow.document.body.appendChild(script4);
  7265. };
  7266. }
  7267. _jie.onclick = async () => {
  7268. let text = ''
  7269. if (aTool == 6) {
  7270. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7271. } else if (aTool == 3) {
  7272. text = await U.MD.D.I.getEditorContent(_iframe);
  7273. }
  7274. _loading.style.display = 'flex'
  7275. console.log(_loading);
  7276. var _ajs = _iframe.contentWindow.document.createElement("script");
  7277. _ajs.type = "text/javascript";
  7278. _ajs.innerHTML =
  7279. // 'console.log(' + _loading + ');\n' +
  7280. 'var _js = document.createElement("script");\n' +
  7281. '_js.type="text/javascript";\n' +
  7282. '_js.charset="UTF-8";\n' +
  7283. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7284. "_js.onload = function(){\n" +
  7285. ' var a = document.getElementsByTagName("img")\n' +
  7286. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7287. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7288. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7289. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7290. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7291. "beforeUpload_shishi(file," +
  7292. "'" +
  7293. _userid +
  7294. "'" +
  7295. ", " +
  7296. "'" +
  7297. _cid +
  7298. "'" +
  7299. ", " +
  7300. "'" +
  7301. _stage +
  7302. "'" +
  7303. ", " +
  7304. "'" +
  7305. _task +
  7306. "'" +
  7307. ", " +
  7308. "'" +
  7309. _tool +
  7310. "'" +
  7311. ", " +
  7312. "'" +
  7313. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7314. "'" +
  7315. ", " +
  7316. "'" +
  7317. aTool +
  7318. "'" +
  7319. ", " +
  7320. "`" +
  7321. text +
  7322. "`" +
  7323. ")\n" +
  7324. " });\n" +
  7325. "}\n" +
  7326. "document.head.appendChild(_js);\n";
  7327. _iframe.contentWindow.document.head.appendChild(_ajs);
  7328. }
  7329. }
  7330. //U.MD.D.I.openClick(str);
  7331. //如果有任务栏信息
  7332. // if (_taskbar) {
  7333. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7334. // }
  7335. }
  7336. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7337. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7338. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7339. _userinfo = US.userInfo, //登录用户信息
  7340. _userid = US.userInfo.userid //登录用户id
  7341. let _iframe;
  7342. let _cid = cid,
  7343. _stage = stage,
  7344. _task = task,
  7345. _tool = tool;
  7346. var _jie = $$("div", {
  7347. "style": {
  7348. "position": "absolute",
  7349. "bottom": "50px",
  7350. "right": "50px",
  7351. "zIndex": "9999",
  7352. "backgroundColor": "#2268bc",
  7353. "color": "#fff",
  7354. "padding": "12px 20px",
  7355. "cursor": "pointer",
  7356. "borderRadius": "4px",
  7357. },
  7358. "innerHTML": "上传模板"
  7359. })
  7360. let aTool = ''
  7361. let _loading = document.createElement('div')
  7362. _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;"
  7363. // _loading.id = "";
  7364. let _lchild = document.createElement('div')
  7365. let _limg = document.createElement('img')
  7366. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7367. _limg.style = "width: 26px;margin-right: 10px;"
  7368. _lchild.appendChild(_limg)
  7369. let _lspan = document.createElement('span')
  7370. _lspan.innerHTML = "上传中..."
  7371. _lchild.appendChild(_lspan)
  7372. _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%);"
  7373. _loading.appendChild(_lchild)
  7374. var _box = $$('div', {
  7375. "style": {
  7376. "position": "relative",
  7377. "width": "100%",
  7378. "height": "100%",
  7379. },
  7380. })
  7381. _box.appendChild(_loading)
  7382. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7383. switch (str) {
  7384. case "whiteboard":
  7385. aTool = 1;
  7386. _iframe = $$("iframe", {
  7387. "frameborder": "no",
  7388. "border": "0",
  7389. "scrolling ": "no",
  7390. "style": {
  7391. "cssText": "border:0;width:100%;height:100%"
  7392. },
  7393. "src": "https://iwb.cocorobo.cn/"
  7394. })
  7395. _box.appendChild(_iframe);
  7396. _box.appendChild(_jie);
  7397. _formdiv = new U.UF.UI.form(
  7398. "电子白板",
  7399. _box, {
  7400. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7401. "style": {
  7402. "width": "90%",
  7403. "height": "90%",
  7404. "overflow": 'hidden'
  7405. },
  7406. "onresize": function () { }
  7407. }, {
  7408. closecallback: function () { }
  7409. }, {
  7410. "style": {
  7411. "height": "36px"
  7412. }
  7413. }).form; //创建窗体
  7414. _taskbar = {
  7415. "id": str + _formdiv.id,
  7416. "style": {
  7417. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7418. },
  7419. "name": "电子白板",
  7420. "forms": _formdiv,
  7421. "click": function () {
  7422. U.MD.D.I.openApplication(str, obj, info);
  7423. }
  7424. }
  7425. break;
  7426. case "mind":
  7427. aTool = 3;
  7428. _iframe = $$("iframe", {
  7429. "frameborder": "no",
  7430. "border": "0",
  7431. "scrolling ": "no",
  7432. "style": {
  7433. "cssText": "border:0;width:100%;height:100%"
  7434. },
  7435. "src": "/kityminder-editor/dist/index.html"
  7436. });
  7437. _box.appendChild(_iframe);
  7438. _box.appendChild(_jie);
  7439. _formdiv = new U.UF.UI.form(
  7440. "思维导图",
  7441. _box, { //"/jsmind/example/demo.html"
  7442. "id": "minds_Yu" + cid + stage + task + tool,
  7443. "style": {
  7444. "width": "90%",
  7445. "height": "90%",
  7446. "overflow": 'hidden'
  7447. },
  7448. "onresize": function () { }
  7449. }, {
  7450. closecallback: function () { }
  7451. }, {
  7452. "style": {
  7453. "height": "36px"
  7454. }
  7455. }).form; //创建窗体
  7456. _taskbar = {
  7457. "id": str + _formdiv.id,
  7458. "style": {
  7459. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7460. },
  7461. "name": "思维导图",
  7462. "forms": _formdiv,
  7463. "click": function () {
  7464. U.MD.D.I.openApplication(str, obj, info);
  7465. }
  7466. }
  7467. break;
  7468. case "doc":
  7469. aTool = 6;
  7470. _iframe = $$("iframe", {
  7471. "frameborder": "no",
  7472. "border": "0",
  7473. "scrolling ": "no",
  7474. "style": {
  7475. "cssText": "border:0;width:100%;height:100%"
  7476. },
  7477. "src": "/Office/Word/WordEditArea.htm"
  7478. })
  7479. _box.appendChild(_iframe);
  7480. _box.appendChild(_jie);
  7481. _formdiv = new U.UF.UI.form(
  7482. "协同文档",
  7483. _box, {
  7484. "id": "docs_Yu" + cid + stage + task + tool,
  7485. "style": {
  7486. "width": "90%",
  7487. "height": "90%",
  7488. "overflow": 'hidden'
  7489. },
  7490. "onresize": function () { }
  7491. }, {
  7492. closecallback: function () { }
  7493. }, {
  7494. "style": {
  7495. "height": "36px"
  7496. }
  7497. }).form; //创建窗体
  7498. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7499. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7500. })
  7501. _taskbar = {
  7502. "id": str + _formdiv.id,
  7503. "style": {
  7504. "backgroundImage": "url(/img/icon/doc.png)"
  7505. },
  7506. "name": "协同文档",
  7507. "forms": _formdiv,
  7508. "click": function () {
  7509. U.MD.D.I.openApplication(str, obj, info);
  7510. }
  7511. }
  7512. break;
  7513. case "CocoPi":
  7514. aTool = 57;
  7515. _iframe = $$("iframe", {
  7516. "allowpaymentrequest": "allowpaymentrequest",
  7517. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7518. "webkitallowfullscreen": "",
  7519. "mozallowfullscreen": "",
  7520. "frameborder": "no",
  7521. "border": "0",
  7522. "scrolling ": "no",
  7523. "style": {
  7524. "cssText": "border:0;width:100%;height:100%"
  7525. },
  7526. "src": "https://pi.cocorobo.cn/"
  7527. })
  7528. _box.appendChild(_iframe);
  7529. _box.appendChild(_jie);
  7530. _formdiv = new U.UF.UI.form(
  7531. "CocoPi",
  7532. _box, {
  7533. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7534. "style": {
  7535. "width": "90%",
  7536. "height": "90%",
  7537. "overflow": 'hidden'
  7538. },
  7539. "onresize": function () { }
  7540. }, {
  7541. closecallback: function () { }
  7542. }, {
  7543. "style": {
  7544. "height": "36px"
  7545. }
  7546. }).form; //创建窗体
  7547. _taskbar = {
  7548. "id": str + _formdiv.id,
  7549. "style": {
  7550. "backgroundImage": "url(/img/icon/cocopi.png)"
  7551. },
  7552. "name": "CocoPi",
  7553. "forms": _formdiv,
  7554. "click": function () {
  7555. U.MD.D.I.openApplication(str, obj, info);
  7556. }
  7557. }
  7558. break;
  7559. }
  7560. if (_iframe) {
  7561. if (str == 'doc') {
  7562. _iframe = _formdiv.querySelector('iframe')
  7563. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7564. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7565. })
  7566. if (onloadListener) {
  7567. _iframe.contentDocument.location.reload()
  7568. } else {
  7569. _iframe.contentDocument.location.reload()
  7570. }
  7571. } else if (str == 'mind') {
  7572. _iframe = _formdiv.querySelector('iframe')
  7573. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7574. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7575. })
  7576. if (onloadListener) {
  7577. _iframe.contentDocument.location.reload()
  7578. } else {
  7579. _iframe.contentDocument.location.reload()
  7580. }
  7581. } else if (str == 'whiteboard') {
  7582. _iframe = _formdiv.querySelector('iframe')
  7583. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7584. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7585. })
  7586. if (onloadListener) {
  7587. _iframe.contentDocument.location.reload()
  7588. } else {
  7589. _iframe.contentDocument.location.reload()
  7590. }
  7591. } else if (str == 'CocoPi') {
  7592. _iframe = _formdiv.querySelector('iframe')
  7593. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7594. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7595. })
  7596. if (onloadListener) {
  7597. _iframe.contentDocument.location.reload()
  7598. } else {
  7599. _iframe.contentDocument.location.reload()
  7600. }
  7601. } else {
  7602. _iframe.onload = () => { };
  7603. }
  7604. _jie.onclick = async () => {
  7605. let text = ''
  7606. let type = '2'
  7607. if (aTool == 1) {
  7608. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7609. type = '3'
  7610. } else if (aTool == 6) {
  7611. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7612. type = '1'
  7613. } else if (aTool == 3) {
  7614. text = await U.MD.D.I.getEditorContent(_iframe);
  7615. type = '2'
  7616. } else if (aTool == 57) {
  7617. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7618. type = '4'
  7619. }
  7620. _loading.style.display = 'flex'
  7621. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7622. }
  7623. }
  7624. //U.MD.D.I.openClick(str);
  7625. //如果有任务栏信息
  7626. // if (_taskbar) {
  7627. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7628. // }
  7629. }
  7630. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7631. var xmlhttp;
  7632. var Mac, Sn, DeviceId
  7633. if (window.XMLHttpRequest) {
  7634. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7635. xmlhttp = new XMLHttpRequest();
  7636. } else {
  7637. // IE6, IE5 浏览器执行代码
  7638. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7639. }
  7640. xmlhttp.onreadystatechange = function () {
  7641. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7642. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7643. // resolve(res.value[0][0].text);
  7644. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7645. }
  7646. }
  7647. }
  7648. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7649. xmlhttp.send();
  7650. }
  7651. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7652. var xmlhttp;
  7653. var Mac, Sn, DeviceId
  7654. if (window.XMLHttpRequest) {
  7655. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7656. xmlhttp = new XMLHttpRequest();
  7657. } else {
  7658. // IE6, IE5 浏览器执行代码
  7659. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7660. }
  7661. xmlhttp.onreadystatechange = function () {
  7662. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7663. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7664. // resolve(res.value[0][0].text);
  7665. if (type == '2') {
  7666. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7667. } else if (type == '3') {
  7668. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7669. } else if (type == '4') {
  7670. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7671. }
  7672. } else {
  7673. if (type == '2') {
  7674. iframe.contentWindow.editor.minder.importData('json', '')
  7675. } else if (type == '3') {
  7676. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7677. } else if (type == '4') {
  7678. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7679. }
  7680. }
  7681. }
  7682. }
  7683. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7684. xmlhttp.send();
  7685. }
  7686. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7687. var xmlhttp;
  7688. var Mac, Sn, DeviceId
  7689. if (window.XMLHttpRequest) {
  7690. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7691. xmlhttp = new XMLHttpRequest();
  7692. } else {
  7693. // IE6, IE5 浏览器执行代码
  7694. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7695. }
  7696. xmlhttp.onreadystatechange = function () {
  7697. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7698. if (xmlhttp.response) {
  7699. // resolve(res.value[0][0].text);
  7700. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7701. // $(fileInput).val('');
  7702. // });
  7703. span.innerHTML = '上传成功'
  7704. setTimeout(() => {
  7705. loading.style.display = 'none'
  7706. }, 1000);
  7707. }
  7708. }
  7709. }
  7710. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7711. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7712. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7713. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7714. // 设置请求头,表示请求体的编码格式
  7715. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7716. // 设置请求体,使用url-encoded格式的数据
  7717. }
  7718. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7719. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7720. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7721. _userinfo = US.userInfo, //登录用户信息
  7722. _userid = US.userInfo.userid //登录用户id
  7723. let _iframe;
  7724. let _cid = cid,
  7725. _stage = stage,
  7726. _task = task,
  7727. _tool = tool;
  7728. var _jie = $$("div", {
  7729. "style": {
  7730. "position": "absolute",
  7731. "bottom": "50px",
  7732. "right": "50px",
  7733. "zIndex": "9999",
  7734. "backgroundColor": "#2268bc",
  7735. "color": "#fff",
  7736. "padding": "12px 20px",
  7737. "cursor": "pointer",
  7738. "borderRadius": "4px",
  7739. },
  7740. "innerHTML": "提交作业"
  7741. })
  7742. let aTool = ''
  7743. let _loading = document.createElement('div')
  7744. _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;"
  7745. // _loading.id = "";
  7746. let _lchild = document.createElement('div')
  7747. let _limg = document.createElement('img')
  7748. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7749. _limg.style = "width: 26px;margin-right: 10px;"
  7750. _lchild.appendChild(_limg)
  7751. let _lspan = document.createElement('span')
  7752. _lspan.innerHTML = "上传中..."
  7753. _lchild.appendChild(_lspan)
  7754. _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%);"
  7755. _loading.appendChild(_lchild)
  7756. var _box = $$('div', {
  7757. "style": {
  7758. "position": "relative",
  7759. "width": "100%",
  7760. "height": "100%",
  7761. },
  7762. })
  7763. _box.appendChild(_loading)
  7764. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7765. switch (str) {
  7766. case "CocoPi":
  7767. aTool = 57;
  7768. _iframe = $$("iframe", {
  7769. "allowpaymentrequest": "allowpaymentrequest",
  7770. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7771. "webkitallowfullscreen": "",
  7772. "mozallowfullscreen": "",
  7773. "frameborder": "no",
  7774. "border": "0",
  7775. "scrolling ": "no",
  7776. "style": {
  7777. "cssText": "border:0;width:100%;height:100%"
  7778. },
  7779. "src": "https://pi.cocorobo.cn/"
  7780. })
  7781. _box.appendChild(_iframe);
  7782. _box.appendChild(_jie);
  7783. _formdiv = new U.UF.UI.form(
  7784. "CocoPi",
  7785. _box, {
  7786. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7787. "style": {
  7788. "width": "90%",
  7789. "height": "90%",
  7790. "overflow": 'hidden'
  7791. },
  7792. "onresize": function () { }
  7793. }, {
  7794. closecallback: function () { }
  7795. }, {
  7796. "style": {
  7797. "height": "36px"
  7798. }
  7799. }).form; //创建窗体
  7800. _taskbar = {
  7801. "id": str + _formdiv.id,
  7802. "style": {
  7803. "backgroundImage": "url(/img/icon/cocopi.png)"
  7804. },
  7805. "name": "CocoPi",
  7806. "forms": _formdiv,
  7807. "click": function () {
  7808. U.MD.D.I.openApplication(str, obj, info);
  7809. }
  7810. }
  7811. break;
  7812. }
  7813. if (_iframe) {
  7814. if (str == 'CocoPi') {
  7815. _iframe = _formdiv.querySelector('iframe')
  7816. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7817. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7818. })
  7819. if (onloadListener) {
  7820. _iframe.contentDocument.location.reload()
  7821. } else {
  7822. _iframe.contentDocument.location.reload()
  7823. }
  7824. }
  7825. _jie.onclick = async () => {
  7826. let text = ''
  7827. if (aTool == 57) {
  7828. text = _iframe.contentWindow.getLoadXmlStr()
  7829. }
  7830. _loading.style.display = 'flex'
  7831. console.log(_loading);
  7832. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7833. _loading.style.display = 'none'
  7834. let _div = document.createElement('div')
  7835. _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;"
  7836. let _inner = document.createElement('div')
  7837. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7838. _inner.innerHTML = "上传成功"
  7839. _div.appendChild(_inner)
  7840. _iframe.contentWindow.window.document.body.appendChild(_div)
  7841. _div.onclick = () => {
  7842. _iframe.contentWindow.window.document.body.removeChild(_div)
  7843. }
  7844. setTimeout(() => {
  7845. _iframe.contentWindow.window.document.body.removeChild(_div)
  7846. }, 1000);
  7847. }, [], { "type": "POST", "withCredentials": true });
  7848. }
  7849. }
  7850. }
  7851. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7852. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7853. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7854. _userid = student.userid, //登录用户id
  7855. _username = student.student //用户名字
  7856. let _iframe;
  7857. let _cid = cid,
  7858. _stage = stage,
  7859. _task = task,
  7860. _tool = tool;
  7861. var _jie = $$("div", {
  7862. "style": {
  7863. "position": "absolute",
  7864. "bottom": "50px",
  7865. "right": "50px",
  7866. "zIndex": "9999",
  7867. "backgroundColor": "#2268bc",
  7868. "color": "#fff",
  7869. "padding": "12px 20px",
  7870. "cursor": "pointer",
  7871. "borderRadius": "4px",
  7872. },
  7873. "innerHTML": "提交作业"
  7874. })
  7875. let aTool = ''
  7876. let _loading = document.createElement('div')
  7877. _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;"
  7878. // _loading.id = "";
  7879. let _lchild = document.createElement('div')
  7880. let _limg = document.createElement('img')
  7881. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7882. _limg.style = "width: 26px;margin-right: 10px;"
  7883. _lchild.appendChild(_limg)
  7884. let _lspan = document.createElement('span')
  7885. _lspan.innerHTML = "上传中..."
  7886. _lchild.appendChild(_lspan)
  7887. _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%);"
  7888. _loading.appendChild(_lchild)
  7889. var _box = $$('div', {
  7890. "style": {
  7891. "position": "relative",
  7892. "width": "100%",
  7893. "height": "100%",
  7894. },
  7895. })
  7896. _box.appendChild(_loading)
  7897. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7898. switch (str) {
  7899. case "CocoPi":
  7900. aTool = 57;
  7901. _iframe = $$("iframe", {
  7902. "allowpaymentrequest": "allowpaymentrequest",
  7903. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7904. "webkitallowfullscreen": "",
  7905. "mozallowfullscreen": "",
  7906. "frameborder": "no",
  7907. "border": "0",
  7908. "scrolling ": "no",
  7909. "style": {
  7910. "cssText": "border:0;width:100%;height:100%"
  7911. },
  7912. "src": "https://pi.cocorobo.cn/"
  7913. })
  7914. _box.appendChild(_iframe);
  7915. _box.appendChild(_jie);
  7916. _formdiv = new U.UF.UI.form(
  7917. "CocoPi-" + _username,
  7918. _box, {
  7919. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7920. "style": {
  7921. "width": "90%",
  7922. "height": "90%",
  7923. "overflow": 'hidden'
  7924. },
  7925. "onresize": function () { }
  7926. }, {
  7927. closecallback: function () { }
  7928. }, {
  7929. "style": {
  7930. "height": "36px"
  7931. }
  7932. }).form; //创建窗体
  7933. _taskbar = {
  7934. "id": str + _formdiv.id,
  7935. "style": {
  7936. "backgroundImage": "url(/img/icon/cocopi.png)"
  7937. },
  7938. "name": "CocoPi",
  7939. "forms": _formdiv,
  7940. "click": function () {
  7941. U.MD.D.I.openApplication(str, obj, info);
  7942. }
  7943. }
  7944. break;
  7945. }
  7946. if (_iframe) {
  7947. if (str == 'CocoPi') {
  7948. _iframe = _formdiv.querySelector('iframe')
  7949. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7950. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7951. })
  7952. if (onloadListener) {
  7953. _iframe.contentDocument.location.reload()
  7954. } else {
  7955. _iframe.contentDocument.location.reload()
  7956. }
  7957. }
  7958. _jie.onclick = async () => {
  7959. let text = ''
  7960. if (aTool == 57) {
  7961. text = _iframe.contentWindow.getLoadXmlStr()
  7962. }
  7963. _loading.style.display = 'flex'
  7964. console.log(_loading);
  7965. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7966. _loading.style.display = 'none'
  7967. let _div = document.createElement('div')
  7968. _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;"
  7969. let _inner = document.createElement('div')
  7970. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7971. _inner.innerHTML = "上传成功"
  7972. _div.appendChild(_inner)
  7973. _iframe.contentWindow.window.document.body.appendChild(_div)
  7974. _div.onclick = () => {
  7975. _iframe.contentWindow.window.document.body.removeChild(_div)
  7976. }
  7977. setTimeout(() => {
  7978. _iframe.contentWindow.window.document.body.removeChild(_div)
  7979. }, 1000);
  7980. }, [], { "type": "POST", "withCredentials": true });
  7981. }
  7982. }
  7983. }
  7984. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7985. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7986. if (res.value[0].length > 0) {
  7987. if (atool == 57) {
  7988. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7989. }
  7990. } else {
  7991. if (atool == 57) {
  7992. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7993. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7994. }
  7995. }
  7996. }, [], { "type": "POST", "withCredentials": true });
  7997. }