DeskTop.js 489 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224
  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. ];
  627. //教科院实小教师桌面图标的全局变量
  628. U.MD.D.I.siesStudentDeskIcon = [
  629. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  630. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  631. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  632. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  633. ];
  634. //福田
  635. U.MD.D.I.gdjgTeacherDeskIcon = [
  636. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  637. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  641. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  642. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  643. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  644. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  645. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  646. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  647. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  648. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  649. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  650. ];
  651. //gdjg
  652. U.MD.D.I.gdjgAdminDeskIcon = [
  653. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  654. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  655. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  656. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  657. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  658. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  659. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  660. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  661. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  664. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  665. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  666. ];
  667. //hk
  668. U.MD.D.I.hkteacherDeskIcon = [
  669. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  670. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  671. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  672. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  673. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  674. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  675. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  676. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  677. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  678. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  679. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  680. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  681. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  682. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  683. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  684. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  685. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  686. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  687. ];
  688. //hk
  689. U.MD.D.I.hkStudentDeskIcon = [
  690. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  691. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  692. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  693. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  694. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  695. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  696. ];
  697. //hk
  698. U.MD.D.I.hkaceteacherDeskIcon = [
  699. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  700. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  702. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  703. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  704. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  705. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  706. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  707. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  708. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  709. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  710. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  711. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  712. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  713. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  715. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  716. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  717. ];
  718. //hk
  719. U.MD.D.I.hkaceStudentDeskIcon = [
  720. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  721. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  722. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  723. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  725. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  726. ];
  727. //香海正覺蓮社佛教正覺中學
  728. U.MD.D.I.hkZJLSteacherDeskIcon = [
  729. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  730. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  732. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  733. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  734. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  735. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  736. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  737. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  738. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  739. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  740. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  741. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  742. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  743. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  744. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  745. ];
  746. //香海正覺蓮社佛教正覺中學
  747. U.MD.D.I.hkZJLSStudentDeskIcon = [
  748. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  749. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  750. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  751. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  752. ];
  753. //云海
  754. U.MD.D.I.yunhaiTeacherDeskIcon = [
  755. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  756. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  757. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  758. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  759. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  760. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  761. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  762. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  763. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  764. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  765. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  766. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  767. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  768. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  769. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  770. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  771. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  772. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  773. ];
  774. //福田
  775. U.MD.D.I.heyuanTeacherDeskIcon = [
  776. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  777. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  778. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  779. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  780. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  781. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  782. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  783. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  784. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  785. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  786. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  787. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  788. ];
  789. //福田
  790. U.MD.D.I.heyuanAdminDeskIcon = [
  791. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  792. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  793. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  794. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  795. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  796. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  797. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  798. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  799. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  801. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  802. ];
  803. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  804. U.MD.D.I.szherTeacherDeskIcon = [
  805. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  806. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  810. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  811. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  812. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  813. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  814. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  815. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  816. ];
  817. //dsei
  818. U.MD.D.I.dseiTeacherDeskIcon = [
  819. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  820. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  821. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  822. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  823. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  824. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  825. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  826. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  827. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  828. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  829. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  830. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  831. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  832. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  833. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  834. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  835. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  836. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  837. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  838. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  839. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  840. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  841. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  842. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  843. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  844. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  845. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  846. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  847. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  848. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  849. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  850. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  851. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  852. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  853. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  854. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  855. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  856. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  858. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  859. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  860. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  861. ];
  862. //dsei
  863. U.MD.D.I.dseiAdminDeskIcon = [
  864. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  865. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  866. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  867. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  868. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  869. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  870. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  871. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  872. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  873. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  874. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  875. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  876. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  877. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  878. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  879. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  880. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  881. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  882. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  883. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  884. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  885. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  886. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  887. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  888. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  889. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  890. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  891. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  892. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  893. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  894. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  895. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  896. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  897. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  898. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  899. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  900. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  901. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  902. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  903. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  904. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  905. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  906. ];
  907. //dsei
  908. U.MD.D.I.dseiStudentDeskIcon = [
  909. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  915. ];
  916. //未来教育基地
  917. U.MD.D.I.szjkyTeacherDeskIcon = [
  918. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  919. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  920. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  921. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  922. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  923. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  924. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  925. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  926. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  927. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  928. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  929. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  930. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  931. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  932. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  933. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  934. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  935. ];
  936. //未来教育基地
  937. U.MD.D.I.szjkyAdminDeskIcon = [
  938. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  939. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  940. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  941. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  942. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  943. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  944. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  945. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  946. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  947. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  948. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  949. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  950. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  951. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  953. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  954. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  955. ];
  956. //未来教育基地
  957. U.MD.D.I.szjkyStudentDeskIcon = [
  958. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  962. ];
  963. //成华教育局
  964. U.MD.D.I.chjyjTeacherDeskIcon = [
  965. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  966. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  967. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  968. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  969. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  970. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  971. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  972. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  973. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  974. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  975. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  976. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  977. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  978. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  979. ];
  980. //成华教育局chjyj
  981. U.MD.D.I.chjyjAdminDeskIcon = [
  982. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  983. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  984. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  985. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  986. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  987. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  988. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  989. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  990. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  991. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  992. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  993. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  996. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  997. ];
  998. //成华教育局chjyj
  999. U.MD.D.I.chjyjStudentDeskIcon = [
  1000. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1001. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1002. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1003. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1004. ];
  1005. //tpc
  1006. U.MD.D.I.tpcStudentDeskIcon = [
  1007. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1008. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1009. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1010. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1011. ];
  1012. //tpc
  1013. U.MD.D.I.tpcTeacherDeskIcon = [
  1014. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1015. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1016. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1017. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1018. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1019. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1020. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1021. ];
  1022. //tpc
  1023. U.MD.D.I.tpcAdminDeskIcon = [
  1024. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1025. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1030. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1031. ];
  1032. //THU-IOE
  1033. U.MD.D.I.thuioeTeacherDeskIcon = [
  1034. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1035. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1036. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1037. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1038. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1039. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1040. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1041. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1042. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1043. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1044. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1045. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1046. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1047. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1048. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1049. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1050. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1051. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1052. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1053. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1054. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1055. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1056. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1057. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1058. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1059. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1060. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1061. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1062. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1063. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1064. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1065. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1066. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1067. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1068. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1069. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1070. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1071. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1072. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1073. ];
  1074. //THU-IOE
  1075. U.MD.D.I.thuioeStudentDeskIcon = [
  1076. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1077. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1078. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1079. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1080. ];
  1081. //jccssyl
  1082. U.MD.D.I.jccssylTeacherDeskIcon = [
  1083. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1084. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1085. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1086. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1087. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1088. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1089. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1090. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1091. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1092. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1093. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1094. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1095. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1096. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1097. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1098. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1099. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1100. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1101. ];
  1102. //jccssyl
  1103. U.MD.D.I.jccssylStudentDeskIcon = [
  1104. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1105. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1107. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1108. ];
  1109. //#region 桌面初始化a
  1110. /**
  1111. * 初始化桌面的起始函数
  1112. *
  1113. */
  1114. U.MD.D.I.init = function () {
  1115. if ($("#U_MD_D_K")[0]) {
  1116. //初始化桌面图标
  1117. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1118. // var clickUrl = ':12588/requestIp.php';
  1119. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1120. // U.MD.D.I.Ip = data;
  1121. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1122. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1123. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1124. // })
  1125. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1126. // })
  1127. }
  1128. }
  1129. /**
  1130. * 模式切换
  1131. *
  1132. */
  1133. U.MD.D.I.ModeCheck = function (type) {
  1134. if (US.Config.type == type) {
  1135. return
  1136. }
  1137. US.Config.type = type
  1138. $('.U_PBL_Check .active')[0].className = ''
  1139. if (type == 1) {
  1140. $('.U_PBL_Check div')[0].className = 'active'
  1141. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1142. } else {
  1143. $('.U_PBL_Check div')[1].className = 'active'
  1144. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1145. }
  1146. //初始化桌面图标
  1147. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1148. if (type == 2) {
  1149. U.MD.D.I.openApplication("project")
  1150. }
  1151. }
  1152. /**
  1153. * 隐藏任务栏
  1154. *
  1155. * @param {element} 桌面元素
  1156. */
  1157. U.MD.D.I.hiddenTaskbar = function (el) {
  1158. //任务栏位置变小
  1159. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1160. //桌面的位置变大
  1161. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1162. }
  1163. /**
  1164. * 隐藏任务栏
  1165. *
  1166. * @param {element} 桌面元素
  1167. */
  1168. U.MD.D.I.hiddenTaskbarout = function (el) {
  1169. //任务栏位置变小
  1170. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1171. //任务栏位置变化
  1172. U.selectEl(el).css({ "bottom": "-60px" });
  1173. //桌面的位置变大
  1174. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1175. }
  1176. }
  1177. /**
  1178. * 初始化打印桌面图标
  1179. *
  1180. * @param {element} 桌面元素
  1181. */
  1182. U.MD.D.I.initDesktopIcons = function (el, type) {
  1183. var i, //用于循环
  1184. _content, //桌面图标元素
  1185. _iconcontent, //桌面图标元素
  1186. _frag = $$("frag"), //定义一个碎片元素
  1187. _type = US.userInfo.type,
  1188. _org = US.userInfo.org,
  1189. _oid = US.userInfo.organizeid,
  1190. _role = US.userInfo.role,
  1191. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1192. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1193. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1194. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1195. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1196. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1197. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1198. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1199. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1200. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1201. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1202. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1203. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1204. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1205. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1206. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1207. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1208. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1209. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1210. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1211. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1212. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1213. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1214. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1215. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1216. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1217. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1218. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1219. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1220. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1221. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1222. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1223. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1224. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1225. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1226. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1227. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1228. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1229. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1230. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1231. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1232. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1233. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1234. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1235. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1236. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1237. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1238. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1239. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1240. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1241. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1242. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1243. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1244. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1245. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1246. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1247. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1248. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1249. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1250. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1251. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1252. 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'];
  1253. 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'];
  1254. //清楚桌面图标
  1255. el.innerHTML = "";
  1256. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1257. _teacherDesktopIconInfo.push(
  1258. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1259. { "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)" } },
  1260. )
  1261. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1262. }
  1263. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1264. _teacherDesktopIconInfo.push(
  1265. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1266. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1267. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1268. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1269. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1270. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1271. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1272. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1273. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1274. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1275. { "Name": "gpt4 turbo", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1276. // { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.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. )
  1299. _studentDesktopIconInfo.push(
  1300. )
  1301. }
  1302. //麒麟二中 和 民新小学
  1303. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1304. _teacherDesktopIconInfo.push(
  1305. )
  1306. }
  1307. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1308. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1309. _teacherDesktopIconInfo.push(
  1310. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1311. )
  1312. }
  1313. //麒麟二中
  1314. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1315. _studentDesktopIconInfo.push(
  1316. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1317. )
  1318. }
  1319. //万科双语
  1320. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1321. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1322. if (el.Name == '项目管理') {
  1323. el.Name = 'PBL项目'
  1324. }
  1325. return el
  1326. })
  1327. _studentDesktopIconInfo3.push(
  1328. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1329. )
  1330. }
  1331. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1332. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1333. return el.Name != '魔盒识字' && el.Name != '24点'
  1334. })
  1335. }
  1336. 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) {
  1337. _studentDesktopIconInfo.push(
  1338. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1339. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1340. )
  1341. }
  1342. //循环创建桌面图标
  1343. if (type == 1) {
  1344. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1345. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1346. _content = $$("div", {
  1347. className: "U_MD_D_KO",
  1348. "onmousedown": U.UF.C.closure(function (obj) {
  1349. //防止拖动图标即打开了桌面应用
  1350. U.MD.D.click(this, obj);
  1351. }, [_studentDesktopIconInfo[i]]),
  1352. "onclick": U.UF.C.closure(function (obj) {
  1353. //防止拖动图标即打开了桌面应用
  1354. U.MD.D.click(this, obj);
  1355. }, [_studentDesktopIconInfo[i]])
  1356. }, _frag); //
  1357. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1358. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1359. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1360. }
  1361. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1362. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1363. _content = $$("div", {
  1364. className: "U_MD_D_KO",
  1365. "onmousedown": U.UF.C.closure(function (obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1369. "onclick": U.UF.C.closure(function (obj) {
  1370. //防止拖动图标即打开了桌面应用
  1371. U.MD.D.click(this, obj);
  1372. }, [_hkZJLSStudentDeskIconInfo[i]])
  1373. }, _frag); //
  1374. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1375. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1376. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1377. } //
  1378. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1379. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1380. _content = $$("div", {
  1381. className: "U_MD_D_KO",
  1382. "onmousedown": U.UF.C.closure(function (obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_jccssylStudentDeskIconInfo[i]]),
  1386. "onclick": U.UF.C.closure(function (obj) {
  1387. //防止拖动图标即打开了桌面应用
  1388. U.MD.D.click(this, obj);
  1389. }, [_jccssylStudentDeskIconInfo[i]])
  1390. }, _frag); //
  1391. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1392. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1393. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1394. }
  1395. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1396. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1397. _content = $$("div", {
  1398. className: "U_MD_D_KO",
  1399. "onmousedown": U.UF.C.closure(function (obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_thuioeStudentDeskIconInfo[i]]),
  1403. "onclick": U.UF.C.closure(function (obj) {
  1404. //防止拖动图标即打开了桌面应用
  1405. U.MD.D.click(this, obj);
  1406. }, [_thuioeStudentDeskIconInfo[i]])
  1407. }, _frag); //
  1408. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1409. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1410. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1411. }
  1412. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1413. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1414. _content = $$("div", {
  1415. className: "U_MD_D_KO",
  1416. "onmousedown": U.UF.C.closure(function (obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_tpcStudentDeskIconInfo[i]]),
  1420. "onclick": U.UF.C.closure(function (obj) {
  1421. //防止拖动图标即打开了桌面应用
  1422. U.MD.D.click(this, obj);
  1423. }, [_tpcStudentDeskIconInfo[i]])
  1424. }, _frag); //
  1425. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1426. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1427. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1428. } //
  1429. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1430. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1431. _content = $$("div", {
  1432. className: "U_MD_D_KO",
  1433. "onmousedown": U.UF.C.closure(function (obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_chjyjStudentDeskIconInfo[i]]),
  1437. "onclick": U.UF.C.closure(function (obj) {
  1438. //防止拖动图标即打开了桌面应用
  1439. U.MD.D.click(this, obj);
  1440. }, [_chjyjStudentDeskIconInfo[i]])
  1441. }, _frag); //
  1442. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1443. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1444. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1445. }
  1446. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1447. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1448. _content = $$("div", {
  1449. className: "U_MD_D_KO",
  1450. "onmousedown": U.UF.C.closure(function (obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_szjkyStudentDeskIconInfo[i]]),
  1454. "onclick": U.UF.C.closure(function (obj) {
  1455. //防止拖动图标即打开了桌面应用
  1456. U.MD.D.click(this, obj);
  1457. }, [_szjkyStudentDeskIconInfo[i]])
  1458. }, _frag); //
  1459. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1460. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1461. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1462. }
  1463. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1464. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1465. _content = $$("div", {
  1466. className: "U_MD_D_KO",
  1467. "onmousedown": U.UF.C.closure(function (obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_dseiStudentDeskIconInfo[i]]),
  1471. "onclick": U.UF.C.closure(function (obj) {
  1472. //防止拖动图标即打开了桌面应用
  1473. U.MD.D.click(this, obj);
  1474. }, [_dseiStudentDeskIconInfo[i]])
  1475. }, _frag); //
  1476. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1477. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1478. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1479. }
  1480. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1481. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1482. _content = $$("div", {
  1483. className: "U_MD_D_KO",
  1484. "onmousedown": U.UF.C.closure(function (obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_siesStudentDeskIconInfo[i]]),
  1488. "onclick": U.UF.C.closure(function (obj) {
  1489. //防止拖动图标即打开了桌面应用
  1490. U.MD.D.click(this, obj);
  1491. }, [_siesStudentDeskIconInfo[i]])
  1492. }, _frag); //
  1493. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1494. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1495. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1496. }
  1497. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1498. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1499. _content = $$("div", {
  1500. className: "U_MD_D_KO",
  1501. "onmousedown": U.UF.C.closure(function (obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_hkStudentDeskIconInfo[i]]),
  1505. "onclick": U.UF.C.closure(function (obj) {
  1506. //防止拖动图标即打开了桌面应用
  1507. U.MD.D.click(this, obj);
  1508. }, [_hkStudentDeskIconInfo[i]])
  1509. }, _frag); //
  1510. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1511. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1512. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1513. }
  1514. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1515. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1516. _content = $$("div", {
  1517. className: "U_MD_D_KO",
  1518. "onmousedown": U.UF.C.closure(function (obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_hkaceStudentDeskIconInfo[i]]),
  1522. "onclick": U.UF.C.closure(function (obj) {
  1523. //防止拖动图标即打开了桌面应用
  1524. U.MD.D.click(this, obj);
  1525. }, [_hkaceStudentDeskIconInfo[i]])
  1526. }, _frag); //
  1527. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1528. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1529. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1530. }
  1531. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1532. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1533. _content = $$("div", {
  1534. className: "U_MD_D_KO",
  1535. "onmousedown": U.UF.C.closure(function (obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_studentDesktopIconInfo[i]]),
  1539. "onclick": U.UF.C.closure(function (obj) {
  1540. //防止拖动图标即打开了桌面应用
  1541. U.MD.D.click(this, obj);
  1542. }, [_studentDesktopIconInfo[i]])
  1543. }, _frag); //
  1544. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1545. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1546. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1547. }
  1548. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1549. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1550. _content = $$("div", {
  1551. className: "U_MD_D_KO",
  1552. "onmousedown": U.UF.C.closure(function (obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_tcStudentDeskIconInfo[i]]),
  1556. "onclick": U.UF.C.closure(function (obj) {
  1557. //防止拖动图标即打开了桌面应用
  1558. U.MD.D.click(this, obj);
  1559. }, [_tcStudentDeskIconInfo[i]])
  1560. }, _frag); //
  1561. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1562. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1563. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1564. }
  1565. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1566. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1567. _content = $$("div", {
  1568. className: "U_MD_D_KO",
  1569. "onmousedown": U.UF.C.closure(function (obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_szscStudentDeskIconInfo[i]]),
  1573. "onclick": U.UF.C.closure(function (obj) {
  1574. //防止拖动图标即打开了桌面应用
  1575. U.MD.D.click(this, obj);
  1576. }, [_szscStudentDeskIconInfo[i]])
  1577. }, _frag); //
  1578. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1579. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1580. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1581. }
  1582. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1583. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1584. _content = $$("div", {
  1585. className: "U_MD_D_KO",
  1586. "onmousedown": U.UF.C.closure(function (obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_studentDesktopIconInfo3[i]]),
  1590. "onclick": U.UF.C.closure(function (obj) {
  1591. //防止拖动图标即打开了桌面应用
  1592. U.MD.D.click(this, obj);
  1593. }, [_studentDesktopIconInfo3[i]])
  1594. }, _frag); //
  1595. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1596. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1597. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1598. }
  1599. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1600. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1601. _content = $$("div", {
  1602. className: "U_MD_D_KO",
  1603. "onmousedown": U.UF.C.closure(function (obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_studentDesktopIconInfo2[i]]),
  1607. "onclick": U.UF.C.closure(function (obj) {
  1608. //防止拖动图标即打开了桌面应用
  1609. U.MD.D.click(this, obj);
  1610. }, [_studentDesktopIconInfo2[i]])
  1611. }, _frag); //
  1612. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1613. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1614. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1615. }
  1616. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1617. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1618. _content = $$("div", {
  1619. className: "U_MD_D_KO",
  1620. "onmousedown": U.UF.C.closure(function (obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_wanketeacherDesktopIconInfo[i]]),
  1624. "onclick": U.UF.C.closure(function (obj) {
  1625. //防止拖动图标即打开了桌面应用
  1626. U.MD.D.click(this, obj);
  1627. }, [_wanketeacherDesktopIconInfo[i]])
  1628. }, _frag); //
  1629. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1630. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1631. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1632. }
  1633. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1634. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1635. _content = $$("div", {
  1636. className: "U_MD_D_KO",
  1637. "onmousedown": U.UF.C.closure(function (obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_wankeAdminDesktopIconInfo[i]]),
  1641. "onclick": U.UF.C.closure(function (obj) {
  1642. //防止拖动图标即打开了桌面应用
  1643. U.MD.D.click(this, obj);
  1644. }, [_wankeAdminDesktopIconInfo[i]])
  1645. }, _frag); //
  1646. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1647. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1648. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1649. }
  1650. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1651. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1652. _content = $$("div", {
  1653. className: "U_MD_D_KO",
  1654. "onmousedown": U.UF.C.closure(function (obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_jccssylTeacherDeskIconInfo[i]]),
  1658. "onclick": U.UF.C.closure(function (obj) {
  1659. //防止拖动图标即打开了桌面应用
  1660. U.MD.D.click(this, obj);
  1661. }, [_jccssylTeacherDeskIconInfo[i]])
  1662. }, _frag); //
  1663. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1664. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1665. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1666. }
  1667. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1668. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1669. _content = $$("div", {
  1670. className: "U_MD_D_KO",
  1671. "onmousedown": U.UF.C.closure(function (obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_tpcOrganizerDeskIconInfo[i]]),
  1675. "onclick": U.UF.C.closure(function (obj) {
  1676. //防止拖动图标即打开了桌面应用
  1677. U.MD.D.click(this, obj);
  1678. }, [_tpcOrganizerDeskIconInfo[i]])
  1679. }, _frag); //
  1680. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1681. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1682. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1683. }
  1684. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1685. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1686. _content = $$("div", {
  1687. className: "U_MD_D_KO",
  1688. "onmousedown": U.UF.C.closure(function (obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_tpcTeacherDeskIconInfo[i]]),
  1692. "onclick": U.UF.C.closure(function (obj) {
  1693. //防止拖动图标即打开了桌面应用
  1694. U.MD.D.click(this, obj);
  1695. }, [_tpcTeacherDeskIconInfo[i]])
  1696. }, _frag); //
  1697. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1698. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1699. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1700. }
  1701. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1702. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1703. _content = $$("div", {
  1704. className: "U_MD_D_KO",
  1705. "onmousedown": U.UF.C.closure(function (obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_teacherDesktopIconInfo2[i]]),
  1709. "onclick": U.UF.C.closure(function (obj) {
  1710. //防止拖动图标即打开了桌面应用
  1711. U.MD.D.click(this, obj);
  1712. }, [_teacherDesktopIconInfo2[i]])
  1713. }, _frag); //
  1714. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1715. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1716. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1717. }
  1718. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1719. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1720. _content = $$("div", {
  1721. className: "U_MD_D_KO",
  1722. "onmousedown": U.UF.C.closure(function (obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_thuioeTeacherDeskIconInfo[i]]),
  1726. "onclick": U.UF.C.closure(function (obj) {
  1727. //防止拖动图标即打开了桌面应用
  1728. U.MD.D.click(this, obj);
  1729. }, [_thuioeTeacherDeskIconInfo[i]])
  1730. }, _frag); //
  1731. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1732. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1733. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1734. }
  1735. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1736. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1737. _content = $$("div", {
  1738. className: "U_MD_D_KO",
  1739. "onmousedown": U.UF.C.closure(function (obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_lotechTeacherDeskIconInfo[i]]),
  1743. "onclick": U.UF.C.closure(function (obj) {
  1744. //防止拖动图标即打开了桌面应用
  1745. U.MD.D.click(this, obj);
  1746. }, [_lotechTeacherDeskIconInfo[i]])
  1747. }, _frag); //
  1748. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1749. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1750. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1751. }//
  1752. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1753. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1754. _content = $$("div", {
  1755. className: "U_MD_D_KO",
  1756. "onmousedown": U.UF.C.closure(function (obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_siesTeacherDeskIconInfo[i]]),
  1760. "onclick": U.UF.C.closure(function (obj) {
  1761. //防止拖动图标即打开了桌面应用
  1762. U.MD.D.click(this, obj);
  1763. }, [_siesTeacherDeskIconInfo[i]])
  1764. }, _frag); //
  1765. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1766. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1767. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1768. }
  1769. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1770. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1771. _content = $$("div", {
  1772. className: "U_MD_D_KO",
  1773. "onmousedown": U.UF.C.closure(function (obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_longhuaTeacherDeskIconInfo[i]]),
  1777. "onclick": U.UF.C.closure(function (obj) {
  1778. //防止拖动图标即打开了桌面应用
  1779. U.MD.D.click(this, obj);
  1780. }, [_longhuaTeacherDeskIconInfo[i]])
  1781. }, _frag); //
  1782. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1783. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1784. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1785. }
  1786. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1787. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1788. _content = $$("div", {
  1789. className: "U_MD_D_KO",
  1790. "onmousedown": U.UF.C.closure(function (obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1794. "onclick": U.UF.C.closure(function (obj) {
  1795. //防止拖动图标即打开了桌面应用
  1796. U.MD.D.click(this, obj);
  1797. }, [_yunhaiTeacherDeskIconInfo[i]])
  1798. }, _frag); //
  1799. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1800. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1801. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1802. } //_hkStudentDeskIconInfo
  1803. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1804. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1805. _content = $$("div", {
  1806. className: "U_MD_D_KO",
  1807. "onmousedown": U.UF.C.closure(function (obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1811. "onclick": U.UF.C.closure(function (obj) {
  1812. //防止拖动图标即打开了桌面应用
  1813. U.MD.D.click(this, obj);
  1814. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1815. }, _frag); //
  1816. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1817. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1818. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1819. }
  1820. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1821. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1822. _content = $$("div", {
  1823. className: "U_MD_D_KO",
  1824. "onmousedown": U.UF.C.closure(function (obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_hkTeacherDeskIconInfo[i]]),
  1828. "onclick": U.UF.C.closure(function (obj) {
  1829. //防止拖动图标即打开了桌面应用
  1830. U.MD.D.click(this, obj);
  1831. }, [_hkTeacherDeskIconInfo[i]])
  1832. }, _frag); //
  1833. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1834. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1835. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1836. }
  1837. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1838. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1839. _content = $$("div", {
  1840. className: "U_MD_D_KO",
  1841. "onmousedown": U.UF.C.closure(function (obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_hkaceTeacherDeskIconInfo[i]]),
  1845. "onclick": U.UF.C.closure(function (obj) {
  1846. //防止拖动图标即打开了桌面应用
  1847. U.MD.D.click(this, obj);
  1848. }, [_hkaceTeacherDeskIconInfo[i]])
  1849. }, _frag); //
  1850. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1851. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1852. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1853. }
  1854. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1855. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1856. _content = $$("div", {
  1857. className: "U_MD_D_KO",
  1858. "onmousedown": U.UF.C.closure(function (obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_gdjgAdminDeskIconInfo[i]]),
  1862. "onclick": U.UF.C.closure(function (obj) {
  1863. //防止拖动图标即打开了桌面应用
  1864. U.MD.D.click(this, obj);
  1865. }, [_gdjgAdminDeskIconInfo[i]])
  1866. }, _frag); //
  1867. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1868. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1869. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1870. }
  1871. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1872. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1873. _content = $$("div", {
  1874. className: "U_MD_D_KO",
  1875. "onmousedown": U.UF.C.closure(function (obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_gdjgTeacherDeskIconInfo[i]]),
  1879. "onclick": U.UF.C.closure(function (obj) {
  1880. //防止拖动图标即打开了桌面应用
  1881. U.MD.D.click(this, obj);
  1882. }, [_gdjgTeacherDeskIconInfo[i]])
  1883. }, _frag); //
  1884. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1885. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1886. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1887. }
  1888. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1889. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1890. _content = $$("div", {
  1891. className: "U_MD_D_KO",
  1892. "onmousedown": U.UF.C.closure(function (obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_szherTeacherDeskIconInfo[i]]),
  1896. "onclick": U.UF.C.closure(function (obj) {
  1897. //防止拖动图标即打开了桌面应用
  1898. U.MD.D.click(this, obj);
  1899. }, [_szherTeacherDeskIconInfo[i]])
  1900. }, _frag); //
  1901. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1902. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1903. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1904. }
  1905. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1906. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1907. _content = $$("div", {
  1908. className: "U_MD_D_KO",
  1909. "onmousedown": U.UF.C.closure(function (obj) {
  1910. //防止拖动图标即打开了桌面应用
  1911. U.MD.D.click(this, obj);
  1912. }, [_heyuannAdminDeskIconInfo[i]]),
  1913. "onclick": U.UF.C.closure(function (obj) {
  1914. //防止拖动图标即打开了桌面应用
  1915. U.MD.D.click(this, obj);
  1916. }, [_heyuannAdminDeskIconInfo[i]])
  1917. }, _frag); //
  1918. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1919. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1920. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1921. }
  1922. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1923. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1924. _content = $$("div", {
  1925. className: "U_MD_D_KO",
  1926. "onmousedown": U.UF.C.closure(function (obj) {
  1927. //防止拖动图标即打开了桌面应用
  1928. U.MD.D.click(this, obj);
  1929. }, [_heyuanTeacherDeskIconInfo[i]]),
  1930. "onclick": U.UF.C.closure(function (obj) {
  1931. //防止拖动图标即打开了桌面应用
  1932. U.MD.D.click(this, obj);
  1933. }, [_heyuanTeacherDeskIconInfo[i]])
  1934. }, _frag); //
  1935. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1936. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1937. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1938. } //
  1939. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1940. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1941. _content = $$("div", {
  1942. className: "U_MD_D_KO",
  1943. "onmousedown": U.UF.C.closure(function (obj) {
  1944. //防止拖动图标即打开了桌面应用
  1945. U.MD.D.click(this, obj);
  1946. }, [_dseiAdminDeskIconInfo[i]]),
  1947. "onclick": U.UF.C.closure(function (obj) {
  1948. //防止拖动图标即打开了桌面应用
  1949. U.MD.D.click(this, obj);
  1950. }, [_dseiAdminDeskIconInfo[i]])
  1951. }, _frag); //
  1952. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1953. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1954. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1955. }
  1956. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1957. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1958. _content = $$("div", {
  1959. className: "U_MD_D_KO",
  1960. "onmousedown": U.UF.C.closure(function (obj) {
  1961. //防止拖动图标即打开了桌面应用
  1962. U.MD.D.click(this, obj);
  1963. }, [_dseiTeacherDeskIconInfo[i]]),
  1964. "onclick": U.UF.C.closure(function (obj) {
  1965. //防止拖动图标即打开了桌面应用
  1966. U.MD.D.click(this, obj);
  1967. }, [_dseiTeacherDeskIconInfo[i]])
  1968. }, _frag); //
  1969. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1970. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1971. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1972. } //
  1973. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1974. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1975. _content = $$("div", {
  1976. className: "U_MD_D_KO",
  1977. "onmousedown": U.UF.C.closure(function (obj) {
  1978. //防止拖动图标即打开了桌面应用
  1979. U.MD.D.click(this, obj);
  1980. }, [_chjyjAdminDeskIconInfo[i]]),
  1981. "onclick": U.UF.C.closure(function (obj) {
  1982. //防止拖动图标即打开了桌面应用
  1983. U.MD.D.click(this, obj);
  1984. }, [_chjyjAdminDeskIconInfo[i]])
  1985. }, _frag); //
  1986. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1987. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1988. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1989. }//
  1990. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1991. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1992. _content = $$("div", {
  1993. className: "U_MD_D_KO",
  1994. "onmousedown": U.UF.C.closure(function (obj) {
  1995. //防止拖动图标即打开了桌面应用
  1996. U.MD.D.click(this, obj);
  1997. }, [_chjyjTeacherDeskIconInfo[i]]),
  1998. "onclick": U.UF.C.closure(function (obj) {
  1999. //防止拖动图标即打开了桌面应用
  2000. U.MD.D.click(this, obj);
  2001. }, [_chjyjTeacherDeskIconInfo[i]])
  2002. }, _frag); //
  2003. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2004. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2005. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2006. }
  2007. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2008. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2009. _content = $$("div", {
  2010. className: "U_MD_D_KO",
  2011. "onmousedown": U.UF.C.closure(function (obj) {
  2012. //防止拖动图标即打开了桌面应用
  2013. U.MD.D.click(this, obj);
  2014. }, [_szjkyAdminDeskIconInfo[i]]),
  2015. "onclick": U.UF.C.closure(function (obj) {
  2016. //防止拖动图标即打开了桌面应用
  2017. U.MD.D.click(this, obj);
  2018. }, [_szjkyAdminDeskIconInfo[i]])
  2019. }, _frag); //
  2020. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2021. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2022. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2023. }//
  2024. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2025. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2026. _content = $$("div", {
  2027. className: "U_MD_D_KO",
  2028. "onmousedown": U.UF.C.closure(function (obj) {
  2029. //防止拖动图标即打开了桌面应用
  2030. U.MD.D.click(this, obj);
  2031. }, [_szjkyTeacherDeskIconInfo[i]]),
  2032. "onclick": U.UF.C.closure(function (obj) {
  2033. //防止拖动图标即打开了桌面应用
  2034. U.MD.D.click(this, obj);
  2035. }, [_szjkyTeacherDeskIconInfo[i]])
  2036. }, _frag); //
  2037. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2038. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2039. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2040. }
  2041. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2042. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2043. _content = $$("div", {
  2044. className: "U_MD_D_KO",
  2045. "onmousedown": U.UF.C.closure(function (obj) {
  2046. //防止拖动图标即打开了桌面应用
  2047. U.MD.D.click(this, obj);
  2048. }, [_futianAdminDeskIconInfo[i]]),
  2049. "onclick": U.UF.C.closure(function (obj) {
  2050. //防止拖动图标即打开了桌面应用
  2051. U.MD.D.click(this, obj);
  2052. }, [_futianAdminDeskIconInfo[i]])
  2053. }, _frag); //
  2054. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2055. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2056. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2057. }
  2058. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2059. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2060. _content = $$("div", {
  2061. className: "U_MD_D_KO",
  2062. "onmousedown": U.UF.C.closure(function (obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_futianTeacherDeskIconInfo[i]]),
  2066. "onclick": U.UF.C.closure(function (obj) {
  2067. //防止拖动图标即打开了桌面应用
  2068. U.MD.D.click(this, obj);
  2069. }, [_futianTeacherDeskIconInfo[i]])
  2070. }, _frag); //
  2071. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2072. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2073. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2074. }
  2075. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2076. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2077. _content = $$("div", {
  2078. className: "U_MD_D_KO",
  2079. "onmousedown": U.UF.C.closure(function (obj) {
  2080. //防止拖动图标即打开了桌面应用
  2081. U.MD.D.click(this, obj);
  2082. }, [_MingdeTeacherDeskIcon[i]]),
  2083. "onclick": U.UF.C.closure(function (obj) {
  2084. //防止拖动图标即打开了桌面应用
  2085. U.MD.D.click(this, obj);
  2086. }, [_MingdeTeacherDeskIcon[i]])
  2087. }, _frag); //
  2088. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2089. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2090. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2091. }
  2092. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2093. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2094. _content = $$("div", {
  2095. className: "U_MD_D_KO",
  2096. "onmousedown": U.UF.C.closure(function (obj) {
  2097. //防止拖动图标即打开了桌面应用
  2098. U.MD.D.click(this, obj);
  2099. }, [_lhsAdminDesktopIconInfo[i]]),
  2100. "onclick": U.UF.C.closure(function (obj) {
  2101. //防止拖动图标即打开了桌面应用
  2102. U.MD.D.click(this, obj);
  2103. }, [_lhsAdminDesktopIconInfo[i]])
  2104. }, _frag); //
  2105. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2106. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2107. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2108. }
  2109. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2110. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2111. _content = $$("div", {
  2112. className: "U_MD_D_KO",
  2113. "onmousedown": U.UF.C.closure(function (obj) {
  2114. //防止拖动图标即打开了桌面应用
  2115. U.MD.D.click(this, obj);
  2116. }, [_lhsteacherDesktopIconInfo[i]]),
  2117. "onclick": U.UF.C.closure(function (obj) {
  2118. //防止拖动图标即打开了桌面应用
  2119. U.MD.D.click(this, obj);
  2120. }, [_lhsteacherDesktopIconInfo[i]])
  2121. }, _frag); //
  2122. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2123. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2124. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2125. }
  2126. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2127. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2128. _content = $$("div", {
  2129. className: "U_MD_D_KO",
  2130. "onmousedown": U.UF.C.closure(function (obj) {
  2131. //防止拖动图标即打开了桌面应用
  2132. U.MD.D.click(this, obj);
  2133. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2134. "onclick": U.UF.C.closure(function (obj) {
  2135. //防止拖动图标即打开了桌面应用
  2136. U.MD.D.click(this, obj);
  2137. }, [_zhoujiateacherDesktopIconInfo[i]])
  2138. }, _frag); //
  2139. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2140. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2141. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2142. }
  2143. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2144. for (i = 0; i < _hanDeskIcon.length; i++) {
  2145. _content = $$("div", {
  2146. className: "U_MD_D_KO",
  2147. "onmousedown": U.UF.C.closure(function (obj) {
  2148. //防止拖动图标即打开了桌面应用
  2149. U.MD.D.click(this, obj);
  2150. }, [_hanDeskIcon[i]]),
  2151. "onclick": U.UF.C.closure(function (obj) {
  2152. //防止拖动图标即打开了桌面应用
  2153. U.MD.D.click(this, obj);
  2154. }, [_hanDeskIcon[i]])
  2155. }, _frag); //
  2156. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2157. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2158. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2159. }
  2160. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2161. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2162. _content = $$("div", {
  2163. className: "U_MD_D_KO",
  2164. "onmousedown": U.UF.C.closure(function (obj) {
  2165. //防止拖动图标即打开了桌面应用
  2166. U.MD.D.click(this, obj);
  2167. }, [_orgStemDeskIcon[i]]),
  2168. "onclick": U.UF.C.closure(function (obj) {
  2169. //防止拖动图标即打开了桌面应用
  2170. U.MD.D.click(this, obj);
  2171. }, [_orgStemDeskIcon[i]])
  2172. }, _frag); //
  2173. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2174. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2175. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2176. }
  2177. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2178. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2179. _content = $$("div", {
  2180. className: "U_MD_D_KO",
  2181. "onmousedown": U.UF.C.closure(function (obj) {
  2182. //防止拖动图标即打开了桌面应用
  2183. U.MD.D.click(this, obj);
  2184. }, [_szulsDeskIcon[i]]),
  2185. "onclick": U.UF.C.closure(function (obj) {
  2186. //防止拖动图标即打开了桌面应用
  2187. U.MD.D.click(this, obj);
  2188. }, [_szulsDeskIcon[i]])
  2189. }, _frag); //
  2190. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2191. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2192. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2193. }
  2194. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2195. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2196. _content = $$("div", {
  2197. className: "U_MD_D_KO",
  2198. "onmousedown": U.UF.C.closure(function (obj) {
  2199. //防止拖动图标即打开了桌面应用
  2200. U.MD.D.click(this, obj);
  2201. }, [_orgDesktopIconInfo[i]]),
  2202. "onclick": U.UF.C.closure(function (obj) {
  2203. //防止拖动图标即打开了桌面应用
  2204. U.MD.D.click(this, obj);
  2205. }, [_orgDesktopIconInfo[i]])
  2206. }, _frag); //
  2207. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2208. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2209. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2210. }
  2211. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2212. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2213. _content = $$("div", {
  2214. className: "U_MD_D_KO",
  2215. "onmousedown": U.UF.C.closure(function (obj) {
  2216. //防止拖动图标即打开了桌面应用
  2217. U.MD.D.click(this, obj);
  2218. }, [_schoolDesktopIconInfo[i]]),
  2219. "onclick": U.UF.C.closure(function (obj) {
  2220. //防止拖动图标即打开了桌面应用
  2221. U.MD.D.click(this, obj);
  2222. }, [_schoolDesktopIconInfo[i]])
  2223. }, _frag); //
  2224. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2225. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2226. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2227. }
  2228. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2229. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2230. _content = $$("div", {
  2231. className: "U_MD_D_KO",
  2232. "onmousedown": U.UF.C.closure(function (obj) {
  2233. //防止拖动图标即打开了桌面应用
  2234. U.MD.D.click(this, obj);
  2235. }, [_GMteacherDesktopIconInfo[i]]),
  2236. "onclick": U.UF.C.closure(function (obj) {
  2237. //防止拖动图标即打开了桌面应用
  2238. U.MD.D.click(this, obj);
  2239. }, [_GMteacherDesktopIconInfo[i]])
  2240. }, _frag); //
  2241. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2242. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2243. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2244. }
  2245. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2246. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2247. _content = $$("div", {
  2248. className: "U_MD_D_KO",
  2249. "onmousedown": U.UF.C.closure(function (obj) {
  2250. //防止拖动图标即打开了桌面应用
  2251. U.MD.D.click(this, obj);
  2252. }, [_SONGteacherDesktopIconInfo[i]]),
  2253. "onclick": U.UF.C.closure(function (obj) {
  2254. //防止拖动图标即打开了桌面应用
  2255. U.MD.D.click(this, obj);
  2256. }, [_SONGteacherDesktopIconInfo[i]])
  2257. }, _frag); //
  2258. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2259. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2260. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2261. }
  2262. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2263. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2264. _content = $$("div", {
  2265. className: "U_MD_D_KO",
  2266. "onmousedown": U.UF.C.closure(function (obj) {
  2267. //防止拖动图标即打开了桌面应用
  2268. U.MD.D.click(this, obj);
  2269. }, [_GMstudentDesktopIconInfo[i]]),
  2270. "onclick": U.UF.C.closure(function (obj) {
  2271. //防止拖动图标即打开了桌面应用
  2272. U.MD.D.click(this, obj);
  2273. }, [_GMstudentDesktopIconInfo[i]])
  2274. }, _frag); //
  2275. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2276. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2277. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2278. }
  2279. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2280. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2281. _content = $$("div", {
  2282. className: "U_MD_D_KO",
  2283. "onmousedown": U.UF.C.closure(function (obj) {
  2284. //防止拖动图标即打开了桌面应用
  2285. U.MD.D.click(this, obj);
  2286. }, [_tcTeacherDeskIconInfo[i]]),
  2287. "onclick": U.UF.C.closure(function (obj) {
  2288. //防止拖动图标即打开了桌面应用
  2289. U.MD.D.click(this, obj);
  2290. }, [_tcTeacherDeskIconInfo[i]])
  2291. }, _frag); //
  2292. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2293. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2294. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2295. }
  2296. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2297. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2298. _content = $$("div", {
  2299. className: "U_MD_D_KO",
  2300. "onmousedown": U.UF.C.closure(function (obj) {
  2301. //防止拖动图标即打开了桌面应用
  2302. U.MD.D.click(this, obj);
  2303. }, [_tcOrganizerDeskIconInfo[i]]),
  2304. "onclick": U.UF.C.closure(function (obj) {
  2305. //防止拖动图标即打开了桌面应用
  2306. U.MD.D.click(this, obj);
  2307. }, [_tcOrganizerDeskIconInfo[i]])
  2308. }, _frag); //
  2309. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2310. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2311. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2312. }
  2313. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2314. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2315. _content = $$("div", {
  2316. className: "U_MD_D_KO",
  2317. "onmousedown": U.UF.C.closure(function (obj) {
  2318. //防止拖动图标即打开了桌面应用
  2319. U.MD.D.click(this, obj);
  2320. }, [_szscTeacherDeskIconInfo[i]]),
  2321. "onclick": U.UF.C.closure(function (obj) {
  2322. //防止拖动图标即打开了桌面应用
  2323. U.MD.D.click(this, obj);
  2324. }, [_szscTeacherDeskIconInfo[i]])
  2325. }, _frag); //
  2326. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2327. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2328. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2329. }
  2330. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2331. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2332. _content = $$("div", {
  2333. className: "U_MD_D_KO",
  2334. "onmousedown": U.UF.C.closure(function (obj) {
  2335. //防止拖动图标即打开了桌面应用
  2336. U.MD.D.click(this, obj);
  2337. }, [_szscOrganizerDeskIconInfo[i]]),
  2338. "onclick": U.UF.C.closure(function (obj) {
  2339. //防止拖动图标即打开了桌面应用
  2340. U.MD.D.click(this, obj);
  2341. }, [_szscOrganizerDeskIconInfo[i]])
  2342. }, _frag); //
  2343. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2344. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2345. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2346. }
  2347. } else {
  2348. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2349. _content = $$("div", {
  2350. className: "U_MD_D_KO",
  2351. "onmousedown": U.UF.C.closure(function (obj) {
  2352. //防止拖动图标即打开了桌面应用
  2353. U.MD.D.click(this, obj);
  2354. }, [_teacherDesktopIconInfo[i]]),
  2355. "onclick": U.UF.C.closure(function (obj) {
  2356. //防止拖动图标即打开了桌面应用
  2357. U.MD.D.click(this, obj);
  2358. }, [_teacherDesktopIconInfo[i]])
  2359. }, _frag); //
  2360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2363. }
  2364. }
  2365. } else {
  2366. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2367. _content = $$("div", {
  2368. className: "U_MD_D_KO",
  2369. style: { 'width': '124px', 'height': '145px' },
  2370. "onmousedown": U.UF.C.closure(function (obj) {
  2371. //防止拖动图标即打开了桌面应用
  2372. U.MD.D.click(this, obj);
  2373. }, [_easyDesktopIconInfo[i]]),
  2374. "onclick": U.UF.C.closure(function (obj) {
  2375. //防止拖动图标即打开了桌面应用
  2376. U.MD.D.click(this, obj);
  2377. }, [_easyDesktopIconInfo[i]])
  2378. }, _frag); //
  2379. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2382. }
  2383. }
  2384. if (type == 1) {
  2385. //加载好后给图标定位
  2386. U.MD.D.iconPostion($(_frag).Child());
  2387. } else {
  2388. //加载好后给图标定位
  2389. U.MD.D.iconPostion2($(_frag).Child());
  2390. }
  2391. //把图标加载到页面
  2392. el.appendChild(_frag);
  2393. }
  2394. /**
  2395. * 显示任务栏
  2396. *
  2397. * @param {element} 桌面元素
  2398. */
  2399. U.MD.D.I.displayTaskbar = function (el) {
  2400. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2401. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2402. //任务栏位置变化
  2403. U.selectEl(el).css({ "bottom": "0px" });
  2404. //桌面位置变话
  2405. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2406. }
  2407. }
  2408. //#region 桌面图标拖动逻辑
  2409. /**
  2410. * 桌面排列图标
  2411. *
  2412. * @param {element} 桌面元素
  2413. * @param {object} 上下相距的距离
  2414. * @param {object} 左右相距的距离
  2415. * @return {object} 命名空间
  2416. */
  2417. U.MD.D.iconPostion = function (childs, top, left) {
  2418. var i; //用于循环处理
  2419. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2420. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2421. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2422. for (i = 0; i < childs.length; i++) {
  2423. //如果竖排top超过了范围处理
  2424. if (top + 95 > US.height - 10) {
  2425. //left超过了页面范围处理,则向上重叠打印处理
  2426. if ((left + 180) > US.width) {
  2427. top -= 110;
  2428. left -= 90;
  2429. }
  2430. //没有超过范围,那么left+90添加到下一个竖排打印
  2431. else {
  2432. left += 90;
  2433. top = 15;
  2434. };
  2435. }
  2436. //给图标的位置赋值
  2437. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2438. if (i < childs.length - 1) {
  2439. //页面图标每次向下加95
  2440. top += 95;
  2441. }
  2442. }
  2443. //返回最后调用的图标的位置
  2444. return [top, left];
  2445. }
  2446. /**
  2447. * 桌面排列图标
  2448. *
  2449. * @param {element} 桌面元素
  2450. * @param {object} 上下相距的距离
  2451. * @param {object} 左右相距的距离
  2452. * @return {object} 命名空间
  2453. */
  2454. U.MD.D.iconPostion2 = function (childs, top, left) {
  2455. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2456. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2457. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2458. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2459. for (i = 0; i < childs.length; i++) {
  2460. //如果竖排top超过了范围处理
  2461. if (left + 150 > US.width - 10) {
  2462. //left超过了页面范围处理,则向上重叠打印处理
  2463. if ((top + 180) > US.Height) {
  2464. top -= 150;
  2465. left -= 150;
  2466. }
  2467. //没有超过范围,那么left+90添加到下一个竖排打印
  2468. else {
  2469. top += 150;
  2470. left = ol;
  2471. };
  2472. }
  2473. //给图标的位置赋值
  2474. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2475. if (i < childs.length - 1) {
  2476. //页面图标每次向下加95
  2477. left += 150;
  2478. }
  2479. }
  2480. //返回最后调用的图标的位置
  2481. return [top, left];
  2482. }
  2483. /**
  2484. * 桌面点击事件逻辑
  2485. *
  2486. * @param {element} 桌面元素
  2487. * @param {object} 上下相距的距离
  2488. * @param {object} 左右相距的距离
  2489. * @return {object} 命名空间
  2490. */
  2491. U.MD.D.click = function (el, obj) {
  2492. var _buttonnumber = event.button; //点击的按钮的事件值
  2493. var _userinfo = US.userInfo;
  2494. U.UF.EV.stopBubble(); //阻止向上冒泡
  2495. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2496. if (_buttonnumber < 2) {
  2497. //如果是click事件的处理
  2498. if (event.type == "click") {
  2499. //如果元素在mousemove事件中没有移动则出发click事件
  2500. if (!U.MD.D.I.IsDrag) {
  2501. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2502. U.alert("请先登录您的账号!");
  2503. setTimeout(() => {
  2504. U.MD.U.L.login();
  2505. }, 2000);
  2506. } else {
  2507. //打开应用处理
  2508. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2509. }
  2510. }
  2511. }
  2512. //如果是mouse事件的处理
  2513. else {
  2514. if (US.Config.type == '1') {
  2515. //拖动处理,添加拖动和拖动结束事件
  2516. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2517. }
  2518. }
  2519. U.MD.D.I.IsDrag = false;
  2520. }
  2521. }
  2522. /**
  2523. * 拖动的处理
  2524. *
  2525. */
  2526. U.MD.D.iconMove = function () {
  2527. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2528. U.MD.D.I.IsDrag = true;
  2529. }
  2530. /**
  2531. * 拖动结束后,这里是定位处理,以网状的形式定位
  2532. *
  2533. * @param {element} 拖动的元素
  2534. * @return {object} 命名空间
  2535. */
  2536. U.MD.D.iconUp = function (el) {
  2537. var _top = 15,
  2538. _left = 20,
  2539. _margin,
  2540. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2541. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2542. if (_positioninfo["OT"] > 15) {
  2543. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2544. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2545. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2546. }
  2547. if (_positioninfo["OL"] > 20) {
  2548. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2549. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2550. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2551. }
  2552. //while循环判断么一个重叠的元素
  2553. do {
  2554. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2555. _top = _positioninfo[0] + 95; //得到定位后的top
  2556. _left = _positioninfo[1]; //得到定位后的left
  2557. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2558. }
  2559. /**
  2560. * 判断拖动后图标是否重叠
  2561. *
  2562. * @param {element} 拖动的元素
  2563. * @param {element} 桌面所有的元素
  2564. * @param {array} 拖动元素的位置
  2565. ----------[0] 上 top
  2566. ----------[1] 左 left
  2567. * @return {object} 命名空间
  2568. */
  2569. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2570. //循环所有的图标
  2571. for (var i = 0; i < childs.length; i++) {
  2572. //判断有没有和该图标诶子重叠的元素
  2573. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2574. return childs[i]; //如果有返回
  2575. }
  2576. }
  2577. }
  2578. //#endregion
  2579. //#endregion
  2580. //#region 桌面应用
  2581. /**
  2582. * 打开应用
  2583. *
  2584. * @param {string} 类型
  2585. -----------------Disk 网盘系统
  2586. -----------------PDisk 学习系统网盘
  2587. -----------------Poto 图片
  2588. -----------------Video 视频
  2589. -----------------Music 音乐
  2590. -----------------Word word
  2591. -----------------Excel excel
  2592. -----------------Txt 记事本
  2593. -----------------PB 学习系统
  2594. -----------------Blog 朋友圈系统
  2595. -----------------FTP ftp系统
  2596. -----------------Group 好友群
  2597. -----------------SY 首页系统
  2598. -----------------Set 个人设置
  2599. -----------------XSet 系统设置
  2600. -----------------App 我们所有的app
  2601. -----------------BC c.1473.cn 平台
  2602. -----------------CWeb d.1473.cn 变成平台
  2603. -----------------其他的外联系统 我们统一用iframe打开
  2604. * @param {array} 类型
  2605. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2606. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2607. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2608. 如果第一个参数为其他,则无第二个参数
  2609. * @returns {array}
  2610. */
  2611. window.addEventListener('message', function (e) { // 监听 message 事件
  2612. // alert(e.data.type);
  2613. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2614. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2615. //3是展示全部阶段 2学生 1老师 4专家
  2616. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2617. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2618. //3是展示全部阶段 2学生 1老师 4专家
  2619. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2620. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2621. //3是展示全部阶段 2学生 1老师 4专家
  2622. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2623. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2624. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2625. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2626. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2627. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2628. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2629. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2630. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2631. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2632. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2633. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2634. //3是展示全部阶段 2学生 1老师 4专家
  2635. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2636. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2637. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2638. U.MD.D.I.selectUser();
  2639. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2640. var _formel = document.getElementById("study");
  2641. U.UF.F.windowZooming(_formel);
  2642. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2643. var _formel = document.getElementById("studyDetail");
  2644. U.UF.F.windowZooming(_formel);
  2645. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2646. var _formel = document.getElementById("studyDetail");
  2647. U.UF.F.windowZooming(_formel);
  2648. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2649. var _formel = document.getElementById("studentStudy");
  2650. U.UF.F.windowZooming(_formel);
  2651. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2652. // var _formel = document.getElementById("study");
  2653. //如果最大化了,那么就把他缩小
  2654. // if (_formel.ismaximize) {
  2655. // return;
  2656. // }
  2657. // U.UF.F.windowZooming(_formel);
  2658. // U.UF.F.topWindow(_formel);
  2659. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2660. // var _formel = document.getElementById("studyDetail");
  2661. //如果最大化了,那么就把他缩小
  2662. // if (_formel.ismaximize) {
  2663. // return;
  2664. // }
  2665. // U.UF.F.windowZooming(_formel);
  2666. // U.UF.F.topWindow(_formel);
  2667. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2668. // var _formel = document.getElementById("studentStudy");
  2669. // if (_formel.ismaximize) {
  2670. // return;
  2671. // }
  2672. // U.UF.F.windowZooming(_formel);
  2673. // U.UF.F.topWindow(_formel);
  2674. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2675. var _formel = document.getElementById("study");
  2676. // if (_formel.ismaximize) {
  2677. // return;
  2678. // }
  2679. // U.UF.F.windowZooming(_formel);
  2680. U.UF.F.topWindow(_formel);
  2681. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2682. var _formel = document.getElementById("studentIndex");
  2683. U.UF.F.windowZooming(_formel);
  2684. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2685. var _formel = document.getElementById("studyDetailS");
  2686. U.UF.F.windowZooming(_formel);
  2687. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2688. var _formel = document.getElementById("studioIndex");
  2689. U.UF.F.windowZooming(_formel);
  2690. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2691. var _formel = document.getElementById("studyDetailStudio");
  2692. U.UF.F.windowZooming(_formel);
  2693. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2694. var _formel = document.getElementById("studyDetailStudio");
  2695. U.UF.F.windowZooming(_formel);
  2696. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2697. var _formel = document.getElementById("studyDetailNT");
  2698. U.UF.F.windowZooming(_formel);
  2699. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2700. var _formel = document.getElementById("studyDetailS");
  2701. U.UF.F.windowZooming(_formel);
  2702. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2703. var _formel = document.getElementById("studyDetailS");
  2704. U.UF.F.topWindow(_formel);
  2705. } else if (e.data.tools && e.data.tools == "1") {
  2706. // U.MD.D.I.openApplication("whiteboard")
  2707. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2708. } else if (e.data.tools && e.data.tools == "2") {
  2709. U.MD.D.I.openApplication("note")
  2710. } else if (e.data.tools && e.data.tools == "3") {
  2711. // U.MD.D.I.openApplication("mind")
  2712. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2713. } else if (e.data.tools && e.data.tools == "4") {
  2714. U.MD.D.I.openApplication("investigation")
  2715. } else if (e.data.tools && e.data.tools == "6") {
  2716. // U.MD.D.I.openApplication("doc")
  2717. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2718. } else if (e.data.tools && e.data.tools == "7") {
  2719. // U.MD.D.I.openApplication("mindNetwork")
  2720. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2721. } else if (e.data.tools && e.data.tools == "8") {
  2722. U.MD.D.I.openApplication("library")
  2723. } else if (e.data.tools && e.data.tools == "17") {
  2724. U.MD.D.I.openApplication("stuLibrary")
  2725. } else if (e.data.tools && e.data.tools == "18") {
  2726. U.MD.D.I.openApplication("train")
  2727. } else if (e.data.tools && e.data.tools == "21") {
  2728. U.MD.D.I.openApplication("program")
  2729. } else if (e.data.tools && e.data.tools == "22") {
  2730. U.MD.D.I.openApplication("AIprogram2")
  2731. } else if (e.data.tools && e.data.tools == "23") {
  2732. U.MD.D.I.openApplication("Pythonprogram")
  2733. } else if (e.data.tools && e.data.tools == "24") {
  2734. U.MD.D.I.openApplication("AIprogram")
  2735. } else if (e.data.tools && e.data.tools == "25") {
  2736. U.MD.D.I.openApplication("sys")
  2737. } else if (e.data.tools && e.data.tools == "26") {
  2738. // U.MD.D.I.openApplication("courseDesign")
  2739. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2740. } else if (e.data.tools && e.data.tools == "31") {
  2741. U.MD.D.I.openApplication("netWorkPanel")
  2742. } else if (e.data.tools && e.data.tools == "32") {
  2743. U.MD.D.I.openApplication("codeEdit")
  2744. } else if (e.data.tools && e.data.tools == "57") {
  2745. U.MD.D.I.openApplication("CocoPi")
  2746. } else if (e.data.tools && e.data.tools == "63") {
  2747. U.MD.D.I.openApplication("Wood")
  2748. } else if (e.data.tools && e.data.tools == "58") {
  2749. U.MD.D.I.openApplication("car")
  2750. } else if (e.data.tools && e.data.tools == "59") {
  2751. U.MD.D.I.openApplication("lineSearch")
  2752. } else if (e.data.tools && e.data.tools == "60") {
  2753. U.MD.D.I.openApplication("deepLearning")
  2754. } else if (e.data.tools && e.data.tools == "61") {
  2755. U.MD.D.I.openApplication("allHistory")
  2756. } else if (e.data.tools && e.data.tools == "28") {
  2757. U.MD.D.I.openApplication("translation")
  2758. } else if (e.data.tools && e.data.tools == "37") {
  2759. U.MD.D.I.openApplication("mohe")
  2760. } else if (e.data.tools && e.data.tools == "38") {
  2761. U.MD.D.I.openApplication("24game")
  2762. } else if (e.data.tools && e.data.tools == "39") {
  2763. U.MD.D.I.openApplication("GeoGebra")
  2764. } else if (e.data.tools && e.data.tools == "43") {
  2765. U.MD.D.I.openApplication("studentEvaluate")
  2766. } else if (e.data.tools && e.data.tools == "44") {
  2767. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2768. } else if (e.data.tools && e.data.tools == "46") {
  2769. U.MD.D.I.openApplication("project")
  2770. } else if (e.data.tools && e.data.tools == "1s") {
  2771. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2772. } else if (e.data.tools && e.data.tools == "3s") {
  2773. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2774. } else if (e.data.tools && e.data.tools == "6s") {
  2775. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2776. } else if (e.data.tools && e.data.tools == "1studio") {
  2777. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2778. } else if (e.data.tools && e.data.tools == "3studio") {
  2779. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2780. } else if (e.data.tools && e.data.tools == "6studio") {
  2781. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2782. } else if (e.data.tools && e.data.tools == "3y") {
  2783. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2784. } else if (e.data.tools && e.data.tools == "1y") {
  2785. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2786. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2787. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2788. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2789. U.MD.D.I.openApplication("AIAnalyse")
  2790. } else if (e.data.tools && e.data.tools == "1teacher") {
  2791. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2792. } else if (e.data.tools && e.data.tools == "3teacher") {
  2793. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2794. } else if (e.data.tools && e.data.tools == "7teacher") {
  2795. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2796. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2797. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2798. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2799. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2800. } else if (e.data.tools && e.data.tools == "1E") {
  2801. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2802. } else if (e.data.tools && e.data.tools == "3E") {
  2803. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2804. } else if (e.data.tools && e.data.tools == "57y") {
  2805. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2806. } else if (e.data.tools && e.data.tools == "57u") {
  2807. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2808. } else if (e.data.tools && e.data.tools == "57teacher") {
  2809. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2810. } else if (e.data.tools && e.data.tools == "64") {
  2811. U.MD.D.I.openApplication("AIChat")
  2812. } else if (e.data.tools && e.data.tools == "66") {
  2813. U.MD.D.I.openApplication("formulaEdi")
  2814. } else if (e.data.tools && e.data.tools == "67") {
  2815. U.MD.D.I.openApplication("molStr")
  2816. } else if (e.data.tools && e.data.tools == "68") {
  2817. U.MD.D.I.openApplication("timeAxis")
  2818. } else if (e.data.tools && e.data.tools == "openCourse") {
  2819. let _data = {
  2820. typea: e.data.typea || '',
  2821. typeb: e.data.typeb || '',
  2822. typed: e.data.typed || '',
  2823. }
  2824. U.MD.D.I.openInApplication("index", _data)
  2825. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2826. let _data = {
  2827. classid: e.data.classid || '',
  2828. }
  2829. U.MD.D.I.openInApplication("dataClass", _data)
  2830. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2831. let _data = {
  2832. cid: e.data.cid || '',
  2833. gid: e.data.gid || '',
  2834. }
  2835. U.MD.D.I.openInApplication("opencCscl", _data)
  2836. }
  2837. });
  2838. U.MD.D.I.selectUser = function () {
  2839. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2840. if (res.value[0].length > 0) {
  2841. US.userInfo = res.value[0][0];
  2842. $(".userName")[0].innerHTML = US.userInfo.username;
  2843. }
  2844. }, [], { "type": "GET", "withCredentials": true });
  2845. }
  2846. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2847. var _userinfo = US.userInfo, //登录用户信息
  2848. _userid = US.userInfo.userid, //登录用户id
  2849. _oid = _userinfo.organizeid,
  2850. _type = US.userInfo.type,
  2851. _org = US.userInfo.org,
  2852. _role = US.userInfo.role,
  2853. _classId = US.userInfo.classid;
  2854. if (_type == 4) {
  2855. tType = 4
  2856. }
  2857. switch (str) {
  2858. case "studyDetailNT": //无终端模式
  2859. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2860. setTimeout(() => {
  2861. U.MD.U.L.login();
  2862. }, 2000);
  2863. } else {
  2864. _formdiv = new U.UF.UI.form(
  2865. "课程详情",
  2866. $$("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 }), {
  2867. "id": "studyDetailNT",
  2868. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2869. "onresize": function () { }
  2870. }, {
  2871. closecallback: function () { }
  2872. }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. _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); } }
  2874. break;
  2875. }
  2876. case "studyDetail":
  2877. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2878. setTimeout(() => {
  2879. U.MD.U.L.login();
  2880. }, 2000);
  2881. } else {
  2882. _formdiv = new U.UF.UI.form(
  2883. "课程详情",
  2884. $$("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 }), {
  2885. "id": "studyDetail",
  2886. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2887. "onresize": function () { }
  2888. }, {
  2889. closecallback: function () { }
  2890. }, { "style": { "height": "36px" } }).form; //创建窗体
  2891. _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); } }
  2892. break;
  2893. }
  2894. case "studyDetailS":
  2895. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2896. setTimeout(() => {
  2897. U.MD.U.L.login();
  2898. }, 2000);
  2899. } else {
  2900. _formdiv = new U.UF.UI.form(
  2901. "项目详情",
  2902. $$("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 }), {
  2903. "id": "studyDetailS",
  2904. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2905. "onresize": function () { }
  2906. }, {
  2907. closecallback: function () { }
  2908. }, { "style": { "height": "36px" } }).form; //创建窗体
  2909. _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); } }
  2910. break;
  2911. }
  2912. case "studyDetailStudio":
  2913. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2914. setTimeout(() => {
  2915. U.MD.U.L.login();
  2916. }, 2000);
  2917. } else {
  2918. _formdiv = new U.UF.UI.form(
  2919. "工作详情",
  2920. $$("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 }), {
  2921. "id": "studyDetailStudio",
  2922. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2923. "onresize": function () { }
  2924. }, {
  2925. closecallback: function () { }
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _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); } }
  2928. break;
  2929. }
  2930. case "studyDetailS5":
  2931. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2932. setTimeout(() => {
  2933. U.MD.U.L.login();
  2934. }, 2000);
  2935. } else {
  2936. _formdiv = new U.UF.UI.form(
  2937. "项目详情",
  2938. $$("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 }), {
  2939. "id": "studyDetailS",
  2940. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2941. "onresize": function () { }
  2942. }, {
  2943. closecallback: function () { }
  2944. }, { "style": { "height": "36px" } }).form; //创建窗体
  2945. _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); } }
  2946. break;
  2947. }
  2948. case "studyDetailGM":
  2949. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2950. setTimeout(() => {
  2951. U.MD.U.L.login();
  2952. }, 2000);
  2953. } else {
  2954. _formdiv = new U.UF.UI.form(
  2955. "课程详情",
  2956. $$("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 }), {
  2957. "id": "studyDetail",
  2958. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2959. "onresize": function () { }
  2960. }, {
  2961. closecallback: function () { }
  2962. }, { "style": { "height": "36px" } }).form; //创建窗体
  2963. _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); } }
  2964. break;
  2965. }
  2966. case "hanUrl":
  2967. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2968. setTimeout(() => {
  2969. U.MD.U.L.login();
  2970. }, 2000);
  2971. } else {
  2972. _formdiv = new U.UF.UI.form(
  2973. "汉字宫",
  2974. $$("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" }), {
  2975. "id": "hanUrl",
  2976. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2977. "onresize": function () { }
  2978. }, {
  2979. closecallback: function () { }
  2980. }, { "style": { "height": "36px" } }).form; //创建窗体
  2981. _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); } }
  2982. break;
  2983. }
  2984. case "index":
  2985. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2986. setTimeout(() => {
  2987. U.MD.U.L.login();
  2988. }, 2000);
  2989. } else {
  2990. _formdiv = new U.UF.UI.form(
  2991. "课程中心",
  2992. $$("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 }), {
  2993. "id": "study",
  2994. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2995. "onresize": function () { }
  2996. }, {
  2997. closecallback: function () { }
  2998. }, { "style": { "height": "36px" } }).form; //创建窗体
  2999. _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); } }
  3000. break;
  3001. }
  3002. case "dataClass":
  3003. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3004. setTimeout(() => {
  3005. U.MD.U.L.login();
  3006. }, 2000);
  3007. } else {
  3008. _formdiv = new U.UF.UI.form(
  3009. "数据报告",
  3010. $$("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 }), {
  3011. "id": "dataClass",
  3012. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3013. "onresize": function () { }
  3014. }, {
  3015. closecallback: function () { }
  3016. }, { "style": { "height": "36px" } }).form; //创建窗体
  3017. _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); } }
  3018. break;
  3019. }
  3020. case "opencCscl":
  3021. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3022. setTimeout(() => {
  3023. U.MD.U.L.login();
  3024. }, 2000);
  3025. } else {
  3026. _formdiv = new U.UF.UI.form(
  3027. "协同建构",
  3028. $$("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 }), {
  3029. "id": "futureClass",
  3030. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3031. "onresize": function () { }
  3032. }, {
  3033. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3034. }, { "style": { "height": "36px" } }).form; //创建窗体
  3035. _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); } }
  3036. break;
  3037. }
  3038. }
  3039. }
  3040. U.MD.D.I.openApplication = function (str, obj, info) {
  3041. obj = obj || {};
  3042. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3043. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3044. _userinfo = US.userInfo, //登录用户信息
  3045. _userid = obj.userid || US.userInfo.userid, //登录用户id
  3046. _oid = obj.organizeid || _userinfo.organizeid,
  3047. _type = US.userInfo.type,
  3048. _org = US.userInfo.org,
  3049. _role = US.userInfo.role,
  3050. _classId = US.userInfo.classid,
  3051. _TscreenType = 1
  3052. _screenType = 2,
  3053. _SscreenType = 3;
  3054. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3055. return;
  3056. }
  3057. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3058. switch (str) {
  3059. case "studnetProject": //好友打开
  3060. _formdiv = new U.UF.UI.form(
  3061. "我的项目",
  3062. $$("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 }), {
  3063. "id": "studnetProject",
  3064. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3065. "onresize": function () { }
  3066. }, {
  3067. closecallback: function () { }
  3068. }, { "style": { "height": "36px" } }).form; //创建窗体
  3069. _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); } }
  3070. break;
  3071. case "studentEvaluate": //好友打开
  3072. _formdiv = new U.UF.UI.form(
  3073. "我的评价",
  3074. $$("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 }), {
  3075. "id": "studentEvaluate",
  3076. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3077. "onresize": function () { }
  3078. }, {
  3079. closecallback: function () { }
  3080. }, { "style": { "height": "36px" } }).form; //创建窗体
  3081. _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); } }
  3082. break;
  3083. case "my":
  3084. _formdiv = new U.UF.UI.form(
  3085. "我的资料",
  3086. $$("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 }), {
  3087. "id": "my",
  3088. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3089. "onresize": function () { }
  3090. }, {
  3091. closecallback: function () { }
  3092. }, { "style": { "height": "36px" } }).form; //创建窗体
  3093. _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); } }
  3094. break;
  3095. case "program":
  3096. _formdiv = new U.UF.UI.form(
  3097. "编程平台",
  3098. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3099. "id": "program",
  3100. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3101. "onresize": function () { }
  3102. }, {
  3103. closecallback: function () { }
  3104. }, { "style": { "height": "36px" } }).form; //创建窗体
  3105. _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); } }
  3106. break;
  3107. case "library":
  3108. _formdiv = new U.UF.UI.form(
  3109. "素材库",
  3110. $$("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 }), {
  3111. "id": "library",
  3112. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3113. "onresize": function () { }
  3114. }, {
  3115. closecallback: function () { }
  3116. }, { "style": { "height": "36px" } }).form; //创建窗体
  3117. _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); } }
  3118. break;
  3119. case "whiteboard":
  3120. _formdiv = new U.UF.UI.form(
  3121. "电子白板",
  3122. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3123. "id": "whiteboard",
  3124. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3125. "onresize": function () { }
  3126. }, {
  3127. closecallback: function () { }
  3128. }, { "style": { "height": "36px" } }).form; //创建窗体
  3129. _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); } }
  3130. break;
  3131. case "investigation":
  3132. _formdiv = new U.UF.UI.form(
  3133. "问卷调查",
  3134. $$("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 }), {
  3135. "id": "investigation",
  3136. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3137. "onresize": function () { }
  3138. }, {
  3139. closecallback: function () { }
  3140. }, { "style": { "height": "36px" } }).form; //创建窗体
  3141. _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); } }
  3142. break;
  3143. case "note":
  3144. _formdiv = new U.UF.UI.form(
  3145. "便签分类",
  3146. $$("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 }), {
  3147. "id": "note",
  3148. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3149. "onresize": function () { }
  3150. }, {
  3151. closecallback: function () { }
  3152. }, { "style": { "height": "36px" } }).form; //创建窗体
  3153. _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); } }
  3154. break;
  3155. // case "score":
  3156. // _formdiv = new U.UF.UI.form(
  3157. // "量规评分",
  3158. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3159. // "id": "score",
  3160. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3161. // "onresize": function() {}
  3162. // }, {
  3163. // closecallback: function() {}
  3164. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3165. // _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); } }
  3166. // break;
  3167. case "mind":
  3168. _formdiv = new U.UF.UI.form(
  3169. "思维导图",
  3170. $$("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"
  3171. "id": "mind",
  3172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3173. "onresize": function () { }
  3174. }, {
  3175. closecallback: function () { }
  3176. }, { "style": { "height": "36px" } }).form; //创建窗体
  3177. _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); } }
  3178. break;
  3179. case "doc":
  3180. // U.MD.D.I.isRoom();
  3181. _formdiv = new U.UF.UI.form(
  3182. "协同文档",
  3183. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3184. "id": "doc",
  3185. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3186. "onresize": function () { }
  3187. }, {
  3188. closecallback: function () { }
  3189. }, { "style": { "height": "36px" } }).form; //创建窗体
  3190. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3191. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3192. // })
  3193. _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); } }
  3194. break;
  3195. case "studentStudy":
  3196. _formdiv = new U.UF.UI.form(
  3197. "课程中心",
  3198. $$("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
  3199. "id": "studentStudy",
  3200. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3201. "onresize": function () { }
  3202. }, {
  3203. closecallback: function () { }
  3204. }, { "style": { "height": "36px" } }).form; //创建窗体
  3205. _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); } }
  3206. break;
  3207. case "train": //好友打开
  3208. _formdiv = new U.UF.UI.form(
  3209. "训练平台",
  3210. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3211. "id": "train",
  3212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function () { }
  3214. }, {
  3215. closecallback: function () { }
  3216. }, { "style": { "height": "36px" } }).form; //创建窗体
  3217. _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); } }
  3218. break;
  3219. case "mindNetwork": //好友打开
  3220. _formdiv = new U.UF.UI.form(
  3221. "思维网格",
  3222. $$("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 }), {
  3223. "id": "mindNetwork",
  3224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3225. "onresize": function () { }
  3226. }, {
  3227. closecallback: function () { }
  3228. }, { "style": { "height": "36px" } }).form; //创建窗体
  3229. _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); } }
  3230. break;
  3231. case "studentClassRoom": //好友打开
  3232. _formdiv = new U.UF.UI.form(
  3233. "实时课堂",
  3234. $$("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 }), {
  3235. "id": "studentClassRoom",
  3236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3237. "onresize": function () { }
  3238. }, {
  3239. closecallback: function () { }
  3240. }, { "style": { "height": "36px" } }).form; //创建窗体
  3241. _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); } }
  3242. setTimeout(() => {
  3243. U.UF.F.windowZooming(_formdiv)
  3244. }, 0);
  3245. break;
  3246. }
  3247. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3248. switch (str) {
  3249. case "studnetProject": //好友打开
  3250. _formdiv = new U.UF.UI.form(
  3251. "我的项目",
  3252. $$("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 }), {
  3253. "id": "studnetProject",
  3254. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3255. "onresize": function () { }
  3256. }, {
  3257. closecallback: function () { }
  3258. }, { "style": { "height": "36px" } }).form; //创建窗体
  3259. _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); } }
  3260. break;
  3261. case "studentEvaluate": //好友打开
  3262. _formdiv = new U.UF.UI.form(
  3263. "我的评价",
  3264. $$("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 }), {
  3265. "id": "studentEvaluate",
  3266. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3267. "onresize": function () { }
  3268. }, {
  3269. closecallback: function () { }
  3270. }, { "style": { "height": "36px" } }).form; //创建窗体
  3271. _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); } }
  3272. break;
  3273. case "my":
  3274. _formdiv = new U.UF.UI.form(
  3275. "我的资料",
  3276. $$("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 }), {
  3277. "id": "my",
  3278. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3279. "onresize": function () { }
  3280. }, {
  3281. closecallback: function () { }
  3282. }, { "style": { "height": "36px" } }).form; //创建窗体
  3283. _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); } }
  3284. break;
  3285. case "program":
  3286. _formdiv = new U.UF.UI.form(
  3287. "编程平台",
  3288. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3289. "id": "program",
  3290. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3291. "onresize": function () { }
  3292. }, {
  3293. closecallback: function () { }
  3294. }, { "style": { "height": "36px" } }).form; //创建窗体
  3295. _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); } }
  3296. break;
  3297. case "library":
  3298. _formdiv = new U.UF.UI.form(
  3299. "素材库",
  3300. $$("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 }), {
  3301. "id": "library",
  3302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3303. "onresize": function () { }
  3304. }, {
  3305. closecallback: function () { }
  3306. }, { "style": { "height": "36px" } }).form; //创建窗体
  3307. _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); } }
  3308. break;
  3309. case "whiteboard":
  3310. _formdiv = new U.UF.UI.form(
  3311. "电子白板",
  3312. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3313. "id": "whiteboard",
  3314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3315. "onresize": function () { }
  3316. }, {
  3317. closecallback: function () { }
  3318. }, { "style": { "height": "36px" } }).form; //创建窗体
  3319. _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); } }
  3320. break;
  3321. case "investigation":
  3322. _formdiv = new U.UF.UI.form(
  3323. "问卷调查",
  3324. $$("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 }), {
  3325. "id": "investigation",
  3326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3327. "onresize": function () { }
  3328. }, {
  3329. closecallback: function () { }
  3330. }, { "style": { "height": "36px" } }).form; //创建窗体
  3331. _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); } }
  3332. break;
  3333. case "note":
  3334. _formdiv = new U.UF.UI.form(
  3335. "便签分类",
  3336. $$("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 }), {
  3337. "id": "note",
  3338. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3339. "onresize": function () { }
  3340. }, {
  3341. closecallback: function () { }
  3342. }, { "style": { "height": "36px" } }).form; //创建窗体
  3343. _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); } }
  3344. break;
  3345. // case "score":
  3346. // _formdiv = new U.UF.UI.form(
  3347. // "量规评分",
  3348. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3349. // "id": "score",
  3350. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3351. // "onresize": function() {}
  3352. // }, {
  3353. // closecallback: function() {}
  3354. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3355. // _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); } }
  3356. // break;
  3357. case "mind":
  3358. _formdiv = new U.UF.UI.form(
  3359. "思维导图",
  3360. $$("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"
  3361. "id": "mind",
  3362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3363. "onresize": function () { }
  3364. }, {
  3365. closecallback: function () { }
  3366. }, { "style": { "height": "36px" } }).form; //创建窗体
  3367. _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); } }
  3368. break;
  3369. case "doc":
  3370. // U.MD.D.I.isRoom();
  3371. _formdiv = new U.UF.UI.form(
  3372. "协同文档",
  3373. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3374. "id": "doc",
  3375. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3376. "onresize": function () { }
  3377. }, {
  3378. closecallback: function () { }
  3379. }, { "style": { "height": "36px" } }).form; //创建窗体
  3380. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3381. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3382. })
  3383. _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); } }
  3384. break;
  3385. case "train": //好友打开
  3386. _formdiv = new U.UF.UI.form(
  3387. "训练平台",
  3388. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3389. "id": "train",
  3390. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3391. "onresize": function () { }
  3392. }, {
  3393. closecallback: function () { }
  3394. }, { "style": { "height": "36px" } }).form; //创建窗体
  3395. _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); } }
  3396. break;
  3397. case "studentStudy":
  3398. _formdiv = new U.UF.UI.form(
  3399. "课程中心",
  3400. $$("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
  3401. "id": "studentStudy",
  3402. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3403. "onresize": function () { }
  3404. }, {
  3405. closecallback: function () { }
  3406. }, { "style": { "height": "36px" } }).form; //创建窗体
  3407. _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); } }
  3408. break;
  3409. case "mindNetwork": //好友打开
  3410. _formdiv = new U.UF.UI.form(
  3411. "思维网格",
  3412. $$("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 }), {
  3413. "id": "mindNetwork",
  3414. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3415. "onresize": function () { }
  3416. }, {
  3417. closecallback: function () { }
  3418. }, { "style": { "height": "36px" } }).form; //创建窗体
  3419. _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); } }
  3420. break;
  3421. case "studentClassRoom": //好友打开
  3422. _formdiv = new U.UF.UI.form(
  3423. "实时课堂",
  3424. $$("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 }), {
  3425. "id": "studentClassRoom",
  3426. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3427. "onresize": function () { }
  3428. }, {
  3429. closecallback: function () { }
  3430. }, { "style": { "height": "36px" } }).form; //创建窗体
  3431. _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); } }
  3432. setTimeout(() => {
  3433. U.UF.F.windowZooming(_formdiv)
  3434. }, 0);
  3435. break;
  3436. }
  3437. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3438. //选择应用处理
  3439. switch (str) {
  3440. case "project": //好友打开
  3441. _formdiv = new U.UF.UI.form(
  3442. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3443. $$("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 }), {
  3444. "id": "project",
  3445. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3446. "onresize": function () { }
  3447. }, {
  3448. closecallback: function () { }
  3449. }, { "style": { "height": "36px" } }).form; //创建窗体
  3450. _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); } }
  3451. break;
  3452. case "student":
  3453. _formdiv = new U.UF.UI.form(
  3454. "学生管理",
  3455. $$("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 }), {
  3456. "id": "student",
  3457. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3458. "onresize": function () { }
  3459. }, {
  3460. closecallback: function () { }
  3461. }, { "style": { "height": "36px" } }).form; //创建窗体
  3462. _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); } }
  3463. break;
  3464. case "evaluate":
  3465. _formdiv = new U.UF.UI.form(
  3466. "学生评价",
  3467. $$("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 }), {
  3468. "id": "evaluate",
  3469. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3470. "onresize": function () { }
  3471. }, {
  3472. closecallback: function () { }
  3473. }, { "style": { "height": "36px" } }).form; //创建窗体
  3474. _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); } }
  3475. break;
  3476. case "sys":
  3477. _formdiv = new U.UF.UI.form(
  3478. "目标管理",
  3479. $$("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 }), {
  3480. "id": "sys",
  3481. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3482. "onresize": function () { }
  3483. }, {
  3484. closecallback: function () { }
  3485. }, { "style": { "height": "36px" } }).form; //创建窗体
  3486. _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); } }
  3487. break;
  3488. case "courseDesign":
  3489. _formdiv = new U.UF.UI.form(
  3490. "项目设计",
  3491. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3492. "id": "courseDesign",
  3493. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3494. "onresize": function () { }
  3495. }, {
  3496. closecallback: function () { }
  3497. }, { "style": { "height": "36px" } }).form; //创建窗体
  3498. _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); } }
  3499. break;
  3500. case "program":
  3501. _formdiv = new U.UF.UI.form(
  3502. "编程平台",
  3503. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3504. "id": "program",
  3505. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3506. "onresize": function () { }
  3507. }, {
  3508. closecallback: function () { }
  3509. }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. _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); } }
  3511. break;
  3512. case "class":
  3513. _formdiv = new U.UF.UI.form(
  3514. "班级管理",
  3515. $$("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 }), {
  3516. "id": "class",
  3517. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3518. "onresize": function () { }
  3519. }, {
  3520. closecallback: function () { }
  3521. }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. _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); } }
  3523. break;
  3524. case "Grade":
  3525. _formdiv = new U.UF.UI.form(
  3526. "年级管理",
  3527. $$("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 }), {
  3528. "id": "Grade",
  3529. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3530. "onresize": function () { }
  3531. }, {
  3532. closecallback: function () { }
  3533. }, { "style": { "height": "36px" } }).form; //创建窗体
  3534. _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); } }
  3535. break;
  3536. case "teacherOffice":
  3537. _formdiv = new U.UF.UI.form(
  3538. "教研室",
  3539. $$("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 }), {
  3540. "id": "teacherOffice",
  3541. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3542. "onresize": function () { }
  3543. }, {
  3544. closecallback: function () { }
  3545. }, { "style": { "height": "36px" } }).form; //创建窗体
  3546. _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); } }
  3547. break;
  3548. case "my":
  3549. _formdiv = new U.UF.UI.form(
  3550. "我的资料",
  3551. $$("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 }), {
  3552. "id": "my",
  3553. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3554. "onresize": function () { }
  3555. }, {
  3556. closecallback: function () { }
  3557. }, { "style": { "height": "36px" } }).form; //创建窗体
  3558. _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); } }
  3559. break;
  3560. case "notice":
  3561. _formdiv = new U.UF.UI.form(
  3562. "通知公告",
  3563. $$("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 }), {
  3564. "id": "notice",
  3565. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3566. "onresize": function () { }
  3567. }, {
  3568. closecallback: function () { }
  3569. }, { "style": { "height": "36px" } }).form; //创建窗体
  3570. _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); } }
  3571. break;
  3572. case "library":
  3573. _formdiv = new U.UF.UI.form(
  3574. "素材库",
  3575. $$("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 }), {
  3576. "id": "library",
  3577. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3578. "onresize": function () { }
  3579. }, {
  3580. closecallback: function () { }
  3581. }, { "style": { "height": "36px" } }).form; //创建窗体
  3582. _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); } }
  3583. break;
  3584. case "whiteboard":
  3585. _formdiv = new U.UF.UI.form(
  3586. "电子白板",
  3587. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3588. "id": "whiteboard",
  3589. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3590. "onresize": function () { }
  3591. }, {
  3592. closecallback: function () { }
  3593. }, { "style": { "height": "36px" } }).form; //创建窗体
  3594. _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); } }
  3595. break;
  3596. case "investigation":
  3597. _formdiv = new U.UF.UI.form(
  3598. "问卷调查",
  3599. $$("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 }), {
  3600. "id": "investigation",
  3601. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3602. "onresize": function () { }
  3603. }, {
  3604. closecallback: function () { }
  3605. }, { "style": { "height": "36px" } }).form; //创建窗体
  3606. _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); } }
  3607. break;
  3608. case "note":
  3609. _formdiv = new U.UF.UI.form(
  3610. "便签分类",
  3611. $$("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 }), {
  3612. "id": "note",
  3613. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3614. "onresize": function () { }
  3615. }, {
  3616. closecallback: function () { }
  3617. }, { "style": { "height": "36px" } }).form; //创建窗体
  3618. _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); } }
  3619. break;
  3620. // case "score":
  3621. // _formdiv = new U.UF.UI.form(
  3622. // "量规评分",
  3623. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3624. // "id": "score",
  3625. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3626. // "onresize": function() {}
  3627. // }, {
  3628. // closecallback: function() {}
  3629. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3630. // _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); } }
  3631. // break;
  3632. case "mind":
  3633. _formdiv = new U.UF.UI.form(
  3634. "思维导图",
  3635. $$("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"
  3636. "id": "mind",
  3637. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3638. "onresize": function () { }
  3639. }, {
  3640. closecallback: function () { }
  3641. }, { "style": { "height": "36px" } }).form; //创建窗体
  3642. _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); } }
  3643. break;
  3644. case "doc":
  3645. // U.MD.D.I.isRoom();
  3646. _formdiv = new U.UF.UI.form(
  3647. "协同文档",
  3648. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3649. "id": "doc",
  3650. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3651. "onresize": function () { }
  3652. }, {
  3653. closecallback: function () { }
  3654. }, { "style": { "height": "36px" } }).form; //创建窗体
  3655. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3656. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3657. })
  3658. _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); } }
  3659. break;
  3660. case "study":
  3661. _formdiv = new U.UF.UI.form(
  3662. "课程中心",
  3663. $$("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
  3664. "id": "study",
  3665. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3666. "onresize": function () { }
  3667. }, {
  3668. closecallback: function () { }
  3669. }, { "style": { "height": "36px" } }).form; //创建窗体
  3670. _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); } }
  3671. break;
  3672. case "mindNetwork": //好友打开
  3673. _formdiv = new U.UF.UI.form(
  3674. "思维网格",
  3675. $$("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 }), {
  3676. "id": "mindNetwork",
  3677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function () { }
  3679. }, {
  3680. closecallback: function () { }
  3681. }, { "style": { "height": "36px" } }).form; //创建窗体
  3682. _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); } }
  3683. break;
  3684. case "train": //好友打开
  3685. _formdiv = new U.UF.UI.form(
  3686. "训练平台",
  3687. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3688. "id": "mindNetwork",
  3689. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3690. "onresize": function () { }
  3691. }, {
  3692. closecallback: function () { }
  3693. }, { "style": { "height": "36px" } }).form; //创建窗体
  3694. _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); } }
  3695. break;
  3696. case "teacherClassRoom": //好友打开
  3697. _formdiv = new U.UF.UI.form(
  3698. "实时课堂",
  3699. $$("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 }), {
  3700. "id": "teacherClassRoom",
  3701. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3702. "onresize": function () { }
  3703. }, {
  3704. closecallback: function () { }
  3705. }, { "style": { "height": "36px" } }).form; //创建窗体
  3706. _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); } }
  3707. setTimeout(() => {
  3708. U.UF.F.windowZooming(_formdiv)
  3709. }, 0);
  3710. break;
  3711. }
  3712. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3713. switch (str) {
  3714. case "project": //好友打开
  3715. _formdiv = new U.UF.UI.form(
  3716. "课程管理",
  3717. $$("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 }), {
  3718. "id": "project",
  3719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function () { }
  3721. }, {
  3722. closecallback: function () { }
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _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); } }
  3725. break;
  3726. case "evaluate":
  3727. _formdiv = new U.UF.UI.form(
  3728. "学生评价",
  3729. $$("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 }), {
  3730. "id": "evaluate",
  3731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function () { }
  3733. }, {
  3734. closecallback: function () { }
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _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); } }
  3737. break;
  3738. case "notice":
  3739. _formdiv = new U.UF.UI.form(
  3740. "通知公告",
  3741. $$("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 }), {
  3742. "id": "notice",
  3743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function () { }
  3745. }, {
  3746. closecallback: function () { }
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _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); } }
  3749. break;
  3750. case "stuLibrary":
  3751. _formdiv = new U.UF.UI.form(
  3752. "学习资料",
  3753. $$("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 }), {
  3754. "id": "stuLibrary",
  3755. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3756. "onresize": function () { }
  3757. }, {
  3758. closecallback: function () { }
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _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); } }
  3761. break;
  3762. case "program":
  3763. _formdiv = new U.UF.UI.form(
  3764. "编程平台",
  3765. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3766. "id": "program",
  3767. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3768. "onresize": function () { }
  3769. }, {
  3770. closecallback: function () { }
  3771. }, { "style": { "height": "36px" } }).form; //创建窗体
  3772. _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); } }
  3773. break;
  3774. case "whiteboard":
  3775. _formdiv = new U.UF.UI.form(
  3776. "电子白板",
  3777. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3778. "id": "whiteboard",
  3779. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _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); } }
  3785. break;
  3786. case "investigation":
  3787. _formdiv = new U.UF.UI.form(
  3788. "问卷调查",
  3789. $$("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 }), {
  3790. "id": "investigation",
  3791. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _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); } }
  3797. break;
  3798. case "mind":
  3799. _formdiv = new U.UF.UI.form(
  3800. "思维导图",
  3801. $$("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"
  3802. "id": "mind",
  3803. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3804. "onresize": function () { }
  3805. }, {
  3806. closecallback: function () { }
  3807. }, { "style": { "height": "36px" } }).form; //创建窗体
  3808. _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); } }
  3809. break;
  3810. case "doc":
  3811. // U.MD.D.I.isRoom();
  3812. _formdiv = new U.UF.UI.form(
  3813. "协同文档",
  3814. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3815. "id": "doc",
  3816. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3817. "onresize": function () { }
  3818. }, {
  3819. closecallback: function () { }
  3820. }, { "style": { "height": "36px" } }).form; //创建窗体
  3821. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3822. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3823. })
  3824. _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); } }
  3825. break;
  3826. case "study":
  3827. _formdiv = new U.UF.UI.form(
  3828. "课程中心",
  3829. $$("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
  3830. "id": "study",
  3831. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3832. "onresize": function () { }
  3833. }, {
  3834. closecallback: function () { }
  3835. }, { "style": { "height": "36px" } }).form; //创建窗体
  3836. _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); } }
  3837. break;
  3838. case "mindNetwork": //好友打开
  3839. _formdiv = new U.UF.UI.form(
  3840. "思维网格",
  3841. $$("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 }), {
  3842. "id": "mindNetwork",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function () { }
  3845. }, {
  3846. closecallback: function () { }
  3847. }, { "style": { "height": "36px" } }).form; //创建窗体
  3848. _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); } }
  3849. break;
  3850. case "train": //好友打开
  3851. _formdiv = new U.UF.UI.form(
  3852. "训练平台",
  3853. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3854. "id": "train",
  3855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3856. "onresize": function () { }
  3857. }, {
  3858. closecallback: function () { }
  3859. }, { "style": { "height": "36px" } }).form; //创建窗体
  3860. _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); } }
  3861. break;
  3862. case "sys":
  3863. _formdiv = new U.UF.UI.form(
  3864. "目标管理",
  3865. $$("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 }), {
  3866. "id": "sys",
  3867. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3868. "onresize": function () { }
  3869. }, {
  3870. closecallback: function () { }
  3871. }, { "style": { "height": "36px" } }).form; //创建窗体
  3872. _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); } }
  3873. break;
  3874. case "courseDesign":
  3875. _formdiv = new U.UF.UI.form(
  3876. "项目设计",
  3877. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3878. "id": "courseDesign",
  3879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function () { }
  3881. }, {
  3882. closecallback: function () { }
  3883. }, { "style": { "height": "36px" } }).form; //创建窗体
  3884. _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); } }
  3885. break;
  3886. }
  3887. } else if (!_type) {
  3888. switch (str) {
  3889. case "my":
  3890. _formdiv = new U.UF.UI.form(
  3891. "我的资料",
  3892. $$("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 }), {
  3893. "id": "my",
  3894. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3895. "onresize": function () { }
  3896. }, {
  3897. closecallback: function () { }
  3898. }, { "style": { "height": "36px" } }).form; //创建窗体
  3899. _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); } }
  3900. break;
  3901. }
  3902. }
  3903. switch (str) {
  3904. // AIprogram2 AI体验 aihub.cocorobo.cn
  3905. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3906. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3907. case "formulaEdi": //公式编辑
  3908. _formdiv = new U.UF.UI.form(
  3909. "公式编辑",
  3910. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3911. "id": "formulaEdi",
  3912. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3913. "onresize": function () { }
  3914. }, {
  3915. closecallback: function () { }
  3916. }, { "style": { "height": "36px" } }).form; //创建窗体
  3917. _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); } }
  3918. break;
  3919. case "molStr": //分子结构
  3920. _formdiv = new U.UF.UI.form(
  3921. "分子结构",
  3922. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3923. "id": "molStr",
  3924. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3925. "onresize": function () { }
  3926. }, {
  3927. closecallback: function () { }
  3928. }, { "style": { "height": "36px" } }).form; //创建窗体
  3929. _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); } }
  3930. break;
  3931. case "timeAxis": //时间轴
  3932. _formdiv = new U.UF.UI.form(
  3933. "时间轴",
  3934. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3935. "id": "timeAxis",
  3936. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3937. "onresize": function () { }
  3938. }, {
  3939. closecallback: function () { }
  3940. }, { "style": { "height": "36px" } }).form; //创建窗体
  3941. _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); } }
  3942. break;
  3943. case "AIprogram2": //AI体验
  3944. _formdiv = new U.UF.UI.form(
  3945. "AI体验",
  3946. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3947. "id": "AIprogram2",
  3948. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3949. "onresize": function () { }
  3950. }, {
  3951. closecallback: function () { }
  3952. }, { "style": { "height": "36px" } }).form; //创建窗体
  3953. _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); } }
  3954. break;
  3955. case "Pythonprogram": //python编程
  3956. _formdiv = new U.UF.UI.form(
  3957. "Python编程",
  3958. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3959. "id": "Pythonprogram",
  3960. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3961. "onresize": function () { }
  3962. }, {
  3963. closecallback: function () { }
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _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); } }
  3966. break;
  3967. case "AIprogram": //ai编程
  3968. _formdiv = new U.UF.UI.form(
  3969. "AI编程平台",
  3970. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3971. "id": "AIprogram",
  3972. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function () { }
  3974. }, {
  3975. closecallback: function () { }
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _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); } }
  3978. break;
  3979. case "CocoPi": //CocoPi
  3980. _formdiv = new U.UF.UI.form(
  3981. "CocoPi",
  3982. $$("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" }), {
  3983. "id": "CocoPi",
  3984. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function () { }
  3986. }, {
  3987. closecallback: function () { }
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _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); } }
  3990. break;
  3991. case "Wood": //Wood
  3992. _formdiv = new U.UF.UI.form(
  3993. "海龟编程",
  3994. $$("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/" }), {
  3995. "id": "Wood",
  3996. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function () { }
  3998. }, {
  3999. closecallback: function () { }
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _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); } }
  4002. break;
  4003. case "car": //模拟驾驶
  4004. _formdiv = new U.UF.UI.form(
  4005. "模拟驾驶",
  4006. $$("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/" }), {
  4007. "id": "car",
  4008. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4009. "onresize": function () { }
  4010. }, {
  4011. closecallback: function () { }
  4012. }, { "style": { "height": "36px" } }).form; //创建窗体
  4013. _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); } }
  4014. break;
  4015. case "lineSearch": //路径搜索
  4016. _formdiv = new U.UF.UI.form(
  4017. "路径搜索",
  4018. $$("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/" }), {
  4019. "id": "lineSearch",
  4020. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4021. "onresize": function () { }
  4022. }, {
  4023. closecallback: function () { }
  4024. }, { "style": { "height": "36px" } }).form; //创建窗体
  4025. _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); } }
  4026. break;
  4027. case "deepLearning": //深度学习
  4028. _formdiv = new U.UF.UI.form(
  4029. "深度学习",
  4030. $$("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/#" }), {
  4031. "id": "deepLearning",
  4032. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4033. "onresize": function () { }
  4034. }, {
  4035. closecallback: function () { }
  4036. }, { "style": { "height": "36px" } }).form; //创建窗体
  4037. _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); } }
  4038. break;
  4039. case "allHistory": //深度学习
  4040. _formdiv = new U.UF.UI.form(
  4041. "全历史",
  4042. $$("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/" }), {
  4043. "id": "allHistory",
  4044. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4045. "onresize": function () { }
  4046. }, {
  4047. closecallback: function () { }
  4048. }, { "style": { "height": "36px" } }).form; //创建窗体
  4049. _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); } }
  4050. break;
  4051. case "chatPDF": //ai编程
  4052. _formdiv = new U.UF.UI.form(
  4053. "chatPDF",
  4054. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4055. "id": "chatPDF",
  4056. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4057. "onresize": function () { }
  4058. }, {
  4059. closecallback: function () { }
  4060. }, { "style": { "height": "36px" } }).form; //创建窗体
  4061. _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); } }
  4062. break;
  4063. case "resources": //国家教育
  4064. _formdiv = new U.UF.UI.form(
  4065. "国家教育",
  4066. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4067. "id": "resources",
  4068. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4069. "onresize": function () { }
  4070. }, {
  4071. closecallback: function () { }
  4072. }, { "style": { "height": "36px" } }).form; //创建窗体
  4073. _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); } }
  4074. break;
  4075. case "codeEdit": //源码编辑
  4076. _formdiv = new U.UF.UI.form(
  4077. "源码编辑",
  4078. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4079. "id": "codeEdit",
  4080. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4081. "onresize": function () { }
  4082. }, {
  4083. closecallback: function () { }
  4084. }, { "style": { "height": "36px" } }).form; //创建窗体
  4085. _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); } }
  4086. break; //
  4087. case "MindMap": //MindMap
  4088. _formdiv = new U.UF.UI.form(
  4089. "MindMap",
  4090. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4091. "id": "MindMap",
  4092. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4093. "onresize": function () { }
  4094. }, {
  4095. closecallback: function () { }
  4096. }, { "style": { "height": "36px" } }).form; //创建窗体
  4097. _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); } }
  4098. break;
  4099. case "netWorkPanel": //netWorkPanel
  4100. _formdiv = new U.UF.UI.form(
  4101. "netWorkPanel",
  4102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4103. "id": "netWorkPanel",
  4104. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4105. "onresize": function () { }
  4106. }, {
  4107. closecallback: function () { }
  4108. }, { "style": { "height": "36px" } }).form; //创建窗体
  4109. _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); } }
  4110. break;
  4111. case "GeoGebra": //GeoGebra
  4112. _formdiv = new U.UF.UI.form(
  4113. "GeoGebra",
  4114. $$("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" }), {
  4115. "id": "GeoGebra",
  4116. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4117. "onresize": function () { }
  4118. }, {
  4119. closecallback: function () { }
  4120. }, { "style": { "height": "36px" } }).form; //创建窗体
  4121. _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); } }
  4122. break;
  4123. case "translation": //翻译
  4124. _formdiv = new U.UF.UI.form(
  4125. "翻译",
  4126. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4127. "id": "translation",
  4128. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4129. "onresize": function () { }
  4130. }, {
  4131. closecallback: function () { }
  4132. }, { "style": { "height": "36px" } }).form; //创建窗体
  4133. _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); } }
  4134. break;
  4135. case "mohe": //魔盒
  4136. _formdiv = new U.UF.UI.form(
  4137. "魔盒识字",
  4138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4139. "id": "mohe",
  4140. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4141. "onresize": function () { }
  4142. }, {
  4143. closecallback: function () { }
  4144. }, { "style": { "height": "36px" } }).form; //创建窗体
  4145. _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); } }
  4146. break;
  4147. case "24game": //24点
  4148. _formdiv = new U.UF.UI.form(
  4149. "24点",
  4150. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4151. "id": "24game",
  4152. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4153. "onresize": function () { }
  4154. }, {
  4155. closecallback: function () { }
  4156. }, { "style": { "height": "36px" } }).form; //创建窗体
  4157. _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); } }
  4158. break;
  4159. case "case":
  4160. _formdiv = new U.UF.UI.form(
  4161. "课程进展",
  4162. $$("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 }), {
  4163. "id": "case",
  4164. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4165. "onresize": function () { }
  4166. }, {
  4167. closecallback: function () { }
  4168. }, { "style": { "height": "36px" } }).form; //创建窗体
  4169. _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); } }
  4170. break;
  4171. case "snf":
  4172. _formdiv = new U.UF.UI.form(
  4173. "赛诺梵",
  4174. $$("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" }), {
  4175. "id": "snf",
  4176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4177. "onresize": function () { }
  4178. }, {
  4179. closecallback: function () { }
  4180. }, { "style": { "height": "36px" } }).form; //创建窗体
  4181. _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); } }
  4182. break;
  4183. case "hanFamily":
  4184. _formdiv = new U.UF.UI.form(
  4185. "汉字家族",
  4186. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4187. "id": "hanFamily",
  4188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4189. "onresize": function () { }
  4190. }, {
  4191. closecallback: function () { }
  4192. }, { "style": { "height": "36px" } }).form; //创建窗体
  4193. _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); } }
  4194. break;
  4195. case "hanClassics":
  4196. _formdiv = new U.UF.UI.form(
  4197. "国学经典",
  4198. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4199. "id": "hanClassics",
  4200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4201. "onresize": function () { }
  4202. }, {
  4203. closecallback: function () { }
  4204. }, { "style": { "height": "36px" } }).form; //创建窗体
  4205. _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); } }
  4206. break;
  4207. case "hanTraining":
  4208. _formdiv = new U.UF.UI.form(
  4209. "笔画训练",
  4210. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4211. "id": "hanTraining",
  4212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4213. "onresize": function () { }
  4214. }, {
  4215. closecallback: function () { }
  4216. }, { "style": { "height": "36px" } }).form; //创建窗体
  4217. _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); } }
  4218. break;
  4219. case "hanClass":
  4220. _formdiv = new U.UF.UI.form(
  4221. "书法课堂",
  4222. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4223. "id": "hanClass",
  4224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4225. "onresize": function () { }
  4226. }, {
  4227. closecallback: function () { }
  4228. }, { "style": { "height": "36px" } }).form; //创建窗体
  4229. _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); } }
  4230. break;
  4231. case "han":
  4232. _formdiv = new U.UF.UI.form(
  4233. "汉字宫",
  4234. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4235. "id": "han",
  4236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4237. "onresize": function () { }
  4238. }, {
  4239. closecallback: function () { }
  4240. }, { "style": { "height": "36px" } }).form; //创建窗体
  4241. _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); } }
  4242. break;
  4243. case "projectGM": //课程管理
  4244. _formdiv = new U.UF.UI.form(
  4245. "课程管理",
  4246. $$("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 }), {
  4247. "id": "projectGM",
  4248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4249. "onresize": function () { }
  4250. }, {
  4251. closecallback: function () { }
  4252. }, { "style": { "height": "36px" } }).form; //创建窗体
  4253. _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); } }
  4254. break;
  4255. case "studyGM": //课程中心
  4256. _formdiv = new U.UF.UI.form(
  4257. "课程中心",
  4258. $$("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
  4259. "id": "study",
  4260. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4261. "onresize": function () { }
  4262. }, {
  4263. closecallback: function () { }
  4264. }, { "style": { "height": "36px" } }).form; //创建窗体
  4265. _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); } }
  4266. break;
  4267. // studentGM
  4268. case "studentGM": //学生管理
  4269. _formdiv = new U.UF.UI.form(
  4270. "学生管理",
  4271. $$("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 }), {
  4272. "id": "studentGM",
  4273. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4274. "onresize": function () { }
  4275. }, {
  4276. closecallback: function () { }
  4277. }, { "style": { "height": "36px" } }).form; //创建窗体
  4278. _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); } }
  4279. break;
  4280. case "evaluateGM": //学生评价
  4281. _formdiv = new U.UF.UI.form(
  4282. "学生评价",
  4283. $$("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 }), {
  4284. "id": "evaluateGM",
  4285. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4286. "onresize": function () { }
  4287. }, {
  4288. closecallback: function () { }
  4289. }, { "style": { "height": "36px" } }).form; //创建窗体
  4290. _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); } }
  4291. break;
  4292. // classGM
  4293. case "classGM": //班级管理
  4294. _formdiv = new U.UF.UI.form(
  4295. "班级管理",
  4296. $$("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 }), {
  4297. "id": "classGM",
  4298. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4299. "onresize": function () { }
  4300. }, {
  4301. closecallback: function () { }
  4302. }, { "style": { "height": "36px" } }).form; //创建窗体
  4303. _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); } }
  4304. break;
  4305. // dataGM
  4306. case "dataGM":
  4307. _formdiv = new U.UF.UI.form(
  4308. "我的资料",
  4309. $$("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 }), {
  4310. "id": "dataGM",
  4311. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4312. "onresize": function () { }
  4313. }, {
  4314. closecallback: function () { }
  4315. }, { "style": { "height": "36px" } }).form; //创建窗体
  4316. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4317. break;
  4318. // caseGM
  4319. case "caseGM": //课程进展
  4320. _formdiv = new U.UF.UI.form(
  4321. "课程进展",
  4322. $$("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 }), {
  4323. "id": "caseGM",
  4324. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4325. "onresize": function () { }
  4326. }, {
  4327. closecallback: function () { }
  4328. }, { "style": { "height": "36px" } }).form; //创建窗体
  4329. _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); } }
  4330. break;
  4331. // meterialGM
  4332. case "meterialGM": //素材库
  4333. _formdiv = new U.UF.UI.form(
  4334. "素材库",
  4335. $$("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 }), {
  4336. "id": "meterialGM",
  4337. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4338. "onresize": function () { }
  4339. }, {
  4340. closecallback: function () { }
  4341. }, { "style": { "height": "36px" } }).form; //创建窗体
  4342. _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); } }
  4343. break;
  4344. // evaluateSGM
  4345. case "evaluateSGM": //我的评价
  4346. _formdiv = new U.UF.UI.form(
  4347. "我的评价",
  4348. $$("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 }), {
  4349. "id": "evaluateSGM",
  4350. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4351. "onresize": function () { }
  4352. }, {
  4353. closecallback: function () { }
  4354. }, { "style": { "height": "36px" } }).form; //创建窗体
  4355. _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); } }
  4356. break;
  4357. case "jupyter": //jupyter
  4358. _formdiv = new U.UF.UI.form(
  4359. "jupyter",
  4360. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4361. "id": "jupyter",
  4362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4363. "onresize": function () { }
  4364. }, {
  4365. closecallback: function () { }
  4366. }, { "style": { "height": "36px" } }).form; //创建窗体
  4367. _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); } }
  4368. break;
  4369. case "number": //数字实验室
  4370. _formdiv = new U.UF.UI.form(
  4371. "数字实验室",
  4372. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4373. "id": "number",
  4374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4375. "onresize": function () { }
  4376. }, {
  4377. closecallback: function () { }
  4378. }, { "style": { "height": "36px" } }).form; //创建窗体
  4379. _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); } }
  4380. break;
  4381. case "studentCourse": //项目管理 学生
  4382. _formdiv = new U.UF.UI.form(
  4383. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4384. $$("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 }), {
  4385. "id": "studentCourse",
  4386. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4387. "onresize": function () { }
  4388. }, {
  4389. closecallback: function () { }
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _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); } }
  4392. break;
  4393. case "studentCourseS": //项目管理 老师
  4394. _formdiv = new U.UF.UI.form(
  4395. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4396. $$("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 }), {
  4397. "id": "studentCourseS",
  4398. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4399. "onresize": function () { }
  4400. }, {
  4401. closecallback: function () { }
  4402. }, { "style": { "height": "36px" } }).form; //创建窗体
  4403. _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); } }
  4404. break;
  4405. case "studentIndex": //项目中心
  4406. _formdiv = new U.UF.UI.form(
  4407. "项目中心",
  4408. $$("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 }), {
  4409. "id": "studentIndex",
  4410. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4411. "onresize": function () { }
  4412. }, {
  4413. closecallback: function () { }
  4414. }, { "style": { "height": "36px" } }).form; //创建窗体
  4415. _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); } }
  4416. break;
  4417. case "CaseDesignS":
  4418. _formdiv = new U.UF.UI.form(
  4419. "项目进展",
  4420. $$("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 }), {
  4421. "id": "case",
  4422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4423. "onresize": function () { }
  4424. }, {
  4425. closecallback: function () { }
  4426. }, { "style": { "height": "36px" } }).form; //创建窗体
  4427. _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); } }
  4428. break;
  4429. case "tcStudent": //腾讯学生管理
  4430. _formdiv = new U.UF.UI.form(
  4431. "学生管理",
  4432. $$("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 }), {
  4433. "id": "tcStudent",
  4434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4435. "onresize": function () { }
  4436. }, {
  4437. closecallback: function () { }
  4438. }, { "style": { "height": "36px" } }).form; //创建窗体
  4439. _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); } }
  4440. break;
  4441. case "tcSchool": //腾讯学校管理
  4442. _formdiv = new U.UF.UI.form(
  4443. "学校管理",
  4444. $$("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 }), {
  4445. "id": "tcSchool",
  4446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4447. "onresize": function () { }
  4448. }, {
  4449. closecallback: function () { }
  4450. }, { "style": { "height": "36px" } }).form; //创建窗体
  4451. _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); } }
  4452. break;
  4453. case "tcTeacher": //腾讯学校管理
  4454. _formdiv = new U.UF.UI.form(
  4455. "教师管理",
  4456. $$("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 }), {
  4457. "id": "tcTeacher",
  4458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function () { }
  4460. }, {
  4461. closecallback: function () { }
  4462. }, { "style": { "height": "36px" } }).form; //创建窗体
  4463. _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); } }
  4464. break;
  4465. case "tcData": //腾讯我的资料
  4466. _formdiv = new U.UF.UI.form(
  4467. "我的资料",
  4468. $$("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 }), {
  4469. "id": "tcData",
  4470. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4471. "onresize": function () { }
  4472. }, {
  4473. closecallback: function () { }
  4474. }, { "style": { "height": "36px" } }).form; //创建窗体
  4475. _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); } }
  4476. break;
  4477. case "tcNotice": //腾讯消息通知
  4478. _formdiv = new U.UF.UI.form(
  4479. "消息通知",
  4480. $$("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 }), {
  4481. "id": "tcNotice",
  4482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4483. "onresize": function () { }
  4484. }, {
  4485. closecallback: function () { }
  4486. }, { "style": { "height": "36px" } }).form; //创建窗体
  4487. _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); } }
  4488. break;
  4489. case "myReport": //好友打开
  4490. _formdiv = new U.UF.UI.form(
  4491. "我的评价",
  4492. $$("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 }), {
  4493. "id": "myReport",
  4494. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4495. "onresize": function () { }
  4496. }, {
  4497. closecallback: function () { }
  4498. }, { "style": { "height": "36px" } }).form; //创建窗体
  4499. _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); } }
  4500. break;
  4501. case "learnAna": //好友打开
  4502. _formdiv = new U.UF.UI.form(
  4503. "学习分析",
  4504. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4505. "id": "learnAna",
  4506. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4507. "onresize": function () { }
  4508. }, {
  4509. closecallback: function () { }
  4510. }, { "style": { "height": "36px" } }).form; //创建窗体
  4511. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4512. break;
  4513. case "AIChat": //AI共创
  4514. _formdiv = new U.UF.UI.form(
  4515. "AI共创",
  4516. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4517. "id": "AIChat",
  4518. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4519. "onresize": function () { }
  4520. }, {
  4521. istop: true,
  4522. closecallback: function () { $("#aichat_icon").remove(); },
  4523. narrowcallback: function () {
  4524. if (!$("#aichat_icon")[0]) {
  4525. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4526. }
  4527. },
  4528. }, { "style": { "height": "36px" } }).form; //创建窗体
  4529. _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); } }
  4530. break;
  4531. case "ainew": //AI共创
  4532. _formdiv = new U.UF.UI.form(
  4533. "AI协同",
  4534. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4535. "id": "ainew",
  4536. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4537. "onresize": function () { }
  4538. }, {
  4539. closecallback: function () { }
  4540. }, { "style": { "height": "36px" } }).form; //创建窗体
  4541. _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); } }
  4542. break;
  4543. case "gpt4": //gpt4
  4544. _formdiv = new U.UF.UI.form(
  4545. "gpt4 turbo",
  4546. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/" }), {
  4547. "id": "ainew",
  4548. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4549. "onresize": function () { }
  4550. }, {
  4551. closecallback: function () { }
  4552. }, { "style": { "height": "36px" } }).form; //创建窗体
  4553. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "gpt4 turbo", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4554. break;
  4555. case "futureClass": //AI共创
  4556. _formdiv = new U.UF.UI.form(
  4557. "协同建构",
  4558. $$("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
  4559. "id": "synergyCourse",
  4560. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4561. "onresize": function () { }
  4562. }, {
  4563. closecallback: function () {
  4564. $("iframe", _formdiv)[0].contentWindow.loginout();
  4565. }
  4566. }, { "style": { "height": "36px" } }).form; //创建窗体
  4567. _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); } }
  4568. break;
  4569. case "aiagent": //ai agent
  4570. _formdiv = new U.UF.UI.form(
  4571. "AI Agent",
  4572. $$("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" }), {
  4573. "id": "AIAgent",
  4574. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4575. "onresize": function () { }
  4576. }, {
  4577. closecallback: function () { }
  4578. }, { "style": { "height": "36px" } }).form; //创建窗体
  4579. _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); } }
  4580. break;
  4581. case "dataBoard": //数据看板
  4582. _formdiv = new U.UF.UI.form(
  4583. "数据看板",
  4584. $$("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 }), {
  4585. "id": "dataBoard",
  4586. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4587. "onresize": function () { }
  4588. }, {
  4589. closecallback: function () { }
  4590. }, { "style": { "height": "36px" } }).form; //创建窗体
  4591. _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); } }
  4592. break;
  4593. case "dataBoardSies": //数据融合
  4594. _formdiv = new U.UF.UI.form(
  4595. "数据融合",
  4596. $$("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 }), {
  4597. "id": "dataBoardSies",
  4598. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4599. "onresize": function () { }
  4600. }, {
  4601. closecallback: function () { }
  4602. }, { "style": { "height": "36px" } }).form; //创建窗体
  4603. _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); } }
  4604. break;
  4605. case "dataBoardNew": //数据看板
  4606. _formdiv = new U.UF.UI.form(
  4607. "综合看板",
  4608. $$("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 }), {
  4609. "id": "dataBoardNew",
  4610. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4611. "onresize": function () { }
  4612. }, {
  4613. closecallback: function () { }
  4614. }, { "style": { "height": "36px" } }).form; //创建窗体
  4615. _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); } }
  4616. break;
  4617. case "AIAnalyse": //AI共创
  4618. _formdiv = new U.UF.UI.form(
  4619. "AI分析",
  4620. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4621. "id": "AIAnalyse",
  4622. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4623. "onresize": function () { }
  4624. }, {
  4625. closecallback: function () { }
  4626. }, { "style": { "height": "36px" } }).form; //创建窗体
  4627. _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); } }
  4628. break;
  4629. case "studioCourse": //AI共创
  4630. _formdiv = new U.UF.UI.form(
  4631. "工作管理",
  4632. $$("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 }), {
  4633. "id": "studioCourse",
  4634. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4635. "onresize": function () { }
  4636. }, {
  4637. closecallback: function () { }
  4638. }, { "style": { "height": "36px" } }).form; //创建窗体
  4639. _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); } }
  4640. break;
  4641. case "studioIndex": //AI共创
  4642. _formdiv = new U.UF.UI.form(
  4643. "工作中心",
  4644. $$("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 }), {
  4645. "id": "studioIndex",
  4646. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4647. "onresize": function () { }
  4648. }, {
  4649. closecallback: function () { }
  4650. }, { "style": { "height": "36px" } }).form; //创建窗体
  4651. _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); } }
  4652. break;
  4653. case "source":
  4654. _formdiv = new U.UF.UI.form(
  4655. "教学资源",
  4656. $$("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 }), {
  4657. "id": "source",
  4658. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4659. "onresize": function () { }
  4660. }, {
  4661. closecallback: function () { }
  4662. }, { "style": { "height": "36px" } }).form; //创建窗体
  4663. _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); } }
  4664. break;
  4665. case "testTeacher":
  4666. _formdiv = new U.UF.UI.form(
  4667. "评测管理",
  4668. $$("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 }), {
  4669. "id": "testTeacher",
  4670. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4671. "onresize": function () { }
  4672. }, {
  4673. closecallback: function () { }
  4674. }, { "style": { "height": "36px" } }).form; //创建窗体
  4675. _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); } }
  4676. break;
  4677. case "testStudent":
  4678. _formdiv = new U.UF.UI.form(
  4679. "评测中心",
  4680. $$("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 }), {
  4681. "id": "testStudent",
  4682. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4683. "onresize": function () { }
  4684. }, {
  4685. closecallback: function () { }
  4686. }, { "style": { "height": "36px" } }).form; //创建窗体
  4687. _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); } }
  4688. break;
  4689. }
  4690. //U.MD.D.I.openClick(str);
  4691. //如果有任务栏信息
  4692. if (_taskbar) {
  4693. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4694. }
  4695. }
  4696. // U.MD.D.I.openClick = function(str){
  4697. // var click = '';
  4698. // switch(str){
  4699. // case 'friend':
  4700. // click = '我的好友';
  4701. // break;
  4702. // case 'domain':
  4703. // click = '域名管理';
  4704. // break;
  4705. // case 'disk':
  4706. // click = '我的云盘';
  4707. // break;
  4708. // case 'word':
  4709. // click = 'Word';
  4710. // break;
  4711. // case 'excel':
  4712. // click = 'Execl';
  4713. // break;
  4714. // case 'txt':
  4715. // click = '文本文件';
  4716. // break;
  4717. // case 'lookupFriend':
  4718. // click = '查找好友';
  4719. // break;
  4720. // case 'ftp':
  4721. // click = 'FTP';
  4722. // break;
  4723. // case 'group':
  4724. // click = '群组';
  4725. // break;
  4726. // case 'set':
  4727. // click = '我的设置';
  4728. // break;
  4729. // case 'systemSet':
  4730. // click = '系统设置';
  4731. // break;
  4732. // case 'boomYun':
  4733. // click = '互联办公';
  4734. // break;
  4735. // case 'xz':
  4736. // click = '云端下载';
  4737. // break;
  4738. // case 'client':
  4739. // click = '有思浏览器';
  4740. // break;
  4741. // case 'backEndProgramming':
  4742. // click = '在线后台编程';
  4743. // break;
  4744. // case 'frontEndProgramming':
  4745. // click = '在线前端编程';
  4746. // break;
  4747. // default: break;
  4748. // }
  4749. // if(U.MD.D.I.Ip && click){
  4750. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4751. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4752. // })
  4753. // }
  4754. // }
  4755. /**
  4756. *函数作用:ajax简易函数,使用post格式
  4757. *@param url {data} 后台地址
  4758. *@param data {data} 参数json
  4759. *@param fn {data} 回调函数
  4760. *
  4761. */
  4762. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4763. // var xhr = new XMLHttpRequest();
  4764. // xhr.open("GET",url,true);
  4765. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4766. // xhr.onreadystatechange = function(){
  4767. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4768. // fn.call(this,xhr.responseText);
  4769. // }
  4770. // };
  4771. // xhr.send();
  4772. // }
  4773. /*判断是否是内网IP*/
  4774. // U.MD.D.I.isInnerIPFn = function(str){
  4775. // var curPageUrl = str;
  4776. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4777. // curPageUrl =curPageUrl.replace(reg1,'');
  4778. // // console.log('curPageUrl-1 '+curPageUrl);
  4779. // var reg2 = /\:+/g;//替换冒号为一点
  4780. // curPageUrl =curPageUrl.replace(reg2,'.');
  4781. // // console.log('curPageUrl-2 '+curPageUrl);
  4782. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4783. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4784. // if(curPageUrl[2] != '16'){
  4785. // return ipAddress;
  4786. // }else{
  4787. // return false;
  4788. // }
  4789. // }
  4790. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4791. // //compatibility for firefox and chrome
  4792. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4793. // var pc = new myPeerConnection({
  4794. // iceServers: []
  4795. // }),
  4796. // noop = function() {},
  4797. // localIPs = {},
  4798. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4799. // key;
  4800. // function iterateIP(ip) {
  4801. // if (!localIPs[ip]) onNewIP(ip);
  4802. // localIPs[ip] = true;
  4803. // }
  4804. // //create a bogus data channel
  4805. // pc.createDataChannel("");
  4806. // // create offer and set local description
  4807. // pc.createOffer().then(function(sdp) {
  4808. // sdp.sdp.split('\n').forEach(function(line) {
  4809. // if (line.indexOf('candidate') < 0) return;
  4810. // line.match(ipRegex).forEach(iterateIP);
  4811. // });
  4812. // pc.setLocalDescription(sdp, noop, noop);
  4813. // }).catch(function(reason) {
  4814. // // An error occurred, so handle the failure to connect
  4815. // });
  4816. // //sten for candidate events
  4817. // pc.onicecandidate = function(ice) {
  4818. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4819. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4820. // };
  4821. // }
  4822. // U.MD.D.I.getUserIpBool = function(callback){
  4823. // U.MD.D.I.getUserIP(function(ip){
  4824. // alert("Got IP! :" + ip);
  4825. // });
  4826. //}
  4827. //#endregion
  4828. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4829. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4830. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4831. _userinfo = US.userInfo, //登录用户信息
  4832. _userid = US.userInfo.userid //登录用户id
  4833. let _iframe;
  4834. let _cid = cid,
  4835. _stage = stage,
  4836. _task = task,
  4837. _tool = tool;
  4838. var _jie = $$("div", {
  4839. "style": {
  4840. "position": "absolute",
  4841. "bottom": "50px",
  4842. "right": "50px",
  4843. "zIndex": "9999",
  4844. "backgroundColor": "#2268bc",
  4845. "color": "#fff",
  4846. "padding": "12px 20px",
  4847. "cursor": "pointer",
  4848. "borderRadius": "4px",
  4849. },
  4850. "innerHTML": "提交作业"
  4851. })
  4852. let aTool = ''
  4853. let _loading = document.createElement('div')
  4854. _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;"
  4855. // _loading.id = "";
  4856. let _lchild = document.createElement('div')
  4857. let _limg = document.createElement('img')
  4858. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4859. _limg.style = "width: 26px;margin-right: 10px;"
  4860. _lchild.appendChild(_limg)
  4861. let _lspan = document.createElement('span')
  4862. _lspan.innerHTML = "上传中..."
  4863. _lchild.appendChild(_lspan)
  4864. _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%);"
  4865. _loading.appendChild(_lchild)
  4866. var _box = $$('div', {
  4867. "style": {
  4868. "position": "relative",
  4869. "width": "100%",
  4870. "height": "100%",
  4871. },
  4872. })
  4873. _box.appendChild(_loading)
  4874. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4875. switch (str) {
  4876. case "whiteboard":
  4877. aTool = 1;
  4878. _iframe = $$("iframe", {
  4879. "frameborder": "no",
  4880. "border": "0",
  4881. "scrolling ": "no",
  4882. "style": {
  4883. "cssText": "border:0;width:100%;height:100%"
  4884. },
  4885. "src": "https://iwb.cocorobo.cn/"
  4886. })
  4887. _box.appendChild(_iframe);
  4888. _box.appendChild(_jie);
  4889. _formdiv = new U.UF.UI.form(
  4890. "电子白板",
  4891. _box, {
  4892. "id": "whiteboard" + cid + stage + task + tool,
  4893. "style": {
  4894. "width": "90%",
  4895. "height": "90%",
  4896. "overflow": 'hidden'
  4897. },
  4898. "onresize": function () { }
  4899. }, {
  4900. closecallback: function () { }
  4901. }, {
  4902. "style": {
  4903. "height": "36px"
  4904. }
  4905. }).form; //创建窗体
  4906. _taskbar = {
  4907. "id": str + _formdiv.id,
  4908. "style": {
  4909. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4910. },
  4911. "name": "电子白板",
  4912. "forms": _formdiv,
  4913. "click": function () {
  4914. U.MD.D.I.openApplication(str, obj, info);
  4915. }
  4916. }
  4917. break;
  4918. case "mind":
  4919. aTool = 3;
  4920. _iframe = $$("iframe", {
  4921. "frameborder": "no",
  4922. "border": "0",
  4923. "scrolling ": "no",
  4924. "style": {
  4925. "cssText": "border:0;width:100%;height:100%"
  4926. },
  4927. "src": "/kityminder-editor/dist/index.html"
  4928. })
  4929. _box.appendChild(_iframe);
  4930. _box.appendChild(_jie);
  4931. _formdiv = new U.UF.UI.form(
  4932. "思维导图",
  4933. _box, { //"/jsmind/example/demo.html"
  4934. "id": "mind" + cid + stage + task + tool,
  4935. "style": {
  4936. "width": "90%",
  4937. "height": "90%",
  4938. "overflow": 'hidden'
  4939. },
  4940. "onresize": function () { }
  4941. }, {
  4942. closecallback: function () { }
  4943. }, {
  4944. "style": {
  4945. "height": "36px"
  4946. }
  4947. }).form; //创建窗体
  4948. _taskbar = {
  4949. "id": str + _formdiv.id,
  4950. "style": {
  4951. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4952. },
  4953. "name": "思维导图",
  4954. "forms": _formdiv,
  4955. "click": function () {
  4956. U.MD.D.I.openApplication(str, obj, info);
  4957. }
  4958. }
  4959. break;
  4960. case "MindMap":
  4961. aTool = 3;
  4962. _iframe = $$("iframe", {
  4963. "frameborder": "no",
  4964. "border": "0",
  4965. "scrolling ": "no",
  4966. "style": {
  4967. "cssText": "border:0;width:100%;height:100%"
  4968. },
  4969. "src": "//cloud.cocorobo.cn/mind/"
  4970. })
  4971. _box.appendChild(_iframe);
  4972. _box.appendChild(_jie);
  4973. _formdiv = new U.UF.UI.form(
  4974. "思维导图",
  4975. _box, { //"/jsmind/example/demo.html"
  4976. "id": "mind" + cid + stage + task + tool,
  4977. "style": {
  4978. "width": "90%",
  4979. "height": "90%",
  4980. "overflow": 'hidden'
  4981. },
  4982. "onresize": function () { }
  4983. }, {
  4984. closecallback: function () { }
  4985. }, {
  4986. "style": {
  4987. "height": "36px"
  4988. }
  4989. }).form; //创建窗体
  4990. _taskbar = {
  4991. "id": str + _formdiv.id,
  4992. "style": {
  4993. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4994. },
  4995. "name": "思维导图",
  4996. "forms": _formdiv,
  4997. "click": function () {
  4998. U.MD.D.I.openApplication(str, obj, info);
  4999. }
  5000. }
  5001. break;
  5002. case "doc":
  5003. aTool = 6;
  5004. _iframe = $$("iframe", {
  5005. "frameborder": "no",
  5006. "border": "0",
  5007. "scrolling ": "no",
  5008. "style": {
  5009. "cssText": "border:0;width:100%;height:100%"
  5010. },
  5011. "src": "/Office/Word/WordEditArea.htm"
  5012. })
  5013. _box.appendChild(_iframe);
  5014. _box.appendChild(_jie);
  5015. _formdiv = new U.UF.UI.form(
  5016. "协同文档",
  5017. _box, {
  5018. "id": "doc" + cid + stage + task + tool,
  5019. "style": {
  5020. "width": "90%",
  5021. "height": "90%",
  5022. "overflow": 'hidden'
  5023. },
  5024. "onresize": function () { }
  5025. }, {
  5026. closecallback: function () { }
  5027. }, {
  5028. "style": {
  5029. "height": "36px"
  5030. }
  5031. }).form; //创建窗体
  5032. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5033. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5034. })
  5035. _taskbar = {
  5036. "id": str + _formdiv.id,
  5037. "style": {
  5038. "backgroundImage": "url(/img/icon/doc.png)"
  5039. },
  5040. "name": "协同文档",
  5041. "forms": _formdiv,
  5042. "click": function () {
  5043. U.MD.D.I.openApplication(str, obj, info);
  5044. }
  5045. }
  5046. break;
  5047. case "mindNetwork": //好友打开
  5048. aTool = 7;
  5049. _iframe = $$("iframe", {
  5050. "webkitallowfullscreen": "",
  5051. "mozallowfullscreen": "",
  5052. "allowfullscreen": "",
  5053. "frameborder": "no",
  5054. "border": "0",
  5055. "scrolling ": "no",
  5056. "style": {
  5057. "cssText": "border:0; width:100%; height:100%;"
  5058. },
  5059. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5060. })
  5061. _box.appendChild(_iframe);
  5062. _box.appendChild(_jie);
  5063. _formdiv = new U.UF.UI.form(
  5064. "思维网格",
  5065. _box, {
  5066. "id": "mindNetwork" + cid + stage + task + tool,
  5067. "style": {
  5068. "width": "90%",
  5069. "height": "90%",
  5070. "overflow": 'hidden'
  5071. },
  5072. "onresize": function () { }
  5073. }, {
  5074. closecallback: function () { }
  5075. }, {
  5076. "style": {
  5077. "height": "36px"
  5078. }
  5079. }).form; //创建窗体
  5080. _taskbar = {
  5081. "id": str + _formdiv.id,
  5082. "style": {
  5083. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5084. },
  5085. "name": "思维网格",
  5086. "forms": _formdiv,
  5087. "click": function () {
  5088. U.MD.D.I.openApplication(str, obj, info);
  5089. }
  5090. }
  5091. break;
  5092. case "courseDesign":
  5093. _iframe = $$("iframe", {
  5094. "webkitallowfullscreen": "",
  5095. "mozallowfullscreen": "",
  5096. "allowfullscreen": "",
  5097. "frameborder": "no",
  5098. "border": "0",
  5099. "scrolling ": "no",
  5100. "style": {
  5101. "cssText": "border:0; width:100%; height:100%;"
  5102. },
  5103. "src": "/course-design-vue"
  5104. })
  5105. _box.appendChild(_iframe);
  5106. _box.appendChild(_jie);
  5107. _formdiv = new U.UF.UI.form(
  5108. "项目设计",
  5109. _box, {
  5110. "id": "courseDesign" + cid + stage + task + tool,
  5111. "style": {
  5112. "width": "90%",
  5113. "height": "90%",
  5114. "overflow": 'hidden'
  5115. },
  5116. "onresize": function () { }
  5117. }, {
  5118. closecallback: function () { }
  5119. }, {
  5120. "style": {
  5121. "height": "36px"
  5122. }
  5123. }).form; //创建窗体
  5124. _taskbar = {
  5125. "id": str + _formdiv.id,
  5126. "style": {
  5127. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5128. },
  5129. "name": "项目设计",
  5130. "forms": _formdiv,
  5131. "click": function () {
  5132. U.MD.D.I.openApplication(str, obj, info);
  5133. }
  5134. }
  5135. break;
  5136. }
  5137. const script1 = document.createElement("script");
  5138. script1.type = "text/javascript";
  5139. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5140. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5141. const script2 = document.createElement("script");
  5142. script2.type = "text/javascript";
  5143. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5144. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5145. const script3 = document.createElement("script");
  5146. script3.type = "text/javascript";
  5147. script3.charset = "UTF-8";
  5148. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5149. const script4 = document.createElement("script");
  5150. script4.type = "text/javascript";
  5151. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5152. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5153. if (_iframe) {
  5154. if (str == 'doc') {
  5155. _iframe = _formdiv.querySelector('iframe')
  5156. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5157. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5158. _iframe.contentWindow.document.body.appendChild(script1);
  5159. _iframe.contentWindow.document.body.appendChild(script2);
  5160. // _iframe.contentWindow.document.body.appendChild(script3);
  5161. _iframe.contentWindow.document.body.appendChild(script4);
  5162. })
  5163. if (onloadListener) {
  5164. _iframe.contentDocument.location.reload()
  5165. } else {
  5166. _iframe.contentDocument.location.reload()
  5167. }
  5168. } else if (str == 'courseDesign') {
  5169. U.UF.DL.iframeLoad(_iframe, function () {
  5170. // _iframe.contentWindow.U.MD.O.W.load();
  5171. // _iframe.contentWindow.document.body.appendChild(script1);
  5172. _iframe.contentWindow.document.body.appendChild(script2);
  5173. _iframe.contentWindow.document.body.appendChild(script4);
  5174. })
  5175. } else if (str == 'mind') {
  5176. _iframe = _formdiv.querySelector('iframe')
  5177. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5178. //
  5179. _iframe.contentWindow.document.body.appendChild(script1);
  5180. _iframe.contentWindow.document.body.appendChild(script2);
  5181. _iframe.contentWindow.document.body.appendChild(script4);
  5182. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5183. })
  5184. if (onloadListener) {
  5185. _iframe.contentDocument.location.reload()
  5186. } else {
  5187. _iframe.contentDocument.location.reload()
  5188. }
  5189. } else if (str == 'whiteboard') {
  5190. _iframe = _formdiv.querySelector('iframe')
  5191. let onloadListener = _iframe.onload = () => {
  5192. _iframe.contentWindow.document.body.appendChild(script1);
  5193. _iframe.contentWindow.document.body.appendChild(script2);
  5194. _iframe.contentWindow.document.body.appendChild(script4);
  5195. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5196. };
  5197. if (onloadListener) {
  5198. _iframe.contentDocument.location.reload()
  5199. } else {
  5200. _iframe.contentDocument.location.reload()
  5201. }
  5202. } else {
  5203. _iframe.onload = () => {
  5204. _iframe.contentWindow.document.body.appendChild(script1);
  5205. _iframe.contentWindow.document.body.appendChild(script2);
  5206. // _iframe.contentWindow.document.body.appendChild(script3);
  5207. _iframe.contentWindow.document.body.appendChild(script4);
  5208. };
  5209. }
  5210. _jie.onclick = async () => {
  5211. let text = ''
  5212. if (aTool == 1) {
  5213. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5214. } else if (aTool == 6) {
  5215. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5216. } else if (aTool == 3) {
  5217. text = await U.MD.D.I.getEditorContent(_iframe);
  5218. }
  5219. _loading.style.display = 'flex'
  5220. console.log(_loading);
  5221. var _ajs = _iframe.contentWindow.document.createElement("script");
  5222. _ajs.type = "text/javascript";
  5223. _ajs.innerHTML =
  5224. // 'console.log(' + _loading + ');\n' +
  5225. 'var _js = document.createElement("script");\n' +
  5226. '_js.type="text/javascript";\n' +
  5227. '_js.charset="UTF-8";\n' +
  5228. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5229. "_js.onload = function(){\n" +
  5230. ' var a = document.getElementsByTagName("img")\n' +
  5231. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5232. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5233. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5234. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5235. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5236. "beforeUpload_shishi(file," +
  5237. "'" +
  5238. _userid +
  5239. "'" +
  5240. ", " +
  5241. "'" +
  5242. _cid +
  5243. "'" +
  5244. ", " +
  5245. "'" +
  5246. _stage +
  5247. "'" +
  5248. ", " +
  5249. "'" +
  5250. _task +
  5251. "'" +
  5252. ", " +
  5253. "'" +
  5254. _tool +
  5255. "'" +
  5256. ", " +
  5257. "'" +
  5258. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5259. "'" +
  5260. ", " +
  5261. "'" +
  5262. aTool +
  5263. "'" +
  5264. ", " +
  5265. "`" +
  5266. text +
  5267. "`" +
  5268. ")\n" +
  5269. " });\n" +
  5270. "}\n" +
  5271. "document.head.appendChild(_js);\n";
  5272. _iframe.contentWindow.document.head.appendChild(_ajs);
  5273. }
  5274. }
  5275. //U.MD.D.I.openClick(str);
  5276. //如果有任务栏信息
  5277. // if (_taskbar) {
  5278. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5279. // }
  5280. }
  5281. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5282. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5283. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5284. _userinfo = US.userInfo, //登录用户信息
  5285. _userid = US.userInfo.userid //登录用户id
  5286. let _iframe;
  5287. let _cid = cid,
  5288. _stage = stage,
  5289. _task = task,
  5290. _tool = tool;
  5291. var _jie = $$("div", {
  5292. "style": {
  5293. "position": "absolute",
  5294. "bottom": "50px",
  5295. "right": "50px",
  5296. "zIndex": "9999",
  5297. "backgroundColor": "#2268bc",
  5298. "color": "#fff",
  5299. "padding": "12px 20px",
  5300. "cursor": "pointer",
  5301. "borderRadius": "4px",
  5302. },
  5303. "innerHTML": "提交作业"
  5304. })
  5305. let aTool = ''
  5306. let _loading = document.createElement('div')
  5307. _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;"
  5308. // _loading.id = "";
  5309. let _lchild = document.createElement('div')
  5310. let _limg = document.createElement('img')
  5311. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5312. _limg.style = "width: 26px;margin-right: 10px;"
  5313. _lchild.appendChild(_limg)
  5314. let _lspan = document.createElement('span')
  5315. _lspan.innerHTML = "上传中..."
  5316. _lchild.appendChild(_lspan)
  5317. _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%);"
  5318. _loading.appendChild(_lchild)
  5319. var _box = $$('div', {
  5320. "style": {
  5321. "position": "relative",
  5322. "width": "100%",
  5323. "height": "100%",
  5324. },
  5325. })
  5326. _box.appendChild(_loading)
  5327. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5328. switch (str) {
  5329. case "whiteboard":
  5330. aTool = 1;
  5331. _iframe = $$("iframe", {
  5332. "frameborder": "no",
  5333. "border": "0",
  5334. "scrolling ": "no",
  5335. "style": {
  5336. "cssText": "border:0;width:100%;height:100%"
  5337. },
  5338. "src": "https://iwb.cocorobo.cn/"
  5339. })
  5340. _box.appendChild(_iframe);
  5341. _box.appendChild(_jie);
  5342. _formdiv = new U.UF.UI.form(
  5343. "电子白板",
  5344. _box, {
  5345. "id": "whiteboard" + cid + stage + task + tool,
  5346. "style": {
  5347. "width": "90%",
  5348. "height": "90%",
  5349. "overflow": 'hidden'
  5350. },
  5351. "onresize": function () { }
  5352. }, {
  5353. closecallback: function () { }
  5354. }, {
  5355. "style": {
  5356. "height": "36px"
  5357. }
  5358. }).form; //创建窗体
  5359. _taskbar = {
  5360. "id": str + _formdiv.id,
  5361. "style": {
  5362. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5363. },
  5364. "name": "电子白板",
  5365. "forms": _formdiv,
  5366. "click": function () {
  5367. U.MD.D.I.openApplication(str, obj, info);
  5368. }
  5369. }
  5370. break;
  5371. case "mind":
  5372. aTool = 3;
  5373. _iframe = $$("iframe", {
  5374. "frameborder": "no",
  5375. "border": "0",
  5376. "scrolling ": "no",
  5377. "style": {
  5378. "cssText": "border:0;width:100%;height:100%"
  5379. },
  5380. "src": "/kityminder-editor/dist/index.html"
  5381. })
  5382. _box.appendChild(_iframe);
  5383. _box.appendChild(_jie);
  5384. _formdiv = new U.UF.UI.form(
  5385. "思维导图",
  5386. _box, { //"/jsmind/example/demo.html"
  5387. "id": "mind" + cid + stage + task + tool,
  5388. "style": {
  5389. "width": "90%",
  5390. "height": "90%",
  5391. "overflow": 'hidden'
  5392. },
  5393. "onresize": function () { }
  5394. }, {
  5395. closecallback: function () { }
  5396. }, {
  5397. "style": {
  5398. "height": "36px"
  5399. }
  5400. }).form; //创建窗体
  5401. _taskbar = {
  5402. "id": str + _formdiv.id,
  5403. "style": {
  5404. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5405. },
  5406. "name": "思维导图",
  5407. "forms": _formdiv,
  5408. "click": function () {
  5409. U.MD.D.I.openApplication(str, obj, info);
  5410. }
  5411. }
  5412. break;
  5413. case "MindMap":
  5414. aTool = 3;
  5415. _iframe = $$("iframe", {
  5416. "frameborder": "no",
  5417. "border": "0",
  5418. "scrolling ": "no",
  5419. "style": {
  5420. "cssText": "border:0;width:100%;height:100%"
  5421. },
  5422. "src": "//cloud.cocorobo.cn/mind/"
  5423. })
  5424. _box.appendChild(_iframe);
  5425. _box.appendChild(_jie);
  5426. _formdiv = new U.UF.UI.form(
  5427. "思维导图",
  5428. _box, { //"/jsmind/example/demo.html"
  5429. "id": "mind" + cid + stage + task + tool,
  5430. "style": {
  5431. "width": "90%",
  5432. "height": "90%",
  5433. "overflow": 'hidden'
  5434. },
  5435. "onresize": function () { }
  5436. }, {
  5437. closecallback: function () { }
  5438. }, {
  5439. "style": {
  5440. "height": "36px"
  5441. }
  5442. }).form; //创建窗体
  5443. _taskbar = {
  5444. "id": str + _formdiv.id,
  5445. "style": {
  5446. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5447. },
  5448. "name": "思维导图",
  5449. "forms": _formdiv,
  5450. "click": function () {
  5451. U.MD.D.I.openApplication(str, obj, info);
  5452. }
  5453. }
  5454. break;
  5455. case "doc":
  5456. aTool = 6;
  5457. _iframe = $$("iframe", {
  5458. "frameborder": "no",
  5459. "border": "0",
  5460. "scrolling ": "no",
  5461. "style": {
  5462. "cssText": "border:0;width:100%;height:100%"
  5463. },
  5464. "src": "/Office/Word/WordEditArea.htm"
  5465. })
  5466. _box.appendChild(_iframe);
  5467. _box.appendChild(_jie);
  5468. _formdiv = new U.UF.UI.form(
  5469. "协同文档",
  5470. _box, {
  5471. "id": "doc" + cid + stage + task + tool,
  5472. "style": {
  5473. "width": "90%",
  5474. "height": "90%",
  5475. "overflow": 'hidden'
  5476. },
  5477. "onresize": function () { }
  5478. }, {
  5479. closecallback: function () { }
  5480. }, {
  5481. "style": {
  5482. "height": "36px"
  5483. }
  5484. }).form; //创建窗体
  5485. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5486. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5487. })
  5488. _taskbar = {
  5489. "id": str + _formdiv.id,
  5490. "style": {
  5491. "backgroundImage": "url(/img/icon/doc.png)"
  5492. },
  5493. "name": "协同文档",
  5494. "forms": _formdiv,
  5495. "click": function () {
  5496. U.MD.D.I.openApplication(str, obj, info);
  5497. }
  5498. }
  5499. break;
  5500. case "mindNetwork": //好友打开
  5501. aTool = 7;
  5502. _iframe = $$("iframe", {
  5503. "webkitallowfullscreen": "",
  5504. "mozallowfullscreen": "",
  5505. "allowfullscreen": "",
  5506. "frameborder": "no",
  5507. "border": "0",
  5508. "scrolling ": "no",
  5509. "style": {
  5510. "cssText": "border:0; width:100%; height:100%;"
  5511. },
  5512. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5513. })
  5514. _box.appendChild(_iframe);
  5515. _box.appendChild(_jie);
  5516. _formdiv = new U.UF.UI.form(
  5517. "思维网格",
  5518. _box, {
  5519. "id": "mindNetwork" + cid + stage + task + tool,
  5520. "style": {
  5521. "width": "90%",
  5522. "height": "90%",
  5523. "overflow": 'hidden'
  5524. },
  5525. "onresize": function () { }
  5526. }, {
  5527. closecallback: function () { }
  5528. }, {
  5529. "style": {
  5530. "height": "36px"
  5531. }
  5532. }).form; //创建窗体
  5533. _taskbar = {
  5534. "id": str + _formdiv.id,
  5535. "style": {
  5536. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5537. },
  5538. "name": "思维网格",
  5539. "forms": _formdiv,
  5540. "click": function () {
  5541. U.MD.D.I.openApplication(str, obj, info);
  5542. }
  5543. }
  5544. break;
  5545. case "courseDesign":
  5546. _iframe = $$("iframe", {
  5547. "webkitallowfullscreen": "",
  5548. "mozallowfullscreen": "",
  5549. "allowfullscreen": "",
  5550. "frameborder": "no",
  5551. "border": "0",
  5552. "scrolling ": "no",
  5553. "style": {
  5554. "cssText": "border:0; width:100%; height:100%;"
  5555. },
  5556. "src": "/course-design-vue"
  5557. })
  5558. _box.appendChild(_iframe);
  5559. _box.appendChild(_jie);
  5560. _formdiv = new U.UF.UI.form(
  5561. "项目设计",
  5562. _box, {
  5563. "id": "courseDesign" + cid + stage + task + tool,
  5564. "style": {
  5565. "width": "90%",
  5566. "height": "90%",
  5567. "overflow": 'hidden'
  5568. },
  5569. "onresize": function () { }
  5570. }, {
  5571. closecallback: function () { }
  5572. }, {
  5573. "style": {
  5574. "height": "36px"
  5575. }
  5576. }).form; //创建窗体
  5577. _taskbar = {
  5578. "id": str + _formdiv.id,
  5579. "style": {
  5580. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5581. },
  5582. "name": "项目设计",
  5583. "forms": _formdiv,
  5584. "click": function () {
  5585. U.MD.D.I.openApplication(str, obj, info);
  5586. }
  5587. }
  5588. break;
  5589. }
  5590. const script1 = document.createElement("script");
  5591. script1.type = "text/javascript";
  5592. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5593. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5594. const script2 = document.createElement("script");
  5595. script2.type = "text/javascript";
  5596. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5597. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5598. const script3 = document.createElement("script");
  5599. script3.type = "text/javascript";
  5600. script3.charset = "UTF-8";
  5601. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5602. const script4 = document.createElement("script");
  5603. script4.type = "text/javascript";
  5604. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5605. script4.src = window.origin + "/js/Common/jietu2E.js";
  5606. if (_iframe) {
  5607. if (str == 'doc') {
  5608. _iframe = _formdiv.querySelector('iframe')
  5609. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5610. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5611. _iframe.contentWindow.document.body.appendChild(script1);
  5612. _iframe.contentWindow.document.body.appendChild(script2);
  5613. // _iframe.contentWindow.document.body.appendChild(script3);
  5614. _iframe.contentWindow.document.body.appendChild(script4);
  5615. })
  5616. if (onloadListener) {
  5617. _iframe.contentDocument.location.reload()
  5618. } else {
  5619. _iframe.contentDocument.location.reload()
  5620. }
  5621. } else if (str == 'courseDesign') {
  5622. U.UF.DL.iframeLoad(_iframe, function () {
  5623. // _iframe.contentWindow.U.MD.O.W.load();
  5624. // _iframe.contentWindow.document.body.appendChild(script1);
  5625. _iframe.contentWindow.document.body.appendChild(script2);
  5626. _iframe.contentWindow.document.body.appendChild(script4);
  5627. })
  5628. } else if (str == 'mind') {
  5629. _iframe = _formdiv.querySelector('iframe')
  5630. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5631. //
  5632. _iframe.contentWindow.document.body.appendChild(script1);
  5633. _iframe.contentWindow.document.body.appendChild(script2);
  5634. _iframe.contentWindow.document.body.appendChild(script4);
  5635. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5636. })
  5637. if (onloadListener) {
  5638. _iframe.contentDocument.location.reload()
  5639. } else {
  5640. _iframe.contentDocument.location.reload()
  5641. }
  5642. } else if (str == 'whiteboard') {
  5643. _iframe = _formdiv.querySelector('iframe')
  5644. let onloadListener = _iframe.onload = () => {
  5645. _iframe.contentWindow.document.body.appendChild(script1);
  5646. _iframe.contentWindow.document.body.appendChild(script2);
  5647. _iframe.contentWindow.document.body.appendChild(script4);
  5648. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5649. };
  5650. if (onloadListener) {
  5651. _iframe.contentDocument.location.reload()
  5652. } else {
  5653. _iframe.contentDocument.location.reload()
  5654. }
  5655. } else {
  5656. _iframe.onload = () => {
  5657. _iframe.contentWindow.document.body.appendChild(script1);
  5658. _iframe.contentWindow.document.body.appendChild(script2);
  5659. // _iframe.contentWindow.document.body.appendChild(script3);
  5660. _iframe.contentWindow.document.body.appendChild(script4);
  5661. };
  5662. }
  5663. _jie.onclick = async () => {
  5664. let text = ''
  5665. if (aTool == 1) {
  5666. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5667. } else if (aTool == 6) {
  5668. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5669. } else if (aTool == 3) {
  5670. text = await U.MD.D.I.getEditorContent(_iframe);
  5671. }
  5672. _loading.style.display = 'flex'
  5673. console.log(_loading);
  5674. var _ajs = _iframe.contentWindow.document.createElement("script");
  5675. _ajs.type = "text/javascript";
  5676. _ajs.innerHTML =
  5677. // 'console.log(' + _loading + ');\n' +
  5678. 'var _js = document.createElement("script");\n' +
  5679. '_js.type="text/javascript";\n' +
  5680. '_js.charset="UTF-8";\n' +
  5681. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5682. "_js.onload = function(){\n" +
  5683. ' var a = document.getElementsByTagName("img")\n' +
  5684. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5685. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5686. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5687. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5688. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5689. "beforeUpload_shishi(file," +
  5690. "'" +
  5691. _userid +
  5692. "'" +
  5693. ", " +
  5694. "'" +
  5695. _cid +
  5696. "'" +
  5697. ", " +
  5698. "'" +
  5699. _stage +
  5700. "'" +
  5701. ", " +
  5702. "'" +
  5703. _task +
  5704. "'" +
  5705. ", " +
  5706. "'" +
  5707. _tool +
  5708. "'" +
  5709. ", " +
  5710. "'" +
  5711. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5712. "'" +
  5713. ", " +
  5714. "'" +
  5715. aTool +
  5716. "'" +
  5717. ", " +
  5718. "`" +
  5719. text +
  5720. "`" +
  5721. ")\n" +
  5722. " });\n" +
  5723. "}\n" +
  5724. "document.head.appendChild(_js);\n";
  5725. _iframe.contentWindow.document.head.appendChild(_ajs);
  5726. }
  5727. }
  5728. //U.MD.D.I.openClick(str);
  5729. //如果有任务栏信息
  5730. // if (_taskbar) {
  5731. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5732. // }
  5733. }
  5734. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5735. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5736. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5737. _userid = student.userid, //登录用户id
  5738. _username = student.student //用户名字
  5739. let _iframe;
  5740. let _cid = cid,
  5741. _stage = stage,
  5742. _task = task,
  5743. _tool = tool;
  5744. var _jie = $$("div", {
  5745. "style": {
  5746. "position": "absolute",
  5747. "bottom": "50px",
  5748. "right": "50px",
  5749. "zIndex": "9999",
  5750. "backgroundColor": "#2268bc",
  5751. "color": "#fff",
  5752. "padding": "12px 20px",
  5753. "cursor": "pointer",
  5754. "borderRadius": "4px",
  5755. },
  5756. "innerHTML": "提交作业"
  5757. })
  5758. let aTool = ''
  5759. let _loading = document.createElement('div')
  5760. _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;"
  5761. // _loading.id = "";
  5762. let _lchild = document.createElement('div')
  5763. let _limg = document.createElement('img')
  5764. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5765. _limg.style = "width: 26px;margin-right: 10px;"
  5766. _lchild.appendChild(_limg)
  5767. let _lspan = document.createElement('span')
  5768. _lspan.innerHTML = "上传中..."
  5769. _lchild.appendChild(_lspan)
  5770. _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%);"
  5771. _loading.appendChild(_lchild)
  5772. var _box = $$('div', {
  5773. "style": {
  5774. "position": "relative",
  5775. "width": "100%",
  5776. "height": "100%",
  5777. },
  5778. })
  5779. _box.appendChild(_loading)
  5780. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5781. switch (str) {
  5782. case "whiteboard":
  5783. aTool = 1;
  5784. _iframe = $$("iframe", {
  5785. "frameborder": "no",
  5786. "border": "0",
  5787. "scrolling ": "no",
  5788. "style": {
  5789. "cssText": "border:0;width:100%;height:100%"
  5790. },
  5791. "src": "https://iwb.cocorobo.cn/"
  5792. })
  5793. _box.appendChild(_iframe);
  5794. _box.appendChild(_jie);
  5795. _formdiv = new U.UF.UI.form(
  5796. "电子白板-" + _username,
  5797. _box, {
  5798. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5799. "style": {
  5800. "width": "90%",
  5801. "height": "90%",
  5802. "overflow": 'hidden'
  5803. },
  5804. "onresize": function () { }
  5805. }, {
  5806. closecallback: function () { }
  5807. }, {
  5808. "style": {
  5809. "height": "36px"
  5810. }
  5811. }).form; //创建窗体
  5812. _taskbar = {
  5813. "id": str + _formdiv.id,
  5814. "style": {
  5815. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5816. },
  5817. "name": "电子白板",
  5818. "forms": _formdiv,
  5819. "click": function () {
  5820. U.MD.D.I.openApplication(str, obj, info);
  5821. }
  5822. }
  5823. break;
  5824. case "mind":
  5825. aTool = 3;
  5826. _iframe = $$("iframe", {
  5827. "frameborder": "no",
  5828. "border": "0",
  5829. "scrolling ": "no",
  5830. "style": {
  5831. "cssText": "border:0;width:100%;height:100%"
  5832. },
  5833. "src": "/kityminder-editor/dist/index.html"
  5834. })
  5835. _box.appendChild(_iframe);
  5836. _box.appendChild(_jie);
  5837. _formdiv = new U.UF.UI.form(
  5838. "思维导图-" + _username,
  5839. _box, { //"/jsmind/example/demo.html"
  5840. "id": "mind" + cid + stage + task + tool + _userid,
  5841. "style": {
  5842. "width": "90%",
  5843. "height": "90%",
  5844. "overflow": 'hidden'
  5845. },
  5846. "onresize": function () { }
  5847. }, {
  5848. closecallback: function () { }
  5849. }, {
  5850. "style": {
  5851. "height": "36px"
  5852. }
  5853. }).form; //创建窗体
  5854. _taskbar = {
  5855. "id": str + _formdiv.id,
  5856. "style": {
  5857. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5858. },
  5859. "name": "思维导图",
  5860. "forms": _formdiv,
  5861. "click": function () {
  5862. U.MD.D.I.openApplication(str, obj, info);
  5863. }
  5864. }
  5865. break;
  5866. case "MindMap":
  5867. aTool = 3;
  5868. _iframe = $$("iframe", {
  5869. "frameborder": "no",
  5870. "border": "0",
  5871. "scrolling ": "no",
  5872. "style": {
  5873. "cssText": "border:0;width:100%;height:100%"
  5874. },
  5875. "src": "//cloud.cocorobo.cn/mind/"
  5876. })
  5877. _box.appendChild(_iframe);
  5878. _box.appendChild(_jie);
  5879. _formdiv = new U.UF.UI.form(
  5880. "思维导图-" + _username,
  5881. _box, { //"/jsmind/example/demo.html"
  5882. "id": "mind" + cid + stage + task + tool + _userid,
  5883. "style": {
  5884. "width": "90%",
  5885. "height": "90%",
  5886. "overflow": 'hidden'
  5887. },
  5888. "onresize": function () { }
  5889. }, {
  5890. closecallback: function () { }
  5891. }, {
  5892. "style": {
  5893. "height": "36px"
  5894. }
  5895. }).form; //创建窗体
  5896. _taskbar = {
  5897. "id": str + _formdiv.id,
  5898. "style": {
  5899. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5900. },
  5901. "name": "思维导图",
  5902. "forms": _formdiv,
  5903. "click": function () {
  5904. U.MD.D.I.openApplication(str, obj, info);
  5905. }
  5906. }
  5907. break;
  5908. case "doc":
  5909. aTool = 6;
  5910. _iframe = $$("iframe", {
  5911. "frameborder": "no",
  5912. "border": "0",
  5913. "scrolling ": "no",
  5914. "style": {
  5915. "cssText": "border:0;width:100%;height:100%"
  5916. },
  5917. "src": "/Office/Word/WordEditArea.htm"
  5918. })
  5919. _box.appendChild(_iframe);
  5920. _box.appendChild(_jie);
  5921. _formdiv = new U.UF.UI.form(
  5922. "协同文档-" + _username,
  5923. _box, {
  5924. "id": "doc" + cid + stage + task + tool + _userid,
  5925. "style": {
  5926. "width": "90%",
  5927. "height": "90%",
  5928. "overflow": 'hidden'
  5929. },
  5930. "onresize": function () { }
  5931. }, {
  5932. closecallback: function () { }
  5933. }, {
  5934. "style": {
  5935. "height": "36px"
  5936. }
  5937. }).form; //创建窗体
  5938. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5939. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5940. })
  5941. _taskbar = {
  5942. "id": str + _formdiv.id,
  5943. "style": {
  5944. "backgroundImage": "url(/img/icon/doc.png)"
  5945. },
  5946. "name": "协同文档",
  5947. "forms": _formdiv,
  5948. "click": function () {
  5949. U.MD.D.I.openApplication(str, obj, info);
  5950. }
  5951. }
  5952. break;
  5953. case "mindNetwork": //好友打开
  5954. aTool = 7;
  5955. _iframe = $$("iframe", {
  5956. "webkitallowfullscreen": "",
  5957. "mozallowfullscreen": "",
  5958. "allowfullscreen": "",
  5959. "frameborder": "no",
  5960. "border": "0",
  5961. "scrolling ": "no",
  5962. "style": {
  5963. "cssText": "border:0; width:100%; height:100%;"
  5964. },
  5965. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5966. })
  5967. _box.appendChild(_iframe);
  5968. _box.appendChild(_jie);
  5969. _formdiv = new U.UF.UI.form(
  5970. "思维网格-" + _username,
  5971. _box, {
  5972. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5973. "style": {
  5974. "width": "90%",
  5975. "height": "90%",
  5976. "overflow": 'hidden'
  5977. },
  5978. "onresize": function () { }
  5979. }, {
  5980. closecallback: function () { }
  5981. }, {
  5982. "style": {
  5983. "height": "36px"
  5984. }
  5985. }).form; //创建窗体
  5986. _taskbar = {
  5987. "id": str + _formdiv.id,
  5988. "style": {
  5989. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5990. },
  5991. "name": "思维网格",
  5992. "forms": _formdiv,
  5993. "click": function () {
  5994. U.MD.D.I.openApplication(str, obj, info);
  5995. }
  5996. }
  5997. break;
  5998. case "courseDesign":
  5999. _iframe = $$("iframe", {
  6000. "webkitallowfullscreen": "",
  6001. "mozallowfullscreen": "",
  6002. "allowfullscreen": "",
  6003. "frameborder": "no",
  6004. "border": "0",
  6005. "scrolling ": "no",
  6006. "style": {
  6007. "cssText": "border:0; width:100%; height:100%;"
  6008. },
  6009. "src": "/course-design-vue"
  6010. })
  6011. _box.appendChild(_iframe);
  6012. _box.appendChild(_jie);
  6013. _formdiv = new U.UF.UI.form(
  6014. "项目设计-" + _username,
  6015. _box, {
  6016. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6017. "style": {
  6018. "width": "90%",
  6019. "height": "90%",
  6020. "overflow": 'hidden'
  6021. },
  6022. "onresize": function () { }
  6023. }, {
  6024. closecallback: function () { }
  6025. }, {
  6026. "style": {
  6027. "height": "36px"
  6028. }
  6029. }).form; //创建窗体
  6030. _taskbar = {
  6031. "id": str + _formdiv.id,
  6032. "style": {
  6033. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6034. },
  6035. "name": "项目设计",
  6036. "forms": _formdiv,
  6037. "click": function () {
  6038. U.MD.D.I.openApplication(str, obj, info);
  6039. }
  6040. }
  6041. break;
  6042. }
  6043. const script1 = document.createElement("script");
  6044. script1.type = "text/javascript";
  6045. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6046. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6047. const script2 = document.createElement("script");
  6048. script2.type = "text/javascript";
  6049. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6050. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6051. const script3 = document.createElement("script");
  6052. script3.type = "text/javascript";
  6053. script3.charset = "UTF-8";
  6054. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6055. const script4 = document.createElement("script");
  6056. script4.type = "text/javascript";
  6057. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6058. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6059. if (_iframe) {
  6060. if (str == 'doc') {
  6061. _iframe = _formdiv.querySelector('iframe')
  6062. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6063. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6064. _iframe.contentWindow.document.body.appendChild(script1);
  6065. _iframe.contentWindow.document.body.appendChild(script2);
  6066. // _iframe.contentWindow.document.body.appendChild(script3);
  6067. _iframe.contentWindow.document.body.appendChild(script4);
  6068. })
  6069. if (onloadListener) {
  6070. _iframe.contentDocument.location.reload()
  6071. } else {
  6072. _iframe.contentDocument.location.reload()
  6073. }
  6074. } else if (str == 'courseDesign') {
  6075. U.UF.DL.iframeLoad(_iframe, function () {
  6076. // _iframe.contentWindow.U.MD.O.W.load();
  6077. // _iframe.contentWindow.document.body.appendChild(script1);
  6078. _iframe.contentWindow.document.body.appendChild(script2);
  6079. _iframe.contentWindow.document.body.appendChild(script4);
  6080. })
  6081. } else if (str == 'mind') {
  6082. _iframe = _formdiv.querySelector('iframe')
  6083. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6084. //
  6085. _iframe.contentWindow.document.body.appendChild(script1);
  6086. _iframe.contentWindow.document.body.appendChild(script2);
  6087. _iframe.contentWindow.document.body.appendChild(script4);
  6088. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6089. })
  6090. if (onloadListener) {
  6091. _iframe.contentDocument.location.reload()
  6092. } else {
  6093. _iframe.contentDocument.location.reload()
  6094. }
  6095. } else if (str == 'whiteboard') {
  6096. _iframe = _formdiv.querySelector('iframe')
  6097. let onloadListener = _iframe.onload = () => {
  6098. _iframe.contentWindow.document.body.appendChild(script1);
  6099. _iframe.contentWindow.document.body.appendChild(script2);
  6100. _iframe.contentWindow.document.body.appendChild(script4);
  6101. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6102. };
  6103. if (onloadListener) {
  6104. _iframe.contentDocument.location.reload()
  6105. } else {
  6106. _iframe.contentDocument.location.reload()
  6107. }
  6108. } else {
  6109. _iframe.onload = () => {
  6110. _iframe.contentWindow.document.body.appendChild(script1);
  6111. _iframe.contentWindow.document.body.appendChild(script2);
  6112. // _iframe.contentWindow.document.body.appendChild(script3);
  6113. _iframe.contentWindow.document.body.appendChild(script4);
  6114. };
  6115. }
  6116. _jie.onclick = async () => {
  6117. let text = ''
  6118. if (aTool == 1) {
  6119. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6120. } else if (aTool == 6) {
  6121. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6122. } else if (aTool == 3) {
  6123. text = await U.MD.D.I.getEditorContent(_iframe);
  6124. }
  6125. _loading.style.display = 'flex'
  6126. console.log(_loading);
  6127. var _ajs = _iframe.contentWindow.document.createElement("script");
  6128. _ajs.type = "text/javascript";
  6129. _ajs.innerHTML =
  6130. // 'console.log(' + _loading + ');\n' +
  6131. 'var _js = document.createElement("script");\n' +
  6132. '_js.type="text/javascript";\n' +
  6133. '_js.charset="UTF-8";\n' +
  6134. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6135. "_js.onload = function(){\n" +
  6136. ' var a = document.getElementsByTagName("img")\n' +
  6137. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6138. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6139. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6140. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6141. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6142. "beforeUpload_shishi(file," +
  6143. "'" +
  6144. _userid +
  6145. "'" +
  6146. ", " +
  6147. "'" +
  6148. _cid +
  6149. "'" +
  6150. ", " +
  6151. "'" +
  6152. _stage +
  6153. "'" +
  6154. ", " +
  6155. "'" +
  6156. _task +
  6157. "'" +
  6158. ", " +
  6159. "'" +
  6160. _tool +
  6161. "'" +
  6162. ", " +
  6163. "'" +
  6164. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6165. "'" +
  6166. ", " +
  6167. "'" +
  6168. aTool +
  6169. "'" +
  6170. ", " +
  6171. "`" +
  6172. text +
  6173. "`" +
  6174. ")\n" +
  6175. " });\n" +
  6176. "}\n" +
  6177. "document.head.appendChild(_js);\n";
  6178. _iframe.contentWindow.document.head.appendChild(_ajs);
  6179. }
  6180. }
  6181. }
  6182. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6183. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6184. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6185. _userid = student.userid, //登录用户id
  6186. _username = student.student //用户名字
  6187. let _iframe;
  6188. let _cid = cid,
  6189. _stage = stage,
  6190. _task = task,
  6191. _tool = tool;
  6192. var _jie = $$("div", {
  6193. "style": {
  6194. "position": "absolute",
  6195. "bottom": "50px",
  6196. "right": "50px",
  6197. "zIndex": "9999",
  6198. "backgroundColor": "#2268bc",
  6199. "color": "#fff",
  6200. "padding": "12px 20px",
  6201. "cursor": "pointer",
  6202. "borderRadius": "4px",
  6203. },
  6204. "innerHTML": "提交作业"
  6205. })
  6206. let aTool = ''
  6207. let _loading = document.createElement('div')
  6208. _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;"
  6209. // _loading.id = "";
  6210. let _lchild = document.createElement('div')
  6211. let _limg = document.createElement('img')
  6212. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6213. _limg.style = "width: 26px;margin-right: 10px;"
  6214. _lchild.appendChild(_limg)
  6215. let _lspan = document.createElement('span')
  6216. _lspan.innerHTML = "上传中..."
  6217. _lchild.appendChild(_lspan)
  6218. _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%);"
  6219. _loading.appendChild(_lchild)
  6220. var _box = $$('div', {
  6221. "style": {
  6222. "position": "relative",
  6223. "width": "100%",
  6224. "height": "100%",
  6225. },
  6226. })
  6227. _box.appendChild(_loading)
  6228. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6229. switch (str) {
  6230. case "whiteboard":
  6231. aTool = 1;
  6232. _iframe = $$("iframe", {
  6233. "frameborder": "no",
  6234. "border": "0",
  6235. "scrolling ": "no",
  6236. "style": {
  6237. "cssText": "border:0;width:100%;height:100%"
  6238. },
  6239. "src": "https://iwb.cocorobo.cn/"
  6240. })
  6241. _box.appendChild(_iframe);
  6242. _box.appendChild(_jie);
  6243. _formdiv = new U.UF.UI.form(
  6244. "电子白板-" + _username,
  6245. _box, {
  6246. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6247. "style": {
  6248. "width": "90%",
  6249. "height": "90%",
  6250. "overflow": 'hidden'
  6251. },
  6252. "onresize": function () { }
  6253. }, {
  6254. closecallback: function () { }
  6255. }, {
  6256. "style": {
  6257. "height": "36px"
  6258. }
  6259. }).form; //创建窗体
  6260. _taskbar = {
  6261. "id": str + _formdiv.id,
  6262. "style": {
  6263. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6264. },
  6265. "name": "电子白板",
  6266. "forms": _formdiv,
  6267. "click": function () {
  6268. U.MD.D.I.openApplication(str, obj, info);
  6269. }
  6270. }
  6271. break;
  6272. case "mind":
  6273. aTool = 3;
  6274. _iframe = $$("iframe", {
  6275. "frameborder": "no",
  6276. "border": "0",
  6277. "scrolling ": "no",
  6278. "style": {
  6279. "cssText": "border:0;width:100%;height:100%"
  6280. },
  6281. "src": "/kityminder-editor/dist/index.html"
  6282. })
  6283. _box.appendChild(_iframe);
  6284. _box.appendChild(_jie);
  6285. _formdiv = new U.UF.UI.form(
  6286. "思维导图-" + _username,
  6287. _box, { //"/jsmind/example/demo.html"
  6288. "id": "mind" + cid + stage + task + tool + _userid,
  6289. "style": {
  6290. "width": "90%",
  6291. "height": "90%",
  6292. "overflow": 'hidden'
  6293. },
  6294. "onresize": function () { }
  6295. }, {
  6296. closecallback: function () { }
  6297. }, {
  6298. "style": {
  6299. "height": "36px"
  6300. }
  6301. }).form; //创建窗体
  6302. _taskbar = {
  6303. "id": str + _formdiv.id,
  6304. "style": {
  6305. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6306. },
  6307. "name": "思维导图",
  6308. "forms": _formdiv,
  6309. "click": function () {
  6310. U.MD.D.I.openApplication(str, obj, info);
  6311. }
  6312. }
  6313. break;
  6314. case "MindMap":
  6315. aTool = 3;
  6316. _iframe = $$("iframe", {
  6317. "frameborder": "no",
  6318. "border": "0",
  6319. "scrolling ": "no",
  6320. "style": {
  6321. "cssText": "border:0;width:100%;height:100%"
  6322. },
  6323. "src": "//cloud.cocorobo.cn/mind/"
  6324. })
  6325. _box.appendChild(_iframe);
  6326. _box.appendChild(_jie);
  6327. _formdiv = new U.UF.UI.form(
  6328. "思维导图-" + _username,
  6329. _box, { //"/jsmind/example/demo.html"
  6330. "id": "mind" + cid + stage + task + tool + _userid,
  6331. "style": {
  6332. "width": "90%",
  6333. "height": "90%",
  6334. "overflow": 'hidden'
  6335. },
  6336. "onresize": function () { }
  6337. }, {
  6338. closecallback: function () { }
  6339. }, {
  6340. "style": {
  6341. "height": "36px"
  6342. }
  6343. }).form; //创建窗体
  6344. _taskbar = {
  6345. "id": str + _formdiv.id,
  6346. "style": {
  6347. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6348. },
  6349. "name": "思维导图",
  6350. "forms": _formdiv,
  6351. "click": function () {
  6352. U.MD.D.I.openApplication(str, obj, info);
  6353. }
  6354. }
  6355. break;
  6356. case "doc":
  6357. aTool = 6;
  6358. _iframe = $$("iframe", {
  6359. "frameborder": "no",
  6360. "border": "0",
  6361. "scrolling ": "no",
  6362. "style": {
  6363. "cssText": "border:0;width:100%;height:100%"
  6364. },
  6365. "src": "/Office/Word/WordEditArea.htm"
  6366. })
  6367. _box.appendChild(_iframe);
  6368. _box.appendChild(_jie);
  6369. _formdiv = new U.UF.UI.form(
  6370. "协同文档-" + _username,
  6371. _box, {
  6372. "id": "doc" + cid + stage + task + tool + _userid,
  6373. "style": {
  6374. "width": "90%",
  6375. "height": "90%",
  6376. "overflow": 'hidden'
  6377. },
  6378. "onresize": function () { }
  6379. }, {
  6380. closecallback: function () { }
  6381. }, {
  6382. "style": {
  6383. "height": "36px"
  6384. }
  6385. }).form; //创建窗体
  6386. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6387. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6388. })
  6389. _taskbar = {
  6390. "id": str + _formdiv.id,
  6391. "style": {
  6392. "backgroundImage": "url(/img/icon/doc.png)"
  6393. },
  6394. "name": "协同文档",
  6395. "forms": _formdiv,
  6396. "click": function () {
  6397. U.MD.D.I.openApplication(str, obj, info);
  6398. }
  6399. }
  6400. break;
  6401. case "mindNetwork": //好友打开
  6402. aTool = 7;
  6403. _iframe = $$("iframe", {
  6404. "webkitallowfullscreen": "",
  6405. "mozallowfullscreen": "",
  6406. "allowfullscreen": "",
  6407. "frameborder": "no",
  6408. "border": "0",
  6409. "scrolling ": "no",
  6410. "style": {
  6411. "cssText": "border:0; width:100%; height:100%;"
  6412. },
  6413. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6414. })
  6415. _box.appendChild(_iframe);
  6416. _box.appendChild(_jie);
  6417. _formdiv = new U.UF.UI.form(
  6418. "思维网格-" + _username,
  6419. _box, {
  6420. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6421. "style": {
  6422. "width": "90%",
  6423. "height": "90%",
  6424. "overflow": 'hidden'
  6425. },
  6426. "onresize": function () { }
  6427. }, {
  6428. closecallback: function () { }
  6429. }, {
  6430. "style": {
  6431. "height": "36px"
  6432. }
  6433. }).form; //创建窗体
  6434. _taskbar = {
  6435. "id": str + _formdiv.id,
  6436. "style": {
  6437. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6438. },
  6439. "name": "思维网格",
  6440. "forms": _formdiv,
  6441. "click": function () {
  6442. U.MD.D.I.openApplication(str, obj, info);
  6443. }
  6444. }
  6445. break;
  6446. case "courseDesign":
  6447. _iframe = $$("iframe", {
  6448. "webkitallowfullscreen": "",
  6449. "mozallowfullscreen": "",
  6450. "allowfullscreen": "",
  6451. "frameborder": "no",
  6452. "border": "0",
  6453. "scrolling ": "no",
  6454. "style": {
  6455. "cssText": "border:0; width:100%; height:100%;"
  6456. },
  6457. "src": "/course-design-vue"
  6458. })
  6459. _box.appendChild(_iframe);
  6460. _box.appendChild(_jie);
  6461. _formdiv = new U.UF.UI.form(
  6462. "项目设计-" + _username,
  6463. _box, {
  6464. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6465. "style": {
  6466. "width": "90%",
  6467. "height": "90%",
  6468. "overflow": 'hidden'
  6469. },
  6470. "onresize": function () { }
  6471. }, {
  6472. closecallback: function () { }
  6473. }, {
  6474. "style": {
  6475. "height": "36px"
  6476. }
  6477. }).form; //创建窗体
  6478. _taskbar = {
  6479. "id": str + _formdiv.id,
  6480. "style": {
  6481. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6482. },
  6483. "name": "项目设计",
  6484. "forms": _formdiv,
  6485. "click": function () {
  6486. U.MD.D.I.openApplication(str, obj, info);
  6487. }
  6488. }
  6489. break;
  6490. }
  6491. const script1 = document.createElement("script");
  6492. script1.type = "text/javascript";
  6493. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6494. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6495. const script2 = document.createElement("script");
  6496. script2.type = "text/javascript";
  6497. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6498. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6499. const script3 = document.createElement("script");
  6500. script3.type = "text/javascript";
  6501. script3.charset = "UTF-8";
  6502. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6503. const script4 = document.createElement("script");
  6504. script4.type = "text/javascript";
  6505. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6506. script4.src = window.origin + "/js/Common/jietu2E.js";
  6507. if (_iframe) {
  6508. if (str == 'doc') {
  6509. _iframe = _formdiv.querySelector('iframe')
  6510. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6511. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6512. _iframe.contentWindow.document.body.appendChild(script1);
  6513. _iframe.contentWindow.document.body.appendChild(script2);
  6514. // _iframe.contentWindow.document.body.appendChild(script3);
  6515. _iframe.contentWindow.document.body.appendChild(script4);
  6516. })
  6517. if (onloadListener) {
  6518. _iframe.contentDocument.location.reload()
  6519. } else {
  6520. _iframe.contentDocument.location.reload()
  6521. }
  6522. } else if (str == 'courseDesign') {
  6523. U.UF.DL.iframeLoad(_iframe, function () {
  6524. // _iframe.contentWindow.U.MD.O.W.load();
  6525. // _iframe.contentWindow.document.body.appendChild(script1);
  6526. _iframe.contentWindow.document.body.appendChild(script2);
  6527. _iframe.contentWindow.document.body.appendChild(script4);
  6528. })
  6529. } else if (str == 'mind') {
  6530. _iframe = _formdiv.querySelector('iframe')
  6531. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6532. //
  6533. _iframe.contentWindow.document.body.appendChild(script1);
  6534. _iframe.contentWindow.document.body.appendChild(script2);
  6535. _iframe.contentWindow.document.body.appendChild(script4);
  6536. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6537. })
  6538. if (onloadListener) {
  6539. _iframe.contentDocument.location.reload()
  6540. } else {
  6541. _iframe.contentDocument.location.reload()
  6542. }
  6543. } else if (str == 'whiteboard') {
  6544. _iframe = _formdiv.querySelector('iframe')
  6545. let onloadListener = _iframe.onload = () => {
  6546. _iframe.contentWindow.document.body.appendChild(script1);
  6547. _iframe.contentWindow.document.body.appendChild(script2);
  6548. _iframe.contentWindow.document.body.appendChild(script4);
  6549. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6550. };
  6551. if (onloadListener) {
  6552. _iframe.contentDocument.location.reload()
  6553. } else {
  6554. _iframe.contentDocument.location.reload()
  6555. }
  6556. } else {
  6557. _iframe.onload = () => {
  6558. _iframe.contentWindow.document.body.appendChild(script1);
  6559. _iframe.contentWindow.document.body.appendChild(script2);
  6560. // _iframe.contentWindow.document.body.appendChild(script3);
  6561. _iframe.contentWindow.document.body.appendChild(script4);
  6562. };
  6563. }
  6564. _jie.onclick = async () => {
  6565. let text = ''
  6566. if (aTool == 1) {
  6567. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6568. } else if (aTool == 6) {
  6569. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6570. } else if (aTool == 3) {
  6571. text = await U.MD.D.I.getEditorContent(_iframe);
  6572. }
  6573. _loading.style.display = 'flex'
  6574. console.log(_loading);
  6575. var _ajs = _iframe.contentWindow.document.createElement("script");
  6576. _ajs.type = "text/javascript";
  6577. _ajs.innerHTML =
  6578. // 'console.log(' + _loading + ');\n' +
  6579. 'var _js = document.createElement("script");\n' +
  6580. '_js.type="text/javascript";\n' +
  6581. '_js.charset="UTF-8";\n' +
  6582. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6583. "_js.onload = function(){\n" +
  6584. ' var a = document.getElementsByTagName("img")\n' +
  6585. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6586. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6587. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6588. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6589. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6590. "beforeUpload_shishi(file," +
  6591. "'" +
  6592. _userid +
  6593. "'" +
  6594. ", " +
  6595. "'" +
  6596. _cid +
  6597. "'" +
  6598. ", " +
  6599. "'" +
  6600. _stage +
  6601. "'" +
  6602. ", " +
  6603. "'" +
  6604. _task +
  6605. "'" +
  6606. ", " +
  6607. "'" +
  6608. _tool +
  6609. "'" +
  6610. ", " +
  6611. "'" +
  6612. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6613. "'" +
  6614. ", " +
  6615. "'" +
  6616. aTool +
  6617. "'" +
  6618. ", " +
  6619. "`" +
  6620. text +
  6621. "`" +
  6622. ")\n" +
  6623. " });\n" +
  6624. "}\n" +
  6625. "document.head.appendChild(_js);\n";
  6626. _iframe.contentWindow.document.head.appendChild(_ajs);
  6627. }
  6628. }
  6629. }
  6630. U.MD.D.I.getEditorContent = function (iframe) {
  6631. return new Promise((resolve, reject) => {
  6632. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6633. console.log(content);
  6634. resolve(content)
  6635. });
  6636. });
  6637. }
  6638. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6639. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6640. // if (res.value[0].length > 0) {
  6641. // // resolve(res.value[0][0].text);
  6642. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6643. // $(fileInput).val('');
  6644. // });
  6645. // }
  6646. // }, [], { "type": "GET", "withCredentials": true });
  6647. var xmlhttp;
  6648. var Mac, Sn, DeviceId
  6649. if (window.XMLHttpRequest) {
  6650. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6651. xmlhttp = new XMLHttpRequest();
  6652. } else {
  6653. // IE6, IE5 浏览器执行代码
  6654. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6655. }
  6656. xmlhttp.onreadystatechange = function () {
  6657. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6658. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6659. // resolve(res.value[0][0].text);
  6660. if (type == '2') {
  6661. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6662. } else if (type == '3') {
  6663. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6664. }
  6665. } else {
  6666. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6667. }
  6668. }
  6669. }
  6670. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6671. xmlhttp.send();
  6672. }
  6673. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6674. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6675. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6676. _userinfo = US.userInfo, //登录用户信息
  6677. _userid = US.userInfo.userid //登录用户id
  6678. let _iframe;
  6679. let _cid = cid,
  6680. _stage = stage,
  6681. _task = task,
  6682. _tool = tool;
  6683. var _jie = $$("div", {
  6684. "style": {
  6685. "position": "absolute",
  6686. "bottom": "50px",
  6687. "right": "50px",
  6688. "zIndex": "9999",
  6689. "backgroundColor": "#2268bc",
  6690. "color": "#fff",
  6691. "padding": "12px 20px",
  6692. "cursor": "pointer",
  6693. "borderRadius": "4px",
  6694. },
  6695. "innerHTML": "确认并提交"
  6696. })
  6697. let aTool = ''
  6698. let _loading = document.createElement('div')
  6699. _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;"
  6700. // _loading.id = "";
  6701. let _lchild = document.createElement('div')
  6702. let _limg = document.createElement('img')
  6703. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6704. _limg.style = "width: 26px;margin-right: 10px;"
  6705. _lchild.appendChild(_limg)
  6706. let _lspan = document.createElement('span')
  6707. _lspan.innerHTML = "上传中..."
  6708. _lchild.appendChild(_lspan)
  6709. _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%);"
  6710. _loading.appendChild(_lchild)
  6711. var _box = $$('div', {
  6712. "style": {
  6713. "position": "relative",
  6714. "width": "100%",
  6715. "height": "100%",
  6716. },
  6717. })
  6718. _box.appendChild(_loading)
  6719. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6720. switch (str) {
  6721. case "whiteboard":
  6722. aTool = 1;
  6723. _iframe = $$("iframe", {
  6724. "frameborder": "no",
  6725. "border": "0",
  6726. "scrolling ": "no",
  6727. "style": {
  6728. "cssText": "border:0;width:100%;height:100%"
  6729. },
  6730. "src": "https://iwb.cocorobo.cn/"
  6731. })
  6732. _box.appendChild(_iframe);
  6733. _box.appendChild(_jie);
  6734. _formdiv = new U.UF.UI.form(
  6735. "电子白板",
  6736. _box, {
  6737. "id": "whiteboards" + cid + stage + task + tool,
  6738. "style": {
  6739. "width": "90%",
  6740. "height": "90%",
  6741. "overflow": 'hidden'
  6742. },
  6743. "onresize": function () { }
  6744. }, {
  6745. closecallback: function () { }
  6746. }, {
  6747. "style": {
  6748. "height": "36px"
  6749. }
  6750. }).form; //创建窗体
  6751. _taskbar = {
  6752. "id": str + _formdiv.id,
  6753. "style": {
  6754. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6755. },
  6756. "name": "电子白板",
  6757. "forms": _formdiv,
  6758. "click": function () {
  6759. U.MD.D.I.openApplication(str, obj, info);
  6760. }
  6761. }
  6762. break;
  6763. case "mind":
  6764. aTool = 3;
  6765. _iframe = $$("iframe", {
  6766. "frameborder": "no",
  6767. "border": "0",
  6768. "scrolling ": "no",
  6769. "style": {
  6770. "cssText": "border:0;width:100%;height:100%"
  6771. },
  6772. "src": "/kityminder-editor/dist/index.html"
  6773. });
  6774. _box.appendChild(_iframe);
  6775. _box.appendChild(_jie);
  6776. _formdiv = new U.UF.UI.form(
  6777. "思维导图",
  6778. _box, { //"/jsmind/example/demo.html"
  6779. "id": "minds" + cid + stage + task + tool,
  6780. "style": {
  6781. "width": "90%",
  6782. "height": "90%",
  6783. "overflow": 'hidden'
  6784. },
  6785. "onresize": function () { }
  6786. }, {
  6787. closecallback: function () { }
  6788. }, {
  6789. "style": {
  6790. "height": "36px"
  6791. }
  6792. }).form; //创建窗体
  6793. _taskbar = {
  6794. "id": str + _formdiv.id,
  6795. "style": {
  6796. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6797. },
  6798. "name": "思维导图",
  6799. "forms": _formdiv,
  6800. "click": function () {
  6801. U.MD.D.I.openApplication(str, obj, info);
  6802. }
  6803. }
  6804. break;
  6805. case "doc":
  6806. aTool = 6;
  6807. _iframe = $$("iframe", {
  6808. "frameborder": "no",
  6809. "border": "0",
  6810. "scrolling ": "no",
  6811. "style": {
  6812. "cssText": "border:0;width:100%;height:100%"
  6813. },
  6814. "src": "/Office/Word/WordEditArea.htm"
  6815. })
  6816. _box.appendChild(_iframe);
  6817. _box.appendChild(_jie);
  6818. _formdiv = new U.UF.UI.form(
  6819. "协同文档",
  6820. _box, {
  6821. "id": "docs" + cid + stage + task + tool,
  6822. "style": {
  6823. "width": "90%",
  6824. "height": "90%",
  6825. "overflow": 'hidden'
  6826. },
  6827. "onresize": function () { }
  6828. }, {
  6829. closecallback: function () { }
  6830. }, {
  6831. "style": {
  6832. "height": "36px"
  6833. }
  6834. }).form; //创建窗体
  6835. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6836. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6837. })
  6838. _taskbar = {
  6839. "id": str + _formdiv.id,
  6840. "style": {
  6841. "backgroundImage": "url(/img/icon/doc.png)"
  6842. },
  6843. "name": "协同文档",
  6844. "forms": _formdiv,
  6845. "click": function () {
  6846. U.MD.D.I.openApplication(str, obj, info);
  6847. }
  6848. }
  6849. break;
  6850. }
  6851. const script1 = document.createElement("script");
  6852. script1.type = "text/javascript";
  6853. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6854. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6855. const script2 = document.createElement("script");
  6856. script2.type = "text/javascript";
  6857. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6858. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6859. const script3 = document.createElement("script");
  6860. script3.type = "text/javascript";
  6861. script3.charset = "UTF-8";
  6862. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6863. const script4 = document.createElement("script");
  6864. script4.type = "text/javascript";
  6865. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6866. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6867. if (_iframe) {
  6868. if (str == 'doc') {
  6869. _iframe = _formdiv.querySelector('iframe')
  6870. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6871. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6872. _iframe.contentWindow.document.body.appendChild(script1);
  6873. _iframe.contentWindow.document.body.appendChild(script2);
  6874. // _iframe.contentWindow.document.body.appendChild(script3);
  6875. _iframe.contentWindow.document.body.appendChild(script4);
  6876. })
  6877. if (onloadListener) {
  6878. _iframe.contentDocument.location.reload()
  6879. } else {
  6880. _iframe.contentDocument.location.reload()
  6881. }
  6882. } else if (str == 'mind') {
  6883. _iframe = _formdiv.querySelector('iframe')
  6884. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6885. _iframe.contentWindow.document.body.appendChild(script1);
  6886. _iframe.contentWindow.document.body.appendChild(script2);
  6887. _iframe.contentWindow.document.body.appendChild(script4);
  6888. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6889. })
  6890. if (onloadListener) {
  6891. _iframe.contentDocument.location.reload()
  6892. } else {
  6893. _iframe.contentDocument.location.reload()
  6894. }
  6895. } else {
  6896. _iframe.onload = () => {
  6897. _iframe.contentWindow.document.body.appendChild(script1);
  6898. _iframe.contentWindow.document.body.appendChild(script2);
  6899. // _iframe.contentWindow.document.body.appendChild(script3);
  6900. _iframe.contentWindow.document.body.appendChild(script4);
  6901. };
  6902. }
  6903. _jie.onclick = async () => {
  6904. let text = ''
  6905. if (aTool == 6) {
  6906. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6907. } else if (aTool == 3) {
  6908. text = await U.MD.D.I.getEditorContent(_iframe);
  6909. }
  6910. _loading.style.display = 'flex'
  6911. console.log(_loading);
  6912. var _ajs = _iframe.contentWindow.document.createElement("script");
  6913. _ajs.type = "text/javascript";
  6914. _ajs.innerHTML =
  6915. // 'console.log(' + _loading + ');\n' +
  6916. 'var _js = document.createElement("script");\n' +
  6917. '_js.type="text/javascript";\n' +
  6918. '_js.charset="UTF-8";\n' +
  6919. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6920. "_js.onload = function(){\n" +
  6921. ' var a = document.getElementsByTagName("img")\n' +
  6922. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6923. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6924. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6925. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6926. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6927. "beforeUpload_shishi(file," +
  6928. "'" +
  6929. _userid +
  6930. "'" +
  6931. ", " +
  6932. "'" +
  6933. _cid +
  6934. "'" +
  6935. ", " +
  6936. "'" +
  6937. _stage +
  6938. "'" +
  6939. ", " +
  6940. "'" +
  6941. _task +
  6942. "'" +
  6943. ", " +
  6944. "'" +
  6945. _tool +
  6946. "'" +
  6947. ", " +
  6948. "'" +
  6949. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6950. "'" +
  6951. ", " +
  6952. "'" +
  6953. aTool +
  6954. "'" +
  6955. ", " +
  6956. "`" +
  6957. text +
  6958. "`" +
  6959. ")\n" +
  6960. " });\n" +
  6961. "}\n" +
  6962. "document.head.appendChild(_js);\n";
  6963. _iframe.contentWindow.document.head.appendChild(_ajs);
  6964. }
  6965. }
  6966. //U.MD.D.I.openClick(str);
  6967. //如果有任务栏信息
  6968. // if (_taskbar) {
  6969. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6970. // }
  6971. }
  6972. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6973. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6974. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6975. _userinfo = US.userInfo, //登录用户信息
  6976. _userid = US.userInfo.userid //登录用户id
  6977. let _iframe;
  6978. let _cid = cid,
  6979. _stage = stage,
  6980. _task = task,
  6981. _tool = tool;
  6982. var _jie = $$("div", {
  6983. "style": {
  6984. "position": "absolute",
  6985. "bottom": "50px",
  6986. "right": "50px",
  6987. "zIndex": "9999",
  6988. "backgroundColor": "#2268bc",
  6989. "color": "#fff",
  6990. "padding": "12px 20px",
  6991. "cursor": "pointer",
  6992. "borderRadius": "4px",
  6993. },
  6994. "innerHTML": "确认并提交"
  6995. })
  6996. let aTool = ''
  6997. let _loading = document.createElement('div')
  6998. _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;"
  6999. // _loading.id = "";
  7000. let _lchild = document.createElement('div')
  7001. let _limg = document.createElement('img')
  7002. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7003. _limg.style = "width: 26px;margin-right: 10px;"
  7004. _lchild.appendChild(_limg)
  7005. let _lspan = document.createElement('span')
  7006. _lspan.innerHTML = "上传中..."
  7007. _lchild.appendChild(_lspan)
  7008. _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%);"
  7009. _loading.appendChild(_lchild)
  7010. var _box = $$('div', {
  7011. "style": {
  7012. "position": "relative",
  7013. "width": "100%",
  7014. "height": "100%",
  7015. },
  7016. })
  7017. _box.appendChild(_loading)
  7018. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7019. switch (str) {
  7020. case "whiteboard":
  7021. aTool = 1;
  7022. _iframe = $$("iframe", {
  7023. "frameborder": "no",
  7024. "border": "0",
  7025. "scrolling ": "no",
  7026. "style": {
  7027. "cssText": "border:0;width:100%;height:100%"
  7028. },
  7029. "src": "https://iwb.cocorobo.cn/"
  7030. })
  7031. _box.appendChild(_iframe);
  7032. _box.appendChild(_jie);
  7033. _formdiv = new U.UF.UI.form(
  7034. "电子白板",
  7035. _box, {
  7036. "id": "whiteboards" + cid + stage + task + tool,
  7037. "style": {
  7038. "width": "90%",
  7039. "height": "90%",
  7040. "overflow": 'hidden'
  7041. },
  7042. "onresize": function () { }
  7043. }, {
  7044. closecallback: function () { }
  7045. }, {
  7046. "style": {
  7047. "height": "36px"
  7048. }
  7049. }).form; //创建窗体
  7050. _taskbar = {
  7051. "id": str + _formdiv.id,
  7052. "style": {
  7053. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7054. },
  7055. "name": "电子白板",
  7056. "forms": _formdiv,
  7057. "click": function () {
  7058. U.MD.D.I.openApplication(str, obj, info);
  7059. }
  7060. }
  7061. break;
  7062. case "mind":
  7063. aTool = 3;
  7064. _iframe = $$("iframe", {
  7065. "frameborder": "no",
  7066. "border": "0",
  7067. "scrolling ": "no",
  7068. "style": {
  7069. "cssText": "border:0;width:100%;height:100%"
  7070. },
  7071. "src": "/kityminder-editor/dist/index.html"
  7072. });
  7073. _box.appendChild(_iframe);
  7074. _box.appendChild(_jie);
  7075. _formdiv = new U.UF.UI.form(
  7076. "思维导图",
  7077. _box, { //"/jsmind/example/demo.html"
  7078. "id": "minds" + cid + stage + task + tool,
  7079. "style": {
  7080. "width": "90%",
  7081. "height": "90%",
  7082. "overflow": 'hidden'
  7083. },
  7084. "onresize": function () { }
  7085. }, {
  7086. closecallback: function () { }
  7087. }, {
  7088. "style": {
  7089. "height": "36px"
  7090. }
  7091. }).form; //创建窗体
  7092. _taskbar = {
  7093. "id": str + _formdiv.id,
  7094. "style": {
  7095. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7096. },
  7097. "name": "思维导图",
  7098. "forms": _formdiv,
  7099. "click": function () {
  7100. U.MD.D.I.openApplication(str, obj, info);
  7101. }
  7102. }
  7103. break;
  7104. case "doc":
  7105. aTool = 6;
  7106. _iframe = $$("iframe", {
  7107. "frameborder": "no",
  7108. "border": "0",
  7109. "scrolling ": "no",
  7110. "style": {
  7111. "cssText": "border:0;width:100%;height:100%"
  7112. },
  7113. "src": "/Office/Word/WordEditArea.htm"
  7114. })
  7115. _box.appendChild(_iframe);
  7116. _box.appendChild(_jie);
  7117. _formdiv = new U.UF.UI.form(
  7118. "协同文档",
  7119. _box, {
  7120. "id": "docs" + cid + stage + task + tool,
  7121. "style": {
  7122. "width": "90%",
  7123. "height": "90%",
  7124. "overflow": 'hidden'
  7125. },
  7126. "onresize": function () { }
  7127. }, {
  7128. closecallback: function () { }
  7129. }, {
  7130. "style": {
  7131. "height": "36px"
  7132. }
  7133. }).form; //创建窗体
  7134. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7135. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7136. })
  7137. _taskbar = {
  7138. "id": str + _formdiv.id,
  7139. "style": {
  7140. "backgroundImage": "url(/img/icon/doc.png)"
  7141. },
  7142. "name": "协同文档",
  7143. "forms": _formdiv,
  7144. "click": function () {
  7145. U.MD.D.I.openApplication(str, obj, info);
  7146. }
  7147. }
  7148. break;
  7149. }
  7150. const script1 = document.createElement("script");
  7151. script1.type = "text/javascript";
  7152. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7153. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7154. const script2 = document.createElement("script");
  7155. script2.type = "text/javascript";
  7156. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7157. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7158. const script3 = document.createElement("script");
  7159. script3.type = "text/javascript";
  7160. script3.charset = "UTF-8";
  7161. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7162. const script4 = document.createElement("script");
  7163. script4.type = "text/javascript";
  7164. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7165. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7166. if (_iframe) {
  7167. if (str == 'doc') {
  7168. _iframe = _formdiv.querySelector('iframe')
  7169. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7170. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7171. _iframe.contentWindow.document.body.appendChild(script1);
  7172. _iframe.contentWindow.document.body.appendChild(script2);
  7173. // _iframe.contentWindow.document.body.appendChild(script3);
  7174. _iframe.contentWindow.document.body.appendChild(script4);
  7175. })
  7176. if (onloadListener) {
  7177. _iframe.contentDocument.location.reload()
  7178. } else {
  7179. _iframe.contentDocument.location.reload()
  7180. }
  7181. } else if (str == 'mind') {
  7182. _iframe = _formdiv.querySelector('iframe')
  7183. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7184. _iframe.contentWindow.document.body.appendChild(script1);
  7185. _iframe.contentWindow.document.body.appendChild(script2);
  7186. _iframe.contentWindow.document.body.appendChild(script4);
  7187. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7188. })
  7189. if (onloadListener) {
  7190. _iframe.contentDocument.location.reload()
  7191. } else {
  7192. _iframe.contentDocument.location.reload()
  7193. }
  7194. } else {
  7195. _iframe.onload = () => {
  7196. _iframe.contentWindow.document.body.appendChild(script1);
  7197. _iframe.contentWindow.document.body.appendChild(script2);
  7198. // _iframe.contentWindow.document.body.appendChild(script3);
  7199. _iframe.contentWindow.document.body.appendChild(script4);
  7200. };
  7201. }
  7202. _jie.onclick = async () => {
  7203. let text = ''
  7204. if (aTool == 6) {
  7205. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7206. } else if (aTool == 3) {
  7207. text = await U.MD.D.I.getEditorContent(_iframe);
  7208. }
  7209. _loading.style.display = 'flex'
  7210. console.log(_loading);
  7211. var _ajs = _iframe.contentWindow.document.createElement("script");
  7212. _ajs.type = "text/javascript";
  7213. _ajs.innerHTML =
  7214. // 'console.log(' + _loading + ');\n' +
  7215. 'var _js = document.createElement("script");\n' +
  7216. '_js.type="text/javascript";\n' +
  7217. '_js.charset="UTF-8";\n' +
  7218. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7219. "_js.onload = function(){\n" +
  7220. ' var a = document.getElementsByTagName("img")\n' +
  7221. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7222. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7223. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7224. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7225. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7226. "beforeUpload_shishi(file," +
  7227. "'" +
  7228. _userid +
  7229. "'" +
  7230. ", " +
  7231. "'" +
  7232. _cid +
  7233. "'" +
  7234. ", " +
  7235. "'" +
  7236. _stage +
  7237. "'" +
  7238. ", " +
  7239. "'" +
  7240. _task +
  7241. "'" +
  7242. ", " +
  7243. "'" +
  7244. _tool +
  7245. "'" +
  7246. ", " +
  7247. "'" +
  7248. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7249. "'" +
  7250. ", " +
  7251. "'" +
  7252. aTool +
  7253. "'" +
  7254. ", " +
  7255. "`" +
  7256. text +
  7257. "`" +
  7258. ")\n" +
  7259. " });\n" +
  7260. "}\n" +
  7261. "document.head.appendChild(_js);\n";
  7262. _iframe.contentWindow.document.head.appendChild(_ajs);
  7263. }
  7264. }
  7265. //U.MD.D.I.openClick(str);
  7266. //如果有任务栏信息
  7267. // if (_taskbar) {
  7268. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7269. // }
  7270. }
  7271. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7272. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7273. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7274. _userinfo = US.userInfo, //登录用户信息
  7275. _userid = US.userInfo.userid //登录用户id
  7276. let _iframe;
  7277. let _cid = cid,
  7278. _stage = stage,
  7279. _task = task,
  7280. _tool = tool;
  7281. var _jie = $$("div", {
  7282. "style": {
  7283. "position": "absolute",
  7284. "bottom": "50px",
  7285. "right": "50px",
  7286. "zIndex": "9999",
  7287. "backgroundColor": "#2268bc",
  7288. "color": "#fff",
  7289. "padding": "12px 20px",
  7290. "cursor": "pointer",
  7291. "borderRadius": "4px",
  7292. },
  7293. "innerHTML": "上传模板"
  7294. })
  7295. let aTool = ''
  7296. let _loading = document.createElement('div')
  7297. _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;"
  7298. // _loading.id = "";
  7299. let _lchild = document.createElement('div')
  7300. let _limg = document.createElement('img')
  7301. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7302. _limg.style = "width: 26px;margin-right: 10px;"
  7303. _lchild.appendChild(_limg)
  7304. let _lspan = document.createElement('span')
  7305. _lspan.innerHTML = "上传中..."
  7306. _lchild.appendChild(_lspan)
  7307. _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%);"
  7308. _loading.appendChild(_lchild)
  7309. var _box = $$('div', {
  7310. "style": {
  7311. "position": "relative",
  7312. "width": "100%",
  7313. "height": "100%",
  7314. },
  7315. })
  7316. _box.appendChild(_loading)
  7317. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7318. switch (str) {
  7319. case "whiteboard":
  7320. aTool = 1;
  7321. _iframe = $$("iframe", {
  7322. "frameborder": "no",
  7323. "border": "0",
  7324. "scrolling ": "no",
  7325. "style": {
  7326. "cssText": "border:0;width:100%;height:100%"
  7327. },
  7328. "src": "https://iwb.cocorobo.cn/"
  7329. })
  7330. _box.appendChild(_iframe);
  7331. _box.appendChild(_jie);
  7332. _formdiv = new U.UF.UI.form(
  7333. "电子白板",
  7334. _box, {
  7335. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7336. "style": {
  7337. "width": "90%",
  7338. "height": "90%",
  7339. "overflow": 'hidden'
  7340. },
  7341. "onresize": function () { }
  7342. }, {
  7343. closecallback: function () { }
  7344. }, {
  7345. "style": {
  7346. "height": "36px"
  7347. }
  7348. }).form; //创建窗体
  7349. _taskbar = {
  7350. "id": str + _formdiv.id,
  7351. "style": {
  7352. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7353. },
  7354. "name": "电子白板",
  7355. "forms": _formdiv,
  7356. "click": function () {
  7357. U.MD.D.I.openApplication(str, obj, info);
  7358. }
  7359. }
  7360. break;
  7361. case "mind":
  7362. aTool = 3;
  7363. _iframe = $$("iframe", {
  7364. "frameborder": "no",
  7365. "border": "0",
  7366. "scrolling ": "no",
  7367. "style": {
  7368. "cssText": "border:0;width:100%;height:100%"
  7369. },
  7370. "src": "/kityminder-editor/dist/index.html"
  7371. });
  7372. _box.appendChild(_iframe);
  7373. _box.appendChild(_jie);
  7374. _formdiv = new U.UF.UI.form(
  7375. "思维导图",
  7376. _box, { //"/jsmind/example/demo.html"
  7377. "id": "minds_Yu" + cid + stage + task + tool,
  7378. "style": {
  7379. "width": "90%",
  7380. "height": "90%",
  7381. "overflow": 'hidden'
  7382. },
  7383. "onresize": function () { }
  7384. }, {
  7385. closecallback: function () { }
  7386. }, {
  7387. "style": {
  7388. "height": "36px"
  7389. }
  7390. }).form; //创建窗体
  7391. _taskbar = {
  7392. "id": str + _formdiv.id,
  7393. "style": {
  7394. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7395. },
  7396. "name": "思维导图",
  7397. "forms": _formdiv,
  7398. "click": function () {
  7399. U.MD.D.I.openApplication(str, obj, info);
  7400. }
  7401. }
  7402. break;
  7403. case "doc":
  7404. aTool = 6;
  7405. _iframe = $$("iframe", {
  7406. "frameborder": "no",
  7407. "border": "0",
  7408. "scrolling ": "no",
  7409. "style": {
  7410. "cssText": "border:0;width:100%;height:100%"
  7411. },
  7412. "src": "/Office/Word/WordEditArea.htm"
  7413. })
  7414. _box.appendChild(_iframe);
  7415. _box.appendChild(_jie);
  7416. _formdiv = new U.UF.UI.form(
  7417. "协同文档",
  7418. _box, {
  7419. "id": "docs_Yu" + cid + stage + task + tool,
  7420. "style": {
  7421. "width": "90%",
  7422. "height": "90%",
  7423. "overflow": 'hidden'
  7424. },
  7425. "onresize": function () { }
  7426. }, {
  7427. closecallback: function () { }
  7428. }, {
  7429. "style": {
  7430. "height": "36px"
  7431. }
  7432. }).form; //创建窗体
  7433. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7434. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7435. })
  7436. _taskbar = {
  7437. "id": str + _formdiv.id,
  7438. "style": {
  7439. "backgroundImage": "url(/img/icon/doc.png)"
  7440. },
  7441. "name": "协同文档",
  7442. "forms": _formdiv,
  7443. "click": function () {
  7444. U.MD.D.I.openApplication(str, obj, info);
  7445. }
  7446. }
  7447. break;
  7448. case "CocoPi":
  7449. aTool = 57;
  7450. _iframe = $$("iframe", {
  7451. "allowpaymentrequest": "allowpaymentrequest",
  7452. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7453. "webkitallowfullscreen": "",
  7454. "mozallowfullscreen": "",
  7455. "frameborder": "no",
  7456. "border": "0",
  7457. "scrolling ": "no",
  7458. "style": {
  7459. "cssText": "border:0;width:100%;height:100%"
  7460. },
  7461. "src": "https://pi.cocorobo.cn/"
  7462. })
  7463. _box.appendChild(_iframe);
  7464. _box.appendChild(_jie);
  7465. _formdiv = new U.UF.UI.form(
  7466. "CocoPi",
  7467. _box, {
  7468. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7469. "style": {
  7470. "width": "90%",
  7471. "height": "90%",
  7472. "overflow": 'hidden'
  7473. },
  7474. "onresize": function () { }
  7475. }, {
  7476. closecallback: function () { }
  7477. }, {
  7478. "style": {
  7479. "height": "36px"
  7480. }
  7481. }).form; //创建窗体
  7482. _taskbar = {
  7483. "id": str + _formdiv.id,
  7484. "style": {
  7485. "backgroundImage": "url(/img/icon/cocopi.png)"
  7486. },
  7487. "name": "CocoPi",
  7488. "forms": _formdiv,
  7489. "click": function () {
  7490. U.MD.D.I.openApplication(str, obj, info);
  7491. }
  7492. }
  7493. break;
  7494. }
  7495. if (_iframe) {
  7496. if (str == 'doc') {
  7497. _iframe = _formdiv.querySelector('iframe')
  7498. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7499. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7500. })
  7501. if (onloadListener) {
  7502. _iframe.contentDocument.location.reload()
  7503. } else {
  7504. _iframe.contentDocument.location.reload()
  7505. }
  7506. } else if (str == 'mind') {
  7507. _iframe = _formdiv.querySelector('iframe')
  7508. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7509. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7510. })
  7511. if (onloadListener) {
  7512. _iframe.contentDocument.location.reload()
  7513. } else {
  7514. _iframe.contentDocument.location.reload()
  7515. }
  7516. } else if (str == 'whiteboard') {
  7517. _iframe = _formdiv.querySelector('iframe')
  7518. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7519. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7520. })
  7521. if (onloadListener) {
  7522. _iframe.contentDocument.location.reload()
  7523. } else {
  7524. _iframe.contentDocument.location.reload()
  7525. }
  7526. } else if (str == 'CocoPi') {
  7527. _iframe = _formdiv.querySelector('iframe')
  7528. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7529. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7530. })
  7531. if (onloadListener) {
  7532. _iframe.contentDocument.location.reload()
  7533. } else {
  7534. _iframe.contentDocument.location.reload()
  7535. }
  7536. } else {
  7537. _iframe.onload = () => { };
  7538. }
  7539. _jie.onclick = async () => {
  7540. let text = ''
  7541. let type = '2'
  7542. if (aTool == 1) {
  7543. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7544. type = '3'
  7545. } else if (aTool == 6) {
  7546. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7547. type = '1'
  7548. } else if (aTool == 3) {
  7549. text = await U.MD.D.I.getEditorContent(_iframe);
  7550. type = '2'
  7551. } else if (aTool == 57) {
  7552. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7553. type = '4'
  7554. }
  7555. _loading.style.display = 'flex'
  7556. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7557. }
  7558. }
  7559. //U.MD.D.I.openClick(str);
  7560. //如果有任务栏信息
  7561. // if (_taskbar) {
  7562. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7563. // }
  7564. }
  7565. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7566. var xmlhttp;
  7567. var Mac, Sn, DeviceId
  7568. if (window.XMLHttpRequest) {
  7569. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7570. xmlhttp = new XMLHttpRequest();
  7571. } else {
  7572. // IE6, IE5 浏览器执行代码
  7573. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7574. }
  7575. xmlhttp.onreadystatechange = function () {
  7576. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7577. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7578. // resolve(res.value[0][0].text);
  7579. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7580. }
  7581. }
  7582. }
  7583. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7584. xmlhttp.send();
  7585. }
  7586. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7587. var xmlhttp;
  7588. var Mac, Sn, DeviceId
  7589. if (window.XMLHttpRequest) {
  7590. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7591. xmlhttp = new XMLHttpRequest();
  7592. } else {
  7593. // IE6, IE5 浏览器执行代码
  7594. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7595. }
  7596. xmlhttp.onreadystatechange = function () {
  7597. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7598. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7599. // resolve(res.value[0][0].text);
  7600. if (type == '2') {
  7601. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7602. } else if (type == '3') {
  7603. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7604. } else if (type == '4') {
  7605. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7606. }
  7607. } else {
  7608. if (type == '2') {
  7609. iframe.contentWindow.editor.minder.importData('json', '')
  7610. } else if (type == '3') {
  7611. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7612. } else if (type == '4') {
  7613. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7614. }
  7615. }
  7616. }
  7617. }
  7618. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7619. xmlhttp.send();
  7620. }
  7621. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7622. var xmlhttp;
  7623. var Mac, Sn, DeviceId
  7624. if (window.XMLHttpRequest) {
  7625. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7626. xmlhttp = new XMLHttpRequest();
  7627. } else {
  7628. // IE6, IE5 浏览器执行代码
  7629. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7630. }
  7631. xmlhttp.onreadystatechange = function () {
  7632. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7633. if (xmlhttp.response) {
  7634. // resolve(res.value[0][0].text);
  7635. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7636. // $(fileInput).val('');
  7637. // });
  7638. span.innerHTML = '上传成功'
  7639. setTimeout(() => {
  7640. loading.style.display = 'none'
  7641. }, 1000);
  7642. }
  7643. }
  7644. }
  7645. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7646. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7647. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7648. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7649. // 设置请求头,表示请求体的编码格式
  7650. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7651. // 设置请求体,使用url-encoded格式的数据
  7652. }
  7653. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7654. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7655. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7656. _userinfo = US.userInfo, //登录用户信息
  7657. _userid = US.userInfo.userid //登录用户id
  7658. let _iframe;
  7659. let _cid = cid,
  7660. _stage = stage,
  7661. _task = task,
  7662. _tool = tool;
  7663. var _jie = $$("div", {
  7664. "style": {
  7665. "position": "absolute",
  7666. "bottom": "50px",
  7667. "right": "50px",
  7668. "zIndex": "9999",
  7669. "backgroundColor": "#2268bc",
  7670. "color": "#fff",
  7671. "padding": "12px 20px",
  7672. "cursor": "pointer",
  7673. "borderRadius": "4px",
  7674. },
  7675. "innerHTML": "提交作业"
  7676. })
  7677. let aTool = ''
  7678. let _loading = document.createElement('div')
  7679. _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;"
  7680. // _loading.id = "";
  7681. let _lchild = document.createElement('div')
  7682. let _limg = document.createElement('img')
  7683. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7684. _limg.style = "width: 26px;margin-right: 10px;"
  7685. _lchild.appendChild(_limg)
  7686. let _lspan = document.createElement('span')
  7687. _lspan.innerHTML = "上传中..."
  7688. _lchild.appendChild(_lspan)
  7689. _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%);"
  7690. _loading.appendChild(_lchild)
  7691. var _box = $$('div', {
  7692. "style": {
  7693. "position": "relative",
  7694. "width": "100%",
  7695. "height": "100%",
  7696. },
  7697. })
  7698. _box.appendChild(_loading)
  7699. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7700. switch (str) {
  7701. case "CocoPi":
  7702. aTool = 57;
  7703. _iframe = $$("iframe", {
  7704. "allowpaymentrequest": "allowpaymentrequest",
  7705. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7706. "webkitallowfullscreen": "",
  7707. "mozallowfullscreen": "",
  7708. "frameborder": "no",
  7709. "border": "0",
  7710. "scrolling ": "no",
  7711. "style": {
  7712. "cssText": "border:0;width:100%;height:100%"
  7713. },
  7714. "src": "https://pi.cocorobo.cn/"
  7715. })
  7716. _box.appendChild(_iframe);
  7717. _box.appendChild(_jie);
  7718. _formdiv = new U.UF.UI.form(
  7719. "CocoPi",
  7720. _box, {
  7721. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7722. "style": {
  7723. "width": "90%",
  7724. "height": "90%",
  7725. "overflow": 'hidden'
  7726. },
  7727. "onresize": function () { }
  7728. }, {
  7729. closecallback: function () { }
  7730. }, {
  7731. "style": {
  7732. "height": "36px"
  7733. }
  7734. }).form; //创建窗体
  7735. _taskbar = {
  7736. "id": str + _formdiv.id,
  7737. "style": {
  7738. "backgroundImage": "url(/img/icon/cocopi.png)"
  7739. },
  7740. "name": "CocoPi",
  7741. "forms": _formdiv,
  7742. "click": function () {
  7743. U.MD.D.I.openApplication(str, obj, info);
  7744. }
  7745. }
  7746. break;
  7747. }
  7748. if (_iframe) {
  7749. if (str == 'CocoPi') {
  7750. _iframe = _formdiv.querySelector('iframe')
  7751. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7752. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7753. })
  7754. if (onloadListener) {
  7755. _iframe.contentDocument.location.reload()
  7756. } else {
  7757. _iframe.contentDocument.location.reload()
  7758. }
  7759. }
  7760. _jie.onclick = async () => {
  7761. let text = ''
  7762. if (aTool == 57) {
  7763. text = _iframe.contentWindow.getLoadXmlStr()
  7764. }
  7765. _loading.style.display = 'flex'
  7766. console.log(_loading);
  7767. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7768. _loading.style.display = 'none'
  7769. let _div = document.createElement('div')
  7770. _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;"
  7771. let _inner = document.createElement('div')
  7772. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7773. _inner.innerHTML = "上传成功"
  7774. _div.appendChild(_inner)
  7775. _iframe.contentWindow.window.document.body.appendChild(_div)
  7776. _div.onclick = () => {
  7777. _iframe.contentWindow.window.document.body.removeChild(_div)
  7778. }
  7779. setTimeout(() => {
  7780. _iframe.contentWindow.window.document.body.removeChild(_div)
  7781. }, 1000);
  7782. }, [], { "type": "POST", "withCredentials": true });
  7783. }
  7784. }
  7785. }
  7786. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7787. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7788. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7789. _userid = student.userid, //登录用户id
  7790. _username = student.student //用户名字
  7791. let _iframe;
  7792. let _cid = cid,
  7793. _stage = stage,
  7794. _task = task,
  7795. _tool = tool;
  7796. var _jie = $$("div", {
  7797. "style": {
  7798. "position": "absolute",
  7799. "bottom": "50px",
  7800. "right": "50px",
  7801. "zIndex": "9999",
  7802. "backgroundColor": "#2268bc",
  7803. "color": "#fff",
  7804. "padding": "12px 20px",
  7805. "cursor": "pointer",
  7806. "borderRadius": "4px",
  7807. },
  7808. "innerHTML": "提交作业"
  7809. })
  7810. let aTool = ''
  7811. let _loading = document.createElement('div')
  7812. _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;"
  7813. // _loading.id = "";
  7814. let _lchild = document.createElement('div')
  7815. let _limg = document.createElement('img')
  7816. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7817. _limg.style = "width: 26px;margin-right: 10px;"
  7818. _lchild.appendChild(_limg)
  7819. let _lspan = document.createElement('span')
  7820. _lspan.innerHTML = "上传中..."
  7821. _lchild.appendChild(_lspan)
  7822. _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%);"
  7823. _loading.appendChild(_lchild)
  7824. var _box = $$('div', {
  7825. "style": {
  7826. "position": "relative",
  7827. "width": "100%",
  7828. "height": "100%",
  7829. },
  7830. })
  7831. _box.appendChild(_loading)
  7832. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7833. switch (str) {
  7834. case "CocoPi":
  7835. aTool = 57;
  7836. _iframe = $$("iframe", {
  7837. "allowpaymentrequest": "allowpaymentrequest",
  7838. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7839. "webkitallowfullscreen": "",
  7840. "mozallowfullscreen": "",
  7841. "frameborder": "no",
  7842. "border": "0",
  7843. "scrolling ": "no",
  7844. "style": {
  7845. "cssText": "border:0;width:100%;height:100%"
  7846. },
  7847. "src": "https://pi.cocorobo.cn/"
  7848. })
  7849. _box.appendChild(_iframe);
  7850. _box.appendChild(_jie);
  7851. _formdiv = new U.UF.UI.form(
  7852. "CocoPi-" + _username,
  7853. _box, {
  7854. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7855. "style": {
  7856. "width": "90%",
  7857. "height": "90%",
  7858. "overflow": 'hidden'
  7859. },
  7860. "onresize": function () { }
  7861. }, {
  7862. closecallback: function () { }
  7863. }, {
  7864. "style": {
  7865. "height": "36px"
  7866. }
  7867. }).form; //创建窗体
  7868. _taskbar = {
  7869. "id": str + _formdiv.id,
  7870. "style": {
  7871. "backgroundImage": "url(/img/icon/cocopi.png)"
  7872. },
  7873. "name": "CocoPi",
  7874. "forms": _formdiv,
  7875. "click": function () {
  7876. U.MD.D.I.openApplication(str, obj, info);
  7877. }
  7878. }
  7879. break;
  7880. }
  7881. if (_iframe) {
  7882. if (str == 'CocoPi') {
  7883. _iframe = _formdiv.querySelector('iframe')
  7884. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7885. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7886. })
  7887. if (onloadListener) {
  7888. _iframe.contentDocument.location.reload()
  7889. } else {
  7890. _iframe.contentDocument.location.reload()
  7891. }
  7892. }
  7893. _jie.onclick = async () => {
  7894. let text = ''
  7895. if (aTool == 57) {
  7896. text = _iframe.contentWindow.getLoadXmlStr()
  7897. }
  7898. _loading.style.display = 'flex'
  7899. console.log(_loading);
  7900. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7901. _loading.style.display = 'none'
  7902. let _div = document.createElement('div')
  7903. _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;"
  7904. let _inner = document.createElement('div')
  7905. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7906. _inner.innerHTML = "上传成功"
  7907. _div.appendChild(_inner)
  7908. _iframe.contentWindow.window.document.body.appendChild(_div)
  7909. _div.onclick = () => {
  7910. _iframe.contentWindow.window.document.body.removeChild(_div)
  7911. }
  7912. setTimeout(() => {
  7913. _iframe.contentWindow.window.document.body.removeChild(_div)
  7914. }, 1000);
  7915. }, [], { "type": "POST", "withCredentials": true });
  7916. }
  7917. }
  7918. }
  7919. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7920. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7921. if (res.value[0].length > 0) {
  7922. if (atool == 57) {
  7923. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7924. }
  7925. } else {
  7926. if (atool == 57) {
  7927. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7928. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7929. }
  7930. }
  7931. }, [], { "type": "POST", "withCredentials": true });
  7932. }