DeskTop.js 490 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227
  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. ];
  628. //教科院实小教师桌面图标的全局变量
  629. U.MD.D.I.siesStudentDeskIcon = [
  630. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  634. ];
  635. //福田
  636. U.MD.D.I.gdjgTeacherDeskIcon = [
  637. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  638. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  642. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  643. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  644. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  645. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  646. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  647. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  648. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  649. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  650. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  651. ];
  652. //gdjg
  653. U.MD.D.I.gdjgAdminDeskIcon = [
  654. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  655. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  659. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  660. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  661. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  662. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  664. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  665. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  666. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  667. ];
  668. //hk
  669. U.MD.D.I.hkteacherDeskIcon = [
  670. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  671. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  672. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  673. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  674. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  675. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  676. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  677. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  678. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  679. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  680. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  681. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  682. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  683. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  686. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  687. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  688. ];
  689. //hk
  690. U.MD.D.I.hkStudentDeskIcon = [
  691. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  692. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  693. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  694. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  696. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkaceteacherDeskIcon = [
  700. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  701. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  702. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  703. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  704. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  705. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  706. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  707. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  708. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  709. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  710. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  711. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  712. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  713. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  715. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  716. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  717. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  718. ];
  719. //hk
  720. U.MD.D.I.hkaceStudentDeskIcon = [
  721. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  722. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  723. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  724. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  725. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  726. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  727. ];
  728. //香海正覺蓮社佛教正覺中學
  729. U.MD.D.I.hkZJLSteacherDeskIcon = [
  730. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  731. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  733. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  734. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  735. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  736. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  737. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  738. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  739. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  740. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  741. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  742. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  743. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  744. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  745. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  746. ];
  747. //香海正覺蓮社佛教正覺中學
  748. U.MD.D.I.hkZJLSStudentDeskIcon = [
  749. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  750. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  751. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  752. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. ];
  754. //云海
  755. U.MD.D.I.yunhaiTeacherDeskIcon = [
  756. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  757. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  759. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  760. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  763. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  764. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  765. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  766. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  767. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  768. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  769. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  770. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  771. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  772. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  773. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  774. ];
  775. //福田
  776. U.MD.D.I.heyuanTeacherDeskIcon = [
  777. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  778. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  779. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  780. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  781. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  782. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  783. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  784. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  785. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  786. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  788. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  789. ];
  790. //福田
  791. U.MD.D.I.heyuanAdminDeskIcon = [
  792. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  793. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  794. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  795. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  796. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  797. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  798. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  799. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  800. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  801. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  802. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  803. ];
  804. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  805. U.MD.D.I.szherTeacherDeskIcon = [
  806. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  807. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  808. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  809. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  810. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  811. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  812. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  813. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  814. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  816. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  817. ];
  818. //dsei
  819. U.MD.D.I.dseiTeacherDeskIcon = [
  820. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  821. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  822. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  823. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  824. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  825. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  826. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  827. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  828. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  829. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  830. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  831. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  832. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  833. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  834. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  835. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  836. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  837. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  838. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  839. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  840. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  841. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  842. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  843. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  844. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  845. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  846. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  847. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  848. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  849. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  850. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  851. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  852. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  853. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  854. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  855. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  856. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  857. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  858. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  859. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  860. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  861. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  862. ];
  863. //dsei
  864. U.MD.D.I.dseiAdminDeskIcon = [
  865. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  866. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  867. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  868. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  872. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  873. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  874. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  875. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  876. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  877. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  878. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  879. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  880. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  881. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  882. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  883. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  884. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  885. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  886. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  887. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  888. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  889. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  890. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  891. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  892. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  893. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  894. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  895. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  896. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  897. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  898. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  899. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  900. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  901. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  902. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  903. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  905. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  906. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  907. ];
  908. //dsei
  909. U.MD.D.I.dseiStudentDeskIcon = [
  910. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  911. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  912. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  913. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  916. ];
  917. //未来教育基地
  918. U.MD.D.I.szjkyTeacherDeskIcon = [
  919. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  920. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  921. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  924. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  925. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  926. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  927. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  928. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  929. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  930. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  931. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  932. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  933. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  934. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  935. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  936. ];
  937. //未来教育基地
  938. U.MD.D.I.szjkyAdminDeskIcon = [
  939. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  940. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  941. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  942. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  943. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  944. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  945. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  946. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  947. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  948. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  949. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  950. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  951. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  955. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  956. ];
  957. //未来教育基地
  958. U.MD.D.I.szjkyStudentDeskIcon = [
  959. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  960. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  961. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  962. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  963. ];
  964. //成华教育局
  965. U.MD.D.I.chjyjTeacherDeskIcon = [
  966. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  967. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  968. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  969. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  970. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  971. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  972. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  973. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  974. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  975. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  976. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  977. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  978. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  979. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  980. ];
  981. //成华教育局chjyj
  982. U.MD.D.I.chjyjAdminDeskIcon = [
  983. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  984. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  988. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  989. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  990. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  991. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  992. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  993. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  994. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  997. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  998. ];
  999. //成华教育局chjyj
  1000. U.MD.D.I.chjyjStudentDeskIcon = [
  1001. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1002. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1003. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1004. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1005. ];
  1006. //tpc
  1007. U.MD.D.I.tpcStudentDeskIcon = [
  1008. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1012. ];
  1013. //tpc
  1014. U.MD.D.I.tpcTeacherDeskIcon = [
  1015. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1016. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1017. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1018. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1019. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1021. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcAdminDeskIcon = [
  1025. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1026. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1031. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1032. ];
  1033. //THU-IOE
  1034. U.MD.D.I.thuioeTeacherDeskIcon = [
  1035. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1036. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1037. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1038. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1039. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1040. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1041. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1042. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1043. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1044. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1045. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1046. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1047. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1048. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1049. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1050. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1051. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1052. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1053. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1054. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1055. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1056. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1057. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1058. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1059. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1060. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1061. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1062. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1063. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1064. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1065. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1066. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1067. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1068. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1069. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1070. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1071. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1072. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1073. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1074. ];
  1075. //THU-IOE
  1076. U.MD.D.I.thuioeStudentDeskIcon = [
  1077. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1078. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1079. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1080. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1081. ];
  1082. //jccssyl
  1083. U.MD.D.I.jccssylTeacherDeskIcon = [
  1084. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1085. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1086. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1087. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1088. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1089. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1090. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1091. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1092. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1093. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1094. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1095. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1096. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1097. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1098. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1099. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1100. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1101. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1102. ];
  1103. //jccssyl
  1104. U.MD.D.I.jccssylStudentDeskIcon = [
  1105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1106. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1107. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1108. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1109. ];
  1110. //#region 桌面初始化a
  1111. /**
  1112. * 初始化桌面的起始函数
  1113. *
  1114. */
  1115. U.MD.D.I.init = function () {
  1116. if ($("#U_MD_D_K")[0]) {
  1117. //初始化桌面图标
  1118. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1119. // var clickUrl = ':12588/requestIp.php';
  1120. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1121. // U.MD.D.I.Ip = data;
  1122. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1123. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1124. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1125. // })
  1126. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1127. // })
  1128. }
  1129. }
  1130. /**
  1131. * 模式切换
  1132. *
  1133. */
  1134. U.MD.D.I.ModeCheck = function (type) {
  1135. if (US.Config.type == type) {
  1136. return
  1137. }
  1138. US.Config.type = type
  1139. $('.U_PBL_Check .active')[0].className = ''
  1140. if (type == 1) {
  1141. $('.U_PBL_Check div')[0].className = 'active'
  1142. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1143. } else {
  1144. $('.U_PBL_Check div')[1].className = 'active'
  1145. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1146. }
  1147. //初始化桌面图标
  1148. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1149. if (type == 2) {
  1150. U.MD.D.I.openApplication("project")
  1151. }
  1152. }
  1153. /**
  1154. * 隐藏任务栏
  1155. *
  1156. * @param {element} 桌面元素
  1157. */
  1158. U.MD.D.I.hiddenTaskbar = function (el) {
  1159. //任务栏位置变小
  1160. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1161. //桌面的位置变大
  1162. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1163. }
  1164. /**
  1165. * 隐藏任务栏
  1166. *
  1167. * @param {element} 桌面元素
  1168. */
  1169. U.MD.D.I.hiddenTaskbarout = function (el) {
  1170. //任务栏位置变小
  1171. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1172. //任务栏位置变化
  1173. U.selectEl(el).css({ "bottom": "-60px" });
  1174. //桌面的位置变大
  1175. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1176. }
  1177. }
  1178. /**
  1179. * 初始化打印桌面图标
  1180. *
  1181. * @param {element} 桌面元素
  1182. */
  1183. U.MD.D.I.initDesktopIcons = function (el, type) {
  1184. var i, //用于循环
  1185. _content, //桌面图标元素
  1186. _iconcontent, //桌面图标元素
  1187. _frag = $$("frag"), //定义一个碎片元素
  1188. _type = US.userInfo.type,
  1189. _org = US.userInfo.org,
  1190. _oid = US.userInfo.organizeid,
  1191. _role = US.userInfo.role,
  1192. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1193. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1194. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1195. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1196. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1197. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1198. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1199. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1200. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1201. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1202. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1203. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1204. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1205. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1206. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1207. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1208. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1209. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1210. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1211. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1212. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1213. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1214. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1215. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1216. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1217. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1218. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1219. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1220. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1221. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1222. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1223. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1224. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1225. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1226. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1227. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1228. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1229. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1230. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1231. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1232. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1233. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1234. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1235. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1236. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1237. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1238. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1239. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1240. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1241. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1242. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1243. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1244. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1245. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1246. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1247. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1248. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1249. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1250. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1251. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1252. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1253. 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'];
  1254. 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'];
  1255. //清楚桌面图标
  1256. el.innerHTML = "";
  1257. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1258. _teacherDesktopIconInfo.push(
  1259. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1260. { "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)" } },
  1261. )
  1262. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1263. }
  1264. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1265. _teacherDesktopIconInfo.push(
  1266. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1267. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1268. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1269. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1270. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1271. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1272. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1273. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1274. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1275. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1276. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1277. )
  1278. }
  1279. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1280. // _teacherDesktopIconInfo.push(
  1281. // )
  1282. // }
  1283. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1284. _teacherDesktopIconInfo.push(
  1285. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1286. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1287. )
  1288. }
  1289. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1290. _teacherDesktopIconInfo.push(
  1291. )
  1292. }
  1293. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1294. _teacherDesktopIconInfo.push(
  1295. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1296. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1297. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1298. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1299. )
  1300. _studentDesktopIconInfo.push(
  1301. )
  1302. }
  1303. //麒麟二中 和 民新小学
  1304. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1305. _teacherDesktopIconInfo.push(
  1306. )
  1307. }
  1308. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1309. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1310. _teacherDesktopIconInfo.push(
  1311. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1312. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1313. )
  1314. }
  1315. //麒麟二中
  1316. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1317. _studentDesktopIconInfo.push(
  1318. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1319. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1320. )
  1321. }
  1322. //万科双语
  1323. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1324. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1325. if (el.Name == '项目管理') {
  1326. el.Name = 'PBL项目'
  1327. }
  1328. return el
  1329. })
  1330. _studentDesktopIconInfo3.push(
  1331. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1332. )
  1333. }
  1334. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1335. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1336. return el.Name != '魔盒识字' && el.Name != '24点'
  1337. })
  1338. }
  1339. 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) {
  1340. _studentDesktopIconInfo.push(
  1341. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1342. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1343. )
  1344. }
  1345. //循环创建桌面图标
  1346. if (type == 1) {
  1347. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1348. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1349. _content = $$("div", {
  1350. className: "U_MD_D_KO",
  1351. "onmousedown": U.UF.C.closure(function (obj) {
  1352. //防止拖动图标即打开了桌面应用
  1353. U.MD.D.click(this, obj);
  1354. }, [_studentDesktopIconInfo[i]]),
  1355. "onclick": U.UF.C.closure(function (obj) {
  1356. //防止拖动图标即打开了桌面应用
  1357. U.MD.D.click(this, obj);
  1358. }, [_studentDesktopIconInfo[i]])
  1359. }, _frag); //
  1360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1363. }
  1364. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1365. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1366. _content = $$("div", {
  1367. className: "U_MD_D_KO",
  1368. "onmousedown": U.UF.C.closure(function (obj) {
  1369. //防止拖动图标即打开了桌面应用
  1370. U.MD.D.click(this, obj);
  1371. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1372. "onclick": U.UF.C.closure(function (obj) {
  1373. //防止拖动图标即打开了桌面应用
  1374. U.MD.D.click(this, obj);
  1375. }, [_hkZJLSStudentDeskIconInfo[i]])
  1376. }, _frag); //
  1377. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1378. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1379. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1380. } //
  1381. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1382. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1383. _content = $$("div", {
  1384. className: "U_MD_D_KO",
  1385. "onmousedown": U.UF.C.closure(function (obj) {
  1386. //防止拖动图标即打开了桌面应用
  1387. U.MD.D.click(this, obj);
  1388. }, [_jccssylStudentDeskIconInfo[i]]),
  1389. "onclick": U.UF.C.closure(function (obj) {
  1390. //防止拖动图标即打开了桌面应用
  1391. U.MD.D.click(this, obj);
  1392. }, [_jccssylStudentDeskIconInfo[i]])
  1393. }, _frag); //
  1394. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1395. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1396. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1397. }
  1398. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1399. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1400. _content = $$("div", {
  1401. className: "U_MD_D_KO",
  1402. "onmousedown": U.UF.C.closure(function (obj) {
  1403. //防止拖动图标即打开了桌面应用
  1404. U.MD.D.click(this, obj);
  1405. }, [_thuioeStudentDeskIconInfo[i]]),
  1406. "onclick": U.UF.C.closure(function (obj) {
  1407. //防止拖动图标即打开了桌面应用
  1408. U.MD.D.click(this, obj);
  1409. }, [_thuioeStudentDeskIconInfo[i]])
  1410. }, _frag); //
  1411. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1412. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1413. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1414. }
  1415. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1416. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1417. _content = $$("div", {
  1418. className: "U_MD_D_KO",
  1419. "onmousedown": U.UF.C.closure(function (obj) {
  1420. //防止拖动图标即打开了桌面应用
  1421. U.MD.D.click(this, obj);
  1422. }, [_tpcStudentDeskIconInfo[i]]),
  1423. "onclick": U.UF.C.closure(function (obj) {
  1424. //防止拖动图标即打开了桌面应用
  1425. U.MD.D.click(this, obj);
  1426. }, [_tpcStudentDeskIconInfo[i]])
  1427. }, _frag); //
  1428. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1429. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1430. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1431. } //
  1432. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1433. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1434. _content = $$("div", {
  1435. className: "U_MD_D_KO",
  1436. "onmousedown": U.UF.C.closure(function (obj) {
  1437. //防止拖动图标即打开了桌面应用
  1438. U.MD.D.click(this, obj);
  1439. }, [_chjyjStudentDeskIconInfo[i]]),
  1440. "onclick": U.UF.C.closure(function (obj) {
  1441. //防止拖动图标即打开了桌面应用
  1442. U.MD.D.click(this, obj);
  1443. }, [_chjyjStudentDeskIconInfo[i]])
  1444. }, _frag); //
  1445. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1446. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1447. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1448. }
  1449. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1450. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1451. _content = $$("div", {
  1452. className: "U_MD_D_KO",
  1453. "onmousedown": U.UF.C.closure(function (obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_szjkyStudentDeskIconInfo[i]]),
  1457. "onclick": U.UF.C.closure(function (obj) {
  1458. //防止拖动图标即打开了桌面应用
  1459. U.MD.D.click(this, obj);
  1460. }, [_szjkyStudentDeskIconInfo[i]])
  1461. }, _frag); //
  1462. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1463. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1464. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1465. }
  1466. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1467. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1468. _content = $$("div", {
  1469. className: "U_MD_D_KO",
  1470. "onmousedown": U.UF.C.closure(function (obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_dseiStudentDeskIconInfo[i]]),
  1474. "onclick": U.UF.C.closure(function (obj) {
  1475. //防止拖动图标即打开了桌面应用
  1476. U.MD.D.click(this, obj);
  1477. }, [_dseiStudentDeskIconInfo[i]])
  1478. }, _frag); //
  1479. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1480. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1481. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1482. }
  1483. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1484. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1485. _content = $$("div", {
  1486. className: "U_MD_D_KO",
  1487. "onmousedown": U.UF.C.closure(function (obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_siesStudentDeskIconInfo[i]]),
  1491. "onclick": U.UF.C.closure(function (obj) {
  1492. //防止拖动图标即打开了桌面应用
  1493. U.MD.D.click(this, obj);
  1494. }, [_siesStudentDeskIconInfo[i]])
  1495. }, _frag); //
  1496. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1497. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1498. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1499. }
  1500. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1501. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1502. _content = $$("div", {
  1503. className: "U_MD_D_KO",
  1504. "onmousedown": U.UF.C.closure(function (obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_hkStudentDeskIconInfo[i]]),
  1508. "onclick": U.UF.C.closure(function (obj) {
  1509. //防止拖动图标即打开了桌面应用
  1510. U.MD.D.click(this, obj);
  1511. }, [_hkStudentDeskIconInfo[i]])
  1512. }, _frag); //
  1513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1516. }
  1517. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1518. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1519. _content = $$("div", {
  1520. className: "U_MD_D_KO",
  1521. "onmousedown": U.UF.C.closure(function (obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_hkaceStudentDeskIconInfo[i]]),
  1525. "onclick": U.UF.C.closure(function (obj) {
  1526. //防止拖动图标即打开了桌面应用
  1527. U.MD.D.click(this, obj);
  1528. }, [_hkaceStudentDeskIconInfo[i]])
  1529. }, _frag); //
  1530. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1531. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1532. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1533. }
  1534. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1535. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1536. _content = $$("div", {
  1537. className: "U_MD_D_KO",
  1538. "onmousedown": U.UF.C.closure(function (obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_studentDesktopIconInfo[i]]),
  1542. "onclick": U.UF.C.closure(function (obj) {
  1543. //防止拖动图标即打开了桌面应用
  1544. U.MD.D.click(this, obj);
  1545. }, [_studentDesktopIconInfo[i]])
  1546. }, _frag); //
  1547. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1548. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1549. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1550. }
  1551. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1552. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1553. _content = $$("div", {
  1554. className: "U_MD_D_KO",
  1555. "onmousedown": U.UF.C.closure(function (obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_tcStudentDeskIconInfo[i]]),
  1559. "onclick": U.UF.C.closure(function (obj) {
  1560. //防止拖动图标即打开了桌面应用
  1561. U.MD.D.click(this, obj);
  1562. }, [_tcStudentDeskIconInfo[i]])
  1563. }, _frag); //
  1564. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1565. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1566. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1567. }
  1568. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1569. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1570. _content = $$("div", {
  1571. className: "U_MD_D_KO",
  1572. "onmousedown": U.UF.C.closure(function (obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_szscStudentDeskIconInfo[i]]),
  1576. "onclick": U.UF.C.closure(function (obj) {
  1577. //防止拖动图标即打开了桌面应用
  1578. U.MD.D.click(this, obj);
  1579. }, [_szscStudentDeskIconInfo[i]])
  1580. }, _frag); //
  1581. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1582. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1583. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1584. }
  1585. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1586. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1587. _content = $$("div", {
  1588. className: "U_MD_D_KO",
  1589. "onmousedown": U.UF.C.closure(function (obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_studentDesktopIconInfo3[i]]),
  1593. "onclick": U.UF.C.closure(function (obj) {
  1594. //防止拖动图标即打开了桌面应用
  1595. U.MD.D.click(this, obj);
  1596. }, [_studentDesktopIconInfo3[i]])
  1597. }, _frag); //
  1598. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1599. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1600. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1601. }
  1602. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1603. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1604. _content = $$("div", {
  1605. className: "U_MD_D_KO",
  1606. "onmousedown": U.UF.C.closure(function (obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_studentDesktopIconInfo2[i]]),
  1610. "onclick": U.UF.C.closure(function (obj) {
  1611. //防止拖动图标即打开了桌面应用
  1612. U.MD.D.click(this, obj);
  1613. }, [_studentDesktopIconInfo2[i]])
  1614. }, _frag); //
  1615. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1616. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1617. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1618. }
  1619. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1620. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1621. _content = $$("div", {
  1622. className: "U_MD_D_KO",
  1623. "onmousedown": U.UF.C.closure(function (obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_wanketeacherDesktopIconInfo[i]]),
  1627. "onclick": U.UF.C.closure(function (obj) {
  1628. //防止拖动图标即打开了桌面应用
  1629. U.MD.D.click(this, obj);
  1630. }, [_wanketeacherDesktopIconInfo[i]])
  1631. }, _frag); //
  1632. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1633. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1634. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1635. }
  1636. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1637. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1638. _content = $$("div", {
  1639. className: "U_MD_D_KO",
  1640. "onmousedown": U.UF.C.closure(function (obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_wankeAdminDesktopIconInfo[i]]),
  1644. "onclick": U.UF.C.closure(function (obj) {
  1645. //防止拖动图标即打开了桌面应用
  1646. U.MD.D.click(this, obj);
  1647. }, [_wankeAdminDesktopIconInfo[i]])
  1648. }, _frag); //
  1649. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1650. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1651. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1652. }
  1653. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1654. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1655. _content = $$("div", {
  1656. className: "U_MD_D_KO",
  1657. "onmousedown": U.UF.C.closure(function (obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_jccssylTeacherDeskIconInfo[i]]),
  1661. "onclick": U.UF.C.closure(function (obj) {
  1662. //防止拖动图标即打开了桌面应用
  1663. U.MD.D.click(this, obj);
  1664. }, [_jccssylTeacherDeskIconInfo[i]])
  1665. }, _frag); //
  1666. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1667. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1668. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1669. }
  1670. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1671. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1672. _content = $$("div", {
  1673. className: "U_MD_D_KO",
  1674. "onmousedown": U.UF.C.closure(function (obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_tpcOrganizerDeskIconInfo[i]]),
  1678. "onclick": U.UF.C.closure(function (obj) {
  1679. //防止拖动图标即打开了桌面应用
  1680. U.MD.D.click(this, obj);
  1681. }, [_tpcOrganizerDeskIconInfo[i]])
  1682. }, _frag); //
  1683. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1684. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1685. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1686. }
  1687. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1688. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1689. _content = $$("div", {
  1690. className: "U_MD_D_KO",
  1691. "onmousedown": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_tpcTeacherDeskIconInfo[i]]),
  1695. "onclick": U.UF.C.closure(function (obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_tpcTeacherDeskIconInfo[i]])
  1699. }, _frag); //
  1700. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1701. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1702. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1703. }
  1704. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1705. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1706. _content = $$("div", {
  1707. className: "U_MD_D_KO",
  1708. "onmousedown": U.UF.C.closure(function (obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_teacherDesktopIconInfo2[i]]),
  1712. "onclick": U.UF.C.closure(function (obj) {
  1713. //防止拖动图标即打开了桌面应用
  1714. U.MD.D.click(this, obj);
  1715. }, [_teacherDesktopIconInfo2[i]])
  1716. }, _frag); //
  1717. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1718. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1719. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1720. }
  1721. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1722. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1723. _content = $$("div", {
  1724. className: "U_MD_D_KO",
  1725. "onmousedown": U.UF.C.closure(function (obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_thuioeTeacherDeskIconInfo[i]]),
  1729. "onclick": U.UF.C.closure(function (obj) {
  1730. //防止拖动图标即打开了桌面应用
  1731. U.MD.D.click(this, obj);
  1732. }, [_thuioeTeacherDeskIconInfo[i]])
  1733. }, _frag); //
  1734. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1735. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1736. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1737. }
  1738. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1739. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1740. _content = $$("div", {
  1741. className: "U_MD_D_KO",
  1742. "onmousedown": U.UF.C.closure(function (obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_lotechTeacherDeskIconInfo[i]]),
  1746. "onclick": U.UF.C.closure(function (obj) {
  1747. //防止拖动图标即打开了桌面应用
  1748. U.MD.D.click(this, obj);
  1749. }, [_lotechTeacherDeskIconInfo[i]])
  1750. }, _frag); //
  1751. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1752. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1753. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1754. }//
  1755. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1756. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1757. _content = $$("div", {
  1758. className: "U_MD_D_KO",
  1759. "onmousedown": U.UF.C.closure(function (obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_siesTeacherDeskIconInfo[i]]),
  1763. "onclick": U.UF.C.closure(function (obj) {
  1764. //防止拖动图标即打开了桌面应用
  1765. U.MD.D.click(this, obj);
  1766. }, [_siesTeacherDeskIconInfo[i]])
  1767. }, _frag); //
  1768. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1769. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1770. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1771. }
  1772. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1773. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1774. _content = $$("div", {
  1775. className: "U_MD_D_KO",
  1776. "onmousedown": U.UF.C.closure(function (obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_longhuaTeacherDeskIconInfo[i]]),
  1780. "onclick": U.UF.C.closure(function (obj) {
  1781. //防止拖动图标即打开了桌面应用
  1782. U.MD.D.click(this, obj);
  1783. }, [_longhuaTeacherDeskIconInfo[i]])
  1784. }, _frag); //
  1785. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1786. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1787. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1788. }
  1789. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1790. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1791. _content = $$("div", {
  1792. className: "U_MD_D_KO",
  1793. "onmousedown": U.UF.C.closure(function (obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1797. "onclick": U.UF.C.closure(function (obj) {
  1798. //防止拖动图标即打开了桌面应用
  1799. U.MD.D.click(this, obj);
  1800. }, [_yunhaiTeacherDeskIconInfo[i]])
  1801. }, _frag); //
  1802. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1803. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1804. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1805. } //_hkStudentDeskIconInfo
  1806. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1807. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1808. _content = $$("div", {
  1809. className: "U_MD_D_KO",
  1810. "onmousedown": U.UF.C.closure(function (obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1814. "onclick": U.UF.C.closure(function (obj) {
  1815. //防止拖动图标即打开了桌面应用
  1816. U.MD.D.click(this, obj);
  1817. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1818. }, _frag); //
  1819. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1820. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1821. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1822. }
  1823. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1824. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1825. _content = $$("div", {
  1826. className: "U_MD_D_KO",
  1827. "onmousedown": U.UF.C.closure(function (obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_hkTeacherDeskIconInfo[i]]),
  1831. "onclick": U.UF.C.closure(function (obj) {
  1832. //防止拖动图标即打开了桌面应用
  1833. U.MD.D.click(this, obj);
  1834. }, [_hkTeacherDeskIconInfo[i]])
  1835. }, _frag); //
  1836. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1837. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1838. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1839. }
  1840. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1841. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1842. _content = $$("div", {
  1843. className: "U_MD_D_KO",
  1844. "onmousedown": U.UF.C.closure(function (obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_hkaceTeacherDeskIconInfo[i]]),
  1848. "onclick": U.UF.C.closure(function (obj) {
  1849. //防止拖动图标即打开了桌面应用
  1850. U.MD.D.click(this, obj);
  1851. }, [_hkaceTeacherDeskIconInfo[i]])
  1852. }, _frag); //
  1853. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1854. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1855. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1856. }
  1857. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1858. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1859. _content = $$("div", {
  1860. className: "U_MD_D_KO",
  1861. "onmousedown": U.UF.C.closure(function (obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_gdjgAdminDeskIconInfo[i]]),
  1865. "onclick": U.UF.C.closure(function (obj) {
  1866. //防止拖动图标即打开了桌面应用
  1867. U.MD.D.click(this, obj);
  1868. }, [_gdjgAdminDeskIconInfo[i]])
  1869. }, _frag); //
  1870. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1871. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1872. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1873. }
  1874. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1875. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1876. _content = $$("div", {
  1877. className: "U_MD_D_KO",
  1878. "onmousedown": U.UF.C.closure(function (obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_gdjgTeacherDeskIconInfo[i]]),
  1882. "onclick": U.UF.C.closure(function (obj) {
  1883. //防止拖动图标即打开了桌面应用
  1884. U.MD.D.click(this, obj);
  1885. }, [_gdjgTeacherDeskIconInfo[i]])
  1886. }, _frag); //
  1887. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1888. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1889. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1890. }
  1891. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1892. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1893. _content = $$("div", {
  1894. className: "U_MD_D_KO",
  1895. "onmousedown": U.UF.C.closure(function (obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_szherTeacherDeskIconInfo[i]]),
  1899. "onclick": U.UF.C.closure(function (obj) {
  1900. //防止拖动图标即打开了桌面应用
  1901. U.MD.D.click(this, obj);
  1902. }, [_szherTeacherDeskIconInfo[i]])
  1903. }, _frag); //
  1904. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1905. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1906. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1907. }
  1908. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1909. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1910. _content = $$("div", {
  1911. className: "U_MD_D_KO",
  1912. "onmousedown": U.UF.C.closure(function (obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_heyuannAdminDeskIconInfo[i]]),
  1916. "onclick": U.UF.C.closure(function (obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_heyuannAdminDeskIconInfo[i]])
  1920. }, _frag); //
  1921. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1922. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1923. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1924. }
  1925. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1926. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1927. _content = $$("div", {
  1928. className: "U_MD_D_KO",
  1929. "onmousedown": U.UF.C.closure(function (obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_heyuanTeacherDeskIconInfo[i]]),
  1933. "onclick": U.UF.C.closure(function (obj) {
  1934. //防止拖动图标即打开了桌面应用
  1935. U.MD.D.click(this, obj);
  1936. }, [_heyuanTeacherDeskIconInfo[i]])
  1937. }, _frag); //
  1938. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1939. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1940. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1941. } //
  1942. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1943. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1944. _content = $$("div", {
  1945. className: "U_MD_D_KO",
  1946. "onmousedown": U.UF.C.closure(function (obj) {
  1947. //防止拖动图标即打开了桌面应用
  1948. U.MD.D.click(this, obj);
  1949. }, [_dseiAdminDeskIconInfo[i]]),
  1950. "onclick": U.UF.C.closure(function (obj) {
  1951. //防止拖动图标即打开了桌面应用
  1952. U.MD.D.click(this, obj);
  1953. }, [_dseiAdminDeskIconInfo[i]])
  1954. }, _frag); //
  1955. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1956. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1957. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1958. }
  1959. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1960. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1961. _content = $$("div", {
  1962. className: "U_MD_D_KO",
  1963. "onmousedown": U.UF.C.closure(function (obj) {
  1964. //防止拖动图标即打开了桌面应用
  1965. U.MD.D.click(this, obj);
  1966. }, [_dseiTeacherDeskIconInfo[i]]),
  1967. "onclick": U.UF.C.closure(function (obj) {
  1968. //防止拖动图标即打开了桌面应用
  1969. U.MD.D.click(this, obj);
  1970. }, [_dseiTeacherDeskIconInfo[i]])
  1971. }, _frag); //
  1972. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1973. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1974. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1975. } //
  1976. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1977. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1978. _content = $$("div", {
  1979. className: "U_MD_D_KO",
  1980. "onmousedown": U.UF.C.closure(function (obj) {
  1981. //防止拖动图标即打开了桌面应用
  1982. U.MD.D.click(this, obj);
  1983. }, [_chjyjAdminDeskIconInfo[i]]),
  1984. "onclick": U.UF.C.closure(function (obj) {
  1985. //防止拖动图标即打开了桌面应用
  1986. U.MD.D.click(this, obj);
  1987. }, [_chjyjAdminDeskIconInfo[i]])
  1988. }, _frag); //
  1989. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1990. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1991. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1992. }//
  1993. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1994. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1995. _content = $$("div", {
  1996. className: "U_MD_D_KO",
  1997. "onmousedown": U.UF.C.closure(function (obj) {
  1998. //防止拖动图标即打开了桌面应用
  1999. U.MD.D.click(this, obj);
  2000. }, [_chjyjTeacherDeskIconInfo[i]]),
  2001. "onclick": U.UF.C.closure(function (obj) {
  2002. //防止拖动图标即打开了桌面应用
  2003. U.MD.D.click(this, obj);
  2004. }, [_chjyjTeacherDeskIconInfo[i]])
  2005. }, _frag); //
  2006. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2007. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2008. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2009. }
  2010. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2011. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2012. _content = $$("div", {
  2013. className: "U_MD_D_KO",
  2014. "onmousedown": U.UF.C.closure(function (obj) {
  2015. //防止拖动图标即打开了桌面应用
  2016. U.MD.D.click(this, obj);
  2017. }, [_szjkyAdminDeskIconInfo[i]]),
  2018. "onclick": U.UF.C.closure(function (obj) {
  2019. //防止拖动图标即打开了桌面应用
  2020. U.MD.D.click(this, obj);
  2021. }, [_szjkyAdminDeskIconInfo[i]])
  2022. }, _frag); //
  2023. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2024. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2025. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2026. }//
  2027. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2028. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2029. _content = $$("div", {
  2030. className: "U_MD_D_KO",
  2031. "onmousedown": U.UF.C.closure(function (obj) {
  2032. //防止拖动图标即打开了桌面应用
  2033. U.MD.D.click(this, obj);
  2034. }, [_szjkyTeacherDeskIconInfo[i]]),
  2035. "onclick": U.UF.C.closure(function (obj) {
  2036. //防止拖动图标即打开了桌面应用
  2037. U.MD.D.click(this, obj);
  2038. }, [_szjkyTeacherDeskIconInfo[i]])
  2039. }, _frag); //
  2040. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2041. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2042. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2043. }
  2044. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2045. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2046. _content = $$("div", {
  2047. className: "U_MD_D_KO",
  2048. "onmousedown": U.UF.C.closure(function (obj) {
  2049. //防止拖动图标即打开了桌面应用
  2050. U.MD.D.click(this, obj);
  2051. }, [_futianAdminDeskIconInfo[i]]),
  2052. "onclick": U.UF.C.closure(function (obj) {
  2053. //防止拖动图标即打开了桌面应用
  2054. U.MD.D.click(this, obj);
  2055. }, [_futianAdminDeskIconInfo[i]])
  2056. }, _frag); //
  2057. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2058. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2059. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2060. }
  2061. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2062. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2063. _content = $$("div", {
  2064. className: "U_MD_D_KO",
  2065. "onmousedown": U.UF.C.closure(function (obj) {
  2066. //防止拖动图标即打开了桌面应用
  2067. U.MD.D.click(this, obj);
  2068. }, [_futianTeacherDeskIconInfo[i]]),
  2069. "onclick": U.UF.C.closure(function (obj) {
  2070. //防止拖动图标即打开了桌面应用
  2071. U.MD.D.click(this, obj);
  2072. }, [_futianTeacherDeskIconInfo[i]])
  2073. }, _frag); //
  2074. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2075. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2076. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2077. }
  2078. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2079. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2080. _content = $$("div", {
  2081. className: "U_MD_D_KO",
  2082. "onmousedown": U.UF.C.closure(function (obj) {
  2083. //防止拖动图标即打开了桌面应用
  2084. U.MD.D.click(this, obj);
  2085. }, [_MingdeTeacherDeskIcon[i]]),
  2086. "onclick": U.UF.C.closure(function (obj) {
  2087. //防止拖动图标即打开了桌面应用
  2088. U.MD.D.click(this, obj);
  2089. }, [_MingdeTeacherDeskIcon[i]])
  2090. }, _frag); //
  2091. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2092. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2093. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2094. }
  2095. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2096. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2097. _content = $$("div", {
  2098. className: "U_MD_D_KO",
  2099. "onmousedown": U.UF.C.closure(function (obj) {
  2100. //防止拖动图标即打开了桌面应用
  2101. U.MD.D.click(this, obj);
  2102. }, [_lhsAdminDesktopIconInfo[i]]),
  2103. "onclick": U.UF.C.closure(function (obj) {
  2104. //防止拖动图标即打开了桌面应用
  2105. U.MD.D.click(this, obj);
  2106. }, [_lhsAdminDesktopIconInfo[i]])
  2107. }, _frag); //
  2108. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2109. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2110. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2111. }
  2112. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2113. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2114. _content = $$("div", {
  2115. className: "U_MD_D_KO",
  2116. "onmousedown": U.UF.C.closure(function (obj) {
  2117. //防止拖动图标即打开了桌面应用
  2118. U.MD.D.click(this, obj);
  2119. }, [_lhsteacherDesktopIconInfo[i]]),
  2120. "onclick": U.UF.C.closure(function (obj) {
  2121. //防止拖动图标即打开了桌面应用
  2122. U.MD.D.click(this, obj);
  2123. }, [_lhsteacherDesktopIconInfo[i]])
  2124. }, _frag); //
  2125. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2126. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2127. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2128. }
  2129. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2130. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2131. _content = $$("div", {
  2132. className: "U_MD_D_KO",
  2133. "onmousedown": U.UF.C.closure(function (obj) {
  2134. //防止拖动图标即打开了桌面应用
  2135. U.MD.D.click(this, obj);
  2136. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2137. "onclick": U.UF.C.closure(function (obj) {
  2138. //防止拖动图标即打开了桌面应用
  2139. U.MD.D.click(this, obj);
  2140. }, [_zhoujiateacherDesktopIconInfo[i]])
  2141. }, _frag); //
  2142. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2143. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2144. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2145. }
  2146. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2147. for (i = 0; i < _hanDeskIcon.length; i++) {
  2148. _content = $$("div", {
  2149. className: "U_MD_D_KO",
  2150. "onmousedown": U.UF.C.closure(function (obj) {
  2151. //防止拖动图标即打开了桌面应用
  2152. U.MD.D.click(this, obj);
  2153. }, [_hanDeskIcon[i]]),
  2154. "onclick": U.UF.C.closure(function (obj) {
  2155. //防止拖动图标即打开了桌面应用
  2156. U.MD.D.click(this, obj);
  2157. }, [_hanDeskIcon[i]])
  2158. }, _frag); //
  2159. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2160. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2161. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2162. }
  2163. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2164. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2165. _content = $$("div", {
  2166. className: "U_MD_D_KO",
  2167. "onmousedown": U.UF.C.closure(function (obj) {
  2168. //防止拖动图标即打开了桌面应用
  2169. U.MD.D.click(this, obj);
  2170. }, [_orgStemDeskIcon[i]]),
  2171. "onclick": U.UF.C.closure(function (obj) {
  2172. //防止拖动图标即打开了桌面应用
  2173. U.MD.D.click(this, obj);
  2174. }, [_orgStemDeskIcon[i]])
  2175. }, _frag); //
  2176. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2177. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2178. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2179. }
  2180. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2181. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2182. _content = $$("div", {
  2183. className: "U_MD_D_KO",
  2184. "onmousedown": U.UF.C.closure(function (obj) {
  2185. //防止拖动图标即打开了桌面应用
  2186. U.MD.D.click(this, obj);
  2187. }, [_szulsDeskIcon[i]]),
  2188. "onclick": U.UF.C.closure(function (obj) {
  2189. //防止拖动图标即打开了桌面应用
  2190. U.MD.D.click(this, obj);
  2191. }, [_szulsDeskIcon[i]])
  2192. }, _frag); //
  2193. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2194. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2195. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2196. }
  2197. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2198. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2199. _content = $$("div", {
  2200. className: "U_MD_D_KO",
  2201. "onmousedown": U.UF.C.closure(function (obj) {
  2202. //防止拖动图标即打开了桌面应用
  2203. U.MD.D.click(this, obj);
  2204. }, [_orgDesktopIconInfo[i]]),
  2205. "onclick": U.UF.C.closure(function (obj) {
  2206. //防止拖动图标即打开了桌面应用
  2207. U.MD.D.click(this, obj);
  2208. }, [_orgDesktopIconInfo[i]])
  2209. }, _frag); //
  2210. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2211. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2212. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2213. }
  2214. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2215. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2216. _content = $$("div", {
  2217. className: "U_MD_D_KO",
  2218. "onmousedown": U.UF.C.closure(function (obj) {
  2219. //防止拖动图标即打开了桌面应用
  2220. U.MD.D.click(this, obj);
  2221. }, [_schoolDesktopIconInfo[i]]),
  2222. "onclick": U.UF.C.closure(function (obj) {
  2223. //防止拖动图标即打开了桌面应用
  2224. U.MD.D.click(this, obj);
  2225. }, [_schoolDesktopIconInfo[i]])
  2226. }, _frag); //
  2227. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2228. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2229. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2230. }
  2231. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2232. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2233. _content = $$("div", {
  2234. className: "U_MD_D_KO",
  2235. "onmousedown": U.UF.C.closure(function (obj) {
  2236. //防止拖动图标即打开了桌面应用
  2237. U.MD.D.click(this, obj);
  2238. }, [_GMteacherDesktopIconInfo[i]]),
  2239. "onclick": U.UF.C.closure(function (obj) {
  2240. //防止拖动图标即打开了桌面应用
  2241. U.MD.D.click(this, obj);
  2242. }, [_GMteacherDesktopIconInfo[i]])
  2243. }, _frag); //
  2244. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2245. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2246. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2247. }
  2248. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2249. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2250. _content = $$("div", {
  2251. className: "U_MD_D_KO",
  2252. "onmousedown": U.UF.C.closure(function (obj) {
  2253. //防止拖动图标即打开了桌面应用
  2254. U.MD.D.click(this, obj);
  2255. }, [_SONGteacherDesktopIconInfo[i]]),
  2256. "onclick": U.UF.C.closure(function (obj) {
  2257. //防止拖动图标即打开了桌面应用
  2258. U.MD.D.click(this, obj);
  2259. }, [_SONGteacherDesktopIconInfo[i]])
  2260. }, _frag); //
  2261. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2262. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2263. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2264. }
  2265. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2266. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2267. _content = $$("div", {
  2268. className: "U_MD_D_KO",
  2269. "onmousedown": U.UF.C.closure(function (obj) {
  2270. //防止拖动图标即打开了桌面应用
  2271. U.MD.D.click(this, obj);
  2272. }, [_GMstudentDesktopIconInfo[i]]),
  2273. "onclick": U.UF.C.closure(function (obj) {
  2274. //防止拖动图标即打开了桌面应用
  2275. U.MD.D.click(this, obj);
  2276. }, [_GMstudentDesktopIconInfo[i]])
  2277. }, _frag); //
  2278. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2279. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2280. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2281. }
  2282. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2283. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2284. _content = $$("div", {
  2285. className: "U_MD_D_KO",
  2286. "onmousedown": U.UF.C.closure(function (obj) {
  2287. //防止拖动图标即打开了桌面应用
  2288. U.MD.D.click(this, obj);
  2289. }, [_tcTeacherDeskIconInfo[i]]),
  2290. "onclick": U.UF.C.closure(function (obj) {
  2291. //防止拖动图标即打开了桌面应用
  2292. U.MD.D.click(this, obj);
  2293. }, [_tcTeacherDeskIconInfo[i]])
  2294. }, _frag); //
  2295. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2296. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2297. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2298. }
  2299. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2300. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2301. _content = $$("div", {
  2302. className: "U_MD_D_KO",
  2303. "onmousedown": U.UF.C.closure(function (obj) {
  2304. //防止拖动图标即打开了桌面应用
  2305. U.MD.D.click(this, obj);
  2306. }, [_tcOrganizerDeskIconInfo[i]]),
  2307. "onclick": U.UF.C.closure(function (obj) {
  2308. //防止拖动图标即打开了桌面应用
  2309. U.MD.D.click(this, obj);
  2310. }, [_tcOrganizerDeskIconInfo[i]])
  2311. }, _frag); //
  2312. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2313. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2314. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2315. }
  2316. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2317. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2318. _content = $$("div", {
  2319. className: "U_MD_D_KO",
  2320. "onmousedown": U.UF.C.closure(function (obj) {
  2321. //防止拖动图标即打开了桌面应用
  2322. U.MD.D.click(this, obj);
  2323. }, [_szscTeacherDeskIconInfo[i]]),
  2324. "onclick": U.UF.C.closure(function (obj) {
  2325. //防止拖动图标即打开了桌面应用
  2326. U.MD.D.click(this, obj);
  2327. }, [_szscTeacherDeskIconInfo[i]])
  2328. }, _frag); //
  2329. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2330. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2331. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2332. }
  2333. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2334. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2335. _content = $$("div", {
  2336. className: "U_MD_D_KO",
  2337. "onmousedown": U.UF.C.closure(function (obj) {
  2338. //防止拖动图标即打开了桌面应用
  2339. U.MD.D.click(this, obj);
  2340. }, [_szscOrganizerDeskIconInfo[i]]),
  2341. "onclick": U.UF.C.closure(function (obj) {
  2342. //防止拖动图标即打开了桌面应用
  2343. U.MD.D.click(this, obj);
  2344. }, [_szscOrganizerDeskIconInfo[i]])
  2345. }, _frag); //
  2346. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2347. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2348. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2349. }
  2350. } else {
  2351. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2352. _content = $$("div", {
  2353. className: "U_MD_D_KO",
  2354. "onmousedown": U.UF.C.closure(function (obj) {
  2355. //防止拖动图标即打开了桌面应用
  2356. U.MD.D.click(this, obj);
  2357. }, [_teacherDesktopIconInfo[i]]),
  2358. "onclick": U.UF.C.closure(function (obj) {
  2359. //防止拖动图标即打开了桌面应用
  2360. U.MD.D.click(this, obj);
  2361. }, [_teacherDesktopIconInfo[i]])
  2362. }, _frag); //
  2363. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2364. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2365. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2366. }
  2367. }
  2368. } else {
  2369. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2370. _content = $$("div", {
  2371. className: "U_MD_D_KO",
  2372. style: { 'width': '124px', 'height': '145px' },
  2373. "onmousedown": U.UF.C.closure(function (obj) {
  2374. //防止拖动图标即打开了桌面应用
  2375. U.MD.D.click(this, obj);
  2376. }, [_easyDesktopIconInfo[i]]),
  2377. "onclick": U.UF.C.closure(function (obj) {
  2378. //防止拖动图标即打开了桌面应用
  2379. U.MD.D.click(this, obj);
  2380. }, [_easyDesktopIconInfo[i]])
  2381. }, _frag); //
  2382. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2383. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2384. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2385. }
  2386. }
  2387. if (type == 1) {
  2388. //加载好后给图标定位
  2389. U.MD.D.iconPostion($(_frag).Child());
  2390. } else {
  2391. //加载好后给图标定位
  2392. U.MD.D.iconPostion2($(_frag).Child());
  2393. }
  2394. //把图标加载到页面
  2395. el.appendChild(_frag);
  2396. }
  2397. /**
  2398. * 显示任务栏
  2399. *
  2400. * @param {element} 桌面元素
  2401. */
  2402. U.MD.D.I.displayTaskbar = function (el) {
  2403. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2404. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2405. //任务栏位置变化
  2406. U.selectEl(el).css({ "bottom": "0px" });
  2407. //桌面位置变话
  2408. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2409. }
  2410. }
  2411. //#region 桌面图标拖动逻辑
  2412. /**
  2413. * 桌面排列图标
  2414. *
  2415. * @param {element} 桌面元素
  2416. * @param {object} 上下相距的距离
  2417. * @param {object} 左右相距的距离
  2418. * @return {object} 命名空间
  2419. */
  2420. U.MD.D.iconPostion = function (childs, top, left) {
  2421. var i; //用于循环处理
  2422. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2423. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2424. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2425. for (i = 0; i < childs.length; i++) {
  2426. //如果竖排top超过了范围处理
  2427. if (top + 95 > US.height - 10) {
  2428. //left超过了页面范围处理,则向上重叠打印处理
  2429. if ((left + 180) > US.width) {
  2430. top -= 110;
  2431. left -= 90;
  2432. }
  2433. //没有超过范围,那么left+90添加到下一个竖排打印
  2434. else {
  2435. left += 90;
  2436. top = 15;
  2437. };
  2438. }
  2439. //给图标的位置赋值
  2440. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2441. if (i < childs.length - 1) {
  2442. //页面图标每次向下加95
  2443. top += 95;
  2444. }
  2445. }
  2446. //返回最后调用的图标的位置
  2447. return [top, left];
  2448. }
  2449. /**
  2450. * 桌面排列图标
  2451. *
  2452. * @param {element} 桌面元素
  2453. * @param {object} 上下相距的距离
  2454. * @param {object} 左右相距的距离
  2455. * @return {object} 命名空间
  2456. */
  2457. U.MD.D.iconPostion2 = function (childs, top, left) {
  2458. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2459. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2460. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2461. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2462. for (i = 0; i < childs.length; i++) {
  2463. //如果竖排top超过了范围处理
  2464. if (left + 150 > US.width - 10) {
  2465. //left超过了页面范围处理,则向上重叠打印处理
  2466. if ((top + 180) > US.Height) {
  2467. top -= 150;
  2468. left -= 150;
  2469. }
  2470. //没有超过范围,那么left+90添加到下一个竖排打印
  2471. else {
  2472. top += 150;
  2473. left = ol;
  2474. };
  2475. }
  2476. //给图标的位置赋值
  2477. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2478. if (i < childs.length - 1) {
  2479. //页面图标每次向下加95
  2480. left += 150;
  2481. }
  2482. }
  2483. //返回最后调用的图标的位置
  2484. return [top, left];
  2485. }
  2486. /**
  2487. * 桌面点击事件逻辑
  2488. *
  2489. * @param {element} 桌面元素
  2490. * @param {object} 上下相距的距离
  2491. * @param {object} 左右相距的距离
  2492. * @return {object} 命名空间
  2493. */
  2494. U.MD.D.click = function (el, obj) {
  2495. var _buttonnumber = event.button; //点击的按钮的事件值
  2496. var _userinfo = US.userInfo;
  2497. U.UF.EV.stopBubble(); //阻止向上冒泡
  2498. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2499. if (_buttonnumber < 2) {
  2500. //如果是click事件的处理
  2501. if (event.type == "click") {
  2502. //如果元素在mousemove事件中没有移动则出发click事件
  2503. if (!U.MD.D.I.IsDrag) {
  2504. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2505. U.alert("请先登录您的账号!");
  2506. setTimeout(() => {
  2507. U.MD.U.L.login();
  2508. }, 2000);
  2509. } else {
  2510. //打开应用处理
  2511. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2512. }
  2513. }
  2514. }
  2515. //如果是mouse事件的处理
  2516. else {
  2517. if (US.Config.type == '1') {
  2518. //拖动处理,添加拖动和拖动结束事件
  2519. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2520. }
  2521. }
  2522. U.MD.D.I.IsDrag = false;
  2523. }
  2524. }
  2525. /**
  2526. * 拖动的处理
  2527. *
  2528. */
  2529. U.MD.D.iconMove = function () {
  2530. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2531. U.MD.D.I.IsDrag = true;
  2532. }
  2533. /**
  2534. * 拖动结束后,这里是定位处理,以网状的形式定位
  2535. *
  2536. * @param {element} 拖动的元素
  2537. * @return {object} 命名空间
  2538. */
  2539. U.MD.D.iconUp = function (el) {
  2540. var _top = 15,
  2541. _left = 20,
  2542. _margin,
  2543. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2544. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2545. if (_positioninfo["OT"] > 15) {
  2546. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2547. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2548. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2549. }
  2550. if (_positioninfo["OL"] > 20) {
  2551. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2552. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2553. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2554. }
  2555. //while循环判断么一个重叠的元素
  2556. do {
  2557. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2558. _top = _positioninfo[0] + 95; //得到定位后的top
  2559. _left = _positioninfo[1]; //得到定位后的left
  2560. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2561. }
  2562. /**
  2563. * 判断拖动后图标是否重叠
  2564. *
  2565. * @param {element} 拖动的元素
  2566. * @param {element} 桌面所有的元素
  2567. * @param {array} 拖动元素的位置
  2568. ----------[0] 上 top
  2569. ----------[1] 左 left
  2570. * @return {object} 命名空间
  2571. */
  2572. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2573. //循环所有的图标
  2574. for (var i = 0; i < childs.length; i++) {
  2575. //判断有没有和该图标诶子重叠的元素
  2576. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2577. return childs[i]; //如果有返回
  2578. }
  2579. }
  2580. }
  2581. //#endregion
  2582. //#endregion
  2583. //#region 桌面应用
  2584. /**
  2585. * 打开应用
  2586. *
  2587. * @param {string} 类型
  2588. -----------------Disk 网盘系统
  2589. -----------------PDisk 学习系统网盘
  2590. -----------------Poto 图片
  2591. -----------------Video 视频
  2592. -----------------Music 音乐
  2593. -----------------Word word
  2594. -----------------Excel excel
  2595. -----------------Txt 记事本
  2596. -----------------PB 学习系统
  2597. -----------------Blog 朋友圈系统
  2598. -----------------FTP ftp系统
  2599. -----------------Group 好友群
  2600. -----------------SY 首页系统
  2601. -----------------Set 个人设置
  2602. -----------------XSet 系统设置
  2603. -----------------App 我们所有的app
  2604. -----------------BC c.1473.cn 平台
  2605. -----------------CWeb d.1473.cn 变成平台
  2606. -----------------其他的外联系统 我们统一用iframe打开
  2607. * @param {array} 类型
  2608. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2609. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2610. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2611. 如果第一个参数为其他,则无第二个参数
  2612. * @returns {array}
  2613. */
  2614. window.addEventListener('message', function (e) { // 监听 message 事件
  2615. // alert(e.data.type);
  2616. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2617. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2618. //3是展示全部阶段 2学生 1老师 4专家
  2619. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2620. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2621. //3是展示全部阶段 2学生 1老师 4专家
  2622. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2623. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2624. //3是展示全部阶段 2学生 1老师 4专家
  2625. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2626. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2627. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2628. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2629. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2630. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2631. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2632. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2633. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2634. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2635. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2636. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2637. //3是展示全部阶段 2学生 1老师 4专家
  2638. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2639. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2640. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2641. U.MD.D.I.selectUser();
  2642. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2643. var _formel = document.getElementById("study");
  2644. U.UF.F.windowZooming(_formel);
  2645. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2646. var _formel = document.getElementById("studyDetail");
  2647. U.UF.F.windowZooming(_formel);
  2648. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2649. var _formel = document.getElementById("studyDetail");
  2650. U.UF.F.windowZooming(_formel);
  2651. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2652. var _formel = document.getElementById("studentStudy");
  2653. U.UF.F.windowZooming(_formel);
  2654. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2655. // var _formel = document.getElementById("study");
  2656. //如果最大化了,那么就把他缩小
  2657. // if (_formel.ismaximize) {
  2658. // return;
  2659. // }
  2660. // U.UF.F.windowZooming(_formel);
  2661. // U.UF.F.topWindow(_formel);
  2662. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2663. // var _formel = document.getElementById("studyDetail");
  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 == "5") {
  2671. // var _formel = document.getElementById("studentStudy");
  2672. // if (_formel.ismaximize) {
  2673. // return;
  2674. // }
  2675. // U.UF.F.windowZooming(_formel);
  2676. // U.UF.F.topWindow(_formel);
  2677. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2678. var _formel = document.getElementById("study");
  2679. // if (_formel.ismaximize) {
  2680. // return;
  2681. // }
  2682. // U.UF.F.windowZooming(_formel);
  2683. U.UF.F.topWindow(_formel);
  2684. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2685. var _formel = document.getElementById("studentIndex");
  2686. U.UF.F.windowZooming(_formel);
  2687. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2688. var _formel = document.getElementById("studyDetailS");
  2689. U.UF.F.windowZooming(_formel);
  2690. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2691. var _formel = document.getElementById("studioIndex");
  2692. U.UF.F.windowZooming(_formel);
  2693. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2694. var _formel = document.getElementById("studyDetailStudio");
  2695. U.UF.F.windowZooming(_formel);
  2696. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2697. var _formel = document.getElementById("studyDetailStudio");
  2698. U.UF.F.windowZooming(_formel);
  2699. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2700. var _formel = document.getElementById("studyDetailNT");
  2701. U.UF.F.windowZooming(_formel);
  2702. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2703. var _formel = document.getElementById("studyDetailS");
  2704. U.UF.F.windowZooming(_formel);
  2705. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2706. var _formel = document.getElementById("studyDetailS");
  2707. U.UF.F.topWindow(_formel);
  2708. } else if (e.data.tools && e.data.tools == "1") {
  2709. // U.MD.D.I.openApplication("whiteboard")
  2710. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2711. } else if (e.data.tools && e.data.tools == "2") {
  2712. U.MD.D.I.openApplication("note")
  2713. } else if (e.data.tools && e.data.tools == "3") {
  2714. // U.MD.D.I.openApplication("mind")
  2715. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2716. } else if (e.data.tools && e.data.tools == "4") {
  2717. U.MD.D.I.openApplication("investigation")
  2718. } else if (e.data.tools && e.data.tools == "6") {
  2719. // U.MD.D.I.openApplication("doc")
  2720. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2721. } else if (e.data.tools && e.data.tools == "7") {
  2722. // U.MD.D.I.openApplication("mindNetwork")
  2723. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2724. } else if (e.data.tools && e.data.tools == "8") {
  2725. U.MD.D.I.openApplication("library")
  2726. } else if (e.data.tools && e.data.tools == "17") {
  2727. U.MD.D.I.openApplication("stuLibrary")
  2728. } else if (e.data.tools && e.data.tools == "18") {
  2729. U.MD.D.I.openApplication("train")
  2730. } else if (e.data.tools && e.data.tools == "21") {
  2731. U.MD.D.I.openApplication("program")
  2732. } else if (e.data.tools && e.data.tools == "22") {
  2733. U.MD.D.I.openApplication("AIprogram2")
  2734. } else if (e.data.tools && e.data.tools == "23") {
  2735. U.MD.D.I.openApplication("Pythonprogram")
  2736. } else if (e.data.tools && e.data.tools == "24") {
  2737. U.MD.D.I.openApplication("AIprogram")
  2738. } else if (e.data.tools && e.data.tools == "25") {
  2739. U.MD.D.I.openApplication("sys")
  2740. } else if (e.data.tools && e.data.tools == "26") {
  2741. // U.MD.D.I.openApplication("courseDesign")
  2742. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2743. } else if (e.data.tools && e.data.tools == "31") {
  2744. U.MD.D.I.openApplication("netWorkPanel")
  2745. } else if (e.data.tools && e.data.tools == "32") {
  2746. U.MD.D.I.openApplication("codeEdit")
  2747. } else if (e.data.tools && e.data.tools == "57") {
  2748. U.MD.D.I.openApplication("CocoPi")
  2749. } else if (e.data.tools && e.data.tools == "63") {
  2750. U.MD.D.I.openApplication("Wood")
  2751. } else if (e.data.tools && e.data.tools == "58") {
  2752. U.MD.D.I.openApplication("car")
  2753. } else if (e.data.tools && e.data.tools == "59") {
  2754. U.MD.D.I.openApplication("lineSearch")
  2755. } else if (e.data.tools && e.data.tools == "60") {
  2756. U.MD.D.I.openApplication("deepLearning")
  2757. } else if (e.data.tools && e.data.tools == "61") {
  2758. U.MD.D.I.openApplication("allHistory")
  2759. } else if (e.data.tools && e.data.tools == "28") {
  2760. U.MD.D.I.openApplication("translation")
  2761. } else if (e.data.tools && e.data.tools == "37") {
  2762. U.MD.D.I.openApplication("mohe")
  2763. } else if (e.data.tools && e.data.tools == "38") {
  2764. U.MD.D.I.openApplication("24game")
  2765. } else if (e.data.tools && e.data.tools == "39") {
  2766. U.MD.D.I.openApplication("GeoGebra")
  2767. } else if (e.data.tools && e.data.tools == "43") {
  2768. U.MD.D.I.openApplication("studentEvaluate")
  2769. } else if (e.data.tools && e.data.tools == "44") {
  2770. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2771. } else if (e.data.tools && e.data.tools == "46") {
  2772. U.MD.D.I.openApplication("project")
  2773. } else if (e.data.tools && e.data.tools == "1s") {
  2774. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2775. } else if (e.data.tools && e.data.tools == "3s") {
  2776. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2777. } else if (e.data.tools && e.data.tools == "6s") {
  2778. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2779. } else if (e.data.tools && e.data.tools == "1studio") {
  2780. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2781. } else if (e.data.tools && e.data.tools == "3studio") {
  2782. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2783. } else if (e.data.tools && e.data.tools == "6studio") {
  2784. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2785. } else if (e.data.tools && e.data.tools == "3y") {
  2786. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2787. } else if (e.data.tools && e.data.tools == "1y") {
  2788. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2789. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2790. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2791. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2792. U.MD.D.I.openApplication("AIAnalyse")
  2793. } else if (e.data.tools && e.data.tools == "1teacher") {
  2794. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2795. } else if (e.data.tools && e.data.tools == "3teacher") {
  2796. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2797. } else if (e.data.tools && e.data.tools == "7teacher") {
  2798. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2799. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2800. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2801. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2802. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2803. } else if (e.data.tools && e.data.tools == "1E") {
  2804. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2805. } else if (e.data.tools && e.data.tools == "3E") {
  2806. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2807. } else if (e.data.tools && e.data.tools == "57y") {
  2808. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2809. } else if (e.data.tools && e.data.tools == "57u") {
  2810. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2811. } else if (e.data.tools && e.data.tools == "57teacher") {
  2812. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2813. } else if (e.data.tools && e.data.tools == "64") {
  2814. U.MD.D.I.openApplication("AIChat")
  2815. } else if (e.data.tools && e.data.tools == "66") {
  2816. U.MD.D.I.openApplication("formulaEdi")
  2817. } else if (e.data.tools && e.data.tools == "67") {
  2818. U.MD.D.I.openApplication("molStr")
  2819. } else if (e.data.tools && e.data.tools == "68") {
  2820. U.MD.D.I.openApplication("timeAxis")
  2821. } else if (e.data.tools && e.data.tools == "openCourse") {
  2822. let _data = {
  2823. typea: e.data.typea || '',
  2824. typeb: e.data.typeb || '',
  2825. typed: e.data.typed || '',
  2826. }
  2827. U.MD.D.I.openInApplication("index", _data)
  2828. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2829. let _data = {
  2830. classid: e.data.classid || '',
  2831. }
  2832. U.MD.D.I.openInApplication("dataClass", _data)
  2833. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2834. let _data = {
  2835. cid: e.data.cid || '',
  2836. gid: e.data.gid || '',
  2837. }
  2838. U.MD.D.I.openInApplication("opencCscl", _data)
  2839. }
  2840. });
  2841. U.MD.D.I.selectUser = function () {
  2842. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2843. if (res.value[0].length > 0) {
  2844. US.userInfo = res.value[0][0];
  2845. $(".userName")[0].innerHTML = US.userInfo.username;
  2846. }
  2847. }, [], { "type": "GET", "withCredentials": true });
  2848. }
  2849. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2850. var _userinfo = US.userInfo, //登录用户信息
  2851. _userid = US.userInfo.userid, //登录用户id
  2852. _oid = _userinfo.organizeid,
  2853. _type = US.userInfo.type,
  2854. _org = US.userInfo.org,
  2855. _role = US.userInfo.role,
  2856. _classId = US.userInfo.classid;
  2857. if (_type == 4) {
  2858. tType = 4
  2859. }
  2860. switch (str) {
  2861. case "studyDetailNT": //无终端模式
  2862. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2863. setTimeout(() => {
  2864. U.MD.U.L.login();
  2865. }, 2000);
  2866. } else {
  2867. _formdiv = new U.UF.UI.form(
  2868. "课程详情",
  2869. $$("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 }), {
  2870. "id": "studyDetailNT",
  2871. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2872. "onresize": function () { }
  2873. }, {
  2874. closecallback: function () { }
  2875. }, { "style": { "height": "36px" } }).form; //创建窗体
  2876. _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); } }
  2877. break;
  2878. }
  2879. case "studyDetail":
  2880. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2881. setTimeout(() => {
  2882. U.MD.U.L.login();
  2883. }, 2000);
  2884. } else {
  2885. _formdiv = new U.UF.UI.form(
  2886. "课程详情",
  2887. $$("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 }), {
  2888. "id": "studyDetail",
  2889. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2890. "onresize": function () { }
  2891. }, {
  2892. closecallback: function () { }
  2893. }, { "style": { "height": "36px" } }).form; //创建窗体
  2894. _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); } }
  2895. break;
  2896. }
  2897. case "studyDetailS":
  2898. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2899. setTimeout(() => {
  2900. U.MD.U.L.login();
  2901. }, 2000);
  2902. } else {
  2903. _formdiv = new U.UF.UI.form(
  2904. "项目详情",
  2905. $$("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 }), {
  2906. "id": "studyDetailS",
  2907. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2908. "onresize": function () { }
  2909. }, {
  2910. closecallback: function () { }
  2911. }, { "style": { "height": "36px" } }).form; //创建窗体
  2912. _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); } }
  2913. break;
  2914. }
  2915. case "studyDetailStudio":
  2916. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2917. setTimeout(() => {
  2918. U.MD.U.L.login();
  2919. }, 2000);
  2920. } else {
  2921. _formdiv = new U.UF.UI.form(
  2922. "工作详情",
  2923. $$("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 }), {
  2924. "id": "studyDetailStudio",
  2925. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2926. "onresize": function () { }
  2927. }, {
  2928. closecallback: function () { }
  2929. }, { "style": { "height": "36px" } }).form; //创建窗体
  2930. _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); } }
  2931. break;
  2932. }
  2933. case "studyDetailS5":
  2934. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2935. setTimeout(() => {
  2936. U.MD.U.L.login();
  2937. }, 2000);
  2938. } else {
  2939. _formdiv = new U.UF.UI.form(
  2940. "项目详情",
  2941. $$("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 }), {
  2942. "id": "studyDetailS",
  2943. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2944. "onresize": function () { }
  2945. }, {
  2946. closecallback: function () { }
  2947. }, { "style": { "height": "36px" } }).form; //创建窗体
  2948. _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); } }
  2949. break;
  2950. }
  2951. case "studyDetailGM":
  2952. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2953. setTimeout(() => {
  2954. U.MD.U.L.login();
  2955. }, 2000);
  2956. } else {
  2957. _formdiv = new U.UF.UI.form(
  2958. "课程详情",
  2959. $$("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 }), {
  2960. "id": "studyDetail",
  2961. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2962. "onresize": function () { }
  2963. }, {
  2964. closecallback: function () { }
  2965. }, { "style": { "height": "36px" } }).form; //创建窗体
  2966. _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); } }
  2967. break;
  2968. }
  2969. case "hanUrl":
  2970. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2971. setTimeout(() => {
  2972. U.MD.U.L.login();
  2973. }, 2000);
  2974. } else {
  2975. _formdiv = new U.UF.UI.form(
  2976. "汉字宫",
  2977. $$("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" }), {
  2978. "id": "hanUrl",
  2979. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2980. "onresize": function () { }
  2981. }, {
  2982. closecallback: function () { }
  2983. }, { "style": { "height": "36px" } }).form; //创建窗体
  2984. _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); } }
  2985. break;
  2986. }
  2987. case "index":
  2988. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2989. setTimeout(() => {
  2990. U.MD.U.L.login();
  2991. }, 2000);
  2992. } else {
  2993. _formdiv = new U.UF.UI.form(
  2994. "课程中心",
  2995. $$("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 }), {
  2996. "id": "study",
  2997. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2998. "onresize": function () { }
  2999. }, {
  3000. closecallback: function () { }
  3001. }, { "style": { "height": "36px" } }).form; //创建窗体
  3002. _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); } }
  3003. break;
  3004. }
  3005. case "dataClass":
  3006. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3007. setTimeout(() => {
  3008. U.MD.U.L.login();
  3009. }, 2000);
  3010. } else {
  3011. _formdiv = new U.UF.UI.form(
  3012. "数据报告",
  3013. $$("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 }), {
  3014. "id": "dataClass",
  3015. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3016. "onresize": function () { }
  3017. }, {
  3018. closecallback: function () { }
  3019. }, { "style": { "height": "36px" } }).form; //创建窗体
  3020. _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); } }
  3021. break;
  3022. }
  3023. case "opencCscl":
  3024. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3025. setTimeout(() => {
  3026. U.MD.U.L.login();
  3027. }, 2000);
  3028. } else {
  3029. _formdiv = new U.UF.UI.form(
  3030. "协同建构",
  3031. $$("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 }), {
  3032. "id": "futureClass",
  3033. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3034. "onresize": function () { }
  3035. }, {
  3036. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3037. }, { "style": { "height": "36px" } }).form; //创建窗体
  3038. _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); } }
  3039. break;
  3040. }
  3041. }
  3042. }
  3043. U.MD.D.I.openApplication = function (str, obj, info) {
  3044. obj = obj || {};
  3045. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3046. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3047. _userinfo = US.userInfo, //登录用户信息
  3048. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3049. _oid = obj.organizeid || _userinfo.organizeid,
  3050. _type = US.userInfo.type,
  3051. _org = US.userInfo.org,
  3052. _role = US.userInfo.role,
  3053. _classId = US.userInfo.classid,
  3054. _TscreenType = 1
  3055. _screenType = 2,
  3056. _SscreenType = 3;
  3057. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3058. return;
  3059. }
  3060. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3061. switch (str) {
  3062. case "studnetProject": //好友打开
  3063. _formdiv = new U.UF.UI.form(
  3064. "我的项目",
  3065. $$("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 }), {
  3066. "id": "studnetProject",
  3067. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3068. "onresize": function () { }
  3069. }, {
  3070. closecallback: function () { }
  3071. }, { "style": { "height": "36px" } }).form; //创建窗体
  3072. _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); } }
  3073. break;
  3074. case "studentEvaluate": //好友打开
  3075. _formdiv = new U.UF.UI.form(
  3076. "我的评价",
  3077. $$("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 }), {
  3078. "id": "studentEvaluate",
  3079. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3080. "onresize": function () { }
  3081. }, {
  3082. closecallback: function () { }
  3083. }, { "style": { "height": "36px" } }).form; //创建窗体
  3084. _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); } }
  3085. break;
  3086. case "my":
  3087. _formdiv = new U.UF.UI.form(
  3088. "我的资料",
  3089. $$("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 }), {
  3090. "id": "my",
  3091. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3092. "onresize": function () { }
  3093. }, {
  3094. closecallback: function () { }
  3095. }, { "style": { "height": "36px" } }).form; //创建窗体
  3096. _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); } }
  3097. break;
  3098. case "program":
  3099. _formdiv = new U.UF.UI.form(
  3100. "编程平台",
  3101. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3102. "id": "program",
  3103. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3104. "onresize": function () { }
  3105. }, {
  3106. closecallback: function () { }
  3107. }, { "style": { "height": "36px" } }).form; //创建窗体
  3108. _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); } }
  3109. break;
  3110. case "library":
  3111. _formdiv = new U.UF.UI.form(
  3112. "素材库",
  3113. $$("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 }), {
  3114. "id": "library",
  3115. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3116. "onresize": function () { }
  3117. }, {
  3118. closecallback: function () { }
  3119. }, { "style": { "height": "36px" } }).form; //创建窗体
  3120. _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); } }
  3121. break;
  3122. case "whiteboard":
  3123. _formdiv = new U.UF.UI.form(
  3124. "电子白板",
  3125. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3126. "id": "whiteboard",
  3127. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3128. "onresize": function () { }
  3129. }, {
  3130. closecallback: function () { }
  3131. }, { "style": { "height": "36px" } }).form; //创建窗体
  3132. _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); } }
  3133. break;
  3134. case "investigation":
  3135. _formdiv = new U.UF.UI.form(
  3136. "问卷调查",
  3137. $$("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 }), {
  3138. "id": "investigation",
  3139. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3140. "onresize": function () { }
  3141. }, {
  3142. closecallback: function () { }
  3143. }, { "style": { "height": "36px" } }).form; //创建窗体
  3144. _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); } }
  3145. break;
  3146. case "note":
  3147. _formdiv = new U.UF.UI.form(
  3148. "便签分类",
  3149. $$("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 }), {
  3150. "id": "note",
  3151. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3152. "onresize": function () { }
  3153. }, {
  3154. closecallback: function () { }
  3155. }, { "style": { "height": "36px" } }).form; //创建窗体
  3156. _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); } }
  3157. break;
  3158. // case "score":
  3159. // _formdiv = new U.UF.UI.form(
  3160. // "量规评分",
  3161. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3162. // "id": "score",
  3163. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3164. // "onresize": function() {}
  3165. // }, {
  3166. // closecallback: function() {}
  3167. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3168. // _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); } }
  3169. // break;
  3170. case "mind":
  3171. _formdiv = new U.UF.UI.form(
  3172. "思维导图",
  3173. $$("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"
  3174. "id": "mind",
  3175. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3176. "onresize": function () { }
  3177. }, {
  3178. closecallback: function () { }
  3179. }, { "style": { "height": "36px" } }).form; //创建窗体
  3180. _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); } }
  3181. break;
  3182. case "doc":
  3183. // U.MD.D.I.isRoom();
  3184. _formdiv = new U.UF.UI.form(
  3185. "协同文档",
  3186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3187. "id": "doc",
  3188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3189. "onresize": function () { }
  3190. }, {
  3191. closecallback: function () { }
  3192. }, { "style": { "height": "36px" } }).form; //创建窗体
  3193. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3194. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3195. // })
  3196. _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); } }
  3197. break;
  3198. case "studentStudy":
  3199. _formdiv = new U.UF.UI.form(
  3200. "课程中心",
  3201. $$("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
  3202. "id": "studentStudy",
  3203. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3204. "onresize": function () { }
  3205. }, {
  3206. closecallback: function () { }
  3207. }, { "style": { "height": "36px" } }).form; //创建窗体
  3208. _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); } }
  3209. break;
  3210. case "train": //好友打开
  3211. _formdiv = new U.UF.UI.form(
  3212. "训练平台",
  3213. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3214. "id": "train",
  3215. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3216. "onresize": function () { }
  3217. }, {
  3218. closecallback: function () { }
  3219. }, { "style": { "height": "36px" } }).form; //创建窗体
  3220. _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); } }
  3221. break;
  3222. case "mindNetwork": //好友打开
  3223. _formdiv = new U.UF.UI.form(
  3224. "思维网格",
  3225. $$("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 }), {
  3226. "id": "mindNetwork",
  3227. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3228. "onresize": function () { }
  3229. }, {
  3230. closecallback: function () { }
  3231. }, { "style": { "height": "36px" } }).form; //创建窗体
  3232. _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); } }
  3233. break;
  3234. case "studentClassRoom": //好友打开
  3235. _formdiv = new U.UF.UI.form(
  3236. "实时课堂",
  3237. $$("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 }), {
  3238. "id": "studentClassRoom",
  3239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3240. "onresize": function () { }
  3241. }, {
  3242. closecallback: function () { }
  3243. }, { "style": { "height": "36px" } }).form; //创建窗体
  3244. _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); } }
  3245. setTimeout(() => {
  3246. U.UF.F.windowZooming(_formdiv)
  3247. }, 0);
  3248. break;
  3249. }
  3250. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3251. switch (str) {
  3252. case "studnetProject": //好友打开
  3253. _formdiv = new U.UF.UI.form(
  3254. "我的项目",
  3255. $$("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 }), {
  3256. "id": "studnetProject",
  3257. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3258. "onresize": function () { }
  3259. }, {
  3260. closecallback: function () { }
  3261. }, { "style": { "height": "36px" } }).form; //创建窗体
  3262. _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); } }
  3263. break;
  3264. case "studentEvaluate": //好友打开
  3265. _formdiv = new U.UF.UI.form(
  3266. "我的评价",
  3267. $$("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 }), {
  3268. "id": "studentEvaluate",
  3269. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3270. "onresize": function () { }
  3271. }, {
  3272. closecallback: function () { }
  3273. }, { "style": { "height": "36px" } }).form; //创建窗体
  3274. _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); } }
  3275. break;
  3276. case "my":
  3277. _formdiv = new U.UF.UI.form(
  3278. "我的资料",
  3279. $$("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 }), {
  3280. "id": "my",
  3281. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3282. "onresize": function () { }
  3283. }, {
  3284. closecallback: function () { }
  3285. }, { "style": { "height": "36px" } }).form; //创建窗体
  3286. _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); } }
  3287. break;
  3288. case "program":
  3289. _formdiv = new U.UF.UI.form(
  3290. "编程平台",
  3291. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3292. "id": "program",
  3293. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3294. "onresize": function () { }
  3295. }, {
  3296. closecallback: function () { }
  3297. }, { "style": { "height": "36px" } }).form; //创建窗体
  3298. _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); } }
  3299. break;
  3300. case "library":
  3301. _formdiv = new U.UF.UI.form(
  3302. "素材库",
  3303. $$("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 }), {
  3304. "id": "library",
  3305. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3306. "onresize": function () { }
  3307. }, {
  3308. closecallback: function () { }
  3309. }, { "style": { "height": "36px" } }).form; //创建窗体
  3310. _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); } }
  3311. break;
  3312. case "whiteboard":
  3313. _formdiv = new U.UF.UI.form(
  3314. "电子白板",
  3315. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3316. "id": "whiteboard",
  3317. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3318. "onresize": function () { }
  3319. }, {
  3320. closecallback: function () { }
  3321. }, { "style": { "height": "36px" } }).form; //创建窗体
  3322. _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); } }
  3323. break;
  3324. case "investigation":
  3325. _formdiv = new U.UF.UI.form(
  3326. "问卷调查",
  3327. $$("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 }), {
  3328. "id": "investigation",
  3329. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3330. "onresize": function () { }
  3331. }, {
  3332. closecallback: function () { }
  3333. }, { "style": { "height": "36px" } }).form; //创建窗体
  3334. _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); } }
  3335. break;
  3336. case "note":
  3337. _formdiv = new U.UF.UI.form(
  3338. "便签分类",
  3339. $$("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 }), {
  3340. "id": "note",
  3341. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3342. "onresize": function () { }
  3343. }, {
  3344. closecallback: function () { }
  3345. }, { "style": { "height": "36px" } }).form; //创建窗体
  3346. _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); } }
  3347. break;
  3348. // case "score":
  3349. // _formdiv = new U.UF.UI.form(
  3350. // "量规评分",
  3351. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3352. // "id": "score",
  3353. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3354. // "onresize": function() {}
  3355. // }, {
  3356. // closecallback: function() {}
  3357. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3358. // _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); } }
  3359. // break;
  3360. case "mind":
  3361. _formdiv = new U.UF.UI.form(
  3362. "思维导图",
  3363. $$("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"
  3364. "id": "mind",
  3365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3366. "onresize": function () { }
  3367. }, {
  3368. closecallback: function () { }
  3369. }, { "style": { "height": "36px" } }).form; //创建窗体
  3370. _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); } }
  3371. break;
  3372. case "doc":
  3373. // U.MD.D.I.isRoom();
  3374. _formdiv = new U.UF.UI.form(
  3375. "协同文档",
  3376. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3377. "id": "doc",
  3378. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3379. "onresize": function () { }
  3380. }, {
  3381. closecallback: function () { }
  3382. }, { "style": { "height": "36px" } }).form; //创建窗体
  3383. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3384. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3385. })
  3386. _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); } }
  3387. break;
  3388. case "train": //好友打开
  3389. _formdiv = new U.UF.UI.form(
  3390. "训练平台",
  3391. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3392. "id": "train",
  3393. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function () { }
  3395. }, {
  3396. closecallback: function () { }
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. _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); } }
  3399. break;
  3400. case "studentStudy":
  3401. _formdiv = new U.UF.UI.form(
  3402. "课程中心",
  3403. $$("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
  3404. "id": "studentStudy",
  3405. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3406. "onresize": function () { }
  3407. }, {
  3408. closecallback: function () { }
  3409. }, { "style": { "height": "36px" } }).form; //创建窗体
  3410. _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); } }
  3411. break;
  3412. case "mindNetwork": //好友打开
  3413. _formdiv = new U.UF.UI.form(
  3414. "思维网格",
  3415. $$("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 }), {
  3416. "id": "mindNetwork",
  3417. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3418. "onresize": function () { }
  3419. }, {
  3420. closecallback: function () { }
  3421. }, { "style": { "height": "36px" } }).form; //创建窗体
  3422. _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); } }
  3423. break;
  3424. case "studentClassRoom": //好友打开
  3425. _formdiv = new U.UF.UI.form(
  3426. "实时课堂",
  3427. $$("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 }), {
  3428. "id": "studentClassRoom",
  3429. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3430. "onresize": function () { }
  3431. }, {
  3432. closecallback: function () { }
  3433. }, { "style": { "height": "36px" } }).form; //创建窗体
  3434. _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); } }
  3435. setTimeout(() => {
  3436. U.UF.F.windowZooming(_formdiv)
  3437. }, 0);
  3438. break;
  3439. }
  3440. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3441. //选择应用处理
  3442. switch (str) {
  3443. case "project": //好友打开
  3444. _formdiv = new U.UF.UI.form(
  3445. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3446. $$("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 }), {
  3447. "id": "project",
  3448. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3449. "onresize": function () { }
  3450. }, {
  3451. closecallback: function () { }
  3452. }, { "style": { "height": "36px" } }).form; //创建窗体
  3453. _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); } }
  3454. break;
  3455. case "student":
  3456. _formdiv = new U.UF.UI.form(
  3457. "学生管理",
  3458. $$("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 }), {
  3459. "id": "student",
  3460. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3461. "onresize": function () { }
  3462. }, {
  3463. closecallback: function () { }
  3464. }, { "style": { "height": "36px" } }).form; //创建窗体
  3465. _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); } }
  3466. break;
  3467. case "evaluate":
  3468. _formdiv = new U.UF.UI.form(
  3469. "学生评价",
  3470. $$("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 }), {
  3471. "id": "evaluate",
  3472. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3473. "onresize": function () { }
  3474. }, {
  3475. closecallback: function () { }
  3476. }, { "style": { "height": "36px" } }).form; //创建窗体
  3477. _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); } }
  3478. break;
  3479. case "sys":
  3480. _formdiv = new U.UF.UI.form(
  3481. "目标管理",
  3482. $$("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 }), {
  3483. "id": "sys",
  3484. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3485. "onresize": function () { }
  3486. }, {
  3487. closecallback: function () { }
  3488. }, { "style": { "height": "36px" } }).form; //创建窗体
  3489. _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); } }
  3490. break;
  3491. case "courseDesign":
  3492. _formdiv = new U.UF.UI.form(
  3493. "项目设计",
  3494. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3495. "id": "courseDesign",
  3496. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3497. "onresize": function () { }
  3498. }, {
  3499. closecallback: function () { }
  3500. }, { "style": { "height": "36px" } }).form; //创建窗体
  3501. _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); } }
  3502. break;
  3503. case "program":
  3504. _formdiv = new U.UF.UI.form(
  3505. "编程平台",
  3506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3507. "id": "program",
  3508. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3509. "onresize": function () { }
  3510. }, {
  3511. closecallback: function () { }
  3512. }, { "style": { "height": "36px" } }).form; //创建窗体
  3513. _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); } }
  3514. break;
  3515. case "class":
  3516. _formdiv = new U.UF.UI.form(
  3517. "班级管理",
  3518. $$("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 }), {
  3519. "id": "class",
  3520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3521. "onresize": function () { }
  3522. }, {
  3523. closecallback: function () { }
  3524. }, { "style": { "height": "36px" } }).form; //创建窗体
  3525. _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); } }
  3526. break;
  3527. case "Grade":
  3528. _formdiv = new U.UF.UI.form(
  3529. "年级管理",
  3530. $$("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 }), {
  3531. "id": "Grade",
  3532. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3533. "onresize": function () { }
  3534. }, {
  3535. closecallback: function () { }
  3536. }, { "style": { "height": "36px" } }).form; //创建窗体
  3537. _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); } }
  3538. break;
  3539. case "teacherOffice":
  3540. _formdiv = new U.UF.UI.form(
  3541. "教研室",
  3542. $$("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 }), {
  3543. "id": "teacherOffice",
  3544. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3545. "onresize": function () { }
  3546. }, {
  3547. closecallback: function () { }
  3548. }, { "style": { "height": "36px" } }).form; //创建窗体
  3549. _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); } }
  3550. break;
  3551. case "my":
  3552. _formdiv = new U.UF.UI.form(
  3553. "我的资料",
  3554. $$("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 }), {
  3555. "id": "my",
  3556. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3557. "onresize": function () { }
  3558. }, {
  3559. closecallback: function () { }
  3560. }, { "style": { "height": "36px" } }).form; //创建窗体
  3561. _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); } }
  3562. break;
  3563. case "notice":
  3564. _formdiv = new U.UF.UI.form(
  3565. "通知公告",
  3566. $$("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 }), {
  3567. "id": "notice",
  3568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3569. "onresize": function () { }
  3570. }, {
  3571. closecallback: function () { }
  3572. }, { "style": { "height": "36px" } }).form; //创建窗体
  3573. _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); } }
  3574. break;
  3575. case "library":
  3576. _formdiv = new U.UF.UI.form(
  3577. "素材库",
  3578. $$("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 }), {
  3579. "id": "library",
  3580. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3581. "onresize": function () { }
  3582. }, {
  3583. closecallback: function () { }
  3584. }, { "style": { "height": "36px" } }).form; //创建窗体
  3585. _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); } }
  3586. break;
  3587. case "whiteboard":
  3588. _formdiv = new U.UF.UI.form(
  3589. "电子白板",
  3590. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3591. "id": "whiteboard",
  3592. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3593. "onresize": function () { }
  3594. }, {
  3595. closecallback: function () { }
  3596. }, { "style": { "height": "36px" } }).form; //创建窗体
  3597. _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); } }
  3598. break;
  3599. case "investigation":
  3600. _formdiv = new U.UF.UI.form(
  3601. "问卷调查",
  3602. $$("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 }), {
  3603. "id": "investigation",
  3604. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3605. "onresize": function () { }
  3606. }, {
  3607. closecallback: function () { }
  3608. }, { "style": { "height": "36px" } }).form; //创建窗体
  3609. _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); } }
  3610. break;
  3611. case "note":
  3612. _formdiv = new U.UF.UI.form(
  3613. "便签分类",
  3614. $$("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 }), {
  3615. "id": "note",
  3616. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3617. "onresize": function () { }
  3618. }, {
  3619. closecallback: function () { }
  3620. }, { "style": { "height": "36px" } }).form; //创建窗体
  3621. _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); } }
  3622. break;
  3623. // case "score":
  3624. // _formdiv = new U.UF.UI.form(
  3625. // "量规评分",
  3626. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3627. // "id": "score",
  3628. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3629. // "onresize": function() {}
  3630. // }, {
  3631. // closecallback: function() {}
  3632. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3633. // _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); } }
  3634. // break;
  3635. case "mind":
  3636. _formdiv = new U.UF.UI.form(
  3637. "思维导图",
  3638. $$("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"
  3639. "id": "mind",
  3640. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3641. "onresize": function () { }
  3642. }, {
  3643. closecallback: function () { }
  3644. }, { "style": { "height": "36px" } }).form; //创建窗体
  3645. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3646. break;
  3647. case "doc":
  3648. // U.MD.D.I.isRoom();
  3649. _formdiv = new U.UF.UI.form(
  3650. "协同文档",
  3651. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3652. "id": "doc",
  3653. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3659. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3660. })
  3661. _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); } }
  3662. break;
  3663. case "study":
  3664. _formdiv = new U.UF.UI.form(
  3665. "课程中心",
  3666. $$("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
  3667. "id": "study",
  3668. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3669. "onresize": function () { }
  3670. }, {
  3671. closecallback: function () { }
  3672. }, { "style": { "height": "36px" } }).form; //创建窗体
  3673. _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); } }
  3674. break;
  3675. case "mindNetwork": //好友打开
  3676. _formdiv = new U.UF.UI.form(
  3677. "思维网格",
  3678. $$("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 }), {
  3679. "id": "mindNetwork",
  3680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function () { }
  3682. }, {
  3683. closecallback: function () { }
  3684. }, { "style": { "height": "36px" } }).form; //创建窗体
  3685. _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); } }
  3686. break;
  3687. case "train": //好友打开
  3688. _formdiv = new U.UF.UI.form(
  3689. "训练平台",
  3690. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3691. "id": "mindNetwork",
  3692. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function () { }
  3694. }, {
  3695. closecallback: function () { }
  3696. }, { "style": { "height": "36px" } }).form; //创建窗体
  3697. _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); } }
  3698. break;
  3699. case "teacherClassRoom": //好友打开
  3700. _formdiv = new U.UF.UI.form(
  3701. "实时课堂",
  3702. $$("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 }), {
  3703. "id": "teacherClassRoom",
  3704. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3705. "onresize": function () { }
  3706. }, {
  3707. closecallback: function () { }
  3708. }, { "style": { "height": "36px" } }).form; //创建窗体
  3709. _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); } }
  3710. setTimeout(() => {
  3711. U.UF.F.windowZooming(_formdiv)
  3712. }, 0);
  3713. break;
  3714. }
  3715. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3716. switch (str) {
  3717. case "project": //好友打开
  3718. _formdiv = new U.UF.UI.form(
  3719. "课程管理",
  3720. $$("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 }), {
  3721. "id": "project",
  3722. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3723. "onresize": function () { }
  3724. }, {
  3725. closecallback: function () { }
  3726. }, { "style": { "height": "36px" } }).form; //创建窗体
  3727. _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); } }
  3728. break;
  3729. case "evaluate":
  3730. _formdiv = new U.UF.UI.form(
  3731. "学生评价",
  3732. $$("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 }), {
  3733. "id": "evaluate",
  3734. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3735. "onresize": function () { }
  3736. }, {
  3737. closecallback: function () { }
  3738. }, { "style": { "height": "36px" } }).form; //创建窗体
  3739. _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); } }
  3740. break;
  3741. case "notice":
  3742. _formdiv = new U.UF.UI.form(
  3743. "通知公告",
  3744. $$("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 }), {
  3745. "id": "notice",
  3746. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3747. "onresize": function () { }
  3748. }, {
  3749. closecallback: function () { }
  3750. }, { "style": { "height": "36px" } }).form; //创建窗体
  3751. _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); } }
  3752. break;
  3753. case "stuLibrary":
  3754. _formdiv = new U.UF.UI.form(
  3755. "学习资料",
  3756. $$("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 }), {
  3757. "id": "stuLibrary",
  3758. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3759. "onresize": function () { }
  3760. }, {
  3761. closecallback: function () { }
  3762. }, { "style": { "height": "36px" } }).form; //创建窗体
  3763. _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); } }
  3764. break;
  3765. case "program":
  3766. _formdiv = new U.UF.UI.form(
  3767. "编程平台",
  3768. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3769. "id": "program",
  3770. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3771. "onresize": function () { }
  3772. }, {
  3773. closecallback: function () { }
  3774. }, { "style": { "height": "36px" } }).form; //创建窗体
  3775. _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); } }
  3776. break;
  3777. case "whiteboard":
  3778. _formdiv = new U.UF.UI.form(
  3779. "电子白板",
  3780. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3781. "id": "whiteboard",
  3782. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function () { }
  3784. }, {
  3785. closecallback: function () { }
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _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); } }
  3788. break;
  3789. case "investigation":
  3790. _formdiv = new U.UF.UI.form(
  3791. "问卷调查",
  3792. $$("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 }), {
  3793. "id": "investigation",
  3794. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3795. "onresize": function () { }
  3796. }, {
  3797. closecallback: function () { }
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _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); } }
  3800. break;
  3801. case "mind":
  3802. _formdiv = new U.UF.UI.form(
  3803. "思维导图",
  3804. $$("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"
  3805. "id": "mind",
  3806. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function () { }
  3808. }, {
  3809. closecallback: function () { }
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _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); } }
  3812. break;
  3813. case "doc":
  3814. // U.MD.D.I.isRoom();
  3815. _formdiv = new U.UF.UI.form(
  3816. "协同文档",
  3817. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3818. "id": "doc",
  3819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function () { }
  3821. }, {
  3822. closecallback: function () { }
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3825. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3826. })
  3827. _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); } }
  3828. break;
  3829. case "study":
  3830. _formdiv = new U.UF.UI.form(
  3831. "课程中心",
  3832. $$("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
  3833. "id": "study",
  3834. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3835. "onresize": function () { }
  3836. }, {
  3837. closecallback: function () { }
  3838. }, { "style": { "height": "36px" } }).form; //创建窗体
  3839. _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); } }
  3840. break;
  3841. case "mindNetwork": //好友打开
  3842. _formdiv = new U.UF.UI.form(
  3843. "思维网格",
  3844. $$("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 }), {
  3845. "id": "mindNetwork",
  3846. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3847. "onresize": function () { }
  3848. }, {
  3849. closecallback: function () { }
  3850. }, { "style": { "height": "36px" } }).form; //创建窗体
  3851. _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); } }
  3852. break;
  3853. case "train": //好友打开
  3854. _formdiv = new U.UF.UI.form(
  3855. "训练平台",
  3856. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3857. "id": "train",
  3858. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3859. "onresize": function () { }
  3860. }, {
  3861. closecallback: function () { }
  3862. }, { "style": { "height": "36px" } }).form; //创建窗体
  3863. _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); } }
  3864. break;
  3865. case "sys":
  3866. _formdiv = new U.UF.UI.form(
  3867. "目标管理",
  3868. $$("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 }), {
  3869. "id": "sys",
  3870. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3871. "onresize": function () { }
  3872. }, {
  3873. closecallback: function () { }
  3874. }, { "style": { "height": "36px" } }).form; //创建窗体
  3875. _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); } }
  3876. break;
  3877. case "courseDesign":
  3878. _formdiv = new U.UF.UI.form(
  3879. "项目设计",
  3880. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3881. "id": "courseDesign",
  3882. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3883. "onresize": function () { }
  3884. }, {
  3885. closecallback: function () { }
  3886. }, { "style": { "height": "36px" } }).form; //创建窗体
  3887. _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); } }
  3888. break;
  3889. }
  3890. } else if (!_type) {
  3891. switch (str) {
  3892. case "my":
  3893. _formdiv = new U.UF.UI.form(
  3894. "我的资料",
  3895. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3896. "id": "my",
  3897. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function () { }
  3899. }, {
  3900. closecallback: function () { }
  3901. }, { "style": { "height": "36px" } }).form; //创建窗体
  3902. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3903. break;
  3904. }
  3905. }
  3906. switch (str) {
  3907. // AIprogram2 AI体验 aihub.cocorobo.cn
  3908. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3909. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3910. case "formulaEdi": //公式编辑
  3911. _formdiv = new U.UF.UI.form(
  3912. "公式编辑",
  3913. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3914. "id": "formulaEdi",
  3915. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3916. "onresize": function () { }
  3917. }, {
  3918. closecallback: function () { }
  3919. }, { "style": { "height": "36px" } }).form; //创建窗体
  3920. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3921. break;
  3922. case "molStr": //分子结构
  3923. _formdiv = new U.UF.UI.form(
  3924. "分子结构",
  3925. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3926. "id": "molStr",
  3927. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3928. "onresize": function () { }
  3929. }, {
  3930. closecallback: function () { }
  3931. }, { "style": { "height": "36px" } }).form; //创建窗体
  3932. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3933. break;
  3934. case "timeAxis": //时间轴
  3935. _formdiv = new U.UF.UI.form(
  3936. "时间轴",
  3937. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3938. "id": "timeAxis",
  3939. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function () { }
  3941. }, {
  3942. closecallback: function () { }
  3943. }, { "style": { "height": "36px" } }).form; //创建窗体
  3944. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3945. break;
  3946. case "AIprogram2": //AI体验
  3947. _formdiv = new U.UF.UI.form(
  3948. "AI体验",
  3949. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3950. "id": "AIprogram2",
  3951. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3952. "onresize": function () { }
  3953. }, {
  3954. closecallback: function () { }
  3955. }, { "style": { "height": "36px" } }).form; //创建窗体
  3956. _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); } }
  3957. break;
  3958. case "Pythonprogram": //python编程
  3959. _formdiv = new U.UF.UI.form(
  3960. "Python编程",
  3961. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3962. "id": "Pythonprogram",
  3963. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3964. "onresize": function () { }
  3965. }, {
  3966. closecallback: function () { }
  3967. }, { "style": { "height": "36px" } }).form; //创建窗体
  3968. _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); } }
  3969. break;
  3970. case "AIprogram": //ai编程
  3971. _formdiv = new U.UF.UI.form(
  3972. "AI编程平台",
  3973. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3974. "id": "AIprogram",
  3975. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3976. "onresize": function () { }
  3977. }, {
  3978. closecallback: function () { }
  3979. }, { "style": { "height": "36px" } }).form; //创建窗体
  3980. _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); } }
  3981. break;
  3982. case "CocoPi": //CocoPi
  3983. _formdiv = new U.UF.UI.form(
  3984. "CocoPi",
  3985. $$("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" }), {
  3986. "id": "CocoPi",
  3987. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3988. "onresize": function () { }
  3989. }, {
  3990. closecallback: function () { }
  3991. }, { "style": { "height": "36px" } }).form; //创建窗体
  3992. _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); } }
  3993. break;
  3994. case "Wood": //Wood
  3995. _formdiv = new U.UF.UI.form(
  3996. "海龟编程",
  3997. $$("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/" }), {
  3998. "id": "Wood",
  3999. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4000. "onresize": function () { }
  4001. }, {
  4002. closecallback: function () { }
  4003. }, { "style": { "height": "36px" } }).form; //创建窗体
  4004. _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); } }
  4005. break;
  4006. case "car": //模拟驾驶
  4007. _formdiv = new U.UF.UI.form(
  4008. "模拟驾驶",
  4009. $$("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/" }), {
  4010. "id": "car",
  4011. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4012. "onresize": function () { }
  4013. }, {
  4014. closecallback: function () { }
  4015. }, { "style": { "height": "36px" } }).form; //创建窗体
  4016. _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); } }
  4017. break;
  4018. case "lineSearch": //路径搜索
  4019. _formdiv = new U.UF.UI.form(
  4020. "路径搜索",
  4021. $$("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/" }), {
  4022. "id": "lineSearch",
  4023. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4024. "onresize": function () { }
  4025. }, {
  4026. closecallback: function () { }
  4027. }, { "style": { "height": "36px" } }).form; //创建窗体
  4028. _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); } }
  4029. break;
  4030. case "deepLearning": //深度学习
  4031. _formdiv = new U.UF.UI.form(
  4032. "深度学习",
  4033. $$("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/#" }), {
  4034. "id": "deepLearning",
  4035. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4036. "onresize": function () { }
  4037. }, {
  4038. closecallback: function () { }
  4039. }, { "style": { "height": "36px" } }).form; //创建窗体
  4040. _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); } }
  4041. break;
  4042. case "allHistory": //深度学习
  4043. _formdiv = new U.UF.UI.form(
  4044. "全历史",
  4045. $$("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/" }), {
  4046. "id": "allHistory",
  4047. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4048. "onresize": function () { }
  4049. }, {
  4050. closecallback: function () { }
  4051. }, { "style": { "height": "36px" } }).form; //创建窗体
  4052. _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); } }
  4053. break;
  4054. case "chatPDF": //ai编程
  4055. _formdiv = new U.UF.UI.form(
  4056. "chatPDF",
  4057. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4058. "id": "chatPDF",
  4059. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4060. "onresize": function () { }
  4061. }, {
  4062. closecallback: function () { }
  4063. }, { "style": { "height": "36px" } }).form; //创建窗体
  4064. _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); } }
  4065. break;
  4066. case "resources": //国家教育
  4067. _formdiv = new U.UF.UI.form(
  4068. "国家教育",
  4069. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4070. "id": "resources",
  4071. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4072. "onresize": function () { }
  4073. }, {
  4074. closecallback: function () { }
  4075. }, { "style": { "height": "36px" } }).form; //创建窗体
  4076. _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); } }
  4077. break;
  4078. case "codeEdit": //源码编辑
  4079. _formdiv = new U.UF.UI.form(
  4080. "源码编辑",
  4081. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4082. "id": "codeEdit",
  4083. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4084. "onresize": function () { }
  4085. }, {
  4086. closecallback: function () { }
  4087. }, { "style": { "height": "36px" } }).form; //创建窗体
  4088. _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); } }
  4089. break; //
  4090. case "MindMap": //MindMap
  4091. _formdiv = new U.UF.UI.form(
  4092. "MindMap",
  4093. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4094. "id": "MindMap",
  4095. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4096. "onresize": function () { }
  4097. }, {
  4098. closecallback: function () { }
  4099. }, { "style": { "height": "36px" } }).form; //创建窗体
  4100. _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); } }
  4101. break;
  4102. case "netWorkPanel": //netWorkPanel
  4103. _formdiv = new U.UF.UI.form(
  4104. "netWorkPanel",
  4105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4106. "id": "netWorkPanel",
  4107. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4108. "onresize": function () { }
  4109. }, {
  4110. closecallback: function () { }
  4111. }, { "style": { "height": "36px" } }).form; //创建窗体
  4112. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4113. break;
  4114. case "GeoGebra": //GeoGebra
  4115. _formdiv = new U.UF.UI.form(
  4116. "GeoGebra",
  4117. $$("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" }), {
  4118. "id": "GeoGebra",
  4119. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4120. "onresize": function () { }
  4121. }, {
  4122. closecallback: function () { }
  4123. }, { "style": { "height": "36px" } }).form; //创建窗体
  4124. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4125. break;
  4126. case "translation": //翻译
  4127. _formdiv = new U.UF.UI.form(
  4128. "翻译",
  4129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4130. "id": "translation",
  4131. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4132. "onresize": function () { }
  4133. }, {
  4134. closecallback: function () { }
  4135. }, { "style": { "height": "36px" } }).form; //创建窗体
  4136. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4137. break;
  4138. case "mohe": //魔盒
  4139. _formdiv = new U.UF.UI.form(
  4140. "魔盒识字",
  4141. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4142. "id": "mohe",
  4143. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4144. "onresize": function () { }
  4145. }, {
  4146. closecallback: function () { }
  4147. }, { "style": { "height": "36px" } }).form; //创建窗体
  4148. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4149. break;
  4150. case "24game": //24点
  4151. _formdiv = new U.UF.UI.form(
  4152. "24点",
  4153. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4154. "id": "24game",
  4155. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4156. "onresize": function () { }
  4157. }, {
  4158. closecallback: function () { }
  4159. }, { "style": { "height": "36px" } }).form; //创建窗体
  4160. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4161. break;
  4162. case "case":
  4163. _formdiv = new U.UF.UI.form(
  4164. "课程进展",
  4165. $$("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 }), {
  4166. "id": "case",
  4167. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4168. "onresize": function () { }
  4169. }, {
  4170. closecallback: function () { }
  4171. }, { "style": { "height": "36px" } }).form; //创建窗体
  4172. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4173. break;
  4174. case "snf":
  4175. _formdiv = new U.UF.UI.form(
  4176. "赛诺梵",
  4177. $$("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" }), {
  4178. "id": "snf",
  4179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4180. "onresize": function () { }
  4181. }, {
  4182. closecallback: function () { }
  4183. }, { "style": { "height": "36px" } }).form; //创建窗体
  4184. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4185. break;
  4186. case "hanFamily":
  4187. _formdiv = new U.UF.UI.form(
  4188. "汉字家族",
  4189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4190. "id": "hanFamily",
  4191. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4192. "onresize": function () { }
  4193. }, {
  4194. closecallback: function () { }
  4195. }, { "style": { "height": "36px" } }).form; //创建窗体
  4196. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4197. break;
  4198. case "hanClassics":
  4199. _formdiv = new U.UF.UI.form(
  4200. "国学经典",
  4201. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4202. "id": "hanClassics",
  4203. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4204. "onresize": function () { }
  4205. }, {
  4206. closecallback: function () { }
  4207. }, { "style": { "height": "36px" } }).form; //创建窗体
  4208. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4209. break;
  4210. case "hanTraining":
  4211. _formdiv = new U.UF.UI.form(
  4212. "笔画训练",
  4213. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4214. "id": "hanTraining",
  4215. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4216. "onresize": function () { }
  4217. }, {
  4218. closecallback: function () { }
  4219. }, { "style": { "height": "36px" } }).form; //创建窗体
  4220. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4221. break;
  4222. case "hanClass":
  4223. _formdiv = new U.UF.UI.form(
  4224. "书法课堂",
  4225. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4226. "id": "hanClass",
  4227. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4228. "onresize": function () { }
  4229. }, {
  4230. closecallback: function () { }
  4231. }, { "style": { "height": "36px" } }).form; //创建窗体
  4232. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4233. break;
  4234. case "han":
  4235. _formdiv = new U.UF.UI.form(
  4236. "汉字宫",
  4237. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4238. "id": "han",
  4239. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4240. "onresize": function () { }
  4241. }, {
  4242. closecallback: function () { }
  4243. }, { "style": { "height": "36px" } }).form; //创建窗体
  4244. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4245. break;
  4246. case "projectGM": //课程管理
  4247. _formdiv = new U.UF.UI.form(
  4248. "课程管理",
  4249. $$("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 }), {
  4250. "id": "projectGM",
  4251. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4252. "onresize": function () { }
  4253. }, {
  4254. closecallback: function () { }
  4255. }, { "style": { "height": "36px" } }).form; //创建窗体
  4256. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4257. break;
  4258. case "studyGM": //课程中心
  4259. _formdiv = new U.UF.UI.form(
  4260. "课程中心",
  4261. $$("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
  4262. "id": "study",
  4263. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4264. "onresize": function () { }
  4265. }, {
  4266. closecallback: function () { }
  4267. }, { "style": { "height": "36px" } }).form; //创建窗体
  4268. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4269. break;
  4270. // studentGM
  4271. case "studentGM": //学生管理
  4272. _formdiv = new U.UF.UI.form(
  4273. "学生管理",
  4274. $$("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 }), {
  4275. "id": "studentGM",
  4276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4277. "onresize": function () { }
  4278. }, {
  4279. closecallback: function () { }
  4280. }, { "style": { "height": "36px" } }).form; //创建窗体
  4281. _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); } }
  4282. break;
  4283. case "evaluateGM": //学生评价
  4284. _formdiv = new U.UF.UI.form(
  4285. "学生评价",
  4286. $$("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 }), {
  4287. "id": "evaluateGM",
  4288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4289. "onresize": function () { }
  4290. }, {
  4291. closecallback: function () { }
  4292. }, { "style": { "height": "36px" } }).form; //创建窗体
  4293. _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); } }
  4294. break;
  4295. // classGM
  4296. case "classGM": //班级管理
  4297. _formdiv = new U.UF.UI.form(
  4298. "班级管理",
  4299. $$("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 }), {
  4300. "id": "classGM",
  4301. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4302. "onresize": function () { }
  4303. }, {
  4304. closecallback: function () { }
  4305. }, { "style": { "height": "36px" } }).form; //创建窗体
  4306. _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); } }
  4307. break;
  4308. // dataGM
  4309. case "dataGM":
  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/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4313. "id": "dataGM",
  4314. "style": { "width": "42%", "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/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4320. break;
  4321. // caseGM
  4322. case "caseGM": //课程进展
  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/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4326. "id": "caseGM",
  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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4333. break;
  4334. // meterialGM
  4335. case "meterialGM": //素材库
  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/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4339. "id": "meterialGM",
  4340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4341. "onresize": function () { }
  4342. }, {
  4343. closecallback: function () { }
  4344. }, { "style": { "height": "36px" } }).form; //创建窗体
  4345. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4346. break;
  4347. // evaluateSGM
  4348. case "evaluateSGM": //我的评价
  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-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4352. "id": "evaluateSGM",
  4353. "style": { "width": "70%", "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/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4359. break;
  4360. case "jupyter": //jupyter
  4361. _formdiv = new U.UF.UI.form(
  4362. "jupyter",
  4363. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4364. "id": "jupyter",
  4365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4366. "onresize": function () { }
  4367. }, {
  4368. closecallback: function () { }
  4369. }, { "style": { "height": "36px" } }).form; //创建窗体
  4370. _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); } }
  4371. break;
  4372. case "number": //数字实验室
  4373. _formdiv = new U.UF.UI.form(
  4374. "数字实验室",
  4375. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4376. "id": "number",
  4377. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4378. "onresize": function () { }
  4379. }, {
  4380. closecallback: function () { }
  4381. }, { "style": { "height": "36px" } }).form; //创建窗体
  4382. _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); } }
  4383. break;
  4384. case "studentCourse": //项目管理 学生
  4385. _formdiv = new U.UF.UI.form(
  4386. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4387. $$("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 }), {
  4388. "id": "studentCourse",
  4389. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4390. "onresize": function () { }
  4391. }, {
  4392. closecallback: function () { }
  4393. }, { "style": { "height": "36px" } }).form; //创建窗体
  4394. _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); } }
  4395. break;
  4396. case "studentCourseS": //项目管理 老师
  4397. _formdiv = new U.UF.UI.form(
  4398. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4399. $$("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 }), {
  4400. "id": "studentCourseS",
  4401. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4402. "onresize": function () { }
  4403. }, {
  4404. closecallback: function () { }
  4405. }, { "style": { "height": "36px" } }).form; //创建窗体
  4406. _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); } }
  4407. break;
  4408. case "studentIndex": //项目中心
  4409. _formdiv = new U.UF.UI.form(
  4410. "项目中心",
  4411. $$("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 }), {
  4412. "id": "studentIndex",
  4413. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4414. "onresize": function () { }
  4415. }, {
  4416. closecallback: function () { }
  4417. }, { "style": { "height": "36px" } }).form; //创建窗体
  4418. _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); } }
  4419. break;
  4420. case "CaseDesignS":
  4421. _formdiv = new U.UF.UI.form(
  4422. "项目进展",
  4423. $$("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 }), {
  4424. "id": "case",
  4425. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4426. "onresize": function () { }
  4427. }, {
  4428. closecallback: function () { }
  4429. }, { "style": { "height": "36px" } }).form; //创建窗体
  4430. _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); } }
  4431. break;
  4432. case "tcStudent": //腾讯学生管理
  4433. _formdiv = new U.UF.UI.form(
  4434. "学生管理",
  4435. $$("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 }), {
  4436. "id": "tcStudent",
  4437. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4438. "onresize": function () { }
  4439. }, {
  4440. closecallback: function () { }
  4441. }, { "style": { "height": "36px" } }).form; //创建窗体
  4442. _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); } }
  4443. break;
  4444. case "tcSchool": //腾讯学校管理
  4445. _formdiv = new U.UF.UI.form(
  4446. "学校管理",
  4447. $$("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 }), {
  4448. "id": "tcSchool",
  4449. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4450. "onresize": function () { }
  4451. }, {
  4452. closecallback: function () { }
  4453. }, { "style": { "height": "36px" } }).form; //创建窗体
  4454. _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); } }
  4455. break;
  4456. case "tcTeacher": //腾讯学校管理
  4457. _formdiv = new U.UF.UI.form(
  4458. "教师管理",
  4459. $$("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 }), {
  4460. "id": "tcTeacher",
  4461. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4462. "onresize": function () { }
  4463. }, {
  4464. closecallback: function () { }
  4465. }, { "style": { "height": "36px" } }).form; //创建窗体
  4466. _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); } }
  4467. break;
  4468. case "tcData": //腾讯我的资料
  4469. _formdiv = new U.UF.UI.form(
  4470. "我的资料",
  4471. $$("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 }), {
  4472. "id": "tcData",
  4473. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4474. "onresize": function () { }
  4475. }, {
  4476. closecallback: function () { }
  4477. }, { "style": { "height": "36px" } }).form; //创建窗体
  4478. _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); } }
  4479. break;
  4480. case "tcNotice": //腾讯消息通知
  4481. _formdiv = new U.UF.UI.form(
  4482. "消息通知",
  4483. $$("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 }), {
  4484. "id": "tcNotice",
  4485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4486. "onresize": function () { }
  4487. }, {
  4488. closecallback: function () { }
  4489. }, { "style": { "height": "36px" } }).form; //创建窗体
  4490. _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); } }
  4491. break;
  4492. case "myReport": //好友打开
  4493. _formdiv = new U.UF.UI.form(
  4494. "我的评价",
  4495. $$("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 }), {
  4496. "id": "myReport",
  4497. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4498. "onresize": function () { }
  4499. }, {
  4500. closecallback: function () { }
  4501. }, { "style": { "height": "36px" } }).form; //创建窗体
  4502. _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); } }
  4503. break;
  4504. case "learnAna": //好友打开
  4505. _formdiv = new U.UF.UI.form(
  4506. "学习分析",
  4507. $$("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 }), {
  4508. "id": "learnAna",
  4509. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4510. "onresize": function () { }
  4511. }, {
  4512. closecallback: function () { }
  4513. }, { "style": { "height": "36px" } }).form; //创建窗体
  4514. _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); } }
  4515. break;
  4516. case "AIChat": //AI共创
  4517. _formdiv = new U.UF.UI.form(
  4518. "AI共创",
  4519. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4520. "id": "AIChat",
  4521. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4522. "onresize": function () { }
  4523. }, {
  4524. istop: true,
  4525. closecallback: function () { $("#aichat_icon").remove(); },
  4526. narrowcallback: function () {
  4527. if (!$("#aichat_icon")[0]) {
  4528. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4529. }
  4530. },
  4531. }, { "style": { "height": "36px" } }).form; //创建窗体
  4532. _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); } }
  4533. break;
  4534. case "ainew": //AI共创
  4535. _formdiv = new U.UF.UI.form(
  4536. "AI协同",
  4537. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4538. "id": "ainew",
  4539. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4540. "onresize": function () { }
  4541. }, {
  4542. closecallback: function () { }
  4543. }, { "style": { "height": "36px" } }).form; //创建窗体
  4544. _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); } }
  4545. break;
  4546. case "gpt4": //gpt4
  4547. _formdiv = new U.UF.UI.form(
  4548. "AI助手",
  4549. $$("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/" }), {
  4550. "id": "ainew",
  4551. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4552. "onresize": function () { }
  4553. }, {
  4554. closecallback: function () { }
  4555. }, { "style": { "height": "36px" } }).form; //创建窗体
  4556. _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); } }
  4557. break;
  4558. case "futureClass": //AI共创
  4559. _formdiv = new U.UF.UI.form(
  4560. "协同建构",
  4561. $$("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
  4562. "id": "synergyCourse",
  4563. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4564. "onresize": function () { }
  4565. }, {
  4566. closecallback: function () {
  4567. $("iframe", _formdiv)[0].contentWindow.loginout();
  4568. }
  4569. }, { "style": { "height": "36px" } }).form; //创建窗体
  4570. _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); } }
  4571. break;
  4572. case "aiagent": //ai agent
  4573. _formdiv = new U.UF.UI.form(
  4574. "AI Agent",
  4575. $$("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" }), {
  4576. "id": "AIAgent",
  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/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4583. break;
  4584. case "dataBoard": //数据看板
  4585. _formdiv = new U.UF.UI.form(
  4586. "数据看板",
  4587. $$("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 }), {
  4588. "id": "dataBoard",
  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/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4595. break;
  4596. case "dataBoardSies": //数据融合
  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/#/dataBoardSies?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4600. "id": "dataBoardSies",
  4601. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4602. "onresize": function () { }
  4603. }, {
  4604. closecallback: function () { }
  4605. }, { "style": { "height": "36px" } }).form; //创建窗体
  4606. _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); } }
  4607. break;
  4608. case "dataBoardNew": //数据看板
  4609. _formdiv = new U.UF.UI.form(
  4610. "综合看板",
  4611. $$("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 }), {
  4612. "id": "dataBoardNew",
  4613. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4614. "onresize": function () { }
  4615. }, {
  4616. closecallback: function () { }
  4617. }, { "style": { "height": "36px" } }).form; //创建窗体
  4618. _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); } }
  4619. break;
  4620. case "AIAnalyse": //AI共创
  4621. _formdiv = new U.UF.UI.form(
  4622. "AI分析",
  4623. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4624. "id": "AIAnalyse",
  4625. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4626. "onresize": function () { }
  4627. }, {
  4628. closecallback: function () { }
  4629. }, { "style": { "height": "36px" } }).form; //创建窗体
  4630. _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); } }
  4631. break;
  4632. case "studioCourse": //AI共创
  4633. _formdiv = new U.UF.UI.form(
  4634. "工作管理",
  4635. $$("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 }), {
  4636. "id": "studioCourse",
  4637. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4638. "onresize": function () { }
  4639. }, {
  4640. closecallback: function () { }
  4641. }, { "style": { "height": "36px" } }).form; //创建窗体
  4642. _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); } }
  4643. break;
  4644. case "studioIndex": //AI共创
  4645. _formdiv = new U.UF.UI.form(
  4646. "工作中心",
  4647. $$("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 }), {
  4648. "id": "studioIndex",
  4649. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4650. "onresize": function () { }
  4651. }, {
  4652. closecallback: function () { }
  4653. }, { "style": { "height": "36px" } }).form; //创建窗体
  4654. _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); } }
  4655. break;
  4656. case "source":
  4657. _formdiv = new U.UF.UI.form(
  4658. "教学资源",
  4659. $$("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 }), {
  4660. "id": "source",
  4661. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4662. "onresize": function () { }
  4663. }, {
  4664. closecallback: function () { }
  4665. }, { "style": { "height": "36px" } }).form; //创建窗体
  4666. _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); } }
  4667. break;
  4668. case "testTeacher":
  4669. _formdiv = new U.UF.UI.form(
  4670. "评测管理",
  4671. $$("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 }), {
  4672. "id": "testTeacher",
  4673. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4674. "onresize": function () { }
  4675. }, {
  4676. closecallback: function () { }
  4677. }, { "style": { "height": "36px" } }).form; //创建窗体
  4678. _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); } }
  4679. break;
  4680. case "testStudent":
  4681. _formdiv = new U.UF.UI.form(
  4682. "评测中心",
  4683. $$("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 }), {
  4684. "id": "testStudent",
  4685. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4686. "onresize": function () { }
  4687. }, {
  4688. closecallback: function () { }
  4689. }, { "style": { "height": "36px" } }).form; //创建窗体
  4690. _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); } }
  4691. break;
  4692. }
  4693. //U.MD.D.I.openClick(str);
  4694. //如果有任务栏信息
  4695. if (_taskbar) {
  4696. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4697. }
  4698. }
  4699. // U.MD.D.I.openClick = function(str){
  4700. // var click = '';
  4701. // switch(str){
  4702. // case 'friend':
  4703. // click = '我的好友';
  4704. // break;
  4705. // case 'domain':
  4706. // click = '域名管理';
  4707. // break;
  4708. // case 'disk':
  4709. // click = '我的云盘';
  4710. // break;
  4711. // case 'word':
  4712. // click = 'Word';
  4713. // break;
  4714. // case 'excel':
  4715. // click = 'Execl';
  4716. // break;
  4717. // case 'txt':
  4718. // click = '文本文件';
  4719. // break;
  4720. // case 'lookupFriend':
  4721. // click = '查找好友';
  4722. // break;
  4723. // case 'ftp':
  4724. // click = 'FTP';
  4725. // break;
  4726. // case 'group':
  4727. // click = '群组';
  4728. // break;
  4729. // case 'set':
  4730. // click = '我的设置';
  4731. // break;
  4732. // case 'systemSet':
  4733. // click = '系统设置';
  4734. // break;
  4735. // case 'boomYun':
  4736. // click = '互联办公';
  4737. // break;
  4738. // case 'xz':
  4739. // click = '云端下载';
  4740. // break;
  4741. // case 'client':
  4742. // click = '有思浏览器';
  4743. // break;
  4744. // case 'backEndProgramming':
  4745. // click = '在线后台编程';
  4746. // break;
  4747. // case 'frontEndProgramming':
  4748. // click = '在线前端编程';
  4749. // break;
  4750. // default: break;
  4751. // }
  4752. // if(U.MD.D.I.Ip && click){
  4753. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4754. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4755. // })
  4756. // }
  4757. // }
  4758. /**
  4759. *函数作用:ajax简易函数,使用post格式
  4760. *@param url {data} 后台地址
  4761. *@param data {data} 参数json
  4762. *@param fn {data} 回调函数
  4763. *
  4764. */
  4765. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4766. // var xhr = new XMLHttpRequest();
  4767. // xhr.open("GET",url,true);
  4768. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4769. // xhr.onreadystatechange = function(){
  4770. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4771. // fn.call(this,xhr.responseText);
  4772. // }
  4773. // };
  4774. // xhr.send();
  4775. // }
  4776. /*判断是否是内网IP*/
  4777. // U.MD.D.I.isInnerIPFn = function(str){
  4778. // var curPageUrl = str;
  4779. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4780. // curPageUrl =curPageUrl.replace(reg1,'');
  4781. // // console.log('curPageUrl-1 '+curPageUrl);
  4782. // var reg2 = /\:+/g;//替换冒号为一点
  4783. // curPageUrl =curPageUrl.replace(reg2,'.');
  4784. // // console.log('curPageUrl-2 '+curPageUrl);
  4785. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4786. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4787. // if(curPageUrl[2] != '16'){
  4788. // return ipAddress;
  4789. // }else{
  4790. // return false;
  4791. // }
  4792. // }
  4793. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4794. // //compatibility for firefox and chrome
  4795. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4796. // var pc = new myPeerConnection({
  4797. // iceServers: []
  4798. // }),
  4799. // noop = function() {},
  4800. // localIPs = {},
  4801. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4802. // key;
  4803. // function iterateIP(ip) {
  4804. // if (!localIPs[ip]) onNewIP(ip);
  4805. // localIPs[ip] = true;
  4806. // }
  4807. // //create a bogus data channel
  4808. // pc.createDataChannel("");
  4809. // // create offer and set local description
  4810. // pc.createOffer().then(function(sdp) {
  4811. // sdp.sdp.split('\n').forEach(function(line) {
  4812. // if (line.indexOf('candidate') < 0) return;
  4813. // line.match(ipRegex).forEach(iterateIP);
  4814. // });
  4815. // pc.setLocalDescription(sdp, noop, noop);
  4816. // }).catch(function(reason) {
  4817. // // An error occurred, so handle the failure to connect
  4818. // });
  4819. // //sten for candidate events
  4820. // pc.onicecandidate = function(ice) {
  4821. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4822. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4823. // };
  4824. // }
  4825. // U.MD.D.I.getUserIpBool = function(callback){
  4826. // U.MD.D.I.getUserIP(function(ip){
  4827. // alert("Got IP! :" + ip);
  4828. // });
  4829. //}
  4830. //#endregion
  4831. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4832. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4833. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4834. _userinfo = US.userInfo, //登录用户信息
  4835. _userid = US.userInfo.userid //登录用户id
  4836. let _iframe;
  4837. let _cid = cid,
  4838. _stage = stage,
  4839. _task = task,
  4840. _tool = tool;
  4841. var _jie = $$("div", {
  4842. "style": {
  4843. "position": "absolute",
  4844. "bottom": "50px",
  4845. "right": "50px",
  4846. "zIndex": "9999",
  4847. "backgroundColor": "#2268bc",
  4848. "color": "#fff",
  4849. "padding": "12px 20px",
  4850. "cursor": "pointer",
  4851. "borderRadius": "4px",
  4852. },
  4853. "innerHTML": "提交作业"
  4854. })
  4855. let aTool = ''
  4856. let _loading = document.createElement('div')
  4857. _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;"
  4858. // _loading.id = "";
  4859. let _lchild = document.createElement('div')
  4860. let _limg = document.createElement('img')
  4861. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4862. _limg.style = "width: 26px;margin-right: 10px;"
  4863. _lchild.appendChild(_limg)
  4864. let _lspan = document.createElement('span')
  4865. _lspan.innerHTML = "上传中..."
  4866. _lchild.appendChild(_lspan)
  4867. _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%);"
  4868. _loading.appendChild(_lchild)
  4869. var _box = $$('div', {
  4870. "style": {
  4871. "position": "relative",
  4872. "width": "100%",
  4873. "height": "100%",
  4874. },
  4875. })
  4876. _box.appendChild(_loading)
  4877. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4878. switch (str) {
  4879. case "whiteboard":
  4880. aTool = 1;
  4881. _iframe = $$("iframe", {
  4882. "frameborder": "no",
  4883. "border": "0",
  4884. "scrolling ": "no",
  4885. "style": {
  4886. "cssText": "border:0;width:100%;height:100%"
  4887. },
  4888. "src": "https://iwb.cocorobo.cn/"
  4889. })
  4890. _box.appendChild(_iframe);
  4891. _box.appendChild(_jie);
  4892. _formdiv = new U.UF.UI.form(
  4893. "电子白板",
  4894. _box, {
  4895. "id": "whiteboard" + cid + stage + task + tool,
  4896. "style": {
  4897. "width": "90%",
  4898. "height": "90%",
  4899. "overflow": 'hidden'
  4900. },
  4901. "onresize": function () { }
  4902. }, {
  4903. closecallback: function () { }
  4904. }, {
  4905. "style": {
  4906. "height": "36px"
  4907. }
  4908. }).form; //创建窗体
  4909. _taskbar = {
  4910. "id": str + _formdiv.id,
  4911. "style": {
  4912. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4913. },
  4914. "name": "电子白板",
  4915. "forms": _formdiv,
  4916. "click": function () {
  4917. U.MD.D.I.openApplication(str, obj, info);
  4918. }
  4919. }
  4920. break;
  4921. case "mind":
  4922. aTool = 3;
  4923. _iframe = $$("iframe", {
  4924. "frameborder": "no",
  4925. "border": "0",
  4926. "scrolling ": "no",
  4927. "style": {
  4928. "cssText": "border:0;width:100%;height:100%"
  4929. },
  4930. "src": "/kityminder-editor/dist/index.html"
  4931. })
  4932. _box.appendChild(_iframe);
  4933. _box.appendChild(_jie);
  4934. _formdiv = new U.UF.UI.form(
  4935. "思维导图",
  4936. _box, { //"/jsmind/example/demo.html"
  4937. "id": "mind" + cid + stage + task + tool,
  4938. "style": {
  4939. "width": "90%",
  4940. "height": "90%",
  4941. "overflow": 'hidden'
  4942. },
  4943. "onresize": function () { }
  4944. }, {
  4945. closecallback: function () { }
  4946. }, {
  4947. "style": {
  4948. "height": "36px"
  4949. }
  4950. }).form; //创建窗体
  4951. _taskbar = {
  4952. "id": str + _formdiv.id,
  4953. "style": {
  4954. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4955. },
  4956. "name": "思维导图",
  4957. "forms": _formdiv,
  4958. "click": function () {
  4959. U.MD.D.I.openApplication(str, obj, info);
  4960. }
  4961. }
  4962. break;
  4963. case "MindMap":
  4964. aTool = 3;
  4965. _iframe = $$("iframe", {
  4966. "frameborder": "no",
  4967. "border": "0",
  4968. "scrolling ": "no",
  4969. "style": {
  4970. "cssText": "border:0;width:100%;height:100%"
  4971. },
  4972. "src": "//cloud.cocorobo.cn/mind/"
  4973. })
  4974. _box.appendChild(_iframe);
  4975. _box.appendChild(_jie);
  4976. _formdiv = new U.UF.UI.form(
  4977. "思维导图",
  4978. _box, { //"/jsmind/example/demo.html"
  4979. "id": "mind" + cid + stage + task + tool,
  4980. "style": {
  4981. "width": "90%",
  4982. "height": "90%",
  4983. "overflow": 'hidden'
  4984. },
  4985. "onresize": function () { }
  4986. }, {
  4987. closecallback: function () { }
  4988. }, {
  4989. "style": {
  4990. "height": "36px"
  4991. }
  4992. }).form; //创建窗体
  4993. _taskbar = {
  4994. "id": str + _formdiv.id,
  4995. "style": {
  4996. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4997. },
  4998. "name": "思维导图",
  4999. "forms": _formdiv,
  5000. "click": function () {
  5001. U.MD.D.I.openApplication(str, obj, info);
  5002. }
  5003. }
  5004. break;
  5005. case "doc":
  5006. aTool = 6;
  5007. _iframe = $$("iframe", {
  5008. "frameborder": "no",
  5009. "border": "0",
  5010. "scrolling ": "no",
  5011. "style": {
  5012. "cssText": "border:0;width:100%;height:100%"
  5013. },
  5014. "src": "/Office/Word/WordEditArea.htm"
  5015. })
  5016. _box.appendChild(_iframe);
  5017. _box.appendChild(_jie);
  5018. _formdiv = new U.UF.UI.form(
  5019. "协同文档",
  5020. _box, {
  5021. "id": "doc" + cid + stage + task + tool,
  5022. "style": {
  5023. "width": "90%",
  5024. "height": "90%",
  5025. "overflow": 'hidden'
  5026. },
  5027. "onresize": function () { }
  5028. }, {
  5029. closecallback: function () { }
  5030. }, {
  5031. "style": {
  5032. "height": "36px"
  5033. }
  5034. }).form; //创建窗体
  5035. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5036. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5037. })
  5038. _taskbar = {
  5039. "id": str + _formdiv.id,
  5040. "style": {
  5041. "backgroundImage": "url(/img/icon/doc.png)"
  5042. },
  5043. "name": "协同文档",
  5044. "forms": _formdiv,
  5045. "click": function () {
  5046. U.MD.D.I.openApplication(str, obj, info);
  5047. }
  5048. }
  5049. break;
  5050. case "mindNetwork": //好友打开
  5051. aTool = 7;
  5052. _iframe = $$("iframe", {
  5053. "webkitallowfullscreen": "",
  5054. "mozallowfullscreen": "",
  5055. "allowfullscreen": "",
  5056. "frameborder": "no",
  5057. "border": "0",
  5058. "scrolling ": "no",
  5059. "style": {
  5060. "cssText": "border:0; width:100%; height:100%;"
  5061. },
  5062. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5063. })
  5064. _box.appendChild(_iframe);
  5065. _box.appendChild(_jie);
  5066. _formdiv = new U.UF.UI.form(
  5067. "思维网格",
  5068. _box, {
  5069. "id": "mindNetwork" + cid + stage + task + tool,
  5070. "style": {
  5071. "width": "90%",
  5072. "height": "90%",
  5073. "overflow": 'hidden'
  5074. },
  5075. "onresize": function () { }
  5076. }, {
  5077. closecallback: function () { }
  5078. }, {
  5079. "style": {
  5080. "height": "36px"
  5081. }
  5082. }).form; //创建窗体
  5083. _taskbar = {
  5084. "id": str + _formdiv.id,
  5085. "style": {
  5086. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5087. },
  5088. "name": "思维网格",
  5089. "forms": _formdiv,
  5090. "click": function () {
  5091. U.MD.D.I.openApplication(str, obj, info);
  5092. }
  5093. }
  5094. break;
  5095. case "courseDesign":
  5096. _iframe = $$("iframe", {
  5097. "webkitallowfullscreen": "",
  5098. "mozallowfullscreen": "",
  5099. "allowfullscreen": "",
  5100. "frameborder": "no",
  5101. "border": "0",
  5102. "scrolling ": "no",
  5103. "style": {
  5104. "cssText": "border:0; width:100%; height:100%;"
  5105. },
  5106. "src": "/course-design-vue"
  5107. })
  5108. _box.appendChild(_iframe);
  5109. _box.appendChild(_jie);
  5110. _formdiv = new U.UF.UI.form(
  5111. "项目设计",
  5112. _box, {
  5113. "id": "courseDesign" + cid + stage + task + tool,
  5114. "style": {
  5115. "width": "90%",
  5116. "height": "90%",
  5117. "overflow": 'hidden'
  5118. },
  5119. "onresize": function () { }
  5120. }, {
  5121. closecallback: function () { }
  5122. }, {
  5123. "style": {
  5124. "height": "36px"
  5125. }
  5126. }).form; //创建窗体
  5127. _taskbar = {
  5128. "id": str + _formdiv.id,
  5129. "style": {
  5130. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5131. },
  5132. "name": "项目设计",
  5133. "forms": _formdiv,
  5134. "click": function () {
  5135. U.MD.D.I.openApplication(str, obj, info);
  5136. }
  5137. }
  5138. break;
  5139. }
  5140. const script1 = document.createElement("script");
  5141. script1.type = "text/javascript";
  5142. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5143. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5144. const script2 = document.createElement("script");
  5145. script2.type = "text/javascript";
  5146. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5147. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5148. const script3 = document.createElement("script");
  5149. script3.type = "text/javascript";
  5150. script3.charset = "UTF-8";
  5151. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5152. const script4 = document.createElement("script");
  5153. script4.type = "text/javascript";
  5154. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5155. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5156. if (_iframe) {
  5157. if (str == 'doc') {
  5158. _iframe = _formdiv.querySelector('iframe')
  5159. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5160. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5161. _iframe.contentWindow.document.body.appendChild(script1);
  5162. _iframe.contentWindow.document.body.appendChild(script2);
  5163. // _iframe.contentWindow.document.body.appendChild(script3);
  5164. _iframe.contentWindow.document.body.appendChild(script4);
  5165. })
  5166. if (onloadListener) {
  5167. _iframe.contentDocument.location.reload()
  5168. } else {
  5169. _iframe.contentDocument.location.reload()
  5170. }
  5171. } else if (str == 'courseDesign') {
  5172. U.UF.DL.iframeLoad(_iframe, function () {
  5173. // _iframe.contentWindow.U.MD.O.W.load();
  5174. // _iframe.contentWindow.document.body.appendChild(script1);
  5175. _iframe.contentWindow.document.body.appendChild(script2);
  5176. _iframe.contentWindow.document.body.appendChild(script4);
  5177. })
  5178. } else if (str == 'mind') {
  5179. _iframe = _formdiv.querySelector('iframe')
  5180. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5181. //
  5182. _iframe.contentWindow.document.body.appendChild(script1);
  5183. _iframe.contentWindow.document.body.appendChild(script2);
  5184. _iframe.contentWindow.document.body.appendChild(script4);
  5185. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5186. })
  5187. if (onloadListener) {
  5188. _iframe.contentDocument.location.reload()
  5189. } else {
  5190. _iframe.contentDocument.location.reload()
  5191. }
  5192. } else if (str == 'whiteboard') {
  5193. _iframe = _formdiv.querySelector('iframe')
  5194. let onloadListener = _iframe.onload = () => {
  5195. _iframe.contentWindow.document.body.appendChild(script1);
  5196. _iframe.contentWindow.document.body.appendChild(script2);
  5197. _iframe.contentWindow.document.body.appendChild(script4);
  5198. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5199. };
  5200. if (onloadListener) {
  5201. _iframe.contentDocument.location.reload()
  5202. } else {
  5203. _iframe.contentDocument.location.reload()
  5204. }
  5205. } else {
  5206. _iframe.onload = () => {
  5207. _iframe.contentWindow.document.body.appendChild(script1);
  5208. _iframe.contentWindow.document.body.appendChild(script2);
  5209. // _iframe.contentWindow.document.body.appendChild(script3);
  5210. _iframe.contentWindow.document.body.appendChild(script4);
  5211. };
  5212. }
  5213. _jie.onclick = async () => {
  5214. let text = ''
  5215. if (aTool == 1) {
  5216. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5217. } else if (aTool == 6) {
  5218. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5219. } else if (aTool == 3) {
  5220. text = await U.MD.D.I.getEditorContent(_iframe);
  5221. }
  5222. _loading.style.display = 'flex'
  5223. console.log(_loading);
  5224. var _ajs = _iframe.contentWindow.document.createElement("script");
  5225. _ajs.type = "text/javascript";
  5226. _ajs.innerHTML =
  5227. // 'console.log(' + _loading + ');\n' +
  5228. 'var _js = document.createElement("script");\n' +
  5229. '_js.type="text/javascript";\n' +
  5230. '_js.charset="UTF-8";\n' +
  5231. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5232. "_js.onload = function(){\n" +
  5233. ' var a = document.getElementsByTagName("img")\n' +
  5234. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5235. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5236. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5237. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5238. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5239. "beforeUpload_shishi(file," +
  5240. "'" +
  5241. _userid +
  5242. "'" +
  5243. ", " +
  5244. "'" +
  5245. _cid +
  5246. "'" +
  5247. ", " +
  5248. "'" +
  5249. _stage +
  5250. "'" +
  5251. ", " +
  5252. "'" +
  5253. _task +
  5254. "'" +
  5255. ", " +
  5256. "'" +
  5257. _tool +
  5258. "'" +
  5259. ", " +
  5260. "'" +
  5261. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5262. "'" +
  5263. ", " +
  5264. "'" +
  5265. aTool +
  5266. "'" +
  5267. ", " +
  5268. "`" +
  5269. text +
  5270. "`" +
  5271. ")\n" +
  5272. " });\n" +
  5273. "}\n" +
  5274. "document.head.appendChild(_js);\n";
  5275. _iframe.contentWindow.document.head.appendChild(_ajs);
  5276. }
  5277. }
  5278. //U.MD.D.I.openClick(str);
  5279. //如果有任务栏信息
  5280. // if (_taskbar) {
  5281. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5282. // }
  5283. }
  5284. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5285. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5286. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5287. _userinfo = US.userInfo, //登录用户信息
  5288. _userid = US.userInfo.userid //登录用户id
  5289. let _iframe;
  5290. let _cid = cid,
  5291. _stage = stage,
  5292. _task = task,
  5293. _tool = tool;
  5294. var _jie = $$("div", {
  5295. "style": {
  5296. "position": "absolute",
  5297. "bottom": "50px",
  5298. "right": "50px",
  5299. "zIndex": "9999",
  5300. "backgroundColor": "#2268bc",
  5301. "color": "#fff",
  5302. "padding": "12px 20px",
  5303. "cursor": "pointer",
  5304. "borderRadius": "4px",
  5305. },
  5306. "innerHTML": "提交作业"
  5307. })
  5308. let aTool = ''
  5309. let _loading = document.createElement('div')
  5310. _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;"
  5311. // _loading.id = "";
  5312. let _lchild = document.createElement('div')
  5313. let _limg = document.createElement('img')
  5314. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5315. _limg.style = "width: 26px;margin-right: 10px;"
  5316. _lchild.appendChild(_limg)
  5317. let _lspan = document.createElement('span')
  5318. _lspan.innerHTML = "上传中..."
  5319. _lchild.appendChild(_lspan)
  5320. _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%);"
  5321. _loading.appendChild(_lchild)
  5322. var _box = $$('div', {
  5323. "style": {
  5324. "position": "relative",
  5325. "width": "100%",
  5326. "height": "100%",
  5327. },
  5328. })
  5329. _box.appendChild(_loading)
  5330. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5331. switch (str) {
  5332. case "whiteboard":
  5333. aTool = 1;
  5334. _iframe = $$("iframe", {
  5335. "frameborder": "no",
  5336. "border": "0",
  5337. "scrolling ": "no",
  5338. "style": {
  5339. "cssText": "border:0;width:100%;height:100%"
  5340. },
  5341. "src": "https://iwb.cocorobo.cn/"
  5342. })
  5343. _box.appendChild(_iframe);
  5344. _box.appendChild(_jie);
  5345. _formdiv = new U.UF.UI.form(
  5346. "电子白板",
  5347. _box, {
  5348. "id": "whiteboard" + cid + stage + task + tool,
  5349. "style": {
  5350. "width": "90%",
  5351. "height": "90%",
  5352. "overflow": 'hidden'
  5353. },
  5354. "onresize": function () { }
  5355. }, {
  5356. closecallback: function () { }
  5357. }, {
  5358. "style": {
  5359. "height": "36px"
  5360. }
  5361. }).form; //创建窗体
  5362. _taskbar = {
  5363. "id": str + _formdiv.id,
  5364. "style": {
  5365. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5366. },
  5367. "name": "电子白板",
  5368. "forms": _formdiv,
  5369. "click": function () {
  5370. U.MD.D.I.openApplication(str, obj, info);
  5371. }
  5372. }
  5373. break;
  5374. case "mind":
  5375. aTool = 3;
  5376. _iframe = $$("iframe", {
  5377. "frameborder": "no",
  5378. "border": "0",
  5379. "scrolling ": "no",
  5380. "style": {
  5381. "cssText": "border:0;width:100%;height:100%"
  5382. },
  5383. "src": "/kityminder-editor/dist/index.html"
  5384. })
  5385. _box.appendChild(_iframe);
  5386. _box.appendChild(_jie);
  5387. _formdiv = new U.UF.UI.form(
  5388. "思维导图",
  5389. _box, { //"/jsmind/example/demo.html"
  5390. "id": "mind" + cid + stage + task + tool,
  5391. "style": {
  5392. "width": "90%",
  5393. "height": "90%",
  5394. "overflow": 'hidden'
  5395. },
  5396. "onresize": function () { }
  5397. }, {
  5398. closecallback: function () { }
  5399. }, {
  5400. "style": {
  5401. "height": "36px"
  5402. }
  5403. }).form; //创建窗体
  5404. _taskbar = {
  5405. "id": str + _formdiv.id,
  5406. "style": {
  5407. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5408. },
  5409. "name": "思维导图",
  5410. "forms": _formdiv,
  5411. "click": function () {
  5412. U.MD.D.I.openApplication(str, obj, info);
  5413. }
  5414. }
  5415. break;
  5416. case "MindMap":
  5417. aTool = 3;
  5418. _iframe = $$("iframe", {
  5419. "frameborder": "no",
  5420. "border": "0",
  5421. "scrolling ": "no",
  5422. "style": {
  5423. "cssText": "border:0;width:100%;height:100%"
  5424. },
  5425. "src": "//cloud.cocorobo.cn/mind/"
  5426. })
  5427. _box.appendChild(_iframe);
  5428. _box.appendChild(_jie);
  5429. _formdiv = new U.UF.UI.form(
  5430. "思维导图",
  5431. _box, { //"/jsmind/example/demo.html"
  5432. "id": "mind" + cid + stage + task + tool,
  5433. "style": {
  5434. "width": "90%",
  5435. "height": "90%",
  5436. "overflow": 'hidden'
  5437. },
  5438. "onresize": function () { }
  5439. }, {
  5440. closecallback: function () { }
  5441. }, {
  5442. "style": {
  5443. "height": "36px"
  5444. }
  5445. }).form; //创建窗体
  5446. _taskbar = {
  5447. "id": str + _formdiv.id,
  5448. "style": {
  5449. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5450. },
  5451. "name": "思维导图",
  5452. "forms": _formdiv,
  5453. "click": function () {
  5454. U.MD.D.I.openApplication(str, obj, info);
  5455. }
  5456. }
  5457. break;
  5458. case "doc":
  5459. aTool = 6;
  5460. _iframe = $$("iframe", {
  5461. "frameborder": "no",
  5462. "border": "0",
  5463. "scrolling ": "no",
  5464. "style": {
  5465. "cssText": "border:0;width:100%;height:100%"
  5466. },
  5467. "src": "/Office/Word/WordEditArea.htm"
  5468. })
  5469. _box.appendChild(_iframe);
  5470. _box.appendChild(_jie);
  5471. _formdiv = new U.UF.UI.form(
  5472. "协同文档",
  5473. _box, {
  5474. "id": "doc" + cid + stage + task + tool,
  5475. "style": {
  5476. "width": "90%",
  5477. "height": "90%",
  5478. "overflow": 'hidden'
  5479. },
  5480. "onresize": function () { }
  5481. }, {
  5482. closecallback: function () { }
  5483. }, {
  5484. "style": {
  5485. "height": "36px"
  5486. }
  5487. }).form; //创建窗体
  5488. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5489. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5490. })
  5491. _taskbar = {
  5492. "id": str + _formdiv.id,
  5493. "style": {
  5494. "backgroundImage": "url(/img/icon/doc.png)"
  5495. },
  5496. "name": "协同文档",
  5497. "forms": _formdiv,
  5498. "click": function () {
  5499. U.MD.D.I.openApplication(str, obj, info);
  5500. }
  5501. }
  5502. break;
  5503. case "mindNetwork": //好友打开
  5504. aTool = 7;
  5505. _iframe = $$("iframe", {
  5506. "webkitallowfullscreen": "",
  5507. "mozallowfullscreen": "",
  5508. "allowfullscreen": "",
  5509. "frameborder": "no",
  5510. "border": "0",
  5511. "scrolling ": "no",
  5512. "style": {
  5513. "cssText": "border:0; width:100%; height:100%;"
  5514. },
  5515. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5516. })
  5517. _box.appendChild(_iframe);
  5518. _box.appendChild(_jie);
  5519. _formdiv = new U.UF.UI.form(
  5520. "思维网格",
  5521. _box, {
  5522. "id": "mindNetwork" + cid + stage + task + tool,
  5523. "style": {
  5524. "width": "90%",
  5525. "height": "90%",
  5526. "overflow": 'hidden'
  5527. },
  5528. "onresize": function () { }
  5529. }, {
  5530. closecallback: function () { }
  5531. }, {
  5532. "style": {
  5533. "height": "36px"
  5534. }
  5535. }).form; //创建窗体
  5536. _taskbar = {
  5537. "id": str + _formdiv.id,
  5538. "style": {
  5539. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5540. },
  5541. "name": "思维网格",
  5542. "forms": _formdiv,
  5543. "click": function () {
  5544. U.MD.D.I.openApplication(str, obj, info);
  5545. }
  5546. }
  5547. break;
  5548. case "courseDesign":
  5549. _iframe = $$("iframe", {
  5550. "webkitallowfullscreen": "",
  5551. "mozallowfullscreen": "",
  5552. "allowfullscreen": "",
  5553. "frameborder": "no",
  5554. "border": "0",
  5555. "scrolling ": "no",
  5556. "style": {
  5557. "cssText": "border:0; width:100%; height:100%;"
  5558. },
  5559. "src": "/course-design-vue"
  5560. })
  5561. _box.appendChild(_iframe);
  5562. _box.appendChild(_jie);
  5563. _formdiv = new U.UF.UI.form(
  5564. "项目设计",
  5565. _box, {
  5566. "id": "courseDesign" + cid + stage + task + tool,
  5567. "style": {
  5568. "width": "90%",
  5569. "height": "90%",
  5570. "overflow": 'hidden'
  5571. },
  5572. "onresize": function () { }
  5573. }, {
  5574. closecallback: function () { }
  5575. }, {
  5576. "style": {
  5577. "height": "36px"
  5578. }
  5579. }).form; //创建窗体
  5580. _taskbar = {
  5581. "id": str + _formdiv.id,
  5582. "style": {
  5583. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5584. },
  5585. "name": "项目设计",
  5586. "forms": _formdiv,
  5587. "click": function () {
  5588. U.MD.D.I.openApplication(str, obj, info);
  5589. }
  5590. }
  5591. break;
  5592. }
  5593. const script1 = document.createElement("script");
  5594. script1.type = "text/javascript";
  5595. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5596. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5597. const script2 = document.createElement("script");
  5598. script2.type = "text/javascript";
  5599. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5600. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5601. const script3 = document.createElement("script");
  5602. script3.type = "text/javascript";
  5603. script3.charset = "UTF-8";
  5604. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5605. const script4 = document.createElement("script");
  5606. script4.type = "text/javascript";
  5607. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5608. script4.src = window.origin + "/js/Common/jietu2E.js";
  5609. if (_iframe) {
  5610. if (str == 'doc') {
  5611. _iframe = _formdiv.querySelector('iframe')
  5612. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5613. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5614. _iframe.contentWindow.document.body.appendChild(script1);
  5615. _iframe.contentWindow.document.body.appendChild(script2);
  5616. // _iframe.contentWindow.document.body.appendChild(script3);
  5617. _iframe.contentWindow.document.body.appendChild(script4);
  5618. })
  5619. if (onloadListener) {
  5620. _iframe.contentDocument.location.reload()
  5621. } else {
  5622. _iframe.contentDocument.location.reload()
  5623. }
  5624. } else if (str == 'courseDesign') {
  5625. U.UF.DL.iframeLoad(_iframe, function () {
  5626. // _iframe.contentWindow.U.MD.O.W.load();
  5627. // _iframe.contentWindow.document.body.appendChild(script1);
  5628. _iframe.contentWindow.document.body.appendChild(script2);
  5629. _iframe.contentWindow.document.body.appendChild(script4);
  5630. })
  5631. } else if (str == 'mind') {
  5632. _iframe = _formdiv.querySelector('iframe')
  5633. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5634. //
  5635. _iframe.contentWindow.document.body.appendChild(script1);
  5636. _iframe.contentWindow.document.body.appendChild(script2);
  5637. _iframe.contentWindow.document.body.appendChild(script4);
  5638. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5639. })
  5640. if (onloadListener) {
  5641. _iframe.contentDocument.location.reload()
  5642. } else {
  5643. _iframe.contentDocument.location.reload()
  5644. }
  5645. } else if (str == 'whiteboard') {
  5646. _iframe = _formdiv.querySelector('iframe')
  5647. let onloadListener = _iframe.onload = () => {
  5648. _iframe.contentWindow.document.body.appendChild(script1);
  5649. _iframe.contentWindow.document.body.appendChild(script2);
  5650. _iframe.contentWindow.document.body.appendChild(script4);
  5651. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5652. };
  5653. if (onloadListener) {
  5654. _iframe.contentDocument.location.reload()
  5655. } else {
  5656. _iframe.contentDocument.location.reload()
  5657. }
  5658. } else {
  5659. _iframe.onload = () => {
  5660. _iframe.contentWindow.document.body.appendChild(script1);
  5661. _iframe.contentWindow.document.body.appendChild(script2);
  5662. // _iframe.contentWindow.document.body.appendChild(script3);
  5663. _iframe.contentWindow.document.body.appendChild(script4);
  5664. };
  5665. }
  5666. _jie.onclick = async () => {
  5667. let text = ''
  5668. if (aTool == 1) {
  5669. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5670. } else if (aTool == 6) {
  5671. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5672. } else if (aTool == 3) {
  5673. text = await U.MD.D.I.getEditorContent(_iframe);
  5674. }
  5675. _loading.style.display = 'flex'
  5676. console.log(_loading);
  5677. var _ajs = _iframe.contentWindow.document.createElement("script");
  5678. _ajs.type = "text/javascript";
  5679. _ajs.innerHTML =
  5680. // 'console.log(' + _loading + ');\n' +
  5681. 'var _js = document.createElement("script");\n' +
  5682. '_js.type="text/javascript";\n' +
  5683. '_js.charset="UTF-8";\n' +
  5684. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5685. "_js.onload = function(){\n" +
  5686. ' var a = document.getElementsByTagName("img")\n' +
  5687. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5688. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5689. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5690. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5691. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5692. "beforeUpload_shishi(file," +
  5693. "'" +
  5694. _userid +
  5695. "'" +
  5696. ", " +
  5697. "'" +
  5698. _cid +
  5699. "'" +
  5700. ", " +
  5701. "'" +
  5702. _stage +
  5703. "'" +
  5704. ", " +
  5705. "'" +
  5706. _task +
  5707. "'" +
  5708. ", " +
  5709. "'" +
  5710. _tool +
  5711. "'" +
  5712. ", " +
  5713. "'" +
  5714. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5715. "'" +
  5716. ", " +
  5717. "'" +
  5718. aTool +
  5719. "'" +
  5720. ", " +
  5721. "`" +
  5722. text +
  5723. "`" +
  5724. ")\n" +
  5725. " });\n" +
  5726. "}\n" +
  5727. "document.head.appendChild(_js);\n";
  5728. _iframe.contentWindow.document.head.appendChild(_ajs);
  5729. }
  5730. }
  5731. //U.MD.D.I.openClick(str);
  5732. //如果有任务栏信息
  5733. // if (_taskbar) {
  5734. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5735. // }
  5736. }
  5737. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5738. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5739. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5740. _userid = student.userid, //登录用户id
  5741. _username = student.student //用户名字
  5742. let _iframe;
  5743. let _cid = cid,
  5744. _stage = stage,
  5745. _task = task,
  5746. _tool = tool;
  5747. var _jie = $$("div", {
  5748. "style": {
  5749. "position": "absolute",
  5750. "bottom": "50px",
  5751. "right": "50px",
  5752. "zIndex": "9999",
  5753. "backgroundColor": "#2268bc",
  5754. "color": "#fff",
  5755. "padding": "12px 20px",
  5756. "cursor": "pointer",
  5757. "borderRadius": "4px",
  5758. },
  5759. "innerHTML": "提交作业"
  5760. })
  5761. let aTool = ''
  5762. let _loading = document.createElement('div')
  5763. _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;"
  5764. // _loading.id = "";
  5765. let _lchild = document.createElement('div')
  5766. let _limg = document.createElement('img')
  5767. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5768. _limg.style = "width: 26px;margin-right: 10px;"
  5769. _lchild.appendChild(_limg)
  5770. let _lspan = document.createElement('span')
  5771. _lspan.innerHTML = "上传中..."
  5772. _lchild.appendChild(_lspan)
  5773. _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%);"
  5774. _loading.appendChild(_lchild)
  5775. var _box = $$('div', {
  5776. "style": {
  5777. "position": "relative",
  5778. "width": "100%",
  5779. "height": "100%",
  5780. },
  5781. })
  5782. _box.appendChild(_loading)
  5783. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5784. switch (str) {
  5785. case "whiteboard":
  5786. aTool = 1;
  5787. _iframe = $$("iframe", {
  5788. "frameborder": "no",
  5789. "border": "0",
  5790. "scrolling ": "no",
  5791. "style": {
  5792. "cssText": "border:0;width:100%;height:100%"
  5793. },
  5794. "src": "https://iwb.cocorobo.cn/"
  5795. })
  5796. _box.appendChild(_iframe);
  5797. _box.appendChild(_jie);
  5798. _formdiv = new U.UF.UI.form(
  5799. "电子白板-" + _username,
  5800. _box, {
  5801. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5802. "style": {
  5803. "width": "90%",
  5804. "height": "90%",
  5805. "overflow": 'hidden'
  5806. },
  5807. "onresize": function () { }
  5808. }, {
  5809. closecallback: function () { }
  5810. }, {
  5811. "style": {
  5812. "height": "36px"
  5813. }
  5814. }).form; //创建窗体
  5815. _taskbar = {
  5816. "id": str + _formdiv.id,
  5817. "style": {
  5818. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5819. },
  5820. "name": "电子白板",
  5821. "forms": _formdiv,
  5822. "click": function () {
  5823. U.MD.D.I.openApplication(str, obj, info);
  5824. }
  5825. }
  5826. break;
  5827. case "mind":
  5828. aTool = 3;
  5829. _iframe = $$("iframe", {
  5830. "frameborder": "no",
  5831. "border": "0",
  5832. "scrolling ": "no",
  5833. "style": {
  5834. "cssText": "border:0;width:100%;height:100%"
  5835. },
  5836. "src": "/kityminder-editor/dist/index.html"
  5837. })
  5838. _box.appendChild(_iframe);
  5839. _box.appendChild(_jie);
  5840. _formdiv = new U.UF.UI.form(
  5841. "思维导图-" + _username,
  5842. _box, { //"/jsmind/example/demo.html"
  5843. "id": "mind" + cid + stage + task + tool + _userid,
  5844. "style": {
  5845. "width": "90%",
  5846. "height": "90%",
  5847. "overflow": 'hidden'
  5848. },
  5849. "onresize": function () { }
  5850. }, {
  5851. closecallback: function () { }
  5852. }, {
  5853. "style": {
  5854. "height": "36px"
  5855. }
  5856. }).form; //创建窗体
  5857. _taskbar = {
  5858. "id": str + _formdiv.id,
  5859. "style": {
  5860. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5861. },
  5862. "name": "思维导图",
  5863. "forms": _formdiv,
  5864. "click": function () {
  5865. U.MD.D.I.openApplication(str, obj, info);
  5866. }
  5867. }
  5868. break;
  5869. case "MindMap":
  5870. aTool = 3;
  5871. _iframe = $$("iframe", {
  5872. "frameborder": "no",
  5873. "border": "0",
  5874. "scrolling ": "no",
  5875. "style": {
  5876. "cssText": "border:0;width:100%;height:100%"
  5877. },
  5878. "src": "//cloud.cocorobo.cn/mind/"
  5879. })
  5880. _box.appendChild(_iframe);
  5881. _box.appendChild(_jie);
  5882. _formdiv = new U.UF.UI.form(
  5883. "思维导图-" + _username,
  5884. _box, { //"/jsmind/example/demo.html"
  5885. "id": "mind" + cid + stage + task + tool + _userid,
  5886. "style": {
  5887. "width": "90%",
  5888. "height": "90%",
  5889. "overflow": 'hidden'
  5890. },
  5891. "onresize": function () { }
  5892. }, {
  5893. closecallback: function () { }
  5894. }, {
  5895. "style": {
  5896. "height": "36px"
  5897. }
  5898. }).form; //创建窗体
  5899. _taskbar = {
  5900. "id": str + _formdiv.id,
  5901. "style": {
  5902. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5903. },
  5904. "name": "思维导图",
  5905. "forms": _formdiv,
  5906. "click": function () {
  5907. U.MD.D.I.openApplication(str, obj, info);
  5908. }
  5909. }
  5910. break;
  5911. case "doc":
  5912. aTool = 6;
  5913. _iframe = $$("iframe", {
  5914. "frameborder": "no",
  5915. "border": "0",
  5916. "scrolling ": "no",
  5917. "style": {
  5918. "cssText": "border:0;width:100%;height:100%"
  5919. },
  5920. "src": "/Office/Word/WordEditArea.htm"
  5921. })
  5922. _box.appendChild(_iframe);
  5923. _box.appendChild(_jie);
  5924. _formdiv = new U.UF.UI.form(
  5925. "协同文档-" + _username,
  5926. _box, {
  5927. "id": "doc" + cid + stage + task + tool + _userid,
  5928. "style": {
  5929. "width": "90%",
  5930. "height": "90%",
  5931. "overflow": 'hidden'
  5932. },
  5933. "onresize": function () { }
  5934. }, {
  5935. closecallback: function () { }
  5936. }, {
  5937. "style": {
  5938. "height": "36px"
  5939. }
  5940. }).form; //创建窗体
  5941. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5942. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5943. })
  5944. _taskbar = {
  5945. "id": str + _formdiv.id,
  5946. "style": {
  5947. "backgroundImage": "url(/img/icon/doc.png)"
  5948. },
  5949. "name": "协同文档",
  5950. "forms": _formdiv,
  5951. "click": function () {
  5952. U.MD.D.I.openApplication(str, obj, info);
  5953. }
  5954. }
  5955. break;
  5956. case "mindNetwork": //好友打开
  5957. aTool = 7;
  5958. _iframe = $$("iframe", {
  5959. "webkitallowfullscreen": "",
  5960. "mozallowfullscreen": "",
  5961. "allowfullscreen": "",
  5962. "frameborder": "no",
  5963. "border": "0",
  5964. "scrolling ": "no",
  5965. "style": {
  5966. "cssText": "border:0; width:100%; height:100%;"
  5967. },
  5968. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5969. })
  5970. _box.appendChild(_iframe);
  5971. _box.appendChild(_jie);
  5972. _formdiv = new U.UF.UI.form(
  5973. "思维网格-" + _username,
  5974. _box, {
  5975. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5976. "style": {
  5977. "width": "90%",
  5978. "height": "90%",
  5979. "overflow": 'hidden'
  5980. },
  5981. "onresize": function () { }
  5982. }, {
  5983. closecallback: function () { }
  5984. }, {
  5985. "style": {
  5986. "height": "36px"
  5987. }
  5988. }).form; //创建窗体
  5989. _taskbar = {
  5990. "id": str + _formdiv.id,
  5991. "style": {
  5992. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5993. },
  5994. "name": "思维网格",
  5995. "forms": _formdiv,
  5996. "click": function () {
  5997. U.MD.D.I.openApplication(str, obj, info);
  5998. }
  5999. }
  6000. break;
  6001. case "courseDesign":
  6002. _iframe = $$("iframe", {
  6003. "webkitallowfullscreen": "",
  6004. "mozallowfullscreen": "",
  6005. "allowfullscreen": "",
  6006. "frameborder": "no",
  6007. "border": "0",
  6008. "scrolling ": "no",
  6009. "style": {
  6010. "cssText": "border:0; width:100%; height:100%;"
  6011. },
  6012. "src": "/course-design-vue"
  6013. })
  6014. _box.appendChild(_iframe);
  6015. _box.appendChild(_jie);
  6016. _formdiv = new U.UF.UI.form(
  6017. "项目设计-" + _username,
  6018. _box, {
  6019. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6020. "style": {
  6021. "width": "90%",
  6022. "height": "90%",
  6023. "overflow": 'hidden'
  6024. },
  6025. "onresize": function () { }
  6026. }, {
  6027. closecallback: function () { }
  6028. }, {
  6029. "style": {
  6030. "height": "36px"
  6031. }
  6032. }).form; //创建窗体
  6033. _taskbar = {
  6034. "id": str + _formdiv.id,
  6035. "style": {
  6036. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6037. },
  6038. "name": "项目设计",
  6039. "forms": _formdiv,
  6040. "click": function () {
  6041. U.MD.D.I.openApplication(str, obj, info);
  6042. }
  6043. }
  6044. break;
  6045. }
  6046. const script1 = document.createElement("script");
  6047. script1.type = "text/javascript";
  6048. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6049. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6050. const script2 = document.createElement("script");
  6051. script2.type = "text/javascript";
  6052. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6053. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6054. const script3 = document.createElement("script");
  6055. script3.type = "text/javascript";
  6056. script3.charset = "UTF-8";
  6057. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6058. const script4 = document.createElement("script");
  6059. script4.type = "text/javascript";
  6060. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6061. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6062. if (_iframe) {
  6063. if (str == 'doc') {
  6064. _iframe = _formdiv.querySelector('iframe')
  6065. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6066. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6067. _iframe.contentWindow.document.body.appendChild(script1);
  6068. _iframe.contentWindow.document.body.appendChild(script2);
  6069. // _iframe.contentWindow.document.body.appendChild(script3);
  6070. _iframe.contentWindow.document.body.appendChild(script4);
  6071. })
  6072. if (onloadListener) {
  6073. _iframe.contentDocument.location.reload()
  6074. } else {
  6075. _iframe.contentDocument.location.reload()
  6076. }
  6077. } else if (str == 'courseDesign') {
  6078. U.UF.DL.iframeLoad(_iframe, function () {
  6079. // _iframe.contentWindow.U.MD.O.W.load();
  6080. // _iframe.contentWindow.document.body.appendChild(script1);
  6081. _iframe.contentWindow.document.body.appendChild(script2);
  6082. _iframe.contentWindow.document.body.appendChild(script4);
  6083. })
  6084. } else if (str == 'mind') {
  6085. _iframe = _formdiv.querySelector('iframe')
  6086. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6087. //
  6088. _iframe.contentWindow.document.body.appendChild(script1);
  6089. _iframe.contentWindow.document.body.appendChild(script2);
  6090. _iframe.contentWindow.document.body.appendChild(script4);
  6091. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6092. })
  6093. if (onloadListener) {
  6094. _iframe.contentDocument.location.reload()
  6095. } else {
  6096. _iframe.contentDocument.location.reload()
  6097. }
  6098. } else if (str == 'whiteboard') {
  6099. _iframe = _formdiv.querySelector('iframe')
  6100. let onloadListener = _iframe.onload = () => {
  6101. _iframe.contentWindow.document.body.appendChild(script1);
  6102. _iframe.contentWindow.document.body.appendChild(script2);
  6103. _iframe.contentWindow.document.body.appendChild(script4);
  6104. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6105. };
  6106. if (onloadListener) {
  6107. _iframe.contentDocument.location.reload()
  6108. } else {
  6109. _iframe.contentDocument.location.reload()
  6110. }
  6111. } else {
  6112. _iframe.onload = () => {
  6113. _iframe.contentWindow.document.body.appendChild(script1);
  6114. _iframe.contentWindow.document.body.appendChild(script2);
  6115. // _iframe.contentWindow.document.body.appendChild(script3);
  6116. _iframe.contentWindow.document.body.appendChild(script4);
  6117. };
  6118. }
  6119. _jie.onclick = async () => {
  6120. let text = ''
  6121. if (aTool == 1) {
  6122. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6123. } else if (aTool == 6) {
  6124. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6125. } else if (aTool == 3) {
  6126. text = await U.MD.D.I.getEditorContent(_iframe);
  6127. }
  6128. _loading.style.display = 'flex'
  6129. console.log(_loading);
  6130. var _ajs = _iframe.contentWindow.document.createElement("script");
  6131. _ajs.type = "text/javascript";
  6132. _ajs.innerHTML =
  6133. // 'console.log(' + _loading + ');\n' +
  6134. 'var _js = document.createElement("script");\n' +
  6135. '_js.type="text/javascript";\n' +
  6136. '_js.charset="UTF-8";\n' +
  6137. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6138. "_js.onload = function(){\n" +
  6139. ' var a = document.getElementsByTagName("img")\n' +
  6140. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6141. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6142. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6143. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6144. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6145. "beforeUpload_shishi(file," +
  6146. "'" +
  6147. _userid +
  6148. "'" +
  6149. ", " +
  6150. "'" +
  6151. _cid +
  6152. "'" +
  6153. ", " +
  6154. "'" +
  6155. _stage +
  6156. "'" +
  6157. ", " +
  6158. "'" +
  6159. _task +
  6160. "'" +
  6161. ", " +
  6162. "'" +
  6163. _tool +
  6164. "'" +
  6165. ", " +
  6166. "'" +
  6167. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6168. "'" +
  6169. ", " +
  6170. "'" +
  6171. aTool +
  6172. "'" +
  6173. ", " +
  6174. "`" +
  6175. text +
  6176. "`" +
  6177. ")\n" +
  6178. " });\n" +
  6179. "}\n" +
  6180. "document.head.appendChild(_js);\n";
  6181. _iframe.contentWindow.document.head.appendChild(_ajs);
  6182. }
  6183. }
  6184. }
  6185. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6186. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6187. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6188. _userid = student.userid, //登录用户id
  6189. _username = student.student //用户名字
  6190. let _iframe;
  6191. let _cid = cid,
  6192. _stage = stage,
  6193. _task = task,
  6194. _tool = tool;
  6195. var _jie = $$("div", {
  6196. "style": {
  6197. "position": "absolute",
  6198. "bottom": "50px",
  6199. "right": "50px",
  6200. "zIndex": "9999",
  6201. "backgroundColor": "#2268bc",
  6202. "color": "#fff",
  6203. "padding": "12px 20px",
  6204. "cursor": "pointer",
  6205. "borderRadius": "4px",
  6206. },
  6207. "innerHTML": "提交作业"
  6208. })
  6209. let aTool = ''
  6210. let _loading = document.createElement('div')
  6211. _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;"
  6212. // _loading.id = "";
  6213. let _lchild = document.createElement('div')
  6214. let _limg = document.createElement('img')
  6215. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6216. _limg.style = "width: 26px;margin-right: 10px;"
  6217. _lchild.appendChild(_limg)
  6218. let _lspan = document.createElement('span')
  6219. _lspan.innerHTML = "上传中..."
  6220. _lchild.appendChild(_lspan)
  6221. _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%);"
  6222. _loading.appendChild(_lchild)
  6223. var _box = $$('div', {
  6224. "style": {
  6225. "position": "relative",
  6226. "width": "100%",
  6227. "height": "100%",
  6228. },
  6229. })
  6230. _box.appendChild(_loading)
  6231. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6232. switch (str) {
  6233. case "whiteboard":
  6234. aTool = 1;
  6235. _iframe = $$("iframe", {
  6236. "frameborder": "no",
  6237. "border": "0",
  6238. "scrolling ": "no",
  6239. "style": {
  6240. "cssText": "border:0;width:100%;height:100%"
  6241. },
  6242. "src": "https://iwb.cocorobo.cn/"
  6243. })
  6244. _box.appendChild(_iframe);
  6245. _box.appendChild(_jie);
  6246. _formdiv = new U.UF.UI.form(
  6247. "电子白板-" + _username,
  6248. _box, {
  6249. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6250. "style": {
  6251. "width": "90%",
  6252. "height": "90%",
  6253. "overflow": 'hidden'
  6254. },
  6255. "onresize": function () { }
  6256. }, {
  6257. closecallback: function () { }
  6258. }, {
  6259. "style": {
  6260. "height": "36px"
  6261. }
  6262. }).form; //创建窗体
  6263. _taskbar = {
  6264. "id": str + _formdiv.id,
  6265. "style": {
  6266. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6267. },
  6268. "name": "电子白板",
  6269. "forms": _formdiv,
  6270. "click": function () {
  6271. U.MD.D.I.openApplication(str, obj, info);
  6272. }
  6273. }
  6274. break;
  6275. case "mind":
  6276. aTool = 3;
  6277. _iframe = $$("iframe", {
  6278. "frameborder": "no",
  6279. "border": "0",
  6280. "scrolling ": "no",
  6281. "style": {
  6282. "cssText": "border:0;width:100%;height:100%"
  6283. },
  6284. "src": "/kityminder-editor/dist/index.html"
  6285. })
  6286. _box.appendChild(_iframe);
  6287. _box.appendChild(_jie);
  6288. _formdiv = new U.UF.UI.form(
  6289. "思维导图-" + _username,
  6290. _box, { //"/jsmind/example/demo.html"
  6291. "id": "mind" + cid + stage + task + tool + _userid,
  6292. "style": {
  6293. "width": "90%",
  6294. "height": "90%",
  6295. "overflow": 'hidden'
  6296. },
  6297. "onresize": function () { }
  6298. }, {
  6299. closecallback: function () { }
  6300. }, {
  6301. "style": {
  6302. "height": "36px"
  6303. }
  6304. }).form; //创建窗体
  6305. _taskbar = {
  6306. "id": str + _formdiv.id,
  6307. "style": {
  6308. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6309. },
  6310. "name": "思维导图",
  6311. "forms": _formdiv,
  6312. "click": function () {
  6313. U.MD.D.I.openApplication(str, obj, info);
  6314. }
  6315. }
  6316. break;
  6317. case "MindMap":
  6318. aTool = 3;
  6319. _iframe = $$("iframe", {
  6320. "frameborder": "no",
  6321. "border": "0",
  6322. "scrolling ": "no",
  6323. "style": {
  6324. "cssText": "border:0;width:100%;height:100%"
  6325. },
  6326. "src": "//cloud.cocorobo.cn/mind/"
  6327. })
  6328. _box.appendChild(_iframe);
  6329. _box.appendChild(_jie);
  6330. _formdiv = new U.UF.UI.form(
  6331. "思维导图-" + _username,
  6332. _box, { //"/jsmind/example/demo.html"
  6333. "id": "mind" + cid + stage + task + tool + _userid,
  6334. "style": {
  6335. "width": "90%",
  6336. "height": "90%",
  6337. "overflow": 'hidden'
  6338. },
  6339. "onresize": function () { }
  6340. }, {
  6341. closecallback: function () { }
  6342. }, {
  6343. "style": {
  6344. "height": "36px"
  6345. }
  6346. }).form; //创建窗体
  6347. _taskbar = {
  6348. "id": str + _formdiv.id,
  6349. "style": {
  6350. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6351. },
  6352. "name": "思维导图",
  6353. "forms": _formdiv,
  6354. "click": function () {
  6355. U.MD.D.I.openApplication(str, obj, info);
  6356. }
  6357. }
  6358. break;
  6359. case "doc":
  6360. aTool = 6;
  6361. _iframe = $$("iframe", {
  6362. "frameborder": "no",
  6363. "border": "0",
  6364. "scrolling ": "no",
  6365. "style": {
  6366. "cssText": "border:0;width:100%;height:100%"
  6367. },
  6368. "src": "/Office/Word/WordEditArea.htm"
  6369. })
  6370. _box.appendChild(_iframe);
  6371. _box.appendChild(_jie);
  6372. _formdiv = new U.UF.UI.form(
  6373. "协同文档-" + _username,
  6374. _box, {
  6375. "id": "doc" + cid + stage + task + tool + _userid,
  6376. "style": {
  6377. "width": "90%",
  6378. "height": "90%",
  6379. "overflow": 'hidden'
  6380. },
  6381. "onresize": function () { }
  6382. }, {
  6383. closecallback: function () { }
  6384. }, {
  6385. "style": {
  6386. "height": "36px"
  6387. }
  6388. }).form; //创建窗体
  6389. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6390. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6391. })
  6392. _taskbar = {
  6393. "id": str + _formdiv.id,
  6394. "style": {
  6395. "backgroundImage": "url(/img/icon/doc.png)"
  6396. },
  6397. "name": "协同文档",
  6398. "forms": _formdiv,
  6399. "click": function () {
  6400. U.MD.D.I.openApplication(str, obj, info);
  6401. }
  6402. }
  6403. break;
  6404. case "mindNetwork": //好友打开
  6405. aTool = 7;
  6406. _iframe = $$("iframe", {
  6407. "webkitallowfullscreen": "",
  6408. "mozallowfullscreen": "",
  6409. "allowfullscreen": "",
  6410. "frameborder": "no",
  6411. "border": "0",
  6412. "scrolling ": "no",
  6413. "style": {
  6414. "cssText": "border:0; width:100%; height:100%;"
  6415. },
  6416. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6417. })
  6418. _box.appendChild(_iframe);
  6419. _box.appendChild(_jie);
  6420. _formdiv = new U.UF.UI.form(
  6421. "思维网格-" + _username,
  6422. _box, {
  6423. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6424. "style": {
  6425. "width": "90%",
  6426. "height": "90%",
  6427. "overflow": 'hidden'
  6428. },
  6429. "onresize": function () { }
  6430. }, {
  6431. closecallback: function () { }
  6432. }, {
  6433. "style": {
  6434. "height": "36px"
  6435. }
  6436. }).form; //创建窗体
  6437. _taskbar = {
  6438. "id": str + _formdiv.id,
  6439. "style": {
  6440. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6441. },
  6442. "name": "思维网格",
  6443. "forms": _formdiv,
  6444. "click": function () {
  6445. U.MD.D.I.openApplication(str, obj, info);
  6446. }
  6447. }
  6448. break;
  6449. case "courseDesign":
  6450. _iframe = $$("iframe", {
  6451. "webkitallowfullscreen": "",
  6452. "mozallowfullscreen": "",
  6453. "allowfullscreen": "",
  6454. "frameborder": "no",
  6455. "border": "0",
  6456. "scrolling ": "no",
  6457. "style": {
  6458. "cssText": "border:0; width:100%; height:100%;"
  6459. },
  6460. "src": "/course-design-vue"
  6461. })
  6462. _box.appendChild(_iframe);
  6463. _box.appendChild(_jie);
  6464. _formdiv = new U.UF.UI.form(
  6465. "项目设计-" + _username,
  6466. _box, {
  6467. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6468. "style": {
  6469. "width": "90%",
  6470. "height": "90%",
  6471. "overflow": 'hidden'
  6472. },
  6473. "onresize": function () { }
  6474. }, {
  6475. closecallback: function () { }
  6476. }, {
  6477. "style": {
  6478. "height": "36px"
  6479. }
  6480. }).form; //创建窗体
  6481. _taskbar = {
  6482. "id": str + _formdiv.id,
  6483. "style": {
  6484. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6485. },
  6486. "name": "项目设计",
  6487. "forms": _formdiv,
  6488. "click": function () {
  6489. U.MD.D.I.openApplication(str, obj, info);
  6490. }
  6491. }
  6492. break;
  6493. }
  6494. const script1 = document.createElement("script");
  6495. script1.type = "text/javascript";
  6496. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6497. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6498. const script2 = document.createElement("script");
  6499. script2.type = "text/javascript";
  6500. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6501. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6502. const script3 = document.createElement("script");
  6503. script3.type = "text/javascript";
  6504. script3.charset = "UTF-8";
  6505. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6506. const script4 = document.createElement("script");
  6507. script4.type = "text/javascript";
  6508. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6509. script4.src = window.origin + "/js/Common/jietu2E.js";
  6510. if (_iframe) {
  6511. if (str == 'doc') {
  6512. _iframe = _formdiv.querySelector('iframe')
  6513. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6514. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6515. _iframe.contentWindow.document.body.appendChild(script1);
  6516. _iframe.contentWindow.document.body.appendChild(script2);
  6517. // _iframe.contentWindow.document.body.appendChild(script3);
  6518. _iframe.contentWindow.document.body.appendChild(script4);
  6519. })
  6520. if (onloadListener) {
  6521. _iframe.contentDocument.location.reload()
  6522. } else {
  6523. _iframe.contentDocument.location.reload()
  6524. }
  6525. } else if (str == 'courseDesign') {
  6526. U.UF.DL.iframeLoad(_iframe, function () {
  6527. // _iframe.contentWindow.U.MD.O.W.load();
  6528. // _iframe.contentWindow.document.body.appendChild(script1);
  6529. _iframe.contentWindow.document.body.appendChild(script2);
  6530. _iframe.contentWindow.document.body.appendChild(script4);
  6531. })
  6532. } else if (str == 'mind') {
  6533. _iframe = _formdiv.querySelector('iframe')
  6534. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6535. //
  6536. _iframe.contentWindow.document.body.appendChild(script1);
  6537. _iframe.contentWindow.document.body.appendChild(script2);
  6538. _iframe.contentWindow.document.body.appendChild(script4);
  6539. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6540. })
  6541. if (onloadListener) {
  6542. _iframe.contentDocument.location.reload()
  6543. } else {
  6544. _iframe.contentDocument.location.reload()
  6545. }
  6546. } else if (str == 'whiteboard') {
  6547. _iframe = _formdiv.querySelector('iframe')
  6548. let onloadListener = _iframe.onload = () => {
  6549. _iframe.contentWindow.document.body.appendChild(script1);
  6550. _iframe.contentWindow.document.body.appendChild(script2);
  6551. _iframe.contentWindow.document.body.appendChild(script4);
  6552. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6553. };
  6554. if (onloadListener) {
  6555. _iframe.contentDocument.location.reload()
  6556. } else {
  6557. _iframe.contentDocument.location.reload()
  6558. }
  6559. } else {
  6560. _iframe.onload = () => {
  6561. _iframe.contentWindow.document.body.appendChild(script1);
  6562. _iframe.contentWindow.document.body.appendChild(script2);
  6563. // _iframe.contentWindow.document.body.appendChild(script3);
  6564. _iframe.contentWindow.document.body.appendChild(script4);
  6565. };
  6566. }
  6567. _jie.onclick = async () => {
  6568. let text = ''
  6569. if (aTool == 1) {
  6570. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6571. } else if (aTool == 6) {
  6572. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6573. } else if (aTool == 3) {
  6574. text = await U.MD.D.I.getEditorContent(_iframe);
  6575. }
  6576. _loading.style.display = 'flex'
  6577. console.log(_loading);
  6578. var _ajs = _iframe.contentWindow.document.createElement("script");
  6579. _ajs.type = "text/javascript";
  6580. _ajs.innerHTML =
  6581. // 'console.log(' + _loading + ');\n' +
  6582. 'var _js = document.createElement("script");\n' +
  6583. '_js.type="text/javascript";\n' +
  6584. '_js.charset="UTF-8";\n' +
  6585. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6586. "_js.onload = function(){\n" +
  6587. ' var a = document.getElementsByTagName("img")\n' +
  6588. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6589. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6590. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6591. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6592. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6593. "beforeUpload_shishi(file," +
  6594. "'" +
  6595. _userid +
  6596. "'" +
  6597. ", " +
  6598. "'" +
  6599. _cid +
  6600. "'" +
  6601. ", " +
  6602. "'" +
  6603. _stage +
  6604. "'" +
  6605. ", " +
  6606. "'" +
  6607. _task +
  6608. "'" +
  6609. ", " +
  6610. "'" +
  6611. _tool +
  6612. "'" +
  6613. ", " +
  6614. "'" +
  6615. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6616. "'" +
  6617. ", " +
  6618. "'" +
  6619. aTool +
  6620. "'" +
  6621. ", " +
  6622. "`" +
  6623. text +
  6624. "`" +
  6625. ")\n" +
  6626. " });\n" +
  6627. "}\n" +
  6628. "document.head.appendChild(_js);\n";
  6629. _iframe.contentWindow.document.head.appendChild(_ajs);
  6630. }
  6631. }
  6632. }
  6633. U.MD.D.I.getEditorContent = function (iframe) {
  6634. return new Promise((resolve, reject) => {
  6635. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6636. console.log(content);
  6637. resolve(content)
  6638. });
  6639. });
  6640. }
  6641. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6642. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6643. // if (res.value[0].length > 0) {
  6644. // // resolve(res.value[0][0].text);
  6645. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6646. // $(fileInput).val('');
  6647. // });
  6648. // }
  6649. // }, [], { "type": "GET", "withCredentials": true });
  6650. var xmlhttp;
  6651. var Mac, Sn, DeviceId
  6652. if (window.XMLHttpRequest) {
  6653. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6654. xmlhttp = new XMLHttpRequest();
  6655. } else {
  6656. // IE6, IE5 浏览器执行代码
  6657. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6658. }
  6659. xmlhttp.onreadystatechange = function () {
  6660. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6661. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6662. // resolve(res.value[0][0].text);
  6663. if (type == '2') {
  6664. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6665. } else if (type == '3') {
  6666. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6667. }
  6668. } else {
  6669. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6670. }
  6671. }
  6672. }
  6673. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6674. xmlhttp.send();
  6675. }
  6676. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6677. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6678. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6679. _userinfo = US.userInfo, //登录用户信息
  6680. _userid = US.userInfo.userid //登录用户id
  6681. let _iframe;
  6682. let _cid = cid,
  6683. _stage = stage,
  6684. _task = task,
  6685. _tool = tool;
  6686. var _jie = $$("div", {
  6687. "style": {
  6688. "position": "absolute",
  6689. "bottom": "50px",
  6690. "right": "50px",
  6691. "zIndex": "9999",
  6692. "backgroundColor": "#2268bc",
  6693. "color": "#fff",
  6694. "padding": "12px 20px",
  6695. "cursor": "pointer",
  6696. "borderRadius": "4px",
  6697. },
  6698. "innerHTML": "确认并提交"
  6699. })
  6700. let aTool = ''
  6701. let _loading = document.createElement('div')
  6702. _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;"
  6703. // _loading.id = "";
  6704. let _lchild = document.createElement('div')
  6705. let _limg = document.createElement('img')
  6706. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6707. _limg.style = "width: 26px;margin-right: 10px;"
  6708. _lchild.appendChild(_limg)
  6709. let _lspan = document.createElement('span')
  6710. _lspan.innerHTML = "上传中..."
  6711. _lchild.appendChild(_lspan)
  6712. _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%);"
  6713. _loading.appendChild(_lchild)
  6714. var _box = $$('div', {
  6715. "style": {
  6716. "position": "relative",
  6717. "width": "100%",
  6718. "height": "100%",
  6719. },
  6720. })
  6721. _box.appendChild(_loading)
  6722. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6723. switch (str) {
  6724. case "whiteboard":
  6725. aTool = 1;
  6726. _iframe = $$("iframe", {
  6727. "frameborder": "no",
  6728. "border": "0",
  6729. "scrolling ": "no",
  6730. "style": {
  6731. "cssText": "border:0;width:100%;height:100%"
  6732. },
  6733. "src": "https://iwb.cocorobo.cn/"
  6734. })
  6735. _box.appendChild(_iframe);
  6736. _box.appendChild(_jie);
  6737. _formdiv = new U.UF.UI.form(
  6738. "电子白板",
  6739. _box, {
  6740. "id": "whiteboards" + cid + stage + task + tool,
  6741. "style": {
  6742. "width": "90%",
  6743. "height": "90%",
  6744. "overflow": 'hidden'
  6745. },
  6746. "onresize": function () { }
  6747. }, {
  6748. closecallback: function () { }
  6749. }, {
  6750. "style": {
  6751. "height": "36px"
  6752. }
  6753. }).form; //创建窗体
  6754. _taskbar = {
  6755. "id": str + _formdiv.id,
  6756. "style": {
  6757. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6758. },
  6759. "name": "电子白板",
  6760. "forms": _formdiv,
  6761. "click": function () {
  6762. U.MD.D.I.openApplication(str, obj, info);
  6763. }
  6764. }
  6765. break;
  6766. case "mind":
  6767. aTool = 3;
  6768. _iframe = $$("iframe", {
  6769. "frameborder": "no",
  6770. "border": "0",
  6771. "scrolling ": "no",
  6772. "style": {
  6773. "cssText": "border:0;width:100%;height:100%"
  6774. },
  6775. "src": "/kityminder-editor/dist/index.html"
  6776. });
  6777. _box.appendChild(_iframe);
  6778. _box.appendChild(_jie);
  6779. _formdiv = new U.UF.UI.form(
  6780. "思维导图",
  6781. _box, { //"/jsmind/example/demo.html"
  6782. "id": "minds" + cid + stage + task + tool,
  6783. "style": {
  6784. "width": "90%",
  6785. "height": "90%",
  6786. "overflow": 'hidden'
  6787. },
  6788. "onresize": function () { }
  6789. }, {
  6790. closecallback: function () { }
  6791. }, {
  6792. "style": {
  6793. "height": "36px"
  6794. }
  6795. }).form; //创建窗体
  6796. _taskbar = {
  6797. "id": str + _formdiv.id,
  6798. "style": {
  6799. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6800. },
  6801. "name": "思维导图",
  6802. "forms": _formdiv,
  6803. "click": function () {
  6804. U.MD.D.I.openApplication(str, obj, info);
  6805. }
  6806. }
  6807. break;
  6808. case "doc":
  6809. aTool = 6;
  6810. _iframe = $$("iframe", {
  6811. "frameborder": "no",
  6812. "border": "0",
  6813. "scrolling ": "no",
  6814. "style": {
  6815. "cssText": "border:0;width:100%;height:100%"
  6816. },
  6817. "src": "/Office/Word/WordEditArea.htm"
  6818. })
  6819. _box.appendChild(_iframe);
  6820. _box.appendChild(_jie);
  6821. _formdiv = new U.UF.UI.form(
  6822. "协同文档",
  6823. _box, {
  6824. "id": "docs" + cid + stage + task + tool,
  6825. "style": {
  6826. "width": "90%",
  6827. "height": "90%",
  6828. "overflow": 'hidden'
  6829. },
  6830. "onresize": function () { }
  6831. }, {
  6832. closecallback: function () { }
  6833. }, {
  6834. "style": {
  6835. "height": "36px"
  6836. }
  6837. }).form; //创建窗体
  6838. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6839. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6840. })
  6841. _taskbar = {
  6842. "id": str + _formdiv.id,
  6843. "style": {
  6844. "backgroundImage": "url(/img/icon/doc.png)"
  6845. },
  6846. "name": "协同文档",
  6847. "forms": _formdiv,
  6848. "click": function () {
  6849. U.MD.D.I.openApplication(str, obj, info);
  6850. }
  6851. }
  6852. break;
  6853. }
  6854. const script1 = document.createElement("script");
  6855. script1.type = "text/javascript";
  6856. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6857. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6858. const script2 = document.createElement("script");
  6859. script2.type = "text/javascript";
  6860. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6861. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6862. const script3 = document.createElement("script");
  6863. script3.type = "text/javascript";
  6864. script3.charset = "UTF-8";
  6865. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6866. const script4 = document.createElement("script");
  6867. script4.type = "text/javascript";
  6868. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6869. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6870. if (_iframe) {
  6871. if (str == 'doc') {
  6872. _iframe = _formdiv.querySelector('iframe')
  6873. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6874. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6875. _iframe.contentWindow.document.body.appendChild(script1);
  6876. _iframe.contentWindow.document.body.appendChild(script2);
  6877. // _iframe.contentWindow.document.body.appendChild(script3);
  6878. _iframe.contentWindow.document.body.appendChild(script4);
  6879. })
  6880. if (onloadListener) {
  6881. _iframe.contentDocument.location.reload()
  6882. } else {
  6883. _iframe.contentDocument.location.reload()
  6884. }
  6885. } else if (str == 'mind') {
  6886. _iframe = _formdiv.querySelector('iframe')
  6887. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6888. _iframe.contentWindow.document.body.appendChild(script1);
  6889. _iframe.contentWindow.document.body.appendChild(script2);
  6890. _iframe.contentWindow.document.body.appendChild(script4);
  6891. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6892. })
  6893. if (onloadListener) {
  6894. _iframe.contentDocument.location.reload()
  6895. } else {
  6896. _iframe.contentDocument.location.reload()
  6897. }
  6898. } else {
  6899. _iframe.onload = () => {
  6900. _iframe.contentWindow.document.body.appendChild(script1);
  6901. _iframe.contentWindow.document.body.appendChild(script2);
  6902. // _iframe.contentWindow.document.body.appendChild(script3);
  6903. _iframe.contentWindow.document.body.appendChild(script4);
  6904. };
  6905. }
  6906. _jie.onclick = async () => {
  6907. let text = ''
  6908. if (aTool == 6) {
  6909. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6910. } else if (aTool == 3) {
  6911. text = await U.MD.D.I.getEditorContent(_iframe);
  6912. }
  6913. _loading.style.display = 'flex'
  6914. console.log(_loading);
  6915. var _ajs = _iframe.contentWindow.document.createElement("script");
  6916. _ajs.type = "text/javascript";
  6917. _ajs.innerHTML =
  6918. // 'console.log(' + _loading + ');\n' +
  6919. 'var _js = document.createElement("script");\n' +
  6920. '_js.type="text/javascript";\n' +
  6921. '_js.charset="UTF-8";\n' +
  6922. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6923. "_js.onload = function(){\n" +
  6924. ' var a = document.getElementsByTagName("img")\n' +
  6925. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6926. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6927. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6928. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6929. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6930. "beforeUpload_shishi(file," +
  6931. "'" +
  6932. _userid +
  6933. "'" +
  6934. ", " +
  6935. "'" +
  6936. _cid +
  6937. "'" +
  6938. ", " +
  6939. "'" +
  6940. _stage +
  6941. "'" +
  6942. ", " +
  6943. "'" +
  6944. _task +
  6945. "'" +
  6946. ", " +
  6947. "'" +
  6948. _tool +
  6949. "'" +
  6950. ", " +
  6951. "'" +
  6952. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6953. "'" +
  6954. ", " +
  6955. "'" +
  6956. aTool +
  6957. "'" +
  6958. ", " +
  6959. "`" +
  6960. text +
  6961. "`" +
  6962. ")\n" +
  6963. " });\n" +
  6964. "}\n" +
  6965. "document.head.appendChild(_js);\n";
  6966. _iframe.contentWindow.document.head.appendChild(_ajs);
  6967. }
  6968. }
  6969. //U.MD.D.I.openClick(str);
  6970. //如果有任务栏信息
  6971. // if (_taskbar) {
  6972. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6973. // }
  6974. }
  6975. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6976. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6977. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6978. _userinfo = US.userInfo, //登录用户信息
  6979. _userid = US.userInfo.userid //登录用户id
  6980. let _iframe;
  6981. let _cid = cid,
  6982. _stage = stage,
  6983. _task = task,
  6984. _tool = tool;
  6985. var _jie = $$("div", {
  6986. "style": {
  6987. "position": "absolute",
  6988. "bottom": "50px",
  6989. "right": "50px",
  6990. "zIndex": "9999",
  6991. "backgroundColor": "#2268bc",
  6992. "color": "#fff",
  6993. "padding": "12px 20px",
  6994. "cursor": "pointer",
  6995. "borderRadius": "4px",
  6996. },
  6997. "innerHTML": "确认并提交"
  6998. })
  6999. let aTool = ''
  7000. let _loading = document.createElement('div')
  7001. _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;"
  7002. // _loading.id = "";
  7003. let _lchild = document.createElement('div')
  7004. let _limg = document.createElement('img')
  7005. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7006. _limg.style = "width: 26px;margin-right: 10px;"
  7007. _lchild.appendChild(_limg)
  7008. let _lspan = document.createElement('span')
  7009. _lspan.innerHTML = "上传中..."
  7010. _lchild.appendChild(_lspan)
  7011. _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%);"
  7012. _loading.appendChild(_lchild)
  7013. var _box = $$('div', {
  7014. "style": {
  7015. "position": "relative",
  7016. "width": "100%",
  7017. "height": "100%",
  7018. },
  7019. })
  7020. _box.appendChild(_loading)
  7021. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7022. switch (str) {
  7023. case "whiteboard":
  7024. aTool = 1;
  7025. _iframe = $$("iframe", {
  7026. "frameborder": "no",
  7027. "border": "0",
  7028. "scrolling ": "no",
  7029. "style": {
  7030. "cssText": "border:0;width:100%;height:100%"
  7031. },
  7032. "src": "https://iwb.cocorobo.cn/"
  7033. })
  7034. _box.appendChild(_iframe);
  7035. _box.appendChild(_jie);
  7036. _formdiv = new U.UF.UI.form(
  7037. "电子白板",
  7038. _box, {
  7039. "id": "whiteboards" + cid + stage + task + tool,
  7040. "style": {
  7041. "width": "90%",
  7042. "height": "90%",
  7043. "overflow": 'hidden'
  7044. },
  7045. "onresize": function () { }
  7046. }, {
  7047. closecallback: function () { }
  7048. }, {
  7049. "style": {
  7050. "height": "36px"
  7051. }
  7052. }).form; //创建窗体
  7053. _taskbar = {
  7054. "id": str + _formdiv.id,
  7055. "style": {
  7056. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7057. },
  7058. "name": "电子白板",
  7059. "forms": _formdiv,
  7060. "click": function () {
  7061. U.MD.D.I.openApplication(str, obj, info);
  7062. }
  7063. }
  7064. break;
  7065. case "mind":
  7066. aTool = 3;
  7067. _iframe = $$("iframe", {
  7068. "frameborder": "no",
  7069. "border": "0",
  7070. "scrolling ": "no",
  7071. "style": {
  7072. "cssText": "border:0;width:100%;height:100%"
  7073. },
  7074. "src": "/kityminder-editor/dist/index.html"
  7075. });
  7076. _box.appendChild(_iframe);
  7077. _box.appendChild(_jie);
  7078. _formdiv = new U.UF.UI.form(
  7079. "思维导图",
  7080. _box, { //"/jsmind/example/demo.html"
  7081. "id": "minds" + cid + stage + task + tool,
  7082. "style": {
  7083. "width": "90%",
  7084. "height": "90%",
  7085. "overflow": 'hidden'
  7086. },
  7087. "onresize": function () { }
  7088. }, {
  7089. closecallback: function () { }
  7090. }, {
  7091. "style": {
  7092. "height": "36px"
  7093. }
  7094. }).form; //创建窗体
  7095. _taskbar = {
  7096. "id": str + _formdiv.id,
  7097. "style": {
  7098. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7099. },
  7100. "name": "思维导图",
  7101. "forms": _formdiv,
  7102. "click": function () {
  7103. U.MD.D.I.openApplication(str, obj, info);
  7104. }
  7105. }
  7106. break;
  7107. case "doc":
  7108. aTool = 6;
  7109. _iframe = $$("iframe", {
  7110. "frameborder": "no",
  7111. "border": "0",
  7112. "scrolling ": "no",
  7113. "style": {
  7114. "cssText": "border:0;width:100%;height:100%"
  7115. },
  7116. "src": "/Office/Word/WordEditArea.htm"
  7117. })
  7118. _box.appendChild(_iframe);
  7119. _box.appendChild(_jie);
  7120. _formdiv = new U.UF.UI.form(
  7121. "协同文档",
  7122. _box, {
  7123. "id": "docs" + cid + stage + task + tool,
  7124. "style": {
  7125. "width": "90%",
  7126. "height": "90%",
  7127. "overflow": 'hidden'
  7128. },
  7129. "onresize": function () { }
  7130. }, {
  7131. closecallback: function () { }
  7132. }, {
  7133. "style": {
  7134. "height": "36px"
  7135. }
  7136. }).form; //创建窗体
  7137. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7138. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7139. })
  7140. _taskbar = {
  7141. "id": str + _formdiv.id,
  7142. "style": {
  7143. "backgroundImage": "url(/img/icon/doc.png)"
  7144. },
  7145. "name": "协同文档",
  7146. "forms": _formdiv,
  7147. "click": function () {
  7148. U.MD.D.I.openApplication(str, obj, info);
  7149. }
  7150. }
  7151. break;
  7152. }
  7153. const script1 = document.createElement("script");
  7154. script1.type = "text/javascript";
  7155. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7156. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7157. const script2 = document.createElement("script");
  7158. script2.type = "text/javascript";
  7159. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7160. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7161. const script3 = document.createElement("script");
  7162. script3.type = "text/javascript";
  7163. script3.charset = "UTF-8";
  7164. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7165. const script4 = document.createElement("script");
  7166. script4.type = "text/javascript";
  7167. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7168. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7169. if (_iframe) {
  7170. if (str == 'doc') {
  7171. _iframe = _formdiv.querySelector('iframe')
  7172. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7173. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7174. _iframe.contentWindow.document.body.appendChild(script1);
  7175. _iframe.contentWindow.document.body.appendChild(script2);
  7176. // _iframe.contentWindow.document.body.appendChild(script3);
  7177. _iframe.contentWindow.document.body.appendChild(script4);
  7178. })
  7179. if (onloadListener) {
  7180. _iframe.contentDocument.location.reload()
  7181. } else {
  7182. _iframe.contentDocument.location.reload()
  7183. }
  7184. } else if (str == 'mind') {
  7185. _iframe = _formdiv.querySelector('iframe')
  7186. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7187. _iframe.contentWindow.document.body.appendChild(script1);
  7188. _iframe.contentWindow.document.body.appendChild(script2);
  7189. _iframe.contentWindow.document.body.appendChild(script4);
  7190. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7191. })
  7192. if (onloadListener) {
  7193. _iframe.contentDocument.location.reload()
  7194. } else {
  7195. _iframe.contentDocument.location.reload()
  7196. }
  7197. } else {
  7198. _iframe.onload = () => {
  7199. _iframe.contentWindow.document.body.appendChild(script1);
  7200. _iframe.contentWindow.document.body.appendChild(script2);
  7201. // _iframe.contentWindow.document.body.appendChild(script3);
  7202. _iframe.contentWindow.document.body.appendChild(script4);
  7203. };
  7204. }
  7205. _jie.onclick = async () => {
  7206. let text = ''
  7207. if (aTool == 6) {
  7208. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7209. } else if (aTool == 3) {
  7210. text = await U.MD.D.I.getEditorContent(_iframe);
  7211. }
  7212. _loading.style.display = 'flex'
  7213. console.log(_loading);
  7214. var _ajs = _iframe.contentWindow.document.createElement("script");
  7215. _ajs.type = "text/javascript";
  7216. _ajs.innerHTML =
  7217. // 'console.log(' + _loading + ');\n' +
  7218. 'var _js = document.createElement("script");\n' +
  7219. '_js.type="text/javascript";\n' +
  7220. '_js.charset="UTF-8";\n' +
  7221. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7222. "_js.onload = function(){\n" +
  7223. ' var a = document.getElementsByTagName("img")\n' +
  7224. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7225. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7226. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7227. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7228. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7229. "beforeUpload_shishi(file," +
  7230. "'" +
  7231. _userid +
  7232. "'" +
  7233. ", " +
  7234. "'" +
  7235. _cid +
  7236. "'" +
  7237. ", " +
  7238. "'" +
  7239. _stage +
  7240. "'" +
  7241. ", " +
  7242. "'" +
  7243. _task +
  7244. "'" +
  7245. ", " +
  7246. "'" +
  7247. _tool +
  7248. "'" +
  7249. ", " +
  7250. "'" +
  7251. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7252. "'" +
  7253. ", " +
  7254. "'" +
  7255. aTool +
  7256. "'" +
  7257. ", " +
  7258. "`" +
  7259. text +
  7260. "`" +
  7261. ")\n" +
  7262. " });\n" +
  7263. "}\n" +
  7264. "document.head.appendChild(_js);\n";
  7265. _iframe.contentWindow.document.head.appendChild(_ajs);
  7266. }
  7267. }
  7268. //U.MD.D.I.openClick(str);
  7269. //如果有任务栏信息
  7270. // if (_taskbar) {
  7271. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7272. // }
  7273. }
  7274. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7275. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7276. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7277. _userinfo = US.userInfo, //登录用户信息
  7278. _userid = US.userInfo.userid //登录用户id
  7279. let _iframe;
  7280. let _cid = cid,
  7281. _stage = stage,
  7282. _task = task,
  7283. _tool = tool;
  7284. var _jie = $$("div", {
  7285. "style": {
  7286. "position": "absolute",
  7287. "bottom": "50px",
  7288. "right": "50px",
  7289. "zIndex": "9999",
  7290. "backgroundColor": "#2268bc",
  7291. "color": "#fff",
  7292. "padding": "12px 20px",
  7293. "cursor": "pointer",
  7294. "borderRadius": "4px",
  7295. },
  7296. "innerHTML": "上传模板"
  7297. })
  7298. let aTool = ''
  7299. let _loading = document.createElement('div')
  7300. _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;"
  7301. // _loading.id = "";
  7302. let _lchild = document.createElement('div')
  7303. let _limg = document.createElement('img')
  7304. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7305. _limg.style = "width: 26px;margin-right: 10px;"
  7306. _lchild.appendChild(_limg)
  7307. let _lspan = document.createElement('span')
  7308. _lspan.innerHTML = "上传中..."
  7309. _lchild.appendChild(_lspan)
  7310. _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%);"
  7311. _loading.appendChild(_lchild)
  7312. var _box = $$('div', {
  7313. "style": {
  7314. "position": "relative",
  7315. "width": "100%",
  7316. "height": "100%",
  7317. },
  7318. })
  7319. _box.appendChild(_loading)
  7320. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7321. switch (str) {
  7322. case "whiteboard":
  7323. aTool = 1;
  7324. _iframe = $$("iframe", {
  7325. "frameborder": "no",
  7326. "border": "0",
  7327. "scrolling ": "no",
  7328. "style": {
  7329. "cssText": "border:0;width:100%;height:100%"
  7330. },
  7331. "src": "https://iwb.cocorobo.cn/"
  7332. })
  7333. _box.appendChild(_iframe);
  7334. _box.appendChild(_jie);
  7335. _formdiv = new U.UF.UI.form(
  7336. "电子白板",
  7337. _box, {
  7338. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7339. "style": {
  7340. "width": "90%",
  7341. "height": "90%",
  7342. "overflow": 'hidden'
  7343. },
  7344. "onresize": function () { }
  7345. }, {
  7346. closecallback: function () { }
  7347. }, {
  7348. "style": {
  7349. "height": "36px"
  7350. }
  7351. }).form; //创建窗体
  7352. _taskbar = {
  7353. "id": str + _formdiv.id,
  7354. "style": {
  7355. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7356. },
  7357. "name": "电子白板",
  7358. "forms": _formdiv,
  7359. "click": function () {
  7360. U.MD.D.I.openApplication(str, obj, info);
  7361. }
  7362. }
  7363. break;
  7364. case "mind":
  7365. aTool = 3;
  7366. _iframe = $$("iframe", {
  7367. "frameborder": "no",
  7368. "border": "0",
  7369. "scrolling ": "no",
  7370. "style": {
  7371. "cssText": "border:0;width:100%;height:100%"
  7372. },
  7373. "src": "/kityminder-editor/dist/index.html"
  7374. });
  7375. _box.appendChild(_iframe);
  7376. _box.appendChild(_jie);
  7377. _formdiv = new U.UF.UI.form(
  7378. "思维导图",
  7379. _box, { //"/jsmind/example/demo.html"
  7380. "id": "minds_Yu" + cid + stage + task + tool,
  7381. "style": {
  7382. "width": "90%",
  7383. "height": "90%",
  7384. "overflow": 'hidden'
  7385. },
  7386. "onresize": function () { }
  7387. }, {
  7388. closecallback: function () { }
  7389. }, {
  7390. "style": {
  7391. "height": "36px"
  7392. }
  7393. }).form; //创建窗体
  7394. _taskbar = {
  7395. "id": str + _formdiv.id,
  7396. "style": {
  7397. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7398. },
  7399. "name": "思维导图",
  7400. "forms": _formdiv,
  7401. "click": function () {
  7402. U.MD.D.I.openApplication(str, obj, info);
  7403. }
  7404. }
  7405. break;
  7406. case "doc":
  7407. aTool = 6;
  7408. _iframe = $$("iframe", {
  7409. "frameborder": "no",
  7410. "border": "0",
  7411. "scrolling ": "no",
  7412. "style": {
  7413. "cssText": "border:0;width:100%;height:100%"
  7414. },
  7415. "src": "/Office/Word/WordEditArea.htm"
  7416. })
  7417. _box.appendChild(_iframe);
  7418. _box.appendChild(_jie);
  7419. _formdiv = new U.UF.UI.form(
  7420. "协同文档",
  7421. _box, {
  7422. "id": "docs_Yu" + cid + stage + task + tool,
  7423. "style": {
  7424. "width": "90%",
  7425. "height": "90%",
  7426. "overflow": 'hidden'
  7427. },
  7428. "onresize": function () { }
  7429. }, {
  7430. closecallback: function () { }
  7431. }, {
  7432. "style": {
  7433. "height": "36px"
  7434. }
  7435. }).form; //创建窗体
  7436. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7437. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7438. })
  7439. _taskbar = {
  7440. "id": str + _formdiv.id,
  7441. "style": {
  7442. "backgroundImage": "url(/img/icon/doc.png)"
  7443. },
  7444. "name": "协同文档",
  7445. "forms": _formdiv,
  7446. "click": function () {
  7447. U.MD.D.I.openApplication(str, obj, info);
  7448. }
  7449. }
  7450. break;
  7451. case "CocoPi":
  7452. aTool = 57;
  7453. _iframe = $$("iframe", {
  7454. "allowpaymentrequest": "allowpaymentrequest",
  7455. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7456. "webkitallowfullscreen": "",
  7457. "mozallowfullscreen": "",
  7458. "frameborder": "no",
  7459. "border": "0",
  7460. "scrolling ": "no",
  7461. "style": {
  7462. "cssText": "border:0;width:100%;height:100%"
  7463. },
  7464. "src": "https://pi.cocorobo.cn/"
  7465. })
  7466. _box.appendChild(_iframe);
  7467. _box.appendChild(_jie);
  7468. _formdiv = new U.UF.UI.form(
  7469. "CocoPi",
  7470. _box, {
  7471. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7472. "style": {
  7473. "width": "90%",
  7474. "height": "90%",
  7475. "overflow": 'hidden'
  7476. },
  7477. "onresize": function () { }
  7478. }, {
  7479. closecallback: function () { }
  7480. }, {
  7481. "style": {
  7482. "height": "36px"
  7483. }
  7484. }).form; //创建窗体
  7485. _taskbar = {
  7486. "id": str + _formdiv.id,
  7487. "style": {
  7488. "backgroundImage": "url(/img/icon/cocopi.png)"
  7489. },
  7490. "name": "CocoPi",
  7491. "forms": _formdiv,
  7492. "click": function () {
  7493. U.MD.D.I.openApplication(str, obj, info);
  7494. }
  7495. }
  7496. break;
  7497. }
  7498. if (_iframe) {
  7499. if (str == 'doc') {
  7500. _iframe = _formdiv.querySelector('iframe')
  7501. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7502. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7503. })
  7504. if (onloadListener) {
  7505. _iframe.contentDocument.location.reload()
  7506. } else {
  7507. _iframe.contentDocument.location.reload()
  7508. }
  7509. } else if (str == 'mind') {
  7510. _iframe = _formdiv.querySelector('iframe')
  7511. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7512. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7513. })
  7514. if (onloadListener) {
  7515. _iframe.contentDocument.location.reload()
  7516. } else {
  7517. _iframe.contentDocument.location.reload()
  7518. }
  7519. } else if (str == 'whiteboard') {
  7520. _iframe = _formdiv.querySelector('iframe')
  7521. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7522. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7523. })
  7524. if (onloadListener) {
  7525. _iframe.contentDocument.location.reload()
  7526. } else {
  7527. _iframe.contentDocument.location.reload()
  7528. }
  7529. } else if (str == 'CocoPi') {
  7530. _iframe = _formdiv.querySelector('iframe')
  7531. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7532. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7533. })
  7534. if (onloadListener) {
  7535. _iframe.contentDocument.location.reload()
  7536. } else {
  7537. _iframe.contentDocument.location.reload()
  7538. }
  7539. } else {
  7540. _iframe.onload = () => { };
  7541. }
  7542. _jie.onclick = async () => {
  7543. let text = ''
  7544. let type = '2'
  7545. if (aTool == 1) {
  7546. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7547. type = '3'
  7548. } else if (aTool == 6) {
  7549. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7550. type = '1'
  7551. } else if (aTool == 3) {
  7552. text = await U.MD.D.I.getEditorContent(_iframe);
  7553. type = '2'
  7554. } else if (aTool == 57) {
  7555. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7556. type = '4'
  7557. }
  7558. _loading.style.display = 'flex'
  7559. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7560. }
  7561. }
  7562. //U.MD.D.I.openClick(str);
  7563. //如果有任务栏信息
  7564. // if (_taskbar) {
  7565. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7566. // }
  7567. }
  7568. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7569. var xmlhttp;
  7570. var Mac, Sn, DeviceId
  7571. if (window.XMLHttpRequest) {
  7572. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7573. xmlhttp = new XMLHttpRequest();
  7574. } else {
  7575. // IE6, IE5 浏览器执行代码
  7576. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7577. }
  7578. xmlhttp.onreadystatechange = function () {
  7579. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7580. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7581. // resolve(res.value[0][0].text);
  7582. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7583. }
  7584. }
  7585. }
  7586. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7587. xmlhttp.send();
  7588. }
  7589. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7590. var xmlhttp;
  7591. var Mac, Sn, DeviceId
  7592. if (window.XMLHttpRequest) {
  7593. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7594. xmlhttp = new XMLHttpRequest();
  7595. } else {
  7596. // IE6, IE5 浏览器执行代码
  7597. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7598. }
  7599. xmlhttp.onreadystatechange = function () {
  7600. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7601. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7602. // resolve(res.value[0][0].text);
  7603. if (type == '2') {
  7604. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7605. } else if (type == '3') {
  7606. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7607. } else if (type == '4') {
  7608. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7609. }
  7610. } else {
  7611. if (type == '2') {
  7612. iframe.contentWindow.editor.minder.importData('json', '')
  7613. } else if (type == '3') {
  7614. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7615. } else if (type == '4') {
  7616. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7617. }
  7618. }
  7619. }
  7620. }
  7621. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7622. xmlhttp.send();
  7623. }
  7624. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7625. var xmlhttp;
  7626. var Mac, Sn, DeviceId
  7627. if (window.XMLHttpRequest) {
  7628. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7629. xmlhttp = new XMLHttpRequest();
  7630. } else {
  7631. // IE6, IE5 浏览器执行代码
  7632. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7633. }
  7634. xmlhttp.onreadystatechange = function () {
  7635. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7636. if (xmlhttp.response) {
  7637. // resolve(res.value[0][0].text);
  7638. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7639. // $(fileInput).val('');
  7640. // });
  7641. span.innerHTML = '上传成功'
  7642. setTimeout(() => {
  7643. loading.style.display = 'none'
  7644. }, 1000);
  7645. }
  7646. }
  7647. }
  7648. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7649. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7650. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7651. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7652. // 设置请求头,表示请求体的编码格式
  7653. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7654. // 设置请求体,使用url-encoded格式的数据
  7655. }
  7656. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7657. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7658. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7659. _userinfo = US.userInfo, //登录用户信息
  7660. _userid = US.userInfo.userid //登录用户id
  7661. let _iframe;
  7662. let _cid = cid,
  7663. _stage = stage,
  7664. _task = task,
  7665. _tool = tool;
  7666. var _jie = $$("div", {
  7667. "style": {
  7668. "position": "absolute",
  7669. "bottom": "50px",
  7670. "right": "50px",
  7671. "zIndex": "9999",
  7672. "backgroundColor": "#2268bc",
  7673. "color": "#fff",
  7674. "padding": "12px 20px",
  7675. "cursor": "pointer",
  7676. "borderRadius": "4px",
  7677. },
  7678. "innerHTML": "提交作业"
  7679. })
  7680. let aTool = ''
  7681. let _loading = document.createElement('div')
  7682. _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;"
  7683. // _loading.id = "";
  7684. let _lchild = document.createElement('div')
  7685. let _limg = document.createElement('img')
  7686. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7687. _limg.style = "width: 26px;margin-right: 10px;"
  7688. _lchild.appendChild(_limg)
  7689. let _lspan = document.createElement('span')
  7690. _lspan.innerHTML = "上传中..."
  7691. _lchild.appendChild(_lspan)
  7692. _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%);"
  7693. _loading.appendChild(_lchild)
  7694. var _box = $$('div', {
  7695. "style": {
  7696. "position": "relative",
  7697. "width": "100%",
  7698. "height": "100%",
  7699. },
  7700. })
  7701. _box.appendChild(_loading)
  7702. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7703. switch (str) {
  7704. case "CocoPi":
  7705. aTool = 57;
  7706. _iframe = $$("iframe", {
  7707. "allowpaymentrequest": "allowpaymentrequest",
  7708. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7709. "webkitallowfullscreen": "",
  7710. "mozallowfullscreen": "",
  7711. "frameborder": "no",
  7712. "border": "0",
  7713. "scrolling ": "no",
  7714. "style": {
  7715. "cssText": "border:0;width:100%;height:100%"
  7716. },
  7717. "src": "https://pi.cocorobo.cn/"
  7718. })
  7719. _box.appendChild(_iframe);
  7720. _box.appendChild(_jie);
  7721. _formdiv = new U.UF.UI.form(
  7722. "CocoPi",
  7723. _box, {
  7724. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7725. "style": {
  7726. "width": "90%",
  7727. "height": "90%",
  7728. "overflow": 'hidden'
  7729. },
  7730. "onresize": function () { }
  7731. }, {
  7732. closecallback: function () { }
  7733. }, {
  7734. "style": {
  7735. "height": "36px"
  7736. }
  7737. }).form; //创建窗体
  7738. _taskbar = {
  7739. "id": str + _formdiv.id,
  7740. "style": {
  7741. "backgroundImage": "url(/img/icon/cocopi.png)"
  7742. },
  7743. "name": "CocoPi",
  7744. "forms": _formdiv,
  7745. "click": function () {
  7746. U.MD.D.I.openApplication(str, obj, info);
  7747. }
  7748. }
  7749. break;
  7750. }
  7751. if (_iframe) {
  7752. if (str == 'CocoPi') {
  7753. _iframe = _formdiv.querySelector('iframe')
  7754. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7755. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7756. })
  7757. if (onloadListener) {
  7758. _iframe.contentDocument.location.reload()
  7759. } else {
  7760. _iframe.contentDocument.location.reload()
  7761. }
  7762. }
  7763. _jie.onclick = async () => {
  7764. let text = ''
  7765. if (aTool == 57) {
  7766. text = _iframe.contentWindow.getLoadXmlStr()
  7767. }
  7768. _loading.style.display = 'flex'
  7769. console.log(_loading);
  7770. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7771. _loading.style.display = 'none'
  7772. let _div = document.createElement('div')
  7773. _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;"
  7774. let _inner = document.createElement('div')
  7775. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7776. _inner.innerHTML = "上传成功"
  7777. _div.appendChild(_inner)
  7778. _iframe.contentWindow.window.document.body.appendChild(_div)
  7779. _div.onclick = () => {
  7780. _iframe.contentWindow.window.document.body.removeChild(_div)
  7781. }
  7782. setTimeout(() => {
  7783. _iframe.contentWindow.window.document.body.removeChild(_div)
  7784. }, 1000);
  7785. }, [], { "type": "POST", "withCredentials": true });
  7786. }
  7787. }
  7788. }
  7789. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7790. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7791. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7792. _userid = student.userid, //登录用户id
  7793. _username = student.student //用户名字
  7794. let _iframe;
  7795. let _cid = cid,
  7796. _stage = stage,
  7797. _task = task,
  7798. _tool = tool;
  7799. var _jie = $$("div", {
  7800. "style": {
  7801. "position": "absolute",
  7802. "bottom": "50px",
  7803. "right": "50px",
  7804. "zIndex": "9999",
  7805. "backgroundColor": "#2268bc",
  7806. "color": "#fff",
  7807. "padding": "12px 20px",
  7808. "cursor": "pointer",
  7809. "borderRadius": "4px",
  7810. },
  7811. "innerHTML": "提交作业"
  7812. })
  7813. let aTool = ''
  7814. let _loading = document.createElement('div')
  7815. _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;"
  7816. // _loading.id = "";
  7817. let _lchild = document.createElement('div')
  7818. let _limg = document.createElement('img')
  7819. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7820. _limg.style = "width: 26px;margin-right: 10px;"
  7821. _lchild.appendChild(_limg)
  7822. let _lspan = document.createElement('span')
  7823. _lspan.innerHTML = "上传中..."
  7824. _lchild.appendChild(_lspan)
  7825. _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%);"
  7826. _loading.appendChild(_lchild)
  7827. var _box = $$('div', {
  7828. "style": {
  7829. "position": "relative",
  7830. "width": "100%",
  7831. "height": "100%",
  7832. },
  7833. })
  7834. _box.appendChild(_loading)
  7835. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7836. switch (str) {
  7837. case "CocoPi":
  7838. aTool = 57;
  7839. _iframe = $$("iframe", {
  7840. "allowpaymentrequest": "allowpaymentrequest",
  7841. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7842. "webkitallowfullscreen": "",
  7843. "mozallowfullscreen": "",
  7844. "frameborder": "no",
  7845. "border": "0",
  7846. "scrolling ": "no",
  7847. "style": {
  7848. "cssText": "border:0;width:100%;height:100%"
  7849. },
  7850. "src": "https://pi.cocorobo.cn/"
  7851. })
  7852. _box.appendChild(_iframe);
  7853. _box.appendChild(_jie);
  7854. _formdiv = new U.UF.UI.form(
  7855. "CocoPi-" + _username,
  7856. _box, {
  7857. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7858. "style": {
  7859. "width": "90%",
  7860. "height": "90%",
  7861. "overflow": 'hidden'
  7862. },
  7863. "onresize": function () { }
  7864. }, {
  7865. closecallback: function () { }
  7866. }, {
  7867. "style": {
  7868. "height": "36px"
  7869. }
  7870. }).form; //创建窗体
  7871. _taskbar = {
  7872. "id": str + _formdiv.id,
  7873. "style": {
  7874. "backgroundImage": "url(/img/icon/cocopi.png)"
  7875. },
  7876. "name": "CocoPi",
  7877. "forms": _formdiv,
  7878. "click": function () {
  7879. U.MD.D.I.openApplication(str, obj, info);
  7880. }
  7881. }
  7882. break;
  7883. }
  7884. if (_iframe) {
  7885. if (str == 'CocoPi') {
  7886. _iframe = _formdiv.querySelector('iframe')
  7887. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7888. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7889. })
  7890. if (onloadListener) {
  7891. _iframe.contentDocument.location.reload()
  7892. } else {
  7893. _iframe.contentDocument.location.reload()
  7894. }
  7895. }
  7896. _jie.onclick = async () => {
  7897. let text = ''
  7898. if (aTool == 57) {
  7899. text = _iframe.contentWindow.getLoadXmlStr()
  7900. }
  7901. _loading.style.display = 'flex'
  7902. console.log(_loading);
  7903. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7904. _loading.style.display = 'none'
  7905. let _div = document.createElement('div')
  7906. _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;"
  7907. let _inner = document.createElement('div')
  7908. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7909. _inner.innerHTML = "上传成功"
  7910. _div.appendChild(_inner)
  7911. _iframe.contentWindow.window.document.body.appendChild(_div)
  7912. _div.onclick = () => {
  7913. _iframe.contentWindow.window.document.body.removeChild(_div)
  7914. }
  7915. setTimeout(() => {
  7916. _iframe.contentWindow.window.document.body.removeChild(_div)
  7917. }, 1000);
  7918. }, [], { "type": "POST", "withCredentials": true });
  7919. }
  7920. }
  7921. }
  7922. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7923. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7924. if (res.value[0].length > 0) {
  7925. if (atool == 57) {
  7926. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7927. }
  7928. } else {
  7929. if (atool == 57) {
  7930. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7931. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7932. }
  7933. }
  7934. }, [], { "type": "POST", "withCredentials": true });
  7935. }