DeskTop.js 493 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  18. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  19. ];
  20. //极简模式
  21. U.MD.D.I.easyDeskIcon = [
  22. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  23. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  24. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  25. { "Name": "Students Management", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  26. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  27. ];
  28. //获取教师测试英语组织图标
  29. U.MD.D.I.hkTeacherEnglishDeskIcon = [
  30. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  31. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  32. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  33. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  34. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  35. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  36. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  37. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  38. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  39. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  40. ];
  41. //获取学生测试英语组织图标
  42. U.MD.D.I.hkStudentEnglishDeskIcon = [
  43. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  44. ];
  45. //教师桌面图标的全局变量
  46. U.MD.D.I.teacherDeskIcon2 = [
  47. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  48. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  49. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  50. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  51. // { "Name": "Project Planning", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  52. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  53. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  54. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  55. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  56. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  57. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  58. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  59. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  60. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  61. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  62. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  63. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  64. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  65. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  66. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  67. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  68. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  69. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  70. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  71. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  72. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  73. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  74. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  75. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  76. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  77. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  78. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  79. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  80. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  81. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  82. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  83. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  84. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  85. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  86. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  87. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  88. ];
  89. U.MD.D.I.studentDeskIcon = [
  90. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  91. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  92. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  93. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  94. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  95. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  96. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  97. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  98. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  99. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  100. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  101. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  102. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  103. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  104. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  105. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  106. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  107. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  108. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  109. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  110. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  111. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  112. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  113. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  114. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  115. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  116. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  117. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  118. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  119. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  120. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  121. ];
  122. U.MD.D.I.studentDeskIcon2 = [
  123. // { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  124. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  125. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  126. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  127. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  128. ]
  129. U.MD.D.I.studentDeskIcon3 = [
  130. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  131. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  132. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  133. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  134. ]
  135. U.MD.D.I.schoolDeskIcon = [
  136. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  137. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  138. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  139. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  140. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  141. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  142. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  143. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  144. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  145. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  146. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  147. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  148. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  149. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  150. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  151. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  152. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  153. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  154. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  155. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  156. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  157. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  158. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  159. ];
  160. U.MD.D.I.orgDeskIcon = [
  161. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  162. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  163. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  164. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  169. ];
  170. U.MD.D.I.orgStemDeskIcon = [
  171. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  172. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  173. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  174. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  175. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  176. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  177. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  178. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  179. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  180. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  181. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  182. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  183. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  184. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  185. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  187. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  189. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  190. ];
  191. U.MD.D.I.szulsDeskIcon = [
  192. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  195. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  196. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  197. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  198. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  199. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  200. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  201. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  202. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  203. ];
  204. U.MD.D.I.hanDeskIcon = [
  205. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  206. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  207. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  208. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  209. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  210. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  211. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  212. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  213. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  214. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  215. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  216. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  217. ];
  218. U.MD.D.I.GMteacherDeskIcon = [
  219. { "Name": "Course Planning", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  220. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  221. { "Name": "Students Management", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  222. { "Name": "Course Assessment", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  223. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  224. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  225. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  226. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  227. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  228. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  229. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  230. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  231. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  232. ];
  233. U.MD.D.I.GMstudentDeskIcon = [
  234. { "Name": "Course Library", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  235. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  236. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  237. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. ];
  241. //北师大
  242. U.MD.D.I.BSDNSteacherDeskIcon = [
  243. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  244. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  245. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  246. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  247. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  250. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  251. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  252. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  253. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  254. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  255. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  256. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  257. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  258. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  259. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  260. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  261. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  262. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  263. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  264. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  265. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  266. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  267. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  268. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  269. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  270. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  271. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  272. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  273. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  274. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  275. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  276. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  277. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  278. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  279. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  280. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  281. ];
  282. //松山湖
  283. U.MD.D.I.SONGteacherDeskIcon = [
  284. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  285. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  286. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  287. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  288. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  289. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  290. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  291. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  292. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  293. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  294. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  295. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  296. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  297. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  298. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  299. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  300. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  301. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  302. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  303. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  304. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  305. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  306. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  307. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  308. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  309. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  310. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  311. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  312. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  313. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  314. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  315. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  316. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  317. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  318. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  319. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  320. ];
  321. U.MD.D.I.tcStudentDeskIcon = [
  322. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  323. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  324. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  325. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. // { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  338. ];
  339. U.MD.D.I.tcOrganizerDeskIcon = [
  340. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  341. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  342. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  343. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  344. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  345. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  346. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  347. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. // { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.szscStudentDeskIcon = [
  353. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  354. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  355. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  356. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  357. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "Students Management", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  371. ];
  372. U.MD.D.I.szscOrganizerDeskIcon = [
  373. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  374. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  375. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  376. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  377. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  378. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  379. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  380. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  381. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  382. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  383. ];
  384. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  385. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  386. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  387. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  388. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  389. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  390. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  391. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  392. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  393. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  394. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  395. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  396. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  397. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  398. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  399. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  400. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  402. ];
  403. U.MD.D.I.wankeAdminDeskIcon = [
  404. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  407. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  408. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  409. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  410. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  411. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  412. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  413. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  414. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  415. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  416. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  417. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  418. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  419. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  420. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  421. ];
  422. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  423. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  424. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  425. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  426. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  427. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  428. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  429. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  430. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  431. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  432. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  433. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  434. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  435. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  436. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  437. ];
  438. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  439. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  440. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  441. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  442. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  443. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  444. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  445. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  449. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  450. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  452. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  453. ];
  454. //明德教师桌面图标的全局变量
  455. U.MD.D.I.MingdeTeacherDeskIcon = [
  456. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  466. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  467. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  468. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  469. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  470. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  471. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  472. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  473. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  474. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  475. // { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  476. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  477. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  478. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  479. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  480. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  481. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  482. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  483. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  484. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  486. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. ];
  488. //97c4ee8b-d010-4042-986d-e9d3c217264f
  489. //教师桌面图标的全局变量
  490. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  491. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. // { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  498. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  499. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  500. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  501. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  502. ];
  503. //福田
  504. U.MD.D.I.futianTeacherDeskIcon = [
  505. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  506. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  507. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  508. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  509. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  510. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  511. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  512. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  513. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  514. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  515. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  516. ];
  517. //福田
  518. U.MD.D.I.futianAdminDeskIcon = [
  519. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  520. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  521. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  522. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  523. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  524. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  525. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  526. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  527. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  528. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  529. ];
  530. //lotech
  531. U.MD.D.I.lotechTeacherDeskIcon = [
  532. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  533. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  534. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  535. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  536. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  537. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  538. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  539. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  540. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  541. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  542. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  543. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  544. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  545. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  546. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  547. ];
  548. //龙华中心小学教师桌面图标的全局变量
  549. U.MD.D.I.longhuateacherDeskIcon = [
  550. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  551. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  552. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  553. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  554. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  555. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  556. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  557. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  558. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  559. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  560. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  561. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  563. ];
  564. //教科院实小教师桌面图标的全局变量
  565. U.MD.D.I.siesteacherDeskIcon = [
  566. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  567. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  568. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  569. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  570. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  571. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  572. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  573. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  574. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  575. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  576. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  577. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  578. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  579. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  580. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  581. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  582. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  583. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  585. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  586. ];
  587. //教科院实小教师桌面图标的全局变量
  588. U.MD.D.I.siesStudentDeskIcon = [
  589. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  590. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  591. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  592. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  593. ];
  594. //福田
  595. U.MD.D.I.gdjgTeacherDeskIcon = [
  596. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  597. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  598. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  599. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  600. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  601. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  602. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  603. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  604. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  605. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  606. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  607. ];
  608. //gdjg
  609. U.MD.D.I.gdjgAdminDeskIcon = [
  610. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  611. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  612. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  613. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  614. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  615. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  616. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  617. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  619. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  620. ];
  621. //hk
  622. U.MD.D.I.hkteacherDeskIcon = [
  623. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  624. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  625. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  626. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  627. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  628. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  629. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  630. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  631. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  632. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  633. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  634. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  635. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  636. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  637. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  638. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  640. ];
  641. //hk
  642. U.MD.D.I.hkStudentDeskIcon = [
  643. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  644. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  645. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  646. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  647. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  648. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  649. ];
  650. //香海正覺蓮社佛教正覺中學
  651. U.MD.D.I.hkZJLSteacherDeskIcon = [
  652. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  653. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  654. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  655. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  656. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  659. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  660. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  661. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  662. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  663. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  664. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  665. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  666. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  667. ];
  668. //香海正覺蓮社佛教正覺中學
  669. U.MD.D.I.hkZJLSStudentDeskIcon = [
  670. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  671. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. ];
  675. //云海
  676. U.MD.D.I.yunhaiTeacherDeskIcon = [
  677. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  680. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  681. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  684. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  685. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  686. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  687. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  688. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  689. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  690. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  691. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  692. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  693. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. ];
  695. //福田
  696. U.MD.D.I.heyuanTeacherDeskIcon = [
  697. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  698. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  699. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  700. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  701. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  702. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  703. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  704. // { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  705. // { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  706. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  707. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  708. ];
  709. //福田
  710. U.MD.D.I.heyuanAdminDeskIcon = [
  711. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  712. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  713. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  718. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  719. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  720. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  721. ];
  722. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  723. U.MD.D.I.szherTeacherDeskIcon = [
  724. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  725. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  726. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  727. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  728. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  729. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  730. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  731. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  732. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  733. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  734. ];
  735. //dsei
  736. U.MD.D.I.dseiTeacherDeskIcon = [
  737. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  738. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  739. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  740. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  741. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  742. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  743. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  744. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  745. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  746. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  747. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  748. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  749. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  750. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  751. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  752. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  753. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  754. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  755. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  756. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  757. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  758. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  759. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  760. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  761. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  762. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  763. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  764. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  765. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  766. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  767. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  768. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  769. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  770. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  771. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  772. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  773. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  774. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  775. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  776. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  777. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  778. ];
  779. //dsei
  780. U.MD.D.I.dseiAdminDeskIcon = [
  781. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  782. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  783. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  784. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  785. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  786. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  787. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  788. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  789. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  790. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  791. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  792. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  793. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  794. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  795. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  796. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  797. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  798. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  799. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  800. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  801. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  802. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  803. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  804. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  805. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  806. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  807. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  808. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  809. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  810. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  811. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  812. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  813. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  814. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  815. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  816. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  817. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  818. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  819. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  820. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  821. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  822. ];
  823. //dsei
  824. U.MD.D.I.dseiStudentDeskIcon = [
  825. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  826. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  827. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  828. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  829. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  830. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  831. ];
  832. //未来教育基地
  833. U.MD.D.I.szjkyTeacherDeskIcon = [
  834. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  835. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  836. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  837. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  838. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  839. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  840. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  841. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  842. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  843. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  844. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  845. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  846. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  847. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  848. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  849. ];
  850. //未来教育基地
  851. U.MD.D.I.szjkyAdminDeskIcon = [
  852. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  853. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  854. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  855. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  856. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  857. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  858. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  859. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  860. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  861. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  862. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  863. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  866. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  867. ];
  868. //未来教育基地
  869. U.MD.D.I.szjkyStudentDeskIcon = [
  870. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  871. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  872. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  873. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  874. ];
  875. //成华教育局
  876. U.MD.D.I.chjyjTeacherDeskIcon = [
  877. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  878. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  879. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  880. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  881. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  882. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  883. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  884. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  885. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  886. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  887. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  888. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  889. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  890. ];
  891. //成华教育局chjyj
  892. U.MD.D.I.chjyjAdminDeskIcon = [
  893. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  894. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  895. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  896. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  897. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  898. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  899. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  900. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  901. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  902. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  903. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  904. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  905. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  906. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  907. ];
  908. //成华教育局chjyj
  909. U.MD.D.I.chjyjStudentDeskIcon = [
  910. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  911. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  912. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  913. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  914. ];
  915. //tpc
  916. U.MD.D.I.tpcStudentDeskIcon = [
  917. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  918. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  919. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  920. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  921. ];
  922. //tpc
  923. U.MD.D.I.tpcTeacherDeskIcon = [
  924. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  925. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  926. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  927. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  928. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  929. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  930. ];
  931. //tpc
  932. U.MD.D.I.tpcAdminDeskIcon = [
  933. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  934. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  935. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  936. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  937. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  938. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  939. ];
  940. //THU-IOE
  941. U.MD.D.I.thuioeTeacherDeskIcon = [
  942. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  943. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  944. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  945. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  946. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  947. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  948. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  949. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  950. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  951. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  952. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  953. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  954. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  955. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  956. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  957. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  958. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  959. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  960. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  961. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  962. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  963. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  964. { "Name": "AI Chat", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  965. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  966. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  967. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  968. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  969. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  970. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  971. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  972. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  973. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  974. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  975. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  976. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  977. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  978. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  979. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  980. ];
  981. //THU-IOE
  982. U.MD.D.I.thuioeStudentDeskIcon = [
  983. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  984. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  985. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  986. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  987. ];
  988. //jccssyl
  989. U.MD.D.I.jccssylTeacherDeskIcon = [
  990. { "Name": "Course Planning", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  991. { "Name": "Course Library", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  992. { "Name": "Students Management", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  993. { "Name": "Course Assessment", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  994. { "Name": "Project Planning", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  995. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  996. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  997. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  998. { "Name": "Teachers Management", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  999. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1000. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1001. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1002. { "Name": "Learning Analytics", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1003. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1004. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1005. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1006. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1007. ];
  1008. //jccssyl
  1009. U.MD.D.I.jccssylStudentDeskIcon = [
  1010. { "Name": "Course Library", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1011. { "Name": "Project Planning", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1012. { "Name": "Project Library", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1013. { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. ];
  1015. //#region 桌面初始化a
  1016. /**
  1017. * 初始化桌面的起始函数
  1018. *
  1019. */
  1020. U.MD.D.I.init = function() {
  1021. if ($("#U_MD_D_K")[0]) {
  1022. //初始化桌面图标
  1023. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1024. // var clickUrl = ':12588/requestIp.php';
  1025. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1026. // U.MD.D.I.Ip = data;
  1027. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1028. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1029. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1030. // })
  1031. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1032. // })
  1033. }
  1034. }
  1035. /**
  1036. * 模式切换
  1037. *
  1038. */
  1039. U.MD.D.I.ModeCheck = function(type) {
  1040. if (US.Config.type == type) {
  1041. return
  1042. }
  1043. US.Config.type = type
  1044. $('.U_PBL_Check .active')[0].className = ''
  1045. if (type == 1) {
  1046. $('.U_PBL_Check div')[0].className = 'active'
  1047. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1048. } else {
  1049. $('.U_PBL_Check div')[1].className = 'active'
  1050. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1051. }
  1052. //初始化桌面图标
  1053. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1054. if (type == 2) {
  1055. U.MD.D.I.openApplication("project")
  1056. }
  1057. }
  1058. /**
  1059. * 隐藏任务栏
  1060. *
  1061. * @param {element} 桌面元素
  1062. */
  1063. U.MD.D.I.hiddenTaskbar = function(el) {
  1064. //任务栏位置变小
  1065. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1066. //桌面的位置变大
  1067. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1068. }
  1069. /**
  1070. * 隐藏任务栏
  1071. *
  1072. * @param {element} 桌面元素
  1073. */
  1074. U.MD.D.I.hiddenTaskbarout = function(el) {
  1075. //任务栏位置变小
  1076. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1077. //任务栏位置变化
  1078. U.selectEl(el).css({ "bottom": "-60px" });
  1079. //桌面的位置变大
  1080. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1081. }
  1082. }
  1083. /**
  1084. * 初始化打印桌面图标
  1085. *
  1086. * @param {element} 桌面元素
  1087. */
  1088. U.MD.D.I.initDesktopIcons = function(el, type) {
  1089. var i, //用于循环
  1090. _content, //桌面图标元素
  1091. _iconcontent, //桌面图标元素
  1092. _frag = $$("frag"), //定义一个碎片元素
  1093. _type = US.userInfo.type,
  1094. _org = US.userInfo.org,
  1095. _oid = US.userInfo.organizeid,
  1096. _role = US.userInfo.role,
  1097. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1098. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1099. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1100. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1101. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1102. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1103. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1104. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1105. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1106. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1107. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1108. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1109. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1110. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1111. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1112. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1113. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1114. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1115. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1116. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1117. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1118. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1119. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1120. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1121. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1122. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1123. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1124. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1125. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1126. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1127. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1128. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1129. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1130. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1131. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1132. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1133. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1134. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1135. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1136. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1137. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1138. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1139. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1140. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1141. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1142. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1143. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1144. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1145. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1146. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1147. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1148. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1149. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1150. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1151. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1152. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1153. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1154. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1155. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon, //网络夏令营
  1156. _hkTeacherEnglishDeskIcon = U.MD.D.I.hkTeacherEnglishDeskIcon, //教师测试英语组织
  1157. _hkStudentEnglishDeskIcon = U.MD.D.I.hkStudentEnglishDeskIcon; //学生测试英语组织
  1158. 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'];
  1159. 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'];
  1160. //清楚桌面图标
  1161. el.innerHTML = "";
  1162. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1163. _teacherDesktopIconInfo.push(
  1164. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1165. { "Name": "Learning Analytics", "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)" } },
  1166. )
  1167. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1168. }
  1169. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1170. _teacherDesktopIconInfo.push(
  1171. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1172. { "Name": "Learning Analytics", "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": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.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)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } }, { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } }, { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1173. )
  1174. }
  1175. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1176. _teacherDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, )
  1177. }
  1178. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1179. _teacherDesktopIconInfo.push()
  1180. }
  1181. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1182. _teacherDesktopIconInfo.push({ "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1183. _studentDesktopIconInfo.push()
  1184. }
  1185. //麒麟二中 和 民新小学
  1186. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1187. _teacherDesktopIconInfo.push()
  1188. }
  1189. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1190. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1191. _teacherDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1192. }
  1193. //麒麟二中
  1194. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1195. _studentDesktopIconInfo.push({ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }, )
  1196. }
  1197. //万科双语
  1198. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1199. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1200. if (el.Name == 'Project Planning') {
  1201. el.Name = 'PBL项目'
  1202. }
  1203. return el
  1204. })
  1205. _studentDesktopIconInfo3.push({ "Name": "CocoNote", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }, )
  1206. }
  1207. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1208. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1209. return el.Name != '魔盒识字' && el.Name != '24点'
  1210. })
  1211. }
  1212. 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) {
  1213. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, { "Name": "Course Assessment", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1214. }
  1215. //循环创建桌面图标
  1216. if (type == 1) {
  1217. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1218. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1219. _content = $$("div", {
  1220. className: "U_MD_D_KO",
  1221. "onmousedown": U.UF.C.closure(function(obj) {
  1222. //防止拖动图标即打开了桌面应用
  1223. U.MD.D.click(this, obj);
  1224. }, [_studentDesktopIconInfo[i]]),
  1225. "onclick": U.UF.C.closure(function(obj) {
  1226. //防止拖动图标即打开了桌面应用
  1227. U.MD.D.click(this, obj);
  1228. }, [_studentDesktopIconInfo[i]])
  1229. }, _frag); //
  1230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1233. }
  1234. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1235. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1236. _content = $$("div", {
  1237. className: "U_MD_D_KO",
  1238. "onmousedown": U.UF.C.closure(function(obj) {
  1239. //防止拖动图标即打开了桌面应用
  1240. U.MD.D.click(this, obj);
  1241. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1242. "onclick": U.UF.C.closure(function(obj) {
  1243. //防止拖动图标即打开了桌面应用
  1244. U.MD.D.click(this, obj);
  1245. }, [_hkZJLSStudentDeskIconInfo[i]])
  1246. }, _frag); //
  1247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1250. } //
  1251. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1252. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1253. _content = $$("div", {
  1254. className: "U_MD_D_KO",
  1255. "onmousedown": U.UF.C.closure(function(obj) {
  1256. //防止拖动图标即打开了桌面应用
  1257. U.MD.D.click(this, obj);
  1258. }, [_jccssylStudentDeskIconInfo[i]]),
  1259. "onclick": U.UF.C.closure(function(obj) {
  1260. //防止拖动图标即打开了桌面应用
  1261. U.MD.D.click(this, obj);
  1262. }, [_jccssylStudentDeskIconInfo[i]])
  1263. }, _frag); //
  1264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1267. }
  1268. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1269. for (i = 0; i < _hkStudentEnglishDeskIcon.length; i++) {
  1270. _content = $$("div", {
  1271. className: "U_MD_D_KO",
  1272. "onmousedown": U.UF.C.closure(function(obj) {
  1273. //防止拖动图标即打开了桌面应用
  1274. U.MD.D.click(this, obj);
  1275. }, [_hkStudentEnglishDeskIcon[i]]),
  1276. "onclick": U.UF.C.closure(function(obj) {
  1277. //防止拖动图标即打开了桌面应用
  1278. U.MD.D.click(this, obj);
  1279. }, [_hkStudentEnglishDeskIcon[i]])
  1280. }, _frag); //
  1281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentEnglishDeskIcon[i].style }, _iconcontent);
  1283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentEnglishDeskIcon[i].Name }, _iconcontent);
  1284. }
  1285. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1286. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1287. _content = $$("div", {
  1288. className: "U_MD_D_KO",
  1289. "onmousedown": U.UF.C.closure(function(obj) {
  1290. //防止拖动图标即打开了桌面应用
  1291. U.MD.D.click(this, obj);
  1292. }, [_thuioeStudentDeskIconInfo[i]]),
  1293. "onclick": U.UF.C.closure(function(obj) {
  1294. //防止拖动图标即打开了桌面应用
  1295. U.MD.D.click(this, obj);
  1296. }, [_thuioeStudentDeskIconInfo[i]])
  1297. }, _frag); //
  1298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1301. }
  1302. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1303. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1304. _content = $$("div", {
  1305. className: "U_MD_D_KO",
  1306. "onmousedown": U.UF.C.closure(function(obj) {
  1307. //防止拖动图标即打开了桌面应用
  1308. U.MD.D.click(this, obj);
  1309. }, [_tpcStudentDeskIconInfo[i]]),
  1310. "onclick": U.UF.C.closure(function(obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_tpcStudentDeskIconInfo[i]])
  1314. }, _frag); //
  1315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1318. } //
  1319. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1320. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1321. _content = $$("div", {
  1322. className: "U_MD_D_KO",
  1323. "onmousedown": U.UF.C.closure(function(obj) {
  1324. //防止拖动图标即打开了桌面应用
  1325. U.MD.D.click(this, obj);
  1326. }, [_chjyjStudentDeskIconInfo[i]]),
  1327. "onclick": U.UF.C.closure(function(obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_chjyjStudentDeskIconInfo[i]])
  1331. }, _frag); //
  1332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1335. }
  1336. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1337. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1338. _content = $$("div", {
  1339. className: "U_MD_D_KO",
  1340. "onmousedown": U.UF.C.closure(function(obj) {
  1341. //防止拖动图标即打开了桌面应用
  1342. U.MD.D.click(this, obj);
  1343. }, [_szjkyStudentDeskIconInfo[i]]),
  1344. "onclick": U.UF.C.closure(function(obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_szjkyStudentDeskIconInfo[i]])
  1348. }, _frag); //
  1349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1352. }
  1353. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1354. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1355. _content = $$("div", {
  1356. className: "U_MD_D_KO",
  1357. "onmousedown": U.UF.C.closure(function(obj) {
  1358. //防止拖动图标即打开了桌面应用
  1359. U.MD.D.click(this, obj);
  1360. }, [_dseiStudentDeskIconInfo[i]]),
  1361. "onclick": U.UF.C.closure(function(obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_dseiStudentDeskIconInfo[i]])
  1365. }, _frag); //
  1366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1369. }
  1370. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1371. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1372. _content = $$("div", {
  1373. className: "U_MD_D_KO",
  1374. "onmousedown": U.UF.C.closure(function(obj) {
  1375. //防止拖动图标即打开了桌面应用
  1376. U.MD.D.click(this, obj);
  1377. }, [_siesStudentDeskIconInfo[i]]),
  1378. "onclick": U.UF.C.closure(function(obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_siesStudentDeskIconInfo[i]])
  1382. }, _frag); //
  1383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1386. }
  1387. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1388. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1389. _content = $$("div", {
  1390. className: "U_MD_D_KO",
  1391. "onmousedown": U.UF.C.closure(function(obj) {
  1392. //防止拖动图标即打开了桌面应用
  1393. U.MD.D.click(this, obj);
  1394. }, [_hkStudentDeskIconInfo[i]]),
  1395. "onclick": U.UF.C.closure(function(obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_hkStudentDeskIconInfo[i]])
  1399. }, _frag); //
  1400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1403. }
  1404. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1405. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1406. _content = $$("div", {
  1407. className: "U_MD_D_KO",
  1408. "onmousedown": U.UF.C.closure(function(obj) {
  1409. //防止拖动图标即打开了桌面应用
  1410. U.MD.D.click(this, obj);
  1411. }, [_studentDesktopIconInfo[i]]),
  1412. "onclick": U.UF.C.closure(function(obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_studentDesktopIconInfo[i]])
  1416. }, _frag); //
  1417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1420. }
  1421. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1422. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1423. _content = $$("div", {
  1424. className: "U_MD_D_KO",
  1425. "onmousedown": U.UF.C.closure(function(obj) {
  1426. //防止拖动图标即打开了桌面应用
  1427. U.MD.D.click(this, obj);
  1428. }, [_tcStudentDeskIconInfo[i]]),
  1429. "onclick": U.UF.C.closure(function(obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_tcStudentDeskIconInfo[i]])
  1433. }, _frag); //
  1434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1437. }
  1438. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1439. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1440. _content = $$("div", {
  1441. className: "U_MD_D_KO",
  1442. "onmousedown": U.UF.C.closure(function(obj) {
  1443. //防止拖动图标即打开了桌面应用
  1444. U.MD.D.click(this, obj);
  1445. }, [_szscStudentDeskIconInfo[i]]),
  1446. "onclick": U.UF.C.closure(function(obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_szscStudentDeskIconInfo[i]])
  1450. }, _frag); //
  1451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1454. }
  1455. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1456. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1457. _content = $$("div", {
  1458. className: "U_MD_D_KO",
  1459. "onmousedown": U.UF.C.closure(function(obj) {
  1460. //防止拖动图标即打开了桌面应用
  1461. U.MD.D.click(this, obj);
  1462. }, [_studentDesktopIconInfo3[i]]),
  1463. "onclick": U.UF.C.closure(function(obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_studentDesktopIconInfo3[i]])
  1467. }, _frag); //
  1468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1471. }
  1472. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1473. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1474. _content = $$("div", {
  1475. className: "U_MD_D_KO",
  1476. "onmousedown": U.UF.C.closure(function(obj) {
  1477. //防止拖动图标即打开了桌面应用
  1478. U.MD.D.click(this, obj);
  1479. }, [_studentDesktopIconInfo2[i]]),
  1480. "onclick": U.UF.C.closure(function(obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_studentDesktopIconInfo2[i]])
  1484. }, _frag); //
  1485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1488. }
  1489. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1490. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1491. _content = $$("div", {
  1492. className: "U_MD_D_KO",
  1493. "onmousedown": U.UF.C.closure(function(obj) {
  1494. //防止拖动图标即打开了桌面应用
  1495. U.MD.D.click(this, obj);
  1496. }, [_wanketeacherDesktopIconInfo[i]]),
  1497. "onclick": U.UF.C.closure(function(obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_wanketeacherDesktopIconInfo[i]])
  1501. }, _frag); //
  1502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1505. }
  1506. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1507. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1508. _content = $$("div", {
  1509. className: "U_MD_D_KO",
  1510. "onmousedown": U.UF.C.closure(function(obj) {
  1511. //防止拖动图标即打开了桌面应用
  1512. U.MD.D.click(this, obj);
  1513. }, [_wankeAdminDesktopIconInfo[i]]),
  1514. "onclick": U.UF.C.closure(function(obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_wankeAdminDesktopIconInfo[i]])
  1518. }, _frag); //
  1519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1522. }
  1523. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1524. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1525. _content = $$("div", {
  1526. className: "U_MD_D_KO",
  1527. "onmousedown": U.UF.C.closure(function(obj) {
  1528. //防止拖动图标即打开了桌面应用
  1529. U.MD.D.click(this, obj);
  1530. }, [_jccssylTeacherDeskIconInfo[i]]),
  1531. "onclick": U.UF.C.closure(function(obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_jccssylTeacherDeskIconInfo[i]])
  1535. }, _frag); //
  1536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1539. }
  1540. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1541. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1542. _content = $$("div", {
  1543. className: "U_MD_D_KO",
  1544. "onmousedown": U.UF.C.closure(function(obj) {
  1545. //防止拖动图标即打开了桌面应用
  1546. U.MD.D.click(this, obj);
  1547. }, [_tpcOrganizerDeskIconInfo[i]]),
  1548. "onclick": U.UF.C.closure(function(obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_tpcOrganizerDeskIconInfo[i]])
  1552. }, _frag); //
  1553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1556. }
  1557. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1558. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1559. _content = $$("div", {
  1560. className: "U_MD_D_KO",
  1561. "onmousedown": U.UF.C.closure(function(obj) {
  1562. //防止拖动图标即打开了桌面应用
  1563. U.MD.D.click(this, obj);
  1564. }, [_tpcTeacherDeskIconInfo[i]]),
  1565. "onclick": U.UF.C.closure(function(obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_tpcTeacherDeskIconInfo[i]])
  1569. }, _frag); //
  1570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1573. }
  1574. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1575. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1576. _content = $$("div", {
  1577. className: "U_MD_D_KO",
  1578. "onmousedown": U.UF.C.closure(function(obj) {
  1579. //防止拖动图标即打开了桌面应用
  1580. U.MD.D.click(this, obj);
  1581. }, [_teacherDesktopIconInfo2[i]]),
  1582. "onclick": U.UF.C.closure(function(obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_teacherDesktopIconInfo2[i]])
  1586. }, _frag); //
  1587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1590. }
  1591. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1592. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1593. _content = $$("div", {
  1594. className: "U_MD_D_KO",
  1595. "onmousedown": U.UF.C.closure(function(obj) {
  1596. //防止拖动图标即打开了桌面应用
  1597. U.MD.D.click(this, obj);
  1598. }, [_thuioeTeacherDeskIconInfo[i]]),
  1599. "onclick": U.UF.C.closure(function(obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_thuioeTeacherDeskIconInfo[i]])
  1603. }, _frag); //
  1604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1607. }
  1608. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1609. for (i = 0; i < _hkTeacherEnglishDeskIcon.length; i++) {
  1610. _content = $$("div", {
  1611. className: "U_MD_D_KO",
  1612. "onmousedown": U.UF.C.closure(function(obj) {
  1613. //防止拖动图标即打开了桌面应用
  1614. U.MD.D.click(this, obj);
  1615. }, [_hkTeacherEnglishDeskIcon[i]]),
  1616. "onclick": U.UF.C.closure(function(obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_hkTeacherEnglishDeskIcon[i]])
  1620. }, _frag); //
  1621. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1622. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherEnglishDeskIcon[i].style }, _iconcontent);
  1623. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherEnglishDeskIcon[i].Name }, _iconcontent);
  1624. }
  1625. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1626. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1627. _content = $$("div", {
  1628. className: "U_MD_D_KO",
  1629. "onmousedown": U.UF.C.closure(function(obj) {
  1630. //防止拖动图标即打开了桌面应用
  1631. U.MD.D.click(this, obj);
  1632. }, [_lotechTeacherDeskIconInfo[i]]),
  1633. "onclick": U.UF.C.closure(function(obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_lotechTeacherDeskIconInfo[i]])
  1637. }, _frag); //
  1638. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1639. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1640. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1641. } //
  1642. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1643. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1644. _content = $$("div", {
  1645. className: "U_MD_D_KO",
  1646. "onmousedown": U.UF.C.closure(function(obj) {
  1647. //防止拖动图标即打开了桌面应用
  1648. U.MD.D.click(this, obj);
  1649. }, [_siesTeacherDeskIconInfo[i]]),
  1650. "onclick": U.UF.C.closure(function(obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_siesTeacherDeskIconInfo[i]])
  1654. }, _frag); //
  1655. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1656. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1657. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1658. }
  1659. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1660. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1661. _content = $$("div", {
  1662. className: "U_MD_D_KO",
  1663. "onmousedown": U.UF.C.closure(function(obj) {
  1664. //防止拖动图标即打开了桌面应用
  1665. U.MD.D.click(this, obj);
  1666. }, [_longhuaTeacherDeskIconInfo[i]]),
  1667. "onclick": U.UF.C.closure(function(obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_longhuaTeacherDeskIconInfo[i]])
  1671. }, _frag); //
  1672. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1673. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1674. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1675. }
  1676. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1677. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1678. _content = $$("div", {
  1679. className: "U_MD_D_KO",
  1680. "onmousedown": U.UF.C.closure(function(obj) {
  1681. //防止拖动图标即打开了桌面应用
  1682. U.MD.D.click(this, obj);
  1683. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1684. "onclick": U.UF.C.closure(function(obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_yunhaiTeacherDeskIconInfo[i]])
  1688. }, _frag); //
  1689. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1690. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1691. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1692. } //_hkStudentDeskIconInfo
  1693. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1694. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1695. _content = $$("div", {
  1696. className: "U_MD_D_KO",
  1697. "onmousedown": U.UF.C.closure(function(obj) {
  1698. //防止拖动图标即打开了桌面应用
  1699. U.MD.D.click(this, obj);
  1700. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1701. "onclick": U.UF.C.closure(function(obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1705. }, _frag); //
  1706. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1707. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1708. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1709. }
  1710. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1711. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1712. _content = $$("div", {
  1713. className: "U_MD_D_KO",
  1714. "onmousedown": U.UF.C.closure(function(obj) {
  1715. //防止拖动图标即打开了桌面应用
  1716. U.MD.D.click(this, obj);
  1717. }, [_hkTeacherDeskIconInfo[i]]),
  1718. "onclick": U.UF.C.closure(function(obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_hkTeacherDeskIconInfo[i]])
  1722. }, _frag); //
  1723. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1724. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1725. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1726. }
  1727. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1728. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1729. _content = $$("div", {
  1730. className: "U_MD_D_KO",
  1731. "onmousedown": U.UF.C.closure(function(obj) {
  1732. //防止拖动图标即打开了桌面应用
  1733. U.MD.D.click(this, obj);
  1734. }, [_gdjgAdminDeskIconInfo[i]]),
  1735. "onclick": U.UF.C.closure(function(obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_gdjgAdminDeskIconInfo[i]])
  1739. }, _frag); //
  1740. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1741. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1742. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1743. }
  1744. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1745. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1746. _content = $$("div", {
  1747. className: "U_MD_D_KO",
  1748. "onmousedown": U.UF.C.closure(function(obj) {
  1749. //防止拖动图标即打开了桌面应用
  1750. U.MD.D.click(this, obj);
  1751. }, [_gdjgTeacherDeskIconInfo[i]]),
  1752. "onclick": U.UF.C.closure(function(obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_gdjgTeacherDeskIconInfo[i]])
  1756. }, _frag); //
  1757. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1758. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1759. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1760. }
  1761. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1762. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1763. _content = $$("div", {
  1764. className: "U_MD_D_KO",
  1765. "onmousedown": U.UF.C.closure(function(obj) {
  1766. //防止拖动图标即打开了桌面应用
  1767. U.MD.D.click(this, obj);
  1768. }, [_szherTeacherDeskIconInfo[i]]),
  1769. "onclick": U.UF.C.closure(function(obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_szherTeacherDeskIconInfo[i]])
  1773. }, _frag); //
  1774. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1775. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1776. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1777. }
  1778. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1779. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1780. _content = $$("div", {
  1781. className: "U_MD_D_KO",
  1782. "onmousedown": U.UF.C.closure(function(obj) {
  1783. //防止拖动图标即打开了桌面应用
  1784. U.MD.D.click(this, obj);
  1785. }, [_heyuannAdminDeskIconInfo[i]]),
  1786. "onclick": U.UF.C.closure(function(obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_heyuannAdminDeskIconInfo[i]])
  1790. }, _frag); //
  1791. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1792. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1793. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1794. }
  1795. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1796. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1797. _content = $$("div", {
  1798. className: "U_MD_D_KO",
  1799. "onmousedown": U.UF.C.closure(function(obj) {
  1800. //防止拖动图标即打开了桌面应用
  1801. U.MD.D.click(this, obj);
  1802. }, [_heyuanTeacherDeskIconInfo[i]]),
  1803. "onclick": U.UF.C.closure(function(obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_heyuanTeacherDeskIconInfo[i]])
  1807. }, _frag); //
  1808. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1809. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1810. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1811. } //
  1812. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1813. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1814. _content = $$("div", {
  1815. className: "U_MD_D_KO",
  1816. "onmousedown": U.UF.C.closure(function(obj) {
  1817. //防止拖动图标即打开了桌面应用
  1818. U.MD.D.click(this, obj);
  1819. }, [_dseiAdminDeskIconInfo[i]]),
  1820. "onclick": U.UF.C.closure(function(obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_dseiAdminDeskIconInfo[i]])
  1824. }, _frag); //
  1825. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1826. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1827. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1828. }
  1829. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1830. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1831. _content = $$("div", {
  1832. className: "U_MD_D_KO",
  1833. "onmousedown": U.UF.C.closure(function(obj) {
  1834. //防止拖动图标即打开了桌面应用
  1835. U.MD.D.click(this, obj);
  1836. }, [_dseiTeacherDeskIconInfo[i]]),
  1837. "onclick": U.UF.C.closure(function(obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_dseiTeacherDeskIconInfo[i]])
  1841. }, _frag); //
  1842. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1843. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1844. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1845. } //
  1846. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1847. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1848. _content = $$("div", {
  1849. className: "U_MD_D_KO",
  1850. "onmousedown": U.UF.C.closure(function(obj) {
  1851. //防止拖动图标即打开了桌面应用
  1852. U.MD.D.click(this, obj);
  1853. }, [_chjyjAdminDeskIconInfo[i]]),
  1854. "onclick": U.UF.C.closure(function(obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_chjyjAdminDeskIconInfo[i]])
  1858. }, _frag); //
  1859. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1860. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1861. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1862. } //
  1863. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1864. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1865. _content = $$("div", {
  1866. className: "U_MD_D_KO",
  1867. "onmousedown": U.UF.C.closure(function(obj) {
  1868. //防止拖动图标即打开了桌面应用
  1869. U.MD.D.click(this, obj);
  1870. }, [_chjyjTeacherDeskIconInfo[i]]),
  1871. "onclick": U.UF.C.closure(function(obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_chjyjTeacherDeskIconInfo[i]])
  1875. }, _frag); //
  1876. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1877. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1878. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1879. }
  1880. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1881. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1882. _content = $$("div", {
  1883. className: "U_MD_D_KO",
  1884. "onmousedown": U.UF.C.closure(function(obj) {
  1885. //防止拖动图标即打开了桌面应用
  1886. U.MD.D.click(this, obj);
  1887. }, [_szjkyAdminDeskIconInfo[i]]),
  1888. "onclick": U.UF.C.closure(function(obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_szjkyAdminDeskIconInfo[i]])
  1892. }, _frag); //
  1893. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1894. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1895. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1896. } //
  1897. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1898. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1899. _content = $$("div", {
  1900. className: "U_MD_D_KO",
  1901. "onmousedown": U.UF.C.closure(function(obj) {
  1902. //防止拖动图标即打开了桌面应用
  1903. U.MD.D.click(this, obj);
  1904. }, [_szjkyTeacherDeskIconInfo[i]]),
  1905. "onclick": U.UF.C.closure(function(obj) {
  1906. //防止拖动图标即打开了桌面应用
  1907. U.MD.D.click(this, obj);
  1908. }, [_szjkyTeacherDeskIconInfo[i]])
  1909. }, _frag); //
  1910. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1911. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1912. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1913. }
  1914. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1915. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1916. _content = $$("div", {
  1917. className: "U_MD_D_KO",
  1918. "onmousedown": U.UF.C.closure(function(obj) {
  1919. //防止拖动图标即打开了桌面应用
  1920. U.MD.D.click(this, obj);
  1921. }, [_futianAdminDeskIconInfo[i]]),
  1922. "onclick": U.UF.C.closure(function(obj) {
  1923. //防止拖动图标即打开了桌面应用
  1924. U.MD.D.click(this, obj);
  1925. }, [_futianAdminDeskIconInfo[i]])
  1926. }, _frag); //
  1927. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1928. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1929. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1930. }
  1931. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1932. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1933. _content = $$("div", {
  1934. className: "U_MD_D_KO",
  1935. "onmousedown": U.UF.C.closure(function(obj) {
  1936. //防止拖动图标即打开了桌面应用
  1937. U.MD.D.click(this, obj);
  1938. }, [_futianTeacherDeskIconInfo[i]]),
  1939. "onclick": U.UF.C.closure(function(obj) {
  1940. //防止拖动图标即打开了桌面应用
  1941. U.MD.D.click(this, obj);
  1942. }, [_futianTeacherDeskIconInfo[i]])
  1943. }, _frag); //
  1944. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1945. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1946. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1947. }
  1948. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1949. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1950. _content = $$("div", {
  1951. className: "U_MD_D_KO",
  1952. "onmousedown": U.UF.C.closure(function(obj) {
  1953. //防止拖动图标即打开了桌面应用
  1954. U.MD.D.click(this, obj);
  1955. }, [_MingdeTeacherDeskIcon[i]]),
  1956. "onclick": U.UF.C.closure(function(obj) {
  1957. //防止拖动图标即打开了桌面应用
  1958. U.MD.D.click(this, obj);
  1959. }, [_MingdeTeacherDeskIcon[i]])
  1960. }, _frag); //
  1961. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1962. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1963. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1964. }
  1965. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1966. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1967. _content = $$("div", {
  1968. className: "U_MD_D_KO",
  1969. "onmousedown": U.UF.C.closure(function(obj) {
  1970. //防止拖动图标即打开了桌面应用
  1971. U.MD.D.click(this, obj);
  1972. }, [_lhsAdminDesktopIconInfo[i]]),
  1973. "onclick": U.UF.C.closure(function(obj) {
  1974. //防止拖动图标即打开了桌面应用
  1975. U.MD.D.click(this, obj);
  1976. }, [_lhsAdminDesktopIconInfo[i]])
  1977. }, _frag); //
  1978. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1979. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1980. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1981. }
  1982. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1983. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1984. _content = $$("div", {
  1985. className: "U_MD_D_KO",
  1986. "onmousedown": U.UF.C.closure(function(obj) {
  1987. //防止拖动图标即打开了桌面应用
  1988. U.MD.D.click(this, obj);
  1989. }, [_lhsteacherDesktopIconInfo[i]]),
  1990. "onclick": U.UF.C.closure(function(obj) {
  1991. //防止拖动图标即打开了桌面应用
  1992. U.MD.D.click(this, obj);
  1993. }, [_lhsteacherDesktopIconInfo[i]])
  1994. }, _frag); //
  1995. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1996. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1997. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1998. }
  1999. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2000. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2001. _content = $$("div", {
  2002. className: "U_MD_D_KO",
  2003. "onmousedown": U.UF.C.closure(function(obj) {
  2004. //防止拖动图标即打开了桌面应用
  2005. U.MD.D.click(this, obj);
  2006. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2007. "onclick": U.UF.C.closure(function(obj) {
  2008. //防止拖动图标即打开了桌面应用
  2009. U.MD.D.click(this, obj);
  2010. }, [_zhoujiateacherDesktopIconInfo[i]])
  2011. }, _frag); //
  2012. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2013. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2014. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2015. }
  2016. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2017. for (i = 0; i < _hanDeskIcon.length; i++) {
  2018. _content = $$("div", {
  2019. className: "U_MD_D_KO",
  2020. "onmousedown": U.UF.C.closure(function(obj) {
  2021. //防止拖动图标即打开了桌面应用
  2022. U.MD.D.click(this, obj);
  2023. }, [_hanDeskIcon[i]]),
  2024. "onclick": U.UF.C.closure(function(obj) {
  2025. //防止拖动图标即打开了桌面应用
  2026. U.MD.D.click(this, obj);
  2027. }, [_hanDeskIcon[i]])
  2028. }, _frag); //
  2029. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2030. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2031. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2032. }
  2033. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2034. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2035. _content = $$("div", {
  2036. className: "U_MD_D_KO",
  2037. "onmousedown": U.UF.C.closure(function(obj) {
  2038. //防止拖动图标即打开了桌面应用
  2039. U.MD.D.click(this, obj);
  2040. }, [_orgStemDeskIcon[i]]),
  2041. "onclick": U.UF.C.closure(function(obj) {
  2042. //防止拖动图标即打开了桌面应用
  2043. U.MD.D.click(this, obj);
  2044. }, [_orgStemDeskIcon[i]])
  2045. }, _frag); //
  2046. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2047. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2048. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2049. }
  2050. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2051. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2052. _content = $$("div", {
  2053. className: "U_MD_D_KO",
  2054. "onmousedown": U.UF.C.closure(function(obj) {
  2055. //防止拖动图标即打开了桌面应用
  2056. U.MD.D.click(this, obj);
  2057. }, [_szulsDeskIcon[i]]),
  2058. "onclick": U.UF.C.closure(function(obj) {
  2059. //防止拖动图标即打开了桌面应用
  2060. U.MD.D.click(this, obj);
  2061. }, [_szulsDeskIcon[i]])
  2062. }, _frag); //
  2063. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2064. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2065. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2066. }
  2067. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2068. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2069. _content = $$("div", {
  2070. className: "U_MD_D_KO",
  2071. "onmousedown": U.UF.C.closure(function(obj) {
  2072. //防止拖动图标即打开了桌面应用
  2073. U.MD.D.click(this, obj);
  2074. }, [_orgDesktopIconInfo[i]]),
  2075. "onclick": U.UF.C.closure(function(obj) {
  2076. //防止拖动图标即打开了桌面应用
  2077. U.MD.D.click(this, obj);
  2078. }, [_orgDesktopIconInfo[i]])
  2079. }, _frag); //
  2080. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2081. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2082. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2083. }
  2084. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2085. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2086. _content = $$("div", {
  2087. className: "U_MD_D_KO",
  2088. "onmousedown": U.UF.C.closure(function(obj) {
  2089. //防止拖动图标即打开了桌面应用
  2090. U.MD.D.click(this, obj);
  2091. }, [_schoolDesktopIconInfo[i]]),
  2092. "onclick": U.UF.C.closure(function(obj) {
  2093. //防止拖动图标即打开了桌面应用
  2094. U.MD.D.click(this, obj);
  2095. }, [_schoolDesktopIconInfo[i]])
  2096. }, _frag); //
  2097. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2098. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2099. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2100. }
  2101. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2102. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2103. _content = $$("div", {
  2104. className: "U_MD_D_KO",
  2105. "onmousedown": U.UF.C.closure(function(obj) {
  2106. //防止拖动图标即打开了桌面应用
  2107. U.MD.D.click(this, obj);
  2108. }, [_GMteacherDesktopIconInfo[i]]),
  2109. "onclick": U.UF.C.closure(function(obj) {
  2110. //防止拖动图标即打开了桌面应用
  2111. U.MD.D.click(this, obj);
  2112. }, [_GMteacherDesktopIconInfo[i]])
  2113. }, _frag); //
  2114. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2115. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2116. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2117. }
  2118. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2119. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2120. _content = $$("div", {
  2121. className: "U_MD_D_KO",
  2122. "onmousedown": U.UF.C.closure(function(obj) {
  2123. //防止拖动图标即打开了桌面应用
  2124. U.MD.D.click(this, obj);
  2125. }, [_SONGteacherDesktopIconInfo[i]]),
  2126. "onclick": U.UF.C.closure(function(obj) {
  2127. //防止拖动图标即打开了桌面应用
  2128. U.MD.D.click(this, obj);
  2129. }, [_SONGteacherDesktopIconInfo[i]])
  2130. }, _frag); //
  2131. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2132. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2133. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2134. }
  2135. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2136. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2137. _content = $$("div", {
  2138. className: "U_MD_D_KO",
  2139. "onmousedown": U.UF.C.closure(function(obj) {
  2140. //防止拖动图标即打开了桌面应用
  2141. U.MD.D.click(this, obj);
  2142. }, [_GMstudentDesktopIconInfo[i]]),
  2143. "onclick": U.UF.C.closure(function(obj) {
  2144. //防止拖动图标即打开了桌面应用
  2145. U.MD.D.click(this, obj);
  2146. }, [_GMstudentDesktopIconInfo[i]])
  2147. }, _frag); //
  2148. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2149. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2150. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2151. }
  2152. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2153. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2154. _content = $$("div", {
  2155. className: "U_MD_D_KO",
  2156. "onmousedown": U.UF.C.closure(function(obj) {
  2157. //防止拖动图标即打开了桌面应用
  2158. U.MD.D.click(this, obj);
  2159. }, [_tcTeacherDeskIconInfo[i]]),
  2160. "onclick": U.UF.C.closure(function(obj) {
  2161. //防止拖动图标即打开了桌面应用
  2162. U.MD.D.click(this, obj);
  2163. }, [_tcTeacherDeskIconInfo[i]])
  2164. }, _frag); //
  2165. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2166. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2167. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2168. }
  2169. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2170. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2171. _content = $$("div", {
  2172. className: "U_MD_D_KO",
  2173. "onmousedown": U.UF.C.closure(function(obj) {
  2174. //防止拖动图标即打开了桌面应用
  2175. U.MD.D.click(this, obj);
  2176. }, [_tcOrganizerDeskIconInfo[i]]),
  2177. "onclick": U.UF.C.closure(function(obj) {
  2178. //防止拖动图标即打开了桌面应用
  2179. U.MD.D.click(this, obj);
  2180. }, [_tcOrganizerDeskIconInfo[i]])
  2181. }, _frag); //
  2182. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2183. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2184. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2185. }
  2186. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2187. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2188. _content = $$("div", {
  2189. className: "U_MD_D_KO",
  2190. "onmousedown": U.UF.C.closure(function(obj) {
  2191. //防止拖动图标即打开了桌面应用
  2192. U.MD.D.click(this, obj);
  2193. }, [_szscTeacherDeskIconInfo[i]]),
  2194. "onclick": U.UF.C.closure(function(obj) {
  2195. //防止拖动图标即打开了桌面应用
  2196. U.MD.D.click(this, obj);
  2197. }, [_szscTeacherDeskIconInfo[i]])
  2198. }, _frag); //
  2199. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2200. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2201. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2202. }
  2203. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2204. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2205. _content = $$("div", {
  2206. className: "U_MD_D_KO",
  2207. "onmousedown": U.UF.C.closure(function(obj) {
  2208. //防止拖动图标即打开了桌面应用
  2209. U.MD.D.click(this, obj);
  2210. }, [_szscOrganizerDeskIconInfo[i]]),
  2211. "onclick": U.UF.C.closure(function(obj) {
  2212. //防止拖动图标即打开了桌面应用
  2213. U.MD.D.click(this, obj);
  2214. }, [_szscOrganizerDeskIconInfo[i]])
  2215. }, _frag); //
  2216. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2217. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2218. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2219. }
  2220. } else {
  2221. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2222. _content = $$("div", {
  2223. className: "U_MD_D_KO",
  2224. "onmousedown": U.UF.C.closure(function(obj) {
  2225. //防止拖动图标即打开了桌面应用
  2226. U.MD.D.click(this, obj);
  2227. }, [_teacherDesktopIconInfo[i]]),
  2228. "onclick": U.UF.C.closure(function(obj) {
  2229. //防止拖动图标即打开了桌面应用
  2230. U.MD.D.click(this, obj);
  2231. }, [_teacherDesktopIconInfo[i]])
  2232. }, _frag); //
  2233. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2234. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2235. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2236. }
  2237. }
  2238. } else {
  2239. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2240. _content = $$("div", {
  2241. className: "U_MD_D_KO",
  2242. style: { 'width': '124px', 'height': '145px' },
  2243. "onmousedown": U.UF.C.closure(function(obj) {
  2244. //防止拖动图标即打开了桌面应用
  2245. U.MD.D.click(this, obj);
  2246. }, [_easyDesktopIconInfo[i]]),
  2247. "onclick": U.UF.C.closure(function(obj) {
  2248. //防止拖动图标即打开了桌面应用
  2249. U.MD.D.click(this, obj);
  2250. }, [_easyDesktopIconInfo[i]])
  2251. }, _frag); //
  2252. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2253. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2254. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2255. }
  2256. }
  2257. if (type == 1) {
  2258. //加载好后给图标定位
  2259. U.MD.D.iconPostion($(_frag).Child());
  2260. } else {
  2261. //加载好后给图标定位
  2262. U.MD.D.iconPostion2($(_frag).Child());
  2263. }
  2264. //把图标加载到页面
  2265. el.appendChild(_frag);
  2266. }
  2267. /**
  2268. * 显示任务栏
  2269. *
  2270. * @param {element} 桌面元素
  2271. */
  2272. U.MD.D.I.displayTaskbar = function(el) {
  2273. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2274. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2275. //任务栏位置变化
  2276. U.selectEl(el).css({ "bottom": "0px" });
  2277. //桌面位置变话
  2278. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2279. }
  2280. }
  2281. //#region 桌面图标拖动逻辑
  2282. /**
  2283. * 桌面排列图标
  2284. *
  2285. * @param {element} 桌面元素
  2286. * @param {object} 上下相距的距离
  2287. * @param {object} 左右相距的距离
  2288. * @return {object} 命名空间
  2289. */
  2290. U.MD.D.iconPostion = function(childs, top, left) {
  2291. var i; //用于循环处理
  2292. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2293. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2294. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2295. for (i = 0; i < childs.length; i++) {
  2296. //如果竖排top超过了范围处理
  2297. if (top + 95 > US.height - 10) {
  2298. //left超过了页面范围处理,则向上重叠打印处理
  2299. if ((left + 180) > US.width) {
  2300. top -= 110;
  2301. left -= 90;
  2302. }
  2303. //没有超过范围,那么left+90添加到下一个竖排打印
  2304. else {
  2305. left += 90;
  2306. top = 15;
  2307. };
  2308. }
  2309. //给图标的位置赋值
  2310. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2311. if (i < childs.length - 1) {
  2312. //页面图标每次向下加95
  2313. top += 95;
  2314. }
  2315. }
  2316. //返回最后调用的图标的位置
  2317. return [top, left];
  2318. }
  2319. /**
  2320. * 桌面排列图标
  2321. *
  2322. * @param {element} 桌面元素
  2323. * @param {object} 上下相距的距离
  2324. * @param {object} 左右相距的距离
  2325. * @return {object} 命名空间
  2326. */
  2327. U.MD.D.iconPostion2 = function(childs, top, left) {
  2328. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2329. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2330. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2331. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2332. for (i = 0; i < childs.length; i++) {
  2333. //如果竖排top超过了范围处理
  2334. if (left + 150 > US.width - 10) {
  2335. //left超过了页面范围处理,则向上重叠打印处理
  2336. if ((top + 180) > US.Height) {
  2337. top -= 150;
  2338. left -= 150;
  2339. }
  2340. //没有超过范围,那么left+90添加到下一个竖排打印
  2341. else {
  2342. top += 150;
  2343. left = ol;
  2344. };
  2345. }
  2346. //给图标的位置赋值
  2347. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2348. if (i < childs.length - 1) {
  2349. //页面图标每次向下加95
  2350. left += 150;
  2351. }
  2352. }
  2353. //返回最后调用的图标的位置
  2354. return [top, left];
  2355. }
  2356. /**
  2357. * 桌面点击事件逻辑
  2358. *
  2359. * @param {element} 桌面元素
  2360. * @param {object} 上下相距的距离
  2361. * @param {object} 左右相距的距离
  2362. * @return {object} 命名空间
  2363. */
  2364. U.MD.D.click = function(el, obj) {
  2365. var _buttonnumber = event.button; //点击的按钮的事件值
  2366. var _userinfo = US.userInfo;
  2367. U.UF.EV.stopBubble(); //阻止向上冒泡
  2368. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2369. if (_buttonnumber < 2) {
  2370. //如果是click事件的处理
  2371. if (event.type == "click") {
  2372. //如果元素在mousemove事件中没有移动则出发click事件
  2373. if (!U.MD.D.I.IsDrag) {
  2374. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2375. U.alert("请先登录您的账号!");
  2376. setTimeout(() => {
  2377. U.MD.U.L.login();
  2378. }, 2000);
  2379. } else {
  2380. //打开应用处理
  2381. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2382. }
  2383. }
  2384. }
  2385. //如果是mouse事件的处理
  2386. else {
  2387. if (US.Config.type == '1') {
  2388. //拖动处理,添加拖动和拖动结束事件
  2389. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2390. }
  2391. }
  2392. U.MD.D.I.IsDrag = false;
  2393. }
  2394. }
  2395. /**
  2396. * 拖动的处理
  2397. *
  2398. */
  2399. U.MD.D.iconMove = function() {
  2400. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2401. U.MD.D.I.IsDrag = true;
  2402. }
  2403. /**
  2404. * 拖动结束后,这里是定位处理,以网状的形式定位
  2405. *
  2406. * @param {element} 拖动的元素
  2407. * @return {object} 命名空间
  2408. */
  2409. U.MD.D.iconUp = function(el) {
  2410. var _top = 15,
  2411. _left = 20,
  2412. _margin,
  2413. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2414. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2415. if (_positioninfo["OT"] > 15) {
  2416. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2417. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2418. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2419. }
  2420. if (_positioninfo["OL"] > 20) {
  2421. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2422. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2423. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2424. }
  2425. //while循环判断么一个重叠的元素
  2426. do {
  2427. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2428. _top = _positioninfo[0] + 95; //得到定位后的top
  2429. _left = _positioninfo[1]; //得到定位后的left
  2430. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2431. }
  2432. /**
  2433. * 判断拖动后图标是否重叠
  2434. *
  2435. * @param {element} 拖动的元素
  2436. * @param {element} 桌面所有的元素
  2437. * @param {array} 拖动元素的位置
  2438. ----------[0] 上 top
  2439. ----------[1] 左 left
  2440. * @return {object} 命名空间
  2441. */
  2442. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2443. //循环所有的图标
  2444. for (var i = 0; i < childs.length; i++) {
  2445. //判断有没有和该图标诶子重叠的元素
  2446. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2447. return childs[i]; //如果有返回
  2448. }
  2449. }
  2450. }
  2451. //#endregion
  2452. //#endregion
  2453. //#region 桌面应用
  2454. /**
  2455. * 打开应用
  2456. *
  2457. * @param {string} 类型
  2458. -----------------Disk 网盘系统
  2459. -----------------PDisk 学习系统网盘
  2460. -----------------Poto 图片
  2461. -----------------Video 视频
  2462. -----------------Music 音乐
  2463. -----------------Word word
  2464. -----------------Excel excel
  2465. -----------------Txt 记事本
  2466. -----------------PB 学习系统
  2467. -----------------Blog 朋友圈系统
  2468. -----------------FTP ftp系统
  2469. -----------------Group 好友群
  2470. -----------------SY 首页系统
  2471. -----------------Set 个人设置
  2472. -----------------XSet 系统设置
  2473. -----------------App 我们所有的app
  2474. -----------------BC c.1473.cn 平台
  2475. -----------------CWeb d.1473.cn 变成平台
  2476. -----------------其他的外联系统 我们统一用iframe打开
  2477. * @param {array} 类型
  2478. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2479. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2480. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2481. 如果第一个参数为其他,则无第二个参数
  2482. * @returns {array}
  2483. */
  2484. window.addEventListener('message', function(e) { // 监听 message 事件
  2485. // alert(e.data.type);
  2486. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2487. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2488. //3是展示全部阶段 2学生 1老师 4专家
  2489. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2490. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2491. //3是展示全部阶段 2学生 1老师 4专家
  2492. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2493. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2494. //3是展示全部阶段 2学生 1老师 4专家
  2495. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2496. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2497. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2498. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2499. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2500. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2501. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2502. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2503. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2504. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2505. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2506. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2507. //3是展示全部阶段 2学生 1老师 4专家
  2508. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2509. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2510. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2511. U.MD.D.I.selectUser();
  2512. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2513. var _formel = document.getElementById("study");
  2514. U.UF.F.windowZooming(_formel);
  2515. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2516. var _formel = document.getElementById("studyDetail");
  2517. U.UF.F.windowZooming(_formel);
  2518. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2519. var _formel = document.getElementById("studyDetail");
  2520. U.UF.F.windowZooming(_formel);
  2521. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2522. var _formel = document.getElementById("studentStudy");
  2523. U.UF.F.windowZooming(_formel);
  2524. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2525. // var _formel = document.getElementById("study");
  2526. //如果最大化了,那么就把他缩小
  2527. // if (_formel.ismaximize) {
  2528. // return;
  2529. // }
  2530. // U.UF.F.windowZooming(_formel);
  2531. // U.UF.F.topWindow(_formel);
  2532. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2533. // var _formel = document.getElementById("studyDetail");
  2534. //如果最大化了,那么就把他缩小
  2535. // if (_formel.ismaximize) {
  2536. // return;
  2537. // }
  2538. // U.UF.F.windowZooming(_formel);
  2539. // U.UF.F.topWindow(_formel);
  2540. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2541. // var _formel = document.getElementById("studentStudy");
  2542. // if (_formel.ismaximize) {
  2543. // return;
  2544. // }
  2545. // U.UF.F.windowZooming(_formel);
  2546. // U.UF.F.topWindow(_formel);
  2547. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2548. var _formel = document.getElementById("study");
  2549. // if (_formel.ismaximize) {
  2550. // return;
  2551. // }
  2552. // U.UF.F.windowZooming(_formel);
  2553. U.UF.F.topWindow(_formel);
  2554. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2555. var _formel = document.getElementById("studentIndex");
  2556. U.UF.F.windowZooming(_formel);
  2557. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2558. var _formel = document.getElementById("studyDetailS");
  2559. U.UF.F.windowZooming(_formel);
  2560. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2561. var _formel = document.getElementById("studioIndex");
  2562. U.UF.F.windowZooming(_formel);
  2563. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2564. var _formel = document.getElementById("studyDetailStudio");
  2565. U.UF.F.windowZooming(_formel);
  2566. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2567. var _formel = document.getElementById("studyDetailStudio");
  2568. U.UF.F.windowZooming(_formel);
  2569. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2570. var _formel = document.getElementById("studyDetailNT");
  2571. U.UF.F.windowZooming(_formel);
  2572. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2573. var _formel = document.getElementById("studyDetailS");
  2574. U.UF.F.windowZooming(_formel);
  2575. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2576. var _formel = document.getElementById("studyDetailS");
  2577. U.UF.F.topWindow(_formel);
  2578. } else if (e.data.tools && e.data.tools == "1") {
  2579. // U.MD.D.I.openApplication("whiteboard")
  2580. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2581. } else if (e.data.tools && e.data.tools == "2") {
  2582. U.MD.D.I.openApplication("note")
  2583. } else if (e.data.tools && e.data.tools == "3") {
  2584. // U.MD.D.I.openApplication("mind")
  2585. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2586. } else if (e.data.tools && e.data.tools == "4") {
  2587. U.MD.D.I.openApplication("investigation")
  2588. } else if (e.data.tools && e.data.tools == "6") {
  2589. // U.MD.D.I.openApplication("doc")
  2590. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2591. } else if (e.data.tools && e.data.tools == "7") {
  2592. // U.MD.D.I.openApplication("mindNetwork")
  2593. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2594. } else if (e.data.tools && e.data.tools == "8") {
  2595. U.MD.D.I.openApplication("library")
  2596. } else if (e.data.tools && e.data.tools == "17") {
  2597. U.MD.D.I.openApplication("stuLibrary")
  2598. } else if (e.data.tools && e.data.tools == "18") {
  2599. U.MD.D.I.openApplication("train")
  2600. } else if (e.data.tools && e.data.tools == "21") {
  2601. U.MD.D.I.openApplication("program")
  2602. } else if (e.data.tools && e.data.tools == "22") {
  2603. U.MD.D.I.openApplication("AIprogram2")
  2604. } else if (e.data.tools && e.data.tools == "23") {
  2605. U.MD.D.I.openApplication("Pythonprogram")
  2606. } else if (e.data.tools && e.data.tools == "24") {
  2607. U.MD.D.I.openApplication("AIprogram")
  2608. } else if (e.data.tools && e.data.tools == "25") {
  2609. U.MD.D.I.openApplication("sys")
  2610. } else if (e.data.tools && e.data.tools == "26") {
  2611. // U.MD.D.I.openApplication("courseDesign")
  2612. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2613. } else if (e.data.tools && e.data.tools == "31") {
  2614. U.MD.D.I.openApplication("netWorkPanel")
  2615. } else if (e.data.tools && e.data.tools == "32") {
  2616. U.MD.D.I.openApplication("codeEdit")
  2617. } else if (e.data.tools && e.data.tools == "57") {
  2618. U.MD.D.I.openApplication("CocoPi")
  2619. } else if (e.data.tools && e.data.tools == "63") {
  2620. U.MD.D.I.openApplication("Wood")
  2621. } else if (e.data.tools && e.data.tools == "58") {
  2622. U.MD.D.I.openApplication("car")
  2623. } else if (e.data.tools && e.data.tools == "59") {
  2624. U.MD.D.I.openApplication("lineSearch")
  2625. } else if (e.data.tools && e.data.tools == "60") {
  2626. U.MD.D.I.openApplication("deepLearning")
  2627. } else if (e.data.tools && e.data.tools == "61") {
  2628. U.MD.D.I.openApplication("allHistory")
  2629. } else if (e.data.tools && e.data.tools == "28") {
  2630. U.MD.D.I.openApplication("translation")
  2631. } else if (e.data.tools && e.data.tools == "37") {
  2632. U.MD.D.I.openApplication("mohe")
  2633. } else if (e.data.tools && e.data.tools == "38") {
  2634. U.MD.D.I.openApplication("24game")
  2635. } else if (e.data.tools && e.data.tools == "39") {
  2636. U.MD.D.I.openApplication("GeoGebra")
  2637. } else if (e.data.tools && e.data.tools == "43") {
  2638. U.MD.D.I.openApplication("studentEvaluate")
  2639. } else if (e.data.tools && e.data.tools == "44") {
  2640. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2641. } else if (e.data.tools && e.data.tools == "46") {
  2642. U.MD.D.I.openApplication("project")
  2643. } else if (e.data.tools && e.data.tools == "1s") {
  2644. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2645. } else if (e.data.tools && e.data.tools == "3s") {
  2646. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2647. } else if (e.data.tools && e.data.tools == "6s") {
  2648. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2649. } else if (e.data.tools && e.data.tools == "1studio") {
  2650. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2651. } else if (e.data.tools && e.data.tools == "3studio") {
  2652. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2653. } else if (e.data.tools && e.data.tools == "6studio") {
  2654. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2655. } else if (e.data.tools && e.data.tools == "3y") {
  2656. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2657. } else if (e.data.tools && e.data.tools == "1y") {
  2658. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2659. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2660. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2661. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2662. U.MD.D.I.openApplication("AIAnalyse")
  2663. } else if (e.data.tools && e.data.tools == "1teacher") {
  2664. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2665. } else if (e.data.tools && e.data.tools == "3teacher") {
  2666. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2667. } else if (e.data.tools && e.data.tools == "7teacher") {
  2668. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2669. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2670. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2671. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2672. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2673. } else if (e.data.tools && e.data.tools == "1E") {
  2674. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2675. } else if (e.data.tools && e.data.tools == "3E") {
  2676. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2677. } else if (e.data.tools && e.data.tools == "57y") {
  2678. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2679. } else if (e.data.tools && e.data.tools == "57u") {
  2680. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2681. } else if (e.data.tools && e.data.tools == "57teacher") {
  2682. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2683. } else if (e.data.tools && e.data.tools == "64") {
  2684. U.MD.D.I.openApplication("AIChat")
  2685. } else if (e.data.tools && e.data.tools == "66") {
  2686. U.MD.D.I.openApplication("formulaEdi")
  2687. } else if (e.data.tools && e.data.tools == "67") {
  2688. U.MD.D.I.openApplication("molStr")
  2689. } else if (e.data.tools && e.data.tools == "68") {
  2690. U.MD.D.I.openApplication("timeAxis")
  2691. } else if (e.data.tools && e.data.tools == "openCourse") {
  2692. let _data = {
  2693. typea: e.data.typea || '',
  2694. typeb: e.data.typeb || '',
  2695. typed: e.data.typed || '',
  2696. }
  2697. U.MD.D.I.openInApplication("index", _data)
  2698. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2699. let _data = {
  2700. classid: e.data.classid || '',
  2701. }
  2702. U.MD.D.I.openInApplication("dataClass", _data)
  2703. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2704. let _data = {
  2705. cid: e.data.cid || '',
  2706. gid: e.data.gid || '',
  2707. }
  2708. U.MD.D.I.openInApplication("opencCscl", _data)
  2709. }
  2710. });
  2711. U.MD.D.I.selectUser = function() {
  2712. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2713. if (res.value[0].length > 0) {
  2714. US.userInfo = res.value[0][0];
  2715. $(".userName")[0].innerHTML = US.userInfo.username;
  2716. }
  2717. }, [], { "type": "GET", "withCredentials": true });
  2718. }
  2719. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2720. var _userinfo = US.userInfo, //登录用户信息
  2721. _userid = US.userInfo.userid, //登录用户id
  2722. _oid = _userinfo.organizeid,
  2723. _type = US.userInfo.type,
  2724. _org = US.userInfo.org,
  2725. _role = US.userInfo.role,
  2726. _classId = US.userInfo.classid;
  2727. if (_type == 4) {
  2728. tType = 4
  2729. }
  2730. switch (str) {
  2731. case "studyDetailNT": //无终端模式
  2732. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2733. setTimeout(() => {
  2734. U.MD.U.L.login();
  2735. }, 2000);
  2736. } else {
  2737. _formdiv = new U.UF.UI.form(
  2738. "课程详情",
  2739. $$("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 }), {
  2740. "id": "studyDetailNT",
  2741. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2742. "onresize": function() {}
  2743. }, {
  2744. closecallback: function() {}
  2745. }, { "style": { "height": "36px" } }).form; //创建窗体
  2746. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2747. break;
  2748. }
  2749. case "studyDetail":
  2750. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2751. setTimeout(() => {
  2752. U.MD.U.L.login();
  2753. }, 2000);
  2754. } else {
  2755. _formdiv = new U.UF.UI.form(
  2756. "课程详情",
  2757. $$("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 }), {
  2758. "id": "studyDetail",
  2759. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2760. "onresize": function() {}
  2761. }, {
  2762. closecallback: function() {}
  2763. }, { "style": { "height": "36px" } }).form; //创建窗体
  2764. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2765. break;
  2766. }
  2767. case "studyDetailS":
  2768. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2769. setTimeout(() => {
  2770. U.MD.U.L.login();
  2771. }, 2000);
  2772. } else {
  2773. _formdiv = new U.UF.UI.form(
  2774. "项目详情",
  2775. $$("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 }), {
  2776. "id": "studyDetailS",
  2777. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2778. "onresize": function() {}
  2779. }, {
  2780. closecallback: function() {}
  2781. }, { "style": { "height": "36px" } }).form; //创建窗体
  2782. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2783. break;
  2784. }
  2785. case "studyDetailStudio":
  2786. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2787. setTimeout(() => {
  2788. U.MD.U.L.login();
  2789. }, 2000);
  2790. } else {
  2791. _formdiv = new U.UF.UI.form(
  2792. "工作详情",
  2793. $$("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 }), {
  2794. "id": "studyDetailStudio",
  2795. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2796. "onresize": function() {}
  2797. }, {
  2798. closecallback: function() {}
  2799. }, { "style": { "height": "36px" } }).form; //创建窗体
  2800. _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); } }
  2801. break;
  2802. }
  2803. case "studyDetailS5":
  2804. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2805. setTimeout(() => {
  2806. U.MD.U.L.login();
  2807. }, 2000);
  2808. } else {
  2809. _formdiv = new U.UF.UI.form(
  2810. "项目详情",
  2811. $$("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 }), {
  2812. "id": "studyDetailS",
  2813. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2814. "onresize": function() {}
  2815. }, {
  2816. closecallback: function() {}
  2817. }, { "style": { "height": "36px" } }).form; //创建窗体
  2818. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2819. break;
  2820. }
  2821. case "studyDetailGM":
  2822. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2823. setTimeout(() => {
  2824. U.MD.U.L.login();
  2825. }, 2000);
  2826. } else {
  2827. _formdiv = new U.UF.UI.form(
  2828. "课程详情",
  2829. $$("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 }), {
  2830. "id": "studyDetail",
  2831. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2832. "onresize": function() {}
  2833. }, {
  2834. closecallback: function() {}
  2835. }, { "style": { "height": "36px" } }).form; //创建窗体
  2836. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2837. break;
  2838. }
  2839. case "hanUrl":
  2840. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2841. setTimeout(() => {
  2842. U.MD.U.L.login();
  2843. }, 2000);
  2844. } else {
  2845. _formdiv = new U.UF.UI.form(
  2846. "汉字宫",
  2847. $$("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" }), {
  2848. "id": "hanUrl",
  2849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2850. "onresize": function() {}
  2851. }, {
  2852. closecallback: function() {}
  2853. }, { "style": { "height": "36px" } }).form; //创建窗体
  2854. _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); } }
  2855. break;
  2856. }
  2857. case "index":
  2858. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2859. setTimeout(() => {
  2860. U.MD.U.L.login();
  2861. }, 2000);
  2862. } else {
  2863. _formdiv = new U.UF.UI.form(
  2864. "Course Library",
  2865. $$("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 }), {
  2866. "id": "study",
  2867. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2868. "onresize": function() {}
  2869. }, {
  2870. closecallback: function() {}
  2871. }, { "style": { "height": "36px" } }).form; //创建窗体
  2872. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2873. break;
  2874. }
  2875. case "dataClass":
  2876. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2877. setTimeout(() => {
  2878. U.MD.U.L.login();
  2879. }, 2000);
  2880. } else {
  2881. _formdiv = new U.UF.UI.form(
  2882. "数据报告",
  2883. $$("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 }), {
  2884. "id": "dataClass",
  2885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2886. "onresize": function() {}
  2887. }, {
  2888. closecallback: function() {}
  2889. }, { "style": { "height": "36px" } }).form; //创建窗体
  2890. _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); } }
  2891. break;
  2892. }
  2893. case "opencCscl":
  2894. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2895. setTimeout(() => {
  2896. U.MD.U.L.login();
  2897. }, 2000);
  2898. } else {
  2899. _formdiv = new U.UF.UI.form(
  2900. "CocoNote",
  2901. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2902. "id": "futureClass",
  2903. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2904. "onresize": function() {}
  2905. }, {
  2906. closecallback: function() { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2907. }, { "style": { "height": "36px" } }).form; //创建窗体
  2908. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2909. break;
  2910. }
  2911. }
  2912. }
  2913. U.MD.D.I.openApplication = function(str, obj, info) {
  2914. obj = obj || {};
  2915. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2916. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2917. _userinfo = US.userInfo, //登录用户信息
  2918. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2919. _oid = obj.organizeid || _userinfo.organizeid,
  2920. _type = US.userInfo.type,
  2921. _org = US.userInfo.org,
  2922. _role = US.userInfo.role,
  2923. _classId = US.userInfo.classid,
  2924. _TscreenType = 1
  2925. _screenType = 2,
  2926. _SscreenType = 3;
  2927. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2928. return;
  2929. }
  2930. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2931. switch (str) {
  2932. case "studnetProject": //好友打开
  2933. _formdiv = new U.UF.UI.form(
  2934. "我的项目",
  2935. $$("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 }), {
  2936. "id": "studnetProject",
  2937. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2938. "onresize": function() {}
  2939. }, {
  2940. closecallback: function() {}
  2941. }, { "style": { "height": "36px" } }).form; //创建窗体
  2942. _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); } }
  2943. break;
  2944. case "studentEvaluate": //好友打开
  2945. _formdiv = new U.UF.UI.form(
  2946. "我的评价",
  2947. $$("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 }), {
  2948. "id": "studentEvaluate",
  2949. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2950. "onresize": function() {}
  2951. }, {
  2952. closecallback: function() {}
  2953. }, { "style": { "height": "36px" } }).form; //创建窗体
  2954. _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); } }
  2955. break;
  2956. case "my":
  2957. _formdiv = new U.UF.UI.form(
  2958. "我的资料",
  2959. $$("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 }), {
  2960. "id": "my",
  2961. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2962. "onresize": function() {}
  2963. }, {
  2964. closecallback: function() {}
  2965. }, { "style": { "height": "36px" } }).form; //创建窗体
  2966. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2967. break;
  2968. case "program":
  2969. _formdiv = new U.UF.UI.form(
  2970. "编程平台",
  2971. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2972. "id": "program",
  2973. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2974. "onresize": function() {}
  2975. }, {
  2976. closecallback: function() {}
  2977. }, { "style": { "height": "36px" } }).form; //创建窗体
  2978. _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); } }
  2979. break;
  2980. case "library":
  2981. _formdiv = new U.UF.UI.form(
  2982. "素材库",
  2983. $$("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 }), {
  2984. "id": "library",
  2985. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2986. "onresize": function() {}
  2987. }, {
  2988. closecallback: function() {}
  2989. }, { "style": { "height": "36px" } }).form; //创建窗体
  2990. _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); } }
  2991. break;
  2992. case "whiteboard":
  2993. _formdiv = new U.UF.UI.form(
  2994. "电子白板",
  2995. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2996. "id": "whiteboard",
  2997. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2998. "onresize": function() {}
  2999. }, {
  3000. closecallback: function() {}
  3001. }, { "style": { "height": "36px" } }).form; //创建窗体
  3002. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3003. break;
  3004. case "investigation":
  3005. _formdiv = new U.UF.UI.form(
  3006. "问卷调查",
  3007. $$("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 }), {
  3008. "id": "investigation",
  3009. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3010. "onresize": function() {}
  3011. }, {
  3012. closecallback: function() {}
  3013. }, { "style": { "height": "36px" } }).form; //创建窗体
  3014. _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); } }
  3015. break;
  3016. case "note":
  3017. _formdiv = new U.UF.UI.form(
  3018. "便签分类",
  3019. $$("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 }), {
  3020. "id": "note",
  3021. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3022. "onresize": function() {}
  3023. }, {
  3024. closecallback: function() {}
  3025. }, { "style": { "height": "36px" } }).form; //创建窗体
  3026. _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); } }
  3027. break;
  3028. // case "score":
  3029. // _formdiv = new U.UF.UI.form(
  3030. // "量规评分",
  3031. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3032. // "id": "score",
  3033. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3034. // "onresize": function() {}
  3035. // }, {
  3036. // closecallback: function() {}
  3037. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3038. // _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); } }
  3039. // break;
  3040. case "mind":
  3041. _formdiv = new U.UF.UI.form(
  3042. "思维导图",
  3043. $$("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"
  3044. "id": "mind",
  3045. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3046. "onresize": function() {}
  3047. }, {
  3048. closecallback: function() {}
  3049. }, { "style": { "height": "36px" } }).form; //创建窗体
  3050. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3051. break;
  3052. case "doc":
  3053. // U.MD.D.I.isRoom();
  3054. _formdiv = new U.UF.UI.form(
  3055. "协同文档",
  3056. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3057. "id": "doc",
  3058. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3059. "onresize": function() {}
  3060. }, {
  3061. closecallback: function() {}
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3064. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3065. // })
  3066. _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); } }
  3067. break;
  3068. case "studentStudy":
  3069. _formdiv = new U.UF.UI.form(
  3070. "Course Library",
  3071. $$("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
  3072. "id": "studentStudy",
  3073. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3074. "onresize": function() {}
  3075. }, {
  3076. closecallback: function() {}
  3077. }, { "style": { "height": "36px" } }).form; //创建窗体
  3078. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3079. break;
  3080. case "train": //好友打开
  3081. _formdiv = new U.UF.UI.form(
  3082. "训练平台",
  3083. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3084. "id": "train",
  3085. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3086. "onresize": function() {}
  3087. }, {
  3088. closecallback: function() {}
  3089. }, { "style": { "height": "36px" } }).form; //创建窗体
  3090. _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); } }
  3091. break;
  3092. case "mindNetwork": //好友打开
  3093. _formdiv = new U.UF.UI.form(
  3094. "思维网格",
  3095. $$("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 }), {
  3096. "id": "mindNetwork",
  3097. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3098. "onresize": function() {}
  3099. }, {
  3100. closecallback: function() {}
  3101. }, { "style": { "height": "36px" } }).form; //创建窗体
  3102. _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); } }
  3103. break;
  3104. case "studentClassRoom": //好友打开
  3105. _formdiv = new U.UF.UI.form(
  3106. "实时课堂",
  3107. $$("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 }), {
  3108. "id": "studentClassRoom",
  3109. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3110. "onresize": function() {}
  3111. }, {
  3112. closecallback: function() {}
  3113. }, { "style": { "height": "36px" } }).form; //创建窗体
  3114. _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); } }
  3115. setTimeout(() => {
  3116. U.UF.F.windowZooming(_formdiv)
  3117. }, 0);
  3118. break;
  3119. }
  3120. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3121. switch (str) {
  3122. case "studnetProject": //好友打开
  3123. _formdiv = new U.UF.UI.form(
  3124. "我的项目",
  3125. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3126. "id": "studnetProject",
  3127. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3128. "onresize": function() {}
  3129. }, {
  3130. closecallback: function() {}
  3131. }, { "style": { "height": "36px" } }).form; //创建窗体
  3132. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3133. break;
  3134. case "studentEvaluate": //好友打开
  3135. _formdiv = new U.UF.UI.form(
  3136. "我的评价",
  3137. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3138. "id": "studentEvaluate",
  3139. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3140. "onresize": function() {}
  3141. }, {
  3142. closecallback: function() {}
  3143. }, { "style": { "height": "36px" } }).form; //创建窗体
  3144. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3145. break;
  3146. case "my":
  3147. _formdiv = new U.UF.UI.form(
  3148. "我的资料",
  3149. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3150. "id": "my",
  3151. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3152. "onresize": function() {}
  3153. }, {
  3154. closecallback: function() {}
  3155. }, { "style": { "height": "36px" } }).form; //创建窗体
  3156. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3157. break;
  3158. case "program":
  3159. _formdiv = new U.UF.UI.form(
  3160. "编程平台",
  3161. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3162. "id": "program",
  3163. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3164. "onresize": function() {}
  3165. }, {
  3166. closecallback: function() {}
  3167. }, { "style": { "height": "36px" } }).form; //创建窗体
  3168. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3169. break;
  3170. case "library":
  3171. _formdiv = new U.UF.UI.form(
  3172. "素材库",
  3173. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3174. "id": "library",
  3175. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3176. "onresize": function() {}
  3177. }, {
  3178. closecallback: function() {}
  3179. }, { "style": { "height": "36px" } }).form; //创建窗体
  3180. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3181. break;
  3182. case "whiteboard":
  3183. _formdiv = new U.UF.UI.form(
  3184. "电子白板",
  3185. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3186. "id": "whiteboard",
  3187. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3188. "onresize": function() {}
  3189. }, {
  3190. closecallback: function() {}
  3191. }, { "style": { "height": "36px" } }).form; //创建窗体
  3192. _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); } }
  3193. break;
  3194. case "investigation":
  3195. _formdiv = new U.UF.UI.form(
  3196. "问卷调查",
  3197. $$("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 }), {
  3198. "id": "investigation",
  3199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3200. "onresize": function() {}
  3201. }, {
  3202. closecallback: function() {}
  3203. }, { "style": { "height": "36px" } }).form; //创建窗体
  3204. _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); } }
  3205. break;
  3206. case "note":
  3207. _formdiv = new U.UF.UI.form(
  3208. "便签分类",
  3209. $$("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 }), {
  3210. "id": "note",
  3211. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3212. "onresize": function() {}
  3213. }, {
  3214. closecallback: function() {}
  3215. }, { "style": { "height": "36px" } }).form; //创建窗体
  3216. _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); } }
  3217. break;
  3218. // case "score":
  3219. // _formdiv = new U.UF.UI.form(
  3220. // "量规评分",
  3221. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3222. // "id": "score",
  3223. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3224. // "onresize": function() {}
  3225. // }, {
  3226. // closecallback: function() {}
  3227. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3228. // _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); } }
  3229. // break;
  3230. case "mind":
  3231. _formdiv = new U.UF.UI.form(
  3232. "思维导图",
  3233. $$("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"
  3234. "id": "mind",
  3235. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3236. "onresize": function() {}
  3237. }, {
  3238. closecallback: function() {}
  3239. }, { "style": { "height": "36px" } }).form; //创建窗体
  3240. _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); } }
  3241. break;
  3242. case "doc":
  3243. // U.MD.D.I.isRoom();
  3244. _formdiv = new U.UF.UI.form(
  3245. "协同文档",
  3246. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3247. "id": "doc",
  3248. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function() {}
  3250. }, {
  3251. closecallback: function() {}
  3252. }, { "style": { "height": "36px" } }).form; //创建窗体
  3253. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3254. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3255. })
  3256. _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); } }
  3257. break;
  3258. case "train": //好友打开
  3259. _formdiv = new U.UF.UI.form(
  3260. "训练平台",
  3261. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3262. "id": "train",
  3263. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3264. "onresize": function() {}
  3265. }, {
  3266. closecallback: function() {}
  3267. }, { "style": { "height": "36px" } }).form; //创建窗体
  3268. _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); } }
  3269. break;
  3270. case "studentStudy":
  3271. _formdiv = new U.UF.UI.form(
  3272. "Course Library",
  3273. $$("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
  3274. "id": "studentStudy",
  3275. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3276. "onresize": function() {}
  3277. }, {
  3278. closecallback: function() {}
  3279. }, { "style": { "height": "36px" } }).form; //创建窗体
  3280. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3281. break;
  3282. case "mindNetwork": //好友打开
  3283. _formdiv = new U.UF.UI.form(
  3284. "思维网格",
  3285. $$("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 }), {
  3286. "id": "mindNetwork",
  3287. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3288. "onresize": function() {}
  3289. }, {
  3290. closecallback: function() {}
  3291. }, { "style": { "height": "36px" } }).form; //创建窗体
  3292. _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); } }
  3293. break;
  3294. case "studentClassRoom": //好友打开
  3295. _formdiv = new U.UF.UI.form(
  3296. "实时课堂",
  3297. $$("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 }), {
  3298. "id": "studentClassRoom",
  3299. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3300. "onresize": function() {}
  3301. }, {
  3302. closecallback: function() {}
  3303. }, { "style": { "height": "36px" } }).form; //创建窗体
  3304. _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); } }
  3305. setTimeout(() => {
  3306. U.UF.F.windowZooming(_formdiv)
  3307. }, 0);
  3308. break;
  3309. }
  3310. } else if (_type == 2 && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3311. switch (str) {
  3312. case "studentStudy":
  3313. _formdiv = new U.UF.UI.form(
  3314. "Course Library",
  3315. $$("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
  3316. "id": "studentStudy",
  3317. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3318. "onresize": function() {}
  3319. }, {
  3320. closecallback: function() {}
  3321. }, { "style": { "height": "36px" } }).form; //创建窗体
  3322. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3323. break;
  3324. }
  3325. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3326. //选择应用处理
  3327. switch (str) {
  3328. case "project": //好友打开
  3329. _formdiv = new U.UF.UI.form(
  3330. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning",
  3331. $$("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 }), {
  3332. "id": "project",
  3333. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3334. "onresize": function() {}
  3335. }, {
  3336. closecallback: function() {}
  3337. }, { "style": { "height": "36px" } }).form; //创建窗体
  3338. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3339. break;
  3340. case "student":
  3341. _formdiv = new U.UF.UI.form(
  3342. "Students Management",
  3343. $$("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 }), {
  3344. "id": "student",
  3345. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3346. "onresize": function() {}
  3347. }, {
  3348. closecallback: function() {}
  3349. }, { "style": { "height": "36px" } }).form; //创建窗体
  3350. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3351. break;
  3352. case "evaluate":
  3353. _formdiv = new U.UF.UI.form(
  3354. "Course Assessment",
  3355. $$("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 }), {
  3356. "id": "evaluate",
  3357. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3358. "onresize": function() {}
  3359. }, {
  3360. closecallback: function() {}
  3361. }, { "style": { "height": "36px" } }).form; //创建窗体
  3362. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3363. break;
  3364. case "sys":
  3365. _formdiv = new U.UF.UI.form(
  3366. "目标管理",
  3367. $$("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 }), {
  3368. "id": "sys",
  3369. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3370. "onresize": function() {}
  3371. }, {
  3372. closecallback: function() {}
  3373. }, { "style": { "height": "36px" } }).form; //创建窗体
  3374. _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); } }
  3375. break;
  3376. case "courseDesign":
  3377. _formdiv = new U.UF.UI.form(
  3378. "项目设计",
  3379. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3380. "id": "courseDesign",
  3381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function() {}
  3383. }, {
  3384. closecallback: function() {}
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. _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); } }
  3387. break;
  3388. case "program":
  3389. _formdiv = new U.UF.UI.form(
  3390. "编程平台",
  3391. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3392. "id": "program",
  3393. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function() {}
  3395. }, {
  3396. closecallback: function() {}
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3399. break;
  3400. case "class":
  3401. _formdiv = new U.UF.UI.form(
  3402. "班级管理",
  3403. $$("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 }), {
  3404. "id": "class",
  3405. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3406. "onresize": function() {}
  3407. }, {
  3408. closecallback: function() {}
  3409. }, { "style": { "height": "36px" } }).form; //创建窗体
  3410. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3411. break;
  3412. case "Grade":
  3413. _formdiv = new U.UF.UI.form(
  3414. "年级管理",
  3415. $$("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 }), {
  3416. "id": "Grade",
  3417. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3418. "onresize": function() {}
  3419. }, {
  3420. closecallback: function() {}
  3421. }, { "style": { "height": "36px" } }).form; //创建窗体
  3422. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3423. break;
  3424. case "teacherOffice":
  3425. _formdiv = new U.UF.UI.form(
  3426. "Teachers Management",
  3427. $$("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 }), {
  3428. "id": "teacherOffice",
  3429. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3430. "onresize": function() {}
  3431. }, {
  3432. closecallback: function() {}
  3433. }, { "style": { "height": "36px" } }).form; //创建窗体
  3434. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3435. break;
  3436. case "my":
  3437. _formdiv = new U.UF.UI.form(
  3438. "我的资料",
  3439. $$("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 }), {
  3440. "id": "my",
  3441. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3442. "onresize": function() {}
  3443. }, {
  3444. closecallback: function() {}
  3445. }, { "style": { "height": "36px" } }).form; //创建窗体
  3446. _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); } }
  3447. break;
  3448. case "notice":
  3449. _formdiv = new U.UF.UI.form(
  3450. "通知公告",
  3451. $$("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 }), {
  3452. "id": "notice",
  3453. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3454. "onresize": function() {}
  3455. }, {
  3456. closecallback: function() {}
  3457. }, { "style": { "height": "36px" } }).form; //创建窗体
  3458. _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); } }
  3459. break;
  3460. case "library":
  3461. _formdiv = new U.UF.UI.form(
  3462. "素材库",
  3463. $$("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 }), {
  3464. "id": "library",
  3465. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3466. "onresize": function() {}
  3467. }, {
  3468. closecallback: function() {}
  3469. }, { "style": { "height": "36px" } }).form; //创建窗体
  3470. _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); } }
  3471. break;
  3472. case "whiteboard":
  3473. _formdiv = new U.UF.UI.form(
  3474. "电子白板",
  3475. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3476. "id": "whiteboard",
  3477. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3478. "onresize": function() {}
  3479. }, {
  3480. closecallback: function() {}
  3481. }, { "style": { "height": "36px" } }).form; //创建窗体
  3482. _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); } }
  3483. break;
  3484. case "investigation":
  3485. _formdiv = new U.UF.UI.form(
  3486. "问卷调查",
  3487. $$("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 }), {
  3488. "id": "investigation",
  3489. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3490. "onresize": function() {}
  3491. }, {
  3492. closecallback: function() {}
  3493. }, { "style": { "height": "36px" } }).form; //创建窗体
  3494. _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); } }
  3495. break;
  3496. case "note":
  3497. _formdiv = new U.UF.UI.form(
  3498. "便签分类",
  3499. $$("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 }), {
  3500. "id": "note",
  3501. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3502. "onresize": function() {}
  3503. }, {
  3504. closecallback: function() {}
  3505. }, { "style": { "height": "36px" } }).form; //创建窗体
  3506. _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); } }
  3507. break;
  3508. // case "score":
  3509. // _formdiv = new U.UF.UI.form(
  3510. // "量规评分",
  3511. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3512. // "id": "score",
  3513. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3514. // "onresize": function() {}
  3515. // }, {
  3516. // closecallback: function() {}
  3517. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3518. // _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); } }
  3519. // break;
  3520. case "mind":
  3521. _formdiv = new U.UF.UI.form(
  3522. "思维导图",
  3523. $$("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"
  3524. "id": "mind",
  3525. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3526. "onresize": function() {}
  3527. }, {
  3528. closecallback: function() {}
  3529. }, { "style": { "height": "36px" } }).form; //创建窗体
  3530. _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); } }
  3531. break;
  3532. case "doc":
  3533. // U.MD.D.I.isRoom();
  3534. _formdiv = new U.UF.UI.form(
  3535. "协同文档",
  3536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3537. "id": "doc",
  3538. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3539. "onresize": function() {}
  3540. }, {
  3541. closecallback: function() {}
  3542. }, { "style": { "height": "36px" } }).form; //创建窗体
  3543. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3544. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3545. })
  3546. _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); } }
  3547. break;
  3548. case "study":
  3549. _formdiv = new U.UF.UI.form(
  3550. "Course Library",
  3551. $$("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
  3552. "id": "study",
  3553. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3559. break;
  3560. case "mindNetwork": //好友打开
  3561. _formdiv = new U.UF.UI.form(
  3562. "思维网格",
  3563. $$("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 }), {
  3564. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3571. break;
  3572. case "train": //好友打开
  3573. _formdiv = new U.UF.UI.form(
  3574. "训练平台",
  3575. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3576. "id": "mindNetwork",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3583. break;
  3584. case "teacherClassRoom": //好友打开
  3585. _formdiv = new U.UF.UI.form(
  3586. "实时课堂",
  3587. $$("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 }), {
  3588. "id": "teacherClassRoom",
  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/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3595. setTimeout(() => {
  3596. U.UF.F.windowZooming(_formdiv)
  3597. }, 0);
  3598. break;
  3599. }
  3600. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3601. switch (str) {
  3602. case "project": //好友打开
  3603. _formdiv = new U.UF.UI.form(
  3604. "Course Planning",
  3605. $$("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 }), {
  3606. "id": "project",
  3607. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3608. "onresize": function() {}
  3609. }, {
  3610. closecallback: function() {}
  3611. }, { "style": { "height": "36px" } }).form; //创建窗体
  3612. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3613. break;
  3614. case "evaluate":
  3615. _formdiv = new U.UF.UI.form(
  3616. "Course Assessment",
  3617. $$("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 }), {
  3618. "id": "evaluate",
  3619. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3620. "onresize": function() {}
  3621. }, {
  3622. closecallback: function() {}
  3623. }, { "style": { "height": "36px" } }).form; //创建窗体
  3624. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3625. break;
  3626. case "notice":
  3627. _formdiv = new U.UF.UI.form(
  3628. "通知公告",
  3629. $$("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 }), {
  3630. "id": "notice",
  3631. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3632. "onresize": function() {}
  3633. }, {
  3634. closecallback: function() {}
  3635. }, { "style": { "height": "36px" } }).form; //创建窗体
  3636. _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); } }
  3637. break;
  3638. case "stuLibrary":
  3639. _formdiv = new U.UF.UI.form(
  3640. "学习资料",
  3641. $$("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 }), {
  3642. "id": "stuLibrary",
  3643. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3644. "onresize": function() {}
  3645. }, {
  3646. closecallback: function() {}
  3647. }, { "style": { "height": "36px" } }).form; //创建窗体
  3648. _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); } }
  3649. break;
  3650. case "program":
  3651. _formdiv = new U.UF.UI.form(
  3652. "编程平台",
  3653. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3654. "id": "program",
  3655. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3656. "onresize": function() {}
  3657. }, {
  3658. closecallback: function() {}
  3659. }, { "style": { "height": "36px" } }).form; //创建窗体
  3660. _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); } }
  3661. break;
  3662. case "whiteboard":
  3663. _formdiv = new U.UF.UI.form(
  3664. "电子白板",
  3665. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3666. "id": "whiteboard",
  3667. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3668. "onresize": function() {}
  3669. }, {
  3670. closecallback: function() {}
  3671. }, { "style": { "height": "36px" } }).form; //创建窗体
  3672. _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); } }
  3673. break;
  3674. case "investigation":
  3675. _formdiv = new U.UF.UI.form(
  3676. "问卷调查",
  3677. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3678. "id": "investigation",
  3679. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3680. "onresize": function() {}
  3681. }, {
  3682. closecallback: function() {}
  3683. }, { "style": { "height": "36px" } }).form; //创建窗体
  3684. _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); } }
  3685. break;
  3686. case "mind":
  3687. _formdiv = new U.UF.UI.form(
  3688. "思维导图",
  3689. $$("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"
  3690. "id": "mind",
  3691. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3692. "onresize": function() {}
  3693. }, {
  3694. closecallback: function() {}
  3695. }, { "style": { "height": "36px" } }).form; //创建窗体
  3696. _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); } }
  3697. break;
  3698. case "doc":
  3699. // U.MD.D.I.isRoom();
  3700. _formdiv = new U.UF.UI.form(
  3701. "协同文档",
  3702. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3703. "id": "doc",
  3704. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3705. "onresize": function() {}
  3706. }, {
  3707. closecallback: function() {}
  3708. }, { "style": { "height": "36px" } }).form; //创建窗体
  3709. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3710. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3711. })
  3712. _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); } }
  3713. break;
  3714. case "study":
  3715. _formdiv = new U.UF.UI.form(
  3716. "Course Library",
  3717. $$("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
  3718. "id": "study",
  3719. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3725. break;
  3726. case "mindNetwork": //好友打开
  3727. _formdiv = new U.UF.UI.form(
  3728. "思维网格",
  3729. $$("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 }), {
  3730. "id": "mindNetwork",
  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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3737. break;
  3738. case "train": //好友打开
  3739. _formdiv = new U.UF.UI.form(
  3740. "训练平台",
  3741. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3742. "id": "train",
  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/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3749. break;
  3750. case "sys":
  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/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3754. "id": "sys",
  3755. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3761. break;
  3762. case "courseDesign":
  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": "/course-design-vue" }), {
  3766. "id": "courseDesign",
  3767. "style": { "width": "90%", "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/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3773. break;
  3774. }
  3775. } else if ((_type == 1 || _type == 4) && _org == "777559d2-7239-11ee-b98c-005056b86db5") {
  3776. switch (str) {
  3777. case "project": //好友打开
  3778. _formdiv = new U.UF.UI.form(
  3779. "Course Planning",
  3780. $$("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 }), {
  3781. "id": "project",
  3782. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3783. "onresize": function() {}
  3784. }, {
  3785. closecallback: function() {}
  3786. }, { "style": { "height": "36px" } }).form; //创建窗体
  3787. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3788. break;
  3789. case "study":
  3790. _formdiv = new U.UF.UI.form(
  3791. "Course Library",
  3792. $$("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
  3793. "id": "study",
  3794. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3795. "onresize": function() {}
  3796. }, {
  3797. closecallback: function() {}
  3798. }, { "style": { "height": "36px" } }).form; //创建窗体
  3799. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3800. break;
  3801. case "student":
  3802. _formdiv = new U.UF.UI.form(
  3803. "Students Management",
  3804. $$("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 }), {
  3805. "id": "student",
  3806. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function() {}
  3808. }, {
  3809. closecallback: function() {}
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3812. break;
  3813. case "evaluate":
  3814. _formdiv = new U.UF.UI.form(
  3815. "Course Assessment",
  3816. $$("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 }), {
  3817. "id": "evaluate",
  3818. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3819. "onresize": function() {}
  3820. }, {
  3821. closecallback: function() {}
  3822. }, { "style": { "height": "36px" } }).form; //创建窗体
  3823. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3824. break;
  3825. case "studentCourseS": //Project Planning 老师
  3826. _formdiv = new U.UF.UI.form(
  3827. "Project Planning",
  3828. $$("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 }), {
  3829. "id": "studentCourseS",
  3830. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3831. "onresize": function() {}
  3832. }, {
  3833. closecallback: function() {}
  3834. }, { "style": { "height": "36px" } }).form; //创建窗体
  3835. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3836. break;
  3837. case "studentIndex": //Project Library
  3838. _formdiv = new U.UF.UI.form(
  3839. "Project Library",
  3840. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  3841. "id": "studentIndex",
  3842. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3843. "onresize": function() {}
  3844. }, {
  3845. closecallback: function() {}
  3846. }, { "style": { "height": "36px" } }).form; //创建窗体
  3847. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3848. break;
  3849. case "teacherOffice":
  3850. _formdiv = new U.UF.UI.form(
  3851. "Teachers Management",
  3852. $$("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 }), {
  3853. "id": "teacherOffice",
  3854. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3855. "onresize": function() {}
  3856. }, {
  3857. closecallback: function() {}
  3858. }, { "style": { "height": "36px" } }).form; //创建窗体
  3859. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "Teachers Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3860. break;
  3861. case "learnAna": //好友打开
  3862. _formdiv = new U.UF.UI.form(
  3863. "Learning Analytics",
  3864. $$("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 }), {
  3865. "id": "learnAna",
  3866. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3867. "onresize": function() {}
  3868. }, {
  3869. closecallback: function() {}
  3870. }, { "style": { "height": "36px" } }).form; //创建窗体
  3871. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3872. break;
  3873. case "AIprogram2": //AI Chat
  3874. _formdiv = new U.UF.UI.form(
  3875. "AI Chat",
  3876. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3877. "id": "AIprogram2",
  3878. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3879. "onresize": function() {}
  3880. }, {
  3881. closecallback: function() {}
  3882. }, { "style": { "height": "36px" } }).form; //创建窗体
  3883. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3884. break;
  3885. }
  3886. } else if (!_type) {
  3887. switch (str) {
  3888. case "my":
  3889. _formdiv = new U.UF.UI.form(
  3890. "我的资料",
  3891. $$("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 }), {
  3892. "id": "my",
  3893. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3894. "onresize": function() {}
  3895. }, {
  3896. closecallback: function() {}
  3897. }, { "style": { "height": "36px" } }).form; //创建窗体
  3898. _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); } }
  3899. break;
  3900. }
  3901. }
  3902. switch (str) {
  3903. // AIprogram2 AI Chat aihub.cocorobo.cn
  3904. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3905. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3906. case "formulaEdi": //公式编辑
  3907. _formdiv = new U.UF.UI.form(
  3908. "公式编辑",
  3909. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3910. "id": "formulaEdi",
  3911. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3912. "onresize": function() {}
  3913. }, {
  3914. closecallback: function() {}
  3915. }, { "style": { "height": "36px" } }).form; //创建窗体
  3916. _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); } }
  3917. break;
  3918. case "molStr": //分子结构
  3919. _formdiv = new U.UF.UI.form(
  3920. "分子结构",
  3921. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3922. "id": "molStr",
  3923. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3924. "onresize": function() {}
  3925. }, {
  3926. closecallback: function() {}
  3927. }, { "style": { "height": "36px" } }).form; //创建窗体
  3928. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3929. break;
  3930. case "timeAxis": //时间轴
  3931. _formdiv = new U.UF.UI.form(
  3932. "时间轴",
  3933. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3934. "id": "timeAxis",
  3935. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3936. "onresize": function() {}
  3937. }, {
  3938. closecallback: function() {}
  3939. }, { "style": { "height": "36px" } }).form; //创建窗体
  3940. _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); } }
  3941. break;
  3942. case "AIprogram2": //AI Chat
  3943. _formdiv = new U.UF.UI.form(
  3944. "AI Chat",
  3945. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3946. "id": "AIprogram2",
  3947. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3948. "onresize": function() {}
  3949. }, {
  3950. closecallback: function() {}
  3951. }, { "style": { "height": "36px" } }).form; //创建窗体
  3952. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Chat", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3953. break;
  3954. case "Pythonprogram": //python编程
  3955. _formdiv = new U.UF.UI.form(
  3956. "Python编程",
  3957. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3958. "id": "Pythonprogram",
  3959. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3960. "onresize": function() {}
  3961. }, {
  3962. closecallback: function() {}
  3963. }, { "style": { "height": "36px" } }).form; //创建窗体
  3964. _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); } }
  3965. break;
  3966. case "AIprogram": //ai编程
  3967. _formdiv = new U.UF.UI.form(
  3968. "AI编程平台",
  3969. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3970. "id": "AIprogram",
  3971. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3972. "onresize": function() {}
  3973. }, {
  3974. closecallback: function() {}
  3975. }, { "style": { "height": "36px" } }).form; //创建窗体
  3976. _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); } }
  3977. break;
  3978. case "CocoPi": //CocoPi
  3979. _formdiv = new U.UF.UI.form(
  3980. "CocoPi",
  3981. $$("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" }), {
  3982. "id": "CocoPi",
  3983. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3984. "onresize": function() {}
  3985. }, {
  3986. closecallback: function() {}
  3987. }, { "style": { "height": "36px" } }).form; //创建窗体
  3988. _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); } }
  3989. break;
  3990. case "Wood": //Wood
  3991. _formdiv = new U.UF.UI.form(
  3992. "海龟编程",
  3993. $$("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/" }), {
  3994. "id": "Wood",
  3995. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3996. "onresize": function() {}
  3997. }, {
  3998. closecallback: function() {}
  3999. }, { "style": { "height": "36px" } }).form; //创建窗体
  4000. _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); } }
  4001. break;
  4002. case "car": //模拟驾驶
  4003. _formdiv = new U.UF.UI.form(
  4004. "模拟驾驶",
  4005. $$("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/" }), {
  4006. "id": "car",
  4007. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4008. "onresize": function() {}
  4009. }, {
  4010. closecallback: function() {}
  4011. }, { "style": { "height": "36px" } }).form; //创建窗体
  4012. _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); } }
  4013. break;
  4014. case "lineSearch": //路径搜索
  4015. _formdiv = new U.UF.UI.form(
  4016. "路径搜索",
  4017. $$("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/" }), {
  4018. "id": "lineSearch",
  4019. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4020. "onresize": function() {}
  4021. }, {
  4022. closecallback: function() {}
  4023. }, { "style": { "height": "36px" } }).form; //创建窗体
  4024. _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); } }
  4025. break;
  4026. case "deepLearning": //深度学习
  4027. _formdiv = new U.UF.UI.form(
  4028. "深度学习",
  4029. $$("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/#" }), {
  4030. "id": "deepLearning",
  4031. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4032. "onresize": function() {}
  4033. }, {
  4034. closecallback: function() {}
  4035. }, { "style": { "height": "36px" } }).form; //创建窗体
  4036. _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); } }
  4037. break;
  4038. case "allHistory": //深度学习
  4039. _formdiv = new U.UF.UI.form(
  4040. "全历史",
  4041. $$("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/" }), {
  4042. "id": "allHistory",
  4043. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4044. "onresize": function() {}
  4045. }, {
  4046. closecallback: function() {}
  4047. }, { "style": { "height": "36px" } }).form; //创建窗体
  4048. _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); } }
  4049. break;
  4050. case "chatPDF": //ai编程
  4051. _formdiv = new U.UF.UI.form(
  4052. "chatPDF",
  4053. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4054. "id": "chatPDF",
  4055. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4056. "onresize": function() {}
  4057. }, {
  4058. closecallback: function() {}
  4059. }, { "style": { "height": "36px" } }).form; //创建窗体
  4060. _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); } }
  4061. break;
  4062. case "resources": //国家教育
  4063. _formdiv = new U.UF.UI.form(
  4064. "国家教育",
  4065. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4066. "id": "resources",
  4067. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4068. "onresize": function() {}
  4069. }, {
  4070. closecallback: function() {}
  4071. }, { "style": { "height": "36px" } }).form; //创建窗体
  4072. _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); } }
  4073. break;
  4074. case "codeEdit": //源码编辑
  4075. _formdiv = new U.UF.UI.form(
  4076. "源码编辑",
  4077. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4078. "id": "codeEdit",
  4079. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4080. "onresize": function() {}
  4081. }, {
  4082. closecallback: function() {}
  4083. }, { "style": { "height": "36px" } }).form; //创建窗体
  4084. _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); } }
  4085. break; //
  4086. case "MindMap": //MindMap
  4087. _formdiv = new U.UF.UI.form(
  4088. "MindMap",
  4089. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4090. "id": "MindMap",
  4091. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4092. "onresize": function() {}
  4093. }, {
  4094. closecallback: function() {}
  4095. }, { "style": { "height": "36px" } }).form; //创建窗体
  4096. _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); } }
  4097. break;
  4098. case "netWorkPanel": //netWorkPanel
  4099. _formdiv = new U.UF.UI.form(
  4100. "netWorkPanel",
  4101. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4102. "id": "netWorkPanel",
  4103. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4104. "onresize": function() {}
  4105. }, {
  4106. closecallback: function() {}
  4107. }, { "style": { "height": "36px" } }).form; //创建窗体
  4108. _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); } }
  4109. break;
  4110. case "GeoGebra": //GeoGebra
  4111. _formdiv = new U.UF.UI.form(
  4112. "GeoGebra",
  4113. $$("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" }), {
  4114. "id": "GeoGebra",
  4115. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4116. "onresize": function() {}
  4117. }, {
  4118. closecallback: function() {}
  4119. }, { "style": { "height": "36px" } }).form; //创建窗体
  4120. _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); } }
  4121. break;
  4122. case "translation": //翻译
  4123. _formdiv = new U.UF.UI.form(
  4124. "翻译",
  4125. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4126. "id": "translation",
  4127. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4128. "onresize": function() {}
  4129. }, {
  4130. closecallback: function() {}
  4131. }, { "style": { "height": "36px" } }).form; //创建窗体
  4132. _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); } }
  4133. break;
  4134. case "mohe": //魔盒
  4135. _formdiv = new U.UF.UI.form(
  4136. "魔盒识字",
  4137. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4138. "id": "mohe",
  4139. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4140. "onresize": function() {}
  4141. }, {
  4142. closecallback: function() {}
  4143. }, { "style": { "height": "36px" } }).form; //创建窗体
  4144. _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); } }
  4145. break;
  4146. case "24game": //24点
  4147. _formdiv = new U.UF.UI.form(
  4148. "24点",
  4149. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4150. "id": "24game",
  4151. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4152. "onresize": function() {}
  4153. }, {
  4154. closecallback: function() {}
  4155. }, { "style": { "height": "36px" } }).form; //创建窗体
  4156. _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); } }
  4157. break;
  4158. case "case":
  4159. _formdiv = new U.UF.UI.form(
  4160. "课程进展",
  4161. $$("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 }), {
  4162. "id": "case",
  4163. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4164. "onresize": function() {}
  4165. }, {
  4166. closecallback: function() {}
  4167. }, { "style": { "height": "36px" } }).form; //创建窗体
  4168. _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); } }
  4169. break;
  4170. case "snf":
  4171. _formdiv = new U.UF.UI.form(
  4172. "赛诺梵",
  4173. $$("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" }), {
  4174. "id": "snf",
  4175. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4176. "onresize": function() {}
  4177. }, {
  4178. closecallback: function() {}
  4179. }, { "style": { "height": "36px" } }).form; //创建窗体
  4180. _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); } }
  4181. break;
  4182. case "hanFamily":
  4183. _formdiv = new U.UF.UI.form(
  4184. "汉字家族",
  4185. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4186. "id": "hanFamily",
  4187. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4188. "onresize": function() {}
  4189. }, {
  4190. closecallback: function() {}
  4191. }, { "style": { "height": "36px" } }).form; //创建窗体
  4192. _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); } }
  4193. break;
  4194. case "hanClassics":
  4195. _formdiv = new U.UF.UI.form(
  4196. "国学经典",
  4197. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4198. "id": "hanClassics",
  4199. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4200. "onresize": function() {}
  4201. }, {
  4202. closecallback: function() {}
  4203. }, { "style": { "height": "36px" } }).form; //创建窗体
  4204. _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); } }
  4205. break;
  4206. case "hanTraining":
  4207. _formdiv = new U.UF.UI.form(
  4208. "笔画训练",
  4209. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4210. "id": "hanTraining",
  4211. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4212. "onresize": function() {}
  4213. }, {
  4214. closecallback: function() {}
  4215. }, { "style": { "height": "36px" } }).form; //创建窗体
  4216. _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); } }
  4217. break;
  4218. case "hanClass":
  4219. _formdiv = new U.UF.UI.form(
  4220. "书法课堂",
  4221. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4222. "id": "hanClass",
  4223. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4224. "onresize": function() {}
  4225. }, {
  4226. closecallback: function() {}
  4227. }, { "style": { "height": "36px" } }).form; //创建窗体
  4228. _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); } }
  4229. break;
  4230. case "han":
  4231. _formdiv = new U.UF.UI.form(
  4232. "汉字宫",
  4233. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4234. "id": "han",
  4235. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4236. "onresize": function() {}
  4237. }, {
  4238. closecallback: function() {}
  4239. }, { "style": { "height": "36px" } }).form; //创建窗体
  4240. _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); } }
  4241. break;
  4242. case "projectGM": //Course Planning
  4243. _formdiv = new U.UF.UI.form(
  4244. "Course Planning",
  4245. $$("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 }), {
  4246. "id": "projectGM",
  4247. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4248. "onresize": function() {}
  4249. }, {
  4250. closecallback: function() {}
  4251. }, { "style": { "height": "36px" } }).form; //创建窗体
  4252. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "Course Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4253. break;
  4254. case "studyGM": //Course Library
  4255. _formdiv = new U.UF.UI.form(
  4256. "Course Library",
  4257. $$("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
  4258. "id": "study",
  4259. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4260. "onresize": function() {}
  4261. }, {
  4262. closecallback: function() {}
  4263. }, { "style": { "height": "36px" } }).form; //创建窗体
  4264. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "Course Library", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4265. break;
  4266. // studentGM
  4267. case "studentGM": //Students Management
  4268. _formdiv = new U.UF.UI.form(
  4269. "Students Management",
  4270. $$("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 }), {
  4271. "id": "studentGM",
  4272. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4273. "onresize": function() {}
  4274. }, {
  4275. closecallback: function() {}
  4276. }, { "style": { "height": "36px" } }).form; //创建窗体
  4277. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4278. break;
  4279. case "evaluateGM": //Course Assessment
  4280. _formdiv = new U.UF.UI.form(
  4281. "Course Assessment",
  4282. $$("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 }), {
  4283. "id": "evaluateGM",
  4284. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4285. "onresize": function() {}
  4286. }, {
  4287. closecallback: function() {}
  4288. }, { "style": { "height": "36px" } }).form; //创建窗体
  4289. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "Course Assessment", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4290. break;
  4291. // classGM
  4292. case "classGM": //班级管理
  4293. _formdiv = new U.UF.UI.form(
  4294. "班级管理",
  4295. $$("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 }), {
  4296. "id": "classGM",
  4297. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4298. "onresize": function() {}
  4299. }, {
  4300. closecallback: function() {}
  4301. }, { "style": { "height": "36px" } }).form; //创建窗体
  4302. _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); } }
  4303. break;
  4304. // dataGM
  4305. case "dataGM":
  4306. _formdiv = new U.UF.UI.form(
  4307. "我的资料",
  4308. $$("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 }), {
  4309. "id": "dataGM",
  4310. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4311. "onresize": function() {}
  4312. }, {
  4313. closecallback: function() {}
  4314. }, { "style": { "height": "36px" } }).form; //创建窗体
  4315. _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); } }
  4316. break;
  4317. // caseGM
  4318. case "caseGM": //课程进展
  4319. _formdiv = new U.UF.UI.form(
  4320. "课程进展",
  4321. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4322. "id": "caseGM",
  4323. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4324. "onresize": function() {}
  4325. }, {
  4326. closecallback: function() {}
  4327. }, { "style": { "height": "36px" } }).form; //创建窗体
  4328. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4329. break;
  4330. // meterialGM
  4331. case "meterialGM": //素材库
  4332. _formdiv = new U.UF.UI.form(
  4333. "素材库",
  4334. $$("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 }), {
  4335. "id": "meterialGM",
  4336. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4337. "onresize": function() {}
  4338. }, {
  4339. closecallback: function() {}
  4340. }, { "style": { "height": "36px" } }).form; //创建窗体
  4341. _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); } }
  4342. break;
  4343. // evaluateSGM
  4344. case "evaluateSGM": //我的评价
  4345. _formdiv = new U.UF.UI.form(
  4346. "我的评价",
  4347. $$("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 }), {
  4348. "id": "evaluateSGM",
  4349. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4350. "onresize": function() {}
  4351. }, {
  4352. closecallback: function() {}
  4353. }, { "style": { "height": "36px" } }).form; //创建窗体
  4354. _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); } }
  4355. break;
  4356. case "jupyter": //jupyter
  4357. _formdiv = new U.UF.UI.form(
  4358. "jupyter",
  4359. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4360. "id": "jupyter",
  4361. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4362. "onresize": function() {}
  4363. }, {
  4364. closecallback: function() {}
  4365. }, { "style": { "height": "36px" } }).form; //创建窗体
  4366. _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); } }
  4367. break;
  4368. case "number": //数字实验室
  4369. _formdiv = new U.UF.UI.form(
  4370. "数字实验室",
  4371. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4372. "id": "number",
  4373. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4374. "onresize": function() {}
  4375. }, {
  4376. closecallback: function() {}
  4377. }, { "style": { "height": "36px" } }).form; //创建窗体
  4378. _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); } }
  4379. break;
  4380. case "studentCourse": //Project Planning 学生
  4381. _formdiv = new U.UF.UI.form(
  4382. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4383. $$("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 }), {
  4384. "id": "studentCourse",
  4385. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4386. "onresize": function() {}
  4387. }, {
  4388. closecallback: function() {}
  4389. }, { "style": { "height": "36px" } }).form; //创建窗体
  4390. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4391. break;
  4392. case "studentCourseS": //Project Planning 老师
  4393. _formdiv = new U.UF.UI.form(
  4394. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "Project Planning",
  4395. $$("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 }), {
  4396. "id": "studentCourseS",
  4397. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4398. "onresize": function() {}
  4399. }, {
  4400. closecallback: function() {}
  4401. }, { "style": { "height": "36px" } }).form; //创建窗体
  4402. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4403. break;
  4404. case "studentIndex": //Project Library
  4405. _formdiv = new U.UF.UI.form(
  4406. "Project Library",
  4407. $$("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 }), {
  4408. "id": "studentIndex",
  4409. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4410. "onresize": function() {}
  4411. }, {
  4412. closecallback: function() {}
  4413. }, { "style": { "height": "36px" } }).form; //创建窗体
  4414. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "Project Planning", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4415. break;
  4416. case "CaseDesignS":
  4417. _formdiv = new U.UF.UI.form(
  4418. "项目进展",
  4419. $$("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 }), {
  4420. "id": "case",
  4421. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4422. "onresize": function() {}
  4423. }, {
  4424. closecallback: function() {}
  4425. }, { "style": { "height": "36px" } }).form; //创建窗体
  4426. _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); } }
  4427. break;
  4428. case "tcStudent": //腾讯学生管理
  4429. _formdiv = new U.UF.UI.form(
  4430. "Students Management",
  4431. $$("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 }), {
  4432. "id": "tcStudent",
  4433. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4434. "onresize": function() {}
  4435. }, {
  4436. closecallback: function() {}
  4437. }, { "style": { "height": "36px" } }).form; //创建窗体
  4438. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "Students Management", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4439. break;
  4440. case "tcSchool": //腾讯学校管理
  4441. _formdiv = new U.UF.UI.form(
  4442. "学校管理",
  4443. $$("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 }), {
  4444. "id": "tcSchool",
  4445. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4446. "onresize": function() {}
  4447. }, {
  4448. closecallback: function() {}
  4449. }, { "style": { "height": "36px" } }).form; //创建窗体
  4450. _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); } }
  4451. break;
  4452. case "tcTeacher": //腾讯学校管理
  4453. _formdiv = new U.UF.UI.form(
  4454. "教师管理",
  4455. $$("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 }), {
  4456. "id": "tcTeacher",
  4457. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4458. "onresize": function() {}
  4459. }, {
  4460. closecallback: function() {}
  4461. }, { "style": { "height": "36px" } }).form; //创建窗体
  4462. _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); } }
  4463. break;
  4464. case "tcData": //腾讯我的资料
  4465. _formdiv = new U.UF.UI.form(
  4466. "我的资料",
  4467. $$("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 }), {
  4468. "id": "tcData",
  4469. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4470. "onresize": function() {}
  4471. }, {
  4472. closecallback: function() {}
  4473. }, { "style": { "height": "36px" } }).form; //创建窗体
  4474. _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); } }
  4475. break;
  4476. case "tcNotice": //腾讯消息通知
  4477. _formdiv = new U.UF.UI.form(
  4478. "消息通知",
  4479. $$("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 }), {
  4480. "id": "tcNotice",
  4481. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4482. "onresize": function() {}
  4483. }, {
  4484. closecallback: function() {}
  4485. }, { "style": { "height": "36px" } }).form; //创建窗体
  4486. _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); } }
  4487. break;
  4488. case "myReport": //好友打开
  4489. _formdiv = new U.UF.UI.form(
  4490. "我的评价",
  4491. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4492. "id": "myReport",
  4493. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4494. "onresize": function() {}
  4495. }, {
  4496. closecallback: function() {}
  4497. }, { "style": { "height": "36px" } }).form; //创建窗体
  4498. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4499. break;
  4500. case "learnAna": //好友打开
  4501. _formdiv = new U.UF.UI.form(
  4502. "Learning Analytics",
  4503. $$("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 }), {
  4504. "id": "learnAna",
  4505. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4506. "onresize": function() {}
  4507. }, {
  4508. closecallback: function() {}
  4509. }, { "style": { "height": "36px" } }).form; //创建窗体
  4510. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "Learning Analytics", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4511. break;
  4512. case "AIChat": //AI共创
  4513. _formdiv = new U.UF.UI.form(
  4514. "AI共创",
  4515. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4516. "id": "AIChat",
  4517. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4518. "onresize": function() {}
  4519. }, {
  4520. istop: true,
  4521. closecallback: function() { $("#aichat_icon").remove(); },
  4522. narrowcallback: function() {
  4523. if (!$("#aichat_icon")[0]) {
  4524. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4525. }
  4526. },
  4527. }, { "style": { "height": "36px" } }).form; //创建窗体
  4528. _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); } }
  4529. break;
  4530. case "ainew": //AI共创
  4531. _formdiv = new U.UF.UI.form(
  4532. "AI协同",
  4533. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4534. "id": "ainew",
  4535. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4536. "onresize": function() {}
  4537. }, {
  4538. closecallback: function() {}
  4539. }, { "style": { "height": "36px" } }).form; //创建窗体
  4540. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4541. break;
  4542. case "futureClass": //AI共创
  4543. _formdiv = new U.UF.UI.form(
  4544. "CocoNote",
  4545. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), { //https://cscl.cocorobo.cn
  4546. "id": "synergyCourse",
  4547. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4548. "onresize": function() {}
  4549. }, {
  4550. closecallback: function() {
  4551. $("iframe", _formdiv)[0].contentWindow.loginout();
  4552. }
  4553. }, { "style": { "height": "36px" } }).form; //创建窗体
  4554. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "CocoNote", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4555. break;
  4556. case "aiagent": //ai agent
  4557. _formdiv = new U.UF.UI.form(
  4558. "AI Agent",
  4559. $$("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" }), {
  4560. "id": "AIAgent",
  4561. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4562. "onresize": function() {}
  4563. }, {
  4564. closecallback: function() {}
  4565. }, { "style": { "height": "36px" } }).form; //创建窗体
  4566. _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); } }
  4567. break;
  4568. case "dataBoard": //数据看板
  4569. _formdiv = new U.UF.UI.form(
  4570. "数据看板",
  4571. $$("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 }), {
  4572. "id": "dataBoard",
  4573. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4574. "onresize": function() {}
  4575. }, {
  4576. closecallback: function() {}
  4577. }, { "style": { "height": "36px" } }).form; //创建窗体
  4578. _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); } }
  4579. break;
  4580. case "dataBoardSies": //数据融合
  4581. _formdiv = new U.UF.UI.form(
  4582. "数据融合",
  4583. $$("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 }), {
  4584. "id": "dataBoardSies",
  4585. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4586. "onresize": function() {}
  4587. }, {
  4588. closecallback: function() {}
  4589. }, { "style": { "height": "36px" } }).form; //创建窗体
  4590. _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); } }
  4591. break;
  4592. case "dataBoardNew": //数据看板
  4593. _formdiv = new U.UF.UI.form(
  4594. "综合看板",
  4595. $$("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 }), {
  4596. "id": "dataBoardNew",
  4597. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4598. "onresize": function() {}
  4599. }, {
  4600. closecallback: function() {}
  4601. }, { "style": { "height": "36px" } }).form; //创建窗体
  4602. _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); } }
  4603. break;
  4604. case "AIAnalyse": //AI共创
  4605. _formdiv = new U.UF.UI.form(
  4606. "AI分析",
  4607. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4608. "id": "AIAnalyse",
  4609. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4610. "onresize": function() {}
  4611. }, {
  4612. closecallback: function() {}
  4613. }, { "style": { "height": "36px" } }).form; //创建窗体
  4614. _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); } }
  4615. break;
  4616. case "studioCourse": //AI共创
  4617. _formdiv = new U.UF.UI.form(
  4618. "工作管理",
  4619. $$("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 }), {
  4620. "id": "studioCourse",
  4621. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4622. "onresize": function() {}
  4623. }, {
  4624. closecallback: function() {}
  4625. }, { "style": { "height": "36px" } }).form; //创建窗体
  4626. _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); } }
  4627. break;
  4628. case "studioIndex": //AI共创
  4629. _formdiv = new U.UF.UI.form(
  4630. "工作中心",
  4631. $$("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 }), {
  4632. "id": "studioIndex",
  4633. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4634. "onresize": function() {}
  4635. }, {
  4636. closecallback: function() {}
  4637. }, { "style": { "height": "36px" } }).form; //创建窗体
  4638. _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); } }
  4639. break;
  4640. case "source":
  4641. _formdiv = new U.UF.UI.form(
  4642. "教学资源",
  4643. $$("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 }), {
  4644. "id": "source",
  4645. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4646. "onresize": function() {}
  4647. }, {
  4648. closecallback: function() {}
  4649. }, { "style": { "height": "36px" } }).form; //创建窗体
  4650. _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); } }
  4651. break;
  4652. case "testTeacher":
  4653. _formdiv = new U.UF.UI.form(
  4654. "评测管理",
  4655. $$("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 }), {
  4656. "id": "testTeacher",
  4657. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4658. "onresize": function() {}
  4659. }, {
  4660. closecallback: function() {}
  4661. }, { "style": { "height": "36px" } }).form; //创建窗体
  4662. _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); } }
  4663. break;
  4664. case "testStudent":
  4665. _formdiv = new U.UF.UI.form(
  4666. "评测中心",
  4667. $$("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 }), {
  4668. "id": "testStudent",
  4669. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4670. "onresize": function() {}
  4671. }, {
  4672. closecallback: function() {}
  4673. }, { "style": { "height": "36px" } }).form; //创建窗体
  4674. _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); } }
  4675. break;
  4676. }
  4677. //U.MD.D.I.openClick(str);
  4678. //如果有任务栏信息
  4679. if (_taskbar) {
  4680. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4681. }
  4682. }
  4683. // U.MD.D.I.openClick = function(str){
  4684. // var click = '';
  4685. // switch(str){
  4686. // case 'friend':
  4687. // click = '我的好友';
  4688. // break;
  4689. // case 'domain':
  4690. // click = '域名管理';
  4691. // break;
  4692. // case 'disk':
  4693. // click = '我的云盘';
  4694. // break;
  4695. // case 'word':
  4696. // click = 'Word';
  4697. // break;
  4698. // case 'excel':
  4699. // click = 'Execl';
  4700. // break;
  4701. // case 'txt':
  4702. // click = '文本文件';
  4703. // break;
  4704. // case 'lookupFriend':
  4705. // click = '查找好友';
  4706. // break;
  4707. // case 'ftp':
  4708. // click = 'FTP';
  4709. // break;
  4710. // case 'group':
  4711. // click = '群组';
  4712. // break;
  4713. // case 'set':
  4714. // click = '我的设置';
  4715. // break;
  4716. // case 'systemSet':
  4717. // click = '系统设置';
  4718. // break;
  4719. // case 'boomYun':
  4720. // click = '互联办公';
  4721. // break;
  4722. // case 'xz':
  4723. // click = '云端下载';
  4724. // break;
  4725. // case 'client':
  4726. // click = '有思浏览器';
  4727. // break;
  4728. // case 'backEndProgramming':
  4729. // click = '在线后台编程';
  4730. // break;
  4731. // case 'frontEndProgramming':
  4732. // click = '在线前端编程';
  4733. // break;
  4734. // default: break;
  4735. // }
  4736. // if(U.MD.D.I.Ip && click){
  4737. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4738. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4739. // })
  4740. // }
  4741. // }
  4742. /**
  4743. *函数作用:ajax简易函数,使用post格式
  4744. *@param url {data} 后台地址
  4745. *@param data {data} 参数json
  4746. *@param fn {data} 回调函数
  4747. *
  4748. */
  4749. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4750. // var xhr = new XMLHttpRequest();
  4751. // xhr.open("GET",url,true);
  4752. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4753. // xhr.onreadystatechange = function(){
  4754. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4755. // fn.call(this,xhr.responseText);
  4756. // }
  4757. // };
  4758. // xhr.send();
  4759. // }
  4760. /*判断是否是内网IP*/
  4761. // U.MD.D.I.isInnerIPFn = function(str){
  4762. // var curPageUrl = str;
  4763. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4764. // curPageUrl =curPageUrl.replace(reg1,'');
  4765. // // console.log('curPageUrl-1 '+curPageUrl);
  4766. // var reg2 = /\:+/g;//替换冒号为一点
  4767. // curPageUrl =curPageUrl.replace(reg2,'.');
  4768. // // console.log('curPageUrl-2 '+curPageUrl);
  4769. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4770. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4771. // if(curPageUrl[2] != '16'){
  4772. // return ipAddress;
  4773. // }else{
  4774. // return false;
  4775. // }
  4776. // }
  4777. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4778. // //compatibility for firefox and chrome
  4779. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4780. // var pc = new myPeerConnection({
  4781. // iceServers: []
  4782. // }),
  4783. // noop = function() {},
  4784. // localIPs = {},
  4785. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4786. // key;
  4787. // function iterateIP(ip) {
  4788. // if (!localIPs[ip]) onNewIP(ip);
  4789. // localIPs[ip] = true;
  4790. // }
  4791. // //create a bogus data channel
  4792. // pc.createDataChannel("");
  4793. // // create offer and set local description
  4794. // pc.createOffer().then(function(sdp) {
  4795. // sdp.sdp.split('\n').forEach(function(line) {
  4796. // if (line.indexOf('candidate') < 0) return;
  4797. // line.match(ipRegex).forEach(iterateIP);
  4798. // });
  4799. // pc.setLocalDescription(sdp, noop, noop);
  4800. // }).catch(function(reason) {
  4801. // // An error occurred, so handle the failure to connect
  4802. // });
  4803. // //sten for candidate events
  4804. // pc.onicecandidate = function(ice) {
  4805. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4806. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4807. // };
  4808. // }
  4809. // U.MD.D.I.getUserIpBool = function(callback){
  4810. // U.MD.D.I.getUserIP(function(ip){
  4811. // alert("Got IP! :" + ip);
  4812. // });
  4813. //}
  4814. //#endregion
  4815. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4816. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4817. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4818. _userinfo = US.userInfo, //登录用户信息
  4819. _userid = US.userInfo.userid //登录用户id
  4820. let _iframe;
  4821. let _cid = cid,
  4822. _stage = stage,
  4823. _task = task,
  4824. _tool = tool;
  4825. var _jie = $$("div", {
  4826. "style": {
  4827. "position": "absolute",
  4828. "bottom": "50px",
  4829. "right": "50px",
  4830. "zIndex": "9999",
  4831. "backgroundColor": "#2268bc",
  4832. "color": "#fff",
  4833. "padding": "12px 20px",
  4834. "cursor": "pointer",
  4835. "borderRadius": "4px",
  4836. },
  4837. "innerHTML": "提交作业"
  4838. })
  4839. let aTool = ''
  4840. let _loading = document.createElement('div')
  4841. _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;"
  4842. // _loading.id = "";
  4843. let _lchild = document.createElement('div')
  4844. let _limg = document.createElement('img')
  4845. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4846. _limg.style = "width: 26px;margin-right: 10px;"
  4847. _lchild.appendChild(_limg)
  4848. let _lspan = document.createElement('span')
  4849. _lspan.innerHTML = "上传中..."
  4850. _lchild.appendChild(_lspan)
  4851. _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%);"
  4852. _loading.appendChild(_lchild)
  4853. var _box = $$('div', {
  4854. "style": {
  4855. "position": "relative",
  4856. "width": "100%",
  4857. "height": "100%",
  4858. },
  4859. })
  4860. _box.appendChild(_loading)
  4861. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4862. switch (str) {
  4863. case "whiteboard":
  4864. aTool = 1;
  4865. _iframe = $$("iframe", {
  4866. "frameborder": "no",
  4867. "border": "0",
  4868. "scrolling ": "no",
  4869. "style": {
  4870. "cssText": "border:0;width:100%;height:100%"
  4871. },
  4872. "src": "https://iwb.cocorobo.cn/"
  4873. })
  4874. _box.appendChild(_iframe);
  4875. _box.appendChild(_jie);
  4876. _formdiv = new U.UF.UI.form(
  4877. "电子白板",
  4878. _box, {
  4879. "id": "whiteboard" + cid + stage + task + tool,
  4880. "style": {
  4881. "width": "90%",
  4882. "height": "90%",
  4883. "overflow": 'hidden'
  4884. },
  4885. "onresize": function() {}
  4886. }, {
  4887. closecallback: function() {}
  4888. }, {
  4889. "style": {
  4890. "height": "36px"
  4891. }
  4892. }).form; //创建窗体
  4893. _taskbar = {
  4894. "id": str + _formdiv.id,
  4895. "style": {
  4896. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4897. },
  4898. "name": "电子白板",
  4899. "forms": _formdiv,
  4900. "click": function() {
  4901. U.MD.D.I.openApplication(str, obj, info);
  4902. }
  4903. }
  4904. break;
  4905. case "mind":
  4906. aTool = 3;
  4907. _iframe = $$("iframe", {
  4908. "frameborder": "no",
  4909. "border": "0",
  4910. "scrolling ": "no",
  4911. "style": {
  4912. "cssText": "border:0;width:100%;height:100%"
  4913. },
  4914. "src": "/kityminder-editor/dist/index.html"
  4915. })
  4916. _box.appendChild(_iframe);
  4917. _box.appendChild(_jie);
  4918. _formdiv = new U.UF.UI.form(
  4919. "思维导图",
  4920. _box, { //"/jsmind/example/demo.html"
  4921. "id": "mind" + cid + stage + task + tool,
  4922. "style": {
  4923. "width": "90%",
  4924. "height": "90%",
  4925. "overflow": 'hidden'
  4926. },
  4927. "onresize": function() {}
  4928. }, {
  4929. closecallback: function() {}
  4930. }, {
  4931. "style": {
  4932. "height": "36px"
  4933. }
  4934. }).form; //创建窗体
  4935. _taskbar = {
  4936. "id": str + _formdiv.id,
  4937. "style": {
  4938. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4939. },
  4940. "name": "思维导图",
  4941. "forms": _formdiv,
  4942. "click": function() {
  4943. U.MD.D.I.openApplication(str, obj, info);
  4944. }
  4945. }
  4946. break;
  4947. case "MindMap":
  4948. aTool = 3;
  4949. _iframe = $$("iframe", {
  4950. "frameborder": "no",
  4951. "border": "0",
  4952. "scrolling ": "no",
  4953. "style": {
  4954. "cssText": "border:0;width:100%;height:100%"
  4955. },
  4956. "src": "//cloud.cocorobo.cn/mind/"
  4957. })
  4958. _box.appendChild(_iframe);
  4959. _box.appendChild(_jie);
  4960. _formdiv = new U.UF.UI.form(
  4961. "思维导图",
  4962. _box, { //"/jsmind/example/demo.html"
  4963. "id": "mind" + cid + stage + task + tool,
  4964. "style": {
  4965. "width": "90%",
  4966. "height": "90%",
  4967. "overflow": 'hidden'
  4968. },
  4969. "onresize": function() {}
  4970. }, {
  4971. closecallback: function() {}
  4972. }, {
  4973. "style": {
  4974. "height": "36px"
  4975. }
  4976. }).form; //创建窗体
  4977. _taskbar = {
  4978. "id": str + _formdiv.id,
  4979. "style": {
  4980. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4981. },
  4982. "name": "思维导图",
  4983. "forms": _formdiv,
  4984. "click": function() {
  4985. U.MD.D.I.openApplication(str, obj, info);
  4986. }
  4987. }
  4988. break;
  4989. case "doc":
  4990. aTool = 6;
  4991. _iframe = $$("iframe", {
  4992. "frameborder": "no",
  4993. "border": "0",
  4994. "scrolling ": "no",
  4995. "style": {
  4996. "cssText": "border:0;width:100%;height:100%"
  4997. },
  4998. "src": "/Office/Word/WordEditArea.htm"
  4999. })
  5000. _box.appendChild(_iframe);
  5001. _box.appendChild(_jie);
  5002. _formdiv = new U.UF.UI.form(
  5003. "协同文档",
  5004. _box, {
  5005. "id": "doc" + cid + stage + task + tool,
  5006. "style": {
  5007. "width": "90%",
  5008. "height": "90%",
  5009. "overflow": 'hidden'
  5010. },
  5011. "onresize": function() {}
  5012. }, {
  5013. closecallback: function() {}
  5014. }, {
  5015. "style": {
  5016. "height": "36px"
  5017. }
  5018. }).form; //创建窗体
  5019. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5020. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5021. })
  5022. _taskbar = {
  5023. "id": str + _formdiv.id,
  5024. "style": {
  5025. "backgroundImage": "url(/img/icon/doc.png)"
  5026. },
  5027. "name": "协同文档",
  5028. "forms": _formdiv,
  5029. "click": function() {
  5030. U.MD.D.I.openApplication(str, obj, info);
  5031. }
  5032. }
  5033. break;
  5034. case "mindNetwork": //好友打开
  5035. aTool = 7;
  5036. _iframe = $$("iframe", {
  5037. "webkitallowfullscreen": "",
  5038. "mozallowfullscreen": "",
  5039. "allowfullscreen": "",
  5040. "frameborder": "no",
  5041. "border": "0",
  5042. "scrolling ": "no",
  5043. "style": {
  5044. "cssText": "border:0; width:100%; height:100%;"
  5045. },
  5046. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5047. })
  5048. _box.appendChild(_iframe);
  5049. _box.appendChild(_jie);
  5050. _formdiv = new U.UF.UI.form(
  5051. "思维网格",
  5052. _box, {
  5053. "id": "mindNetwork" + cid + stage + task + tool,
  5054. "style": {
  5055. "width": "90%",
  5056. "height": "90%",
  5057. "overflow": 'hidden'
  5058. },
  5059. "onresize": function() {}
  5060. }, {
  5061. closecallback: function() {}
  5062. }, {
  5063. "style": {
  5064. "height": "36px"
  5065. }
  5066. }).form; //创建窗体
  5067. _taskbar = {
  5068. "id": str + _formdiv.id,
  5069. "style": {
  5070. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5071. },
  5072. "name": "思维网格",
  5073. "forms": _formdiv,
  5074. "click": function() {
  5075. U.MD.D.I.openApplication(str, obj, info);
  5076. }
  5077. }
  5078. break;
  5079. case "courseDesign":
  5080. _iframe = $$("iframe", {
  5081. "webkitallowfullscreen": "",
  5082. "mozallowfullscreen": "",
  5083. "allowfullscreen": "",
  5084. "frameborder": "no",
  5085. "border": "0",
  5086. "scrolling ": "no",
  5087. "style": {
  5088. "cssText": "border:0; width:100%; height:100%;"
  5089. },
  5090. "src": "/course-design-vue"
  5091. })
  5092. _box.appendChild(_iframe);
  5093. _box.appendChild(_jie);
  5094. _formdiv = new U.UF.UI.form(
  5095. "项目设计",
  5096. _box, {
  5097. "id": "courseDesign" + cid + stage + task + tool,
  5098. "style": {
  5099. "width": "90%",
  5100. "height": "90%",
  5101. "overflow": 'hidden'
  5102. },
  5103. "onresize": function() {}
  5104. }, {
  5105. closecallback: function() {}
  5106. }, {
  5107. "style": {
  5108. "height": "36px"
  5109. }
  5110. }).form; //创建窗体
  5111. _taskbar = {
  5112. "id": str + _formdiv.id,
  5113. "style": {
  5114. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5115. },
  5116. "name": "项目设计",
  5117. "forms": _formdiv,
  5118. "click": function() {
  5119. U.MD.D.I.openApplication(str, obj, info);
  5120. }
  5121. }
  5122. break;
  5123. }
  5124. const script1 = document.createElement("script");
  5125. script1.type = "text/javascript";
  5126. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5127. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5128. const script2 = document.createElement("script");
  5129. script2.type = "text/javascript";
  5130. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5131. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5132. const script3 = document.createElement("script");
  5133. script3.type = "text/javascript";
  5134. script3.charset = "UTF-8";
  5135. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5136. const script4 = document.createElement("script");
  5137. script4.type = "text/javascript";
  5138. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5139. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5140. if (_iframe) {
  5141. if (str == 'doc') {
  5142. _iframe = _formdiv.querySelector('iframe')
  5143. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5144. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5145. _iframe.contentWindow.document.body.appendChild(script1);
  5146. _iframe.contentWindow.document.body.appendChild(script2);
  5147. // _iframe.contentWindow.document.body.appendChild(script3);
  5148. _iframe.contentWindow.document.body.appendChild(script4);
  5149. })
  5150. if (onloadListener) {
  5151. _iframe.contentDocument.location.reload()
  5152. } else {
  5153. _iframe.contentDocument.location.reload()
  5154. }
  5155. } else if (str == 'courseDesign') {
  5156. U.UF.DL.iframeLoad(_iframe, function() {
  5157. // _iframe.contentWindow.U.MD.O.W.load();
  5158. // _iframe.contentWindow.document.body.appendChild(script1);
  5159. _iframe.contentWindow.document.body.appendChild(script2);
  5160. _iframe.contentWindow.document.body.appendChild(script4);
  5161. })
  5162. } else if (str == 'mind') {
  5163. _iframe = _formdiv.querySelector('iframe')
  5164. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5165. //
  5166. _iframe.contentWindow.document.body.appendChild(script1);
  5167. _iframe.contentWindow.document.body.appendChild(script2);
  5168. _iframe.contentWindow.document.body.appendChild(script4);
  5169. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5170. })
  5171. if (onloadListener) {
  5172. _iframe.contentDocument.location.reload()
  5173. } else {
  5174. _iframe.contentDocument.location.reload()
  5175. }
  5176. } else if (str == 'whiteboard') {
  5177. _iframe = _formdiv.querySelector('iframe')
  5178. let onloadListener = _iframe.onload = () => {
  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, '3', _iframe)
  5183. };
  5184. if (onloadListener) {
  5185. _iframe.contentDocument.location.reload()
  5186. } else {
  5187. _iframe.contentDocument.location.reload()
  5188. }
  5189. } else {
  5190. _iframe.onload = () => {
  5191. _iframe.contentWindow.document.body.appendChild(script1);
  5192. _iframe.contentWindow.document.body.appendChild(script2);
  5193. // _iframe.contentWindow.document.body.appendChild(script3);
  5194. _iframe.contentWindow.document.body.appendChild(script4);
  5195. };
  5196. }
  5197. _jie.onclick = async() => {
  5198. let text = ''
  5199. if (aTool == 1) {
  5200. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5201. } else if (aTool == 6) {
  5202. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5203. } else if (aTool == 3) {
  5204. text = await U.MD.D.I.getEditorContent(_iframe);
  5205. }
  5206. _loading.style.display = 'flex'
  5207. console.log(_loading);
  5208. var _ajs = _iframe.contentWindow.document.createElement("script");
  5209. _ajs.type = "text/javascript";
  5210. _ajs.innerHTML =
  5211. // 'console.log(' + _loading + ');\n' +
  5212. 'var _js = document.createElement("script");\n' +
  5213. '_js.type="text/javascript";\n' +
  5214. '_js.charset="UTF-8";\n' +
  5215. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5216. "_js.onload = function(){\n" +
  5217. ' var a = document.getElementsByTagName("img")\n' +
  5218. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5219. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5220. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5221. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5222. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5223. "beforeUpload_shishi(file," +
  5224. "'" +
  5225. _userid +
  5226. "'" +
  5227. ", " +
  5228. "'" +
  5229. _cid +
  5230. "'" +
  5231. ", " +
  5232. "'" +
  5233. _stage +
  5234. "'" +
  5235. ", " +
  5236. "'" +
  5237. _task +
  5238. "'" +
  5239. ", " +
  5240. "'" +
  5241. _tool +
  5242. "'" +
  5243. ", " +
  5244. "'" +
  5245. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5246. "'" +
  5247. ", " +
  5248. "'" +
  5249. aTool +
  5250. "'" +
  5251. ", " +
  5252. "`" +
  5253. text +
  5254. "`" +
  5255. ")\n" +
  5256. " });\n" +
  5257. "}\n" +
  5258. "document.head.appendChild(_js);\n";
  5259. _iframe.contentWindow.document.head.appendChild(_ajs);
  5260. }
  5261. }
  5262. //U.MD.D.I.openClick(str);
  5263. //如果有任务栏信息
  5264. // if (_taskbar) {
  5265. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5266. // }
  5267. }
  5268. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  5269. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5270. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5271. _userinfo = US.userInfo, //登录用户信息
  5272. _userid = US.userInfo.userid //登录用户id
  5273. let _iframe;
  5274. let _cid = cid,
  5275. _stage = stage,
  5276. _task = task,
  5277. _tool = tool;
  5278. var _jie = $$("div", {
  5279. "style": {
  5280. "position": "absolute",
  5281. "bottom": "50px",
  5282. "right": "50px",
  5283. "zIndex": "9999",
  5284. "backgroundColor": "#2268bc",
  5285. "color": "#fff",
  5286. "padding": "12px 20px",
  5287. "cursor": "pointer",
  5288. "borderRadius": "4px",
  5289. },
  5290. "innerHTML": "提交作业"
  5291. })
  5292. let aTool = ''
  5293. let _loading = document.createElement('div')
  5294. _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;"
  5295. // _loading.id = "";
  5296. let _lchild = document.createElement('div')
  5297. let _limg = document.createElement('img')
  5298. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5299. _limg.style = "width: 26px;margin-right: 10px;"
  5300. _lchild.appendChild(_limg)
  5301. let _lspan = document.createElement('span')
  5302. _lspan.innerHTML = "上传中..."
  5303. _lchild.appendChild(_lspan)
  5304. _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%);"
  5305. _loading.appendChild(_lchild)
  5306. var _box = $$('div', {
  5307. "style": {
  5308. "position": "relative",
  5309. "width": "100%",
  5310. "height": "100%",
  5311. },
  5312. })
  5313. _box.appendChild(_loading)
  5314. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5315. switch (str) {
  5316. case "whiteboard":
  5317. aTool = 1;
  5318. _iframe = $$("iframe", {
  5319. "frameborder": "no",
  5320. "border": "0",
  5321. "scrolling ": "no",
  5322. "style": {
  5323. "cssText": "border:0;width:100%;height:100%"
  5324. },
  5325. "src": "https://iwb.cocorobo.cn/"
  5326. })
  5327. _box.appendChild(_iframe);
  5328. _box.appendChild(_jie);
  5329. _formdiv = new U.UF.UI.form(
  5330. "电子白板",
  5331. _box, {
  5332. "id": "whiteboard" + cid + stage + task + tool,
  5333. "style": {
  5334. "width": "90%",
  5335. "height": "90%",
  5336. "overflow": 'hidden'
  5337. },
  5338. "onresize": function() {}
  5339. }, {
  5340. closecallback: function() {}
  5341. }, {
  5342. "style": {
  5343. "height": "36px"
  5344. }
  5345. }).form; //创建窗体
  5346. _taskbar = {
  5347. "id": str + _formdiv.id,
  5348. "style": {
  5349. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5350. },
  5351. "name": "电子白板",
  5352. "forms": _formdiv,
  5353. "click": function() {
  5354. U.MD.D.I.openApplication(str, obj, info);
  5355. }
  5356. }
  5357. break;
  5358. case "mind":
  5359. aTool = 3;
  5360. _iframe = $$("iframe", {
  5361. "frameborder": "no",
  5362. "border": "0",
  5363. "scrolling ": "no",
  5364. "style": {
  5365. "cssText": "border:0;width:100%;height:100%"
  5366. },
  5367. "src": "/kityminder-editor/dist/index.html"
  5368. })
  5369. _box.appendChild(_iframe);
  5370. _box.appendChild(_jie);
  5371. _formdiv = new U.UF.UI.form(
  5372. "思维导图",
  5373. _box, { //"/jsmind/example/demo.html"
  5374. "id": "mind" + cid + stage + task + tool,
  5375. "style": {
  5376. "width": "90%",
  5377. "height": "90%",
  5378. "overflow": 'hidden'
  5379. },
  5380. "onresize": function() {}
  5381. }, {
  5382. closecallback: function() {}
  5383. }, {
  5384. "style": {
  5385. "height": "36px"
  5386. }
  5387. }).form; //创建窗体
  5388. _taskbar = {
  5389. "id": str + _formdiv.id,
  5390. "style": {
  5391. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5392. },
  5393. "name": "思维导图",
  5394. "forms": _formdiv,
  5395. "click": function() {
  5396. U.MD.D.I.openApplication(str, obj, info);
  5397. }
  5398. }
  5399. break;
  5400. case "MindMap":
  5401. aTool = 3;
  5402. _iframe = $$("iframe", {
  5403. "frameborder": "no",
  5404. "border": "0",
  5405. "scrolling ": "no",
  5406. "style": {
  5407. "cssText": "border:0;width:100%;height:100%"
  5408. },
  5409. "src": "//cloud.cocorobo.cn/mind/"
  5410. })
  5411. _box.appendChild(_iframe);
  5412. _box.appendChild(_jie);
  5413. _formdiv = new U.UF.UI.form(
  5414. "思维导图",
  5415. _box, { //"/jsmind/example/demo.html"
  5416. "id": "mind" + cid + stage + task + tool,
  5417. "style": {
  5418. "width": "90%",
  5419. "height": "90%",
  5420. "overflow": 'hidden'
  5421. },
  5422. "onresize": function() {}
  5423. }, {
  5424. closecallback: function() {}
  5425. }, {
  5426. "style": {
  5427. "height": "36px"
  5428. }
  5429. }).form; //创建窗体
  5430. _taskbar = {
  5431. "id": str + _formdiv.id,
  5432. "style": {
  5433. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5434. },
  5435. "name": "思维导图",
  5436. "forms": _formdiv,
  5437. "click": function() {
  5438. U.MD.D.I.openApplication(str, obj, info);
  5439. }
  5440. }
  5441. break;
  5442. case "doc":
  5443. aTool = 6;
  5444. _iframe = $$("iframe", {
  5445. "frameborder": "no",
  5446. "border": "0",
  5447. "scrolling ": "no",
  5448. "style": {
  5449. "cssText": "border:0;width:100%;height:100%"
  5450. },
  5451. "src": "/Office/Word/WordEditArea.htm"
  5452. })
  5453. _box.appendChild(_iframe);
  5454. _box.appendChild(_jie);
  5455. _formdiv = new U.UF.UI.form(
  5456. "协同文档",
  5457. _box, {
  5458. "id": "doc" + cid + stage + task + tool,
  5459. "style": {
  5460. "width": "90%",
  5461. "height": "90%",
  5462. "overflow": 'hidden'
  5463. },
  5464. "onresize": function() {}
  5465. }, {
  5466. closecallback: function() {}
  5467. }, {
  5468. "style": {
  5469. "height": "36px"
  5470. }
  5471. }).form; //创建窗体
  5472. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5473. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5474. })
  5475. _taskbar = {
  5476. "id": str + _formdiv.id,
  5477. "style": {
  5478. "backgroundImage": "url(/img/icon/doc.png)"
  5479. },
  5480. "name": "协同文档",
  5481. "forms": _formdiv,
  5482. "click": function() {
  5483. U.MD.D.I.openApplication(str, obj, info);
  5484. }
  5485. }
  5486. break;
  5487. case "mindNetwork": //好友打开
  5488. aTool = 7;
  5489. _iframe = $$("iframe", {
  5490. "webkitallowfullscreen": "",
  5491. "mozallowfullscreen": "",
  5492. "allowfullscreen": "",
  5493. "frameborder": "no",
  5494. "border": "0",
  5495. "scrolling ": "no",
  5496. "style": {
  5497. "cssText": "border:0; width:100%; height:100%;"
  5498. },
  5499. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5500. })
  5501. _box.appendChild(_iframe);
  5502. _box.appendChild(_jie);
  5503. _formdiv = new U.UF.UI.form(
  5504. "思维网格",
  5505. _box, {
  5506. "id": "mindNetwork" + cid + stage + task + tool,
  5507. "style": {
  5508. "width": "90%",
  5509. "height": "90%",
  5510. "overflow": 'hidden'
  5511. },
  5512. "onresize": function() {}
  5513. }, {
  5514. closecallback: function() {}
  5515. }, {
  5516. "style": {
  5517. "height": "36px"
  5518. }
  5519. }).form; //创建窗体
  5520. _taskbar = {
  5521. "id": str + _formdiv.id,
  5522. "style": {
  5523. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5524. },
  5525. "name": "思维网格",
  5526. "forms": _formdiv,
  5527. "click": function() {
  5528. U.MD.D.I.openApplication(str, obj, info);
  5529. }
  5530. }
  5531. break;
  5532. case "courseDesign":
  5533. _iframe = $$("iframe", {
  5534. "webkitallowfullscreen": "",
  5535. "mozallowfullscreen": "",
  5536. "allowfullscreen": "",
  5537. "frameborder": "no",
  5538. "border": "0",
  5539. "scrolling ": "no",
  5540. "style": {
  5541. "cssText": "border:0; width:100%; height:100%;"
  5542. },
  5543. "src": "/course-design-vue"
  5544. })
  5545. _box.appendChild(_iframe);
  5546. _box.appendChild(_jie);
  5547. _formdiv = new U.UF.UI.form(
  5548. "项目设计",
  5549. _box, {
  5550. "id": "courseDesign" + cid + stage + task + tool,
  5551. "style": {
  5552. "width": "90%",
  5553. "height": "90%",
  5554. "overflow": 'hidden'
  5555. },
  5556. "onresize": function() {}
  5557. }, {
  5558. closecallback: function() {}
  5559. }, {
  5560. "style": {
  5561. "height": "36px"
  5562. }
  5563. }).form; //创建窗体
  5564. _taskbar = {
  5565. "id": str + _formdiv.id,
  5566. "style": {
  5567. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5568. },
  5569. "name": "项目设计",
  5570. "forms": _formdiv,
  5571. "click": function() {
  5572. U.MD.D.I.openApplication(str, obj, info);
  5573. }
  5574. }
  5575. break;
  5576. }
  5577. const script1 = document.createElement("script");
  5578. script1.type = "text/javascript";
  5579. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5580. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5581. const script2 = document.createElement("script");
  5582. script2.type = "text/javascript";
  5583. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5584. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5585. const script3 = document.createElement("script");
  5586. script3.type = "text/javascript";
  5587. script3.charset = "UTF-8";
  5588. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5589. const script4 = document.createElement("script");
  5590. script4.type = "text/javascript";
  5591. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5592. script4.src = window.origin + "/js/Common/jietu2E.js";
  5593. if (_iframe) {
  5594. if (str == 'doc') {
  5595. _iframe = _formdiv.querySelector('iframe')
  5596. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5597. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5598. _iframe.contentWindow.document.body.appendChild(script1);
  5599. _iframe.contentWindow.document.body.appendChild(script2);
  5600. // _iframe.contentWindow.document.body.appendChild(script3);
  5601. _iframe.contentWindow.document.body.appendChild(script4);
  5602. })
  5603. if (onloadListener) {
  5604. _iframe.contentDocument.location.reload()
  5605. } else {
  5606. _iframe.contentDocument.location.reload()
  5607. }
  5608. } else if (str == 'courseDesign') {
  5609. U.UF.DL.iframeLoad(_iframe, function() {
  5610. // _iframe.contentWindow.U.MD.O.W.load();
  5611. // _iframe.contentWindow.document.body.appendChild(script1);
  5612. _iframe.contentWindow.document.body.appendChild(script2);
  5613. _iframe.contentWindow.document.body.appendChild(script4);
  5614. })
  5615. } else if (str == 'mind') {
  5616. _iframe = _formdiv.querySelector('iframe')
  5617. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5618. //
  5619. _iframe.contentWindow.document.body.appendChild(script1);
  5620. _iframe.contentWindow.document.body.appendChild(script2);
  5621. _iframe.contentWindow.document.body.appendChild(script4);
  5622. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5623. })
  5624. if (onloadListener) {
  5625. _iframe.contentDocument.location.reload()
  5626. } else {
  5627. _iframe.contentDocument.location.reload()
  5628. }
  5629. } else if (str == 'whiteboard') {
  5630. _iframe = _formdiv.querySelector('iframe')
  5631. let onloadListener = _iframe.onload = () => {
  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, '3', _iframe)
  5636. };
  5637. if (onloadListener) {
  5638. _iframe.contentDocument.location.reload()
  5639. } else {
  5640. _iframe.contentDocument.location.reload()
  5641. }
  5642. } else {
  5643. _iframe.onload = () => {
  5644. _iframe.contentWindow.document.body.appendChild(script1);
  5645. _iframe.contentWindow.document.body.appendChild(script2);
  5646. // _iframe.contentWindow.document.body.appendChild(script3);
  5647. _iframe.contentWindow.document.body.appendChild(script4);
  5648. };
  5649. }
  5650. _jie.onclick = async() => {
  5651. let text = ''
  5652. if (aTool == 1) {
  5653. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5654. } else if (aTool == 6) {
  5655. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5656. } else if (aTool == 3) {
  5657. text = await U.MD.D.I.getEditorContent(_iframe);
  5658. }
  5659. _loading.style.display = 'flex'
  5660. console.log(_loading);
  5661. var _ajs = _iframe.contentWindow.document.createElement("script");
  5662. _ajs.type = "text/javascript";
  5663. _ajs.innerHTML =
  5664. // 'console.log(' + _loading + ');\n' +
  5665. 'var _js = document.createElement("script");\n' +
  5666. '_js.type="text/javascript";\n' +
  5667. '_js.charset="UTF-8";\n' +
  5668. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5669. "_js.onload = function(){\n" +
  5670. ' var a = document.getElementsByTagName("img")\n' +
  5671. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5672. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5673. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5674. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5675. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5676. "beforeUpload_shishi(file," +
  5677. "'" +
  5678. _userid +
  5679. "'" +
  5680. ", " +
  5681. "'" +
  5682. _cid +
  5683. "'" +
  5684. ", " +
  5685. "'" +
  5686. _stage +
  5687. "'" +
  5688. ", " +
  5689. "'" +
  5690. _task +
  5691. "'" +
  5692. ", " +
  5693. "'" +
  5694. _tool +
  5695. "'" +
  5696. ", " +
  5697. "'" +
  5698. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5699. "'" +
  5700. ", " +
  5701. "'" +
  5702. aTool +
  5703. "'" +
  5704. ", " +
  5705. "`" +
  5706. text +
  5707. "`" +
  5708. ")\n" +
  5709. " });\n" +
  5710. "}\n" +
  5711. "document.head.appendChild(_js);\n";
  5712. _iframe.contentWindow.document.head.appendChild(_ajs);
  5713. }
  5714. }
  5715. //U.MD.D.I.openClick(str);
  5716. //如果有任务栏信息
  5717. // if (_taskbar) {
  5718. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5719. // }
  5720. }
  5721. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5722. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5723. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5724. _userid = student.userid, //登录用户id
  5725. _username = student.student //用户名字
  5726. let _iframe;
  5727. let _cid = cid,
  5728. _stage = stage,
  5729. _task = task,
  5730. _tool = tool;
  5731. var _jie = $$("div", {
  5732. "style": {
  5733. "position": "absolute",
  5734. "bottom": "50px",
  5735. "right": "50px",
  5736. "zIndex": "9999",
  5737. "backgroundColor": "#2268bc",
  5738. "color": "#fff",
  5739. "padding": "12px 20px",
  5740. "cursor": "pointer",
  5741. "borderRadius": "4px",
  5742. },
  5743. "innerHTML": "提交作业"
  5744. })
  5745. let aTool = ''
  5746. let _loading = document.createElement('div')
  5747. _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;"
  5748. // _loading.id = "";
  5749. let _lchild = document.createElement('div')
  5750. let _limg = document.createElement('img')
  5751. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5752. _limg.style = "width: 26px;margin-right: 10px;"
  5753. _lchild.appendChild(_limg)
  5754. let _lspan = document.createElement('span')
  5755. _lspan.innerHTML = "上传中..."
  5756. _lchild.appendChild(_lspan)
  5757. _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%);"
  5758. _loading.appendChild(_lchild)
  5759. var _box = $$('div', {
  5760. "style": {
  5761. "position": "relative",
  5762. "width": "100%",
  5763. "height": "100%",
  5764. },
  5765. })
  5766. _box.appendChild(_loading)
  5767. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5768. switch (str) {
  5769. case "whiteboard":
  5770. aTool = 1;
  5771. _iframe = $$("iframe", {
  5772. "frameborder": "no",
  5773. "border": "0",
  5774. "scrolling ": "no",
  5775. "style": {
  5776. "cssText": "border:0;width:100%;height:100%"
  5777. },
  5778. "src": "https://iwb.cocorobo.cn/"
  5779. })
  5780. _box.appendChild(_iframe);
  5781. _box.appendChild(_jie);
  5782. _formdiv = new U.UF.UI.form(
  5783. "电子白板-" + _username,
  5784. _box, {
  5785. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5786. "style": {
  5787. "width": "90%",
  5788. "height": "90%",
  5789. "overflow": 'hidden'
  5790. },
  5791. "onresize": function() {}
  5792. }, {
  5793. closecallback: function() {}
  5794. }, {
  5795. "style": {
  5796. "height": "36px"
  5797. }
  5798. }).form; //创建窗体
  5799. _taskbar = {
  5800. "id": str + _formdiv.id,
  5801. "style": {
  5802. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5803. },
  5804. "name": "电子白板",
  5805. "forms": _formdiv,
  5806. "click": function() {
  5807. U.MD.D.I.openApplication(str, obj, info);
  5808. }
  5809. }
  5810. break;
  5811. case "mind":
  5812. aTool = 3;
  5813. _iframe = $$("iframe", {
  5814. "frameborder": "no",
  5815. "border": "0",
  5816. "scrolling ": "no",
  5817. "style": {
  5818. "cssText": "border:0;width:100%;height:100%"
  5819. },
  5820. "src": "/kityminder-editor/dist/index.html"
  5821. })
  5822. _box.appendChild(_iframe);
  5823. _box.appendChild(_jie);
  5824. _formdiv = new U.UF.UI.form(
  5825. "思维导图-" + _username,
  5826. _box, { //"/jsmind/example/demo.html"
  5827. "id": "mind" + cid + stage + task + tool + _userid,
  5828. "style": {
  5829. "width": "90%",
  5830. "height": "90%",
  5831. "overflow": 'hidden'
  5832. },
  5833. "onresize": function() {}
  5834. }, {
  5835. closecallback: function() {}
  5836. }, {
  5837. "style": {
  5838. "height": "36px"
  5839. }
  5840. }).form; //创建窗体
  5841. _taskbar = {
  5842. "id": str + _formdiv.id,
  5843. "style": {
  5844. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5845. },
  5846. "name": "思维导图",
  5847. "forms": _formdiv,
  5848. "click": function() {
  5849. U.MD.D.I.openApplication(str, obj, info);
  5850. }
  5851. }
  5852. break;
  5853. case "MindMap":
  5854. aTool = 3;
  5855. _iframe = $$("iframe", {
  5856. "frameborder": "no",
  5857. "border": "0",
  5858. "scrolling ": "no",
  5859. "style": {
  5860. "cssText": "border:0;width:100%;height:100%"
  5861. },
  5862. "src": "//cloud.cocorobo.cn/mind/"
  5863. })
  5864. _box.appendChild(_iframe);
  5865. _box.appendChild(_jie);
  5866. _formdiv = new U.UF.UI.form(
  5867. "思维导图-" + _username,
  5868. _box, { //"/jsmind/example/demo.html"
  5869. "id": "mind" + cid + stage + task + tool + _userid,
  5870. "style": {
  5871. "width": "90%",
  5872. "height": "90%",
  5873. "overflow": 'hidden'
  5874. },
  5875. "onresize": function() {}
  5876. }, {
  5877. closecallback: function() {}
  5878. }, {
  5879. "style": {
  5880. "height": "36px"
  5881. }
  5882. }).form; //创建窗体
  5883. _taskbar = {
  5884. "id": str + _formdiv.id,
  5885. "style": {
  5886. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5887. },
  5888. "name": "思维导图",
  5889. "forms": _formdiv,
  5890. "click": function() {
  5891. U.MD.D.I.openApplication(str, obj, info);
  5892. }
  5893. }
  5894. break;
  5895. case "doc":
  5896. aTool = 6;
  5897. _iframe = $$("iframe", {
  5898. "frameborder": "no",
  5899. "border": "0",
  5900. "scrolling ": "no",
  5901. "style": {
  5902. "cssText": "border:0;width:100%;height:100%"
  5903. },
  5904. "src": "/Office/Word/WordEditArea.htm"
  5905. })
  5906. _box.appendChild(_iframe);
  5907. _box.appendChild(_jie);
  5908. _formdiv = new U.UF.UI.form(
  5909. "协同文档-" + _username,
  5910. _box, {
  5911. "id": "doc" + cid + stage + task + tool + _userid,
  5912. "style": {
  5913. "width": "90%",
  5914. "height": "90%",
  5915. "overflow": 'hidden'
  5916. },
  5917. "onresize": function() {}
  5918. }, {
  5919. closecallback: function() {}
  5920. }, {
  5921. "style": {
  5922. "height": "36px"
  5923. }
  5924. }).form; //创建窗体
  5925. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5926. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5927. })
  5928. _taskbar = {
  5929. "id": str + _formdiv.id,
  5930. "style": {
  5931. "backgroundImage": "url(/img/icon/doc.png)"
  5932. },
  5933. "name": "协同文档",
  5934. "forms": _formdiv,
  5935. "click": function() {
  5936. U.MD.D.I.openApplication(str, obj, info);
  5937. }
  5938. }
  5939. break;
  5940. case "mindNetwork": //好友打开
  5941. aTool = 7;
  5942. _iframe = $$("iframe", {
  5943. "webkitallowfullscreen": "",
  5944. "mozallowfullscreen": "",
  5945. "allowfullscreen": "",
  5946. "frameborder": "no",
  5947. "border": "0",
  5948. "scrolling ": "no",
  5949. "style": {
  5950. "cssText": "border:0; width:100%; height:100%;"
  5951. },
  5952. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5953. })
  5954. _box.appendChild(_iframe);
  5955. _box.appendChild(_jie);
  5956. _formdiv = new U.UF.UI.form(
  5957. "思维网格-" + _username,
  5958. _box, {
  5959. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5960. "style": {
  5961. "width": "90%",
  5962. "height": "90%",
  5963. "overflow": 'hidden'
  5964. },
  5965. "onresize": function() {}
  5966. }, {
  5967. closecallback: function() {}
  5968. }, {
  5969. "style": {
  5970. "height": "36px"
  5971. }
  5972. }).form; //创建窗体
  5973. _taskbar = {
  5974. "id": str + _formdiv.id,
  5975. "style": {
  5976. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5977. },
  5978. "name": "思维网格",
  5979. "forms": _formdiv,
  5980. "click": function() {
  5981. U.MD.D.I.openApplication(str, obj, info);
  5982. }
  5983. }
  5984. break;
  5985. case "courseDesign":
  5986. _iframe = $$("iframe", {
  5987. "webkitallowfullscreen": "",
  5988. "mozallowfullscreen": "",
  5989. "allowfullscreen": "",
  5990. "frameborder": "no",
  5991. "border": "0",
  5992. "scrolling ": "no",
  5993. "style": {
  5994. "cssText": "border:0; width:100%; height:100%;"
  5995. },
  5996. "src": "/course-design-vue"
  5997. })
  5998. _box.appendChild(_iframe);
  5999. _box.appendChild(_jie);
  6000. _formdiv = new U.UF.UI.form(
  6001. "项目设计-" + _username,
  6002. _box, {
  6003. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6004. "style": {
  6005. "width": "90%",
  6006. "height": "90%",
  6007. "overflow": 'hidden'
  6008. },
  6009. "onresize": function() {}
  6010. }, {
  6011. closecallback: function() {}
  6012. }, {
  6013. "style": {
  6014. "height": "36px"
  6015. }
  6016. }).form; //创建窗体
  6017. _taskbar = {
  6018. "id": str + _formdiv.id,
  6019. "style": {
  6020. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6021. },
  6022. "name": "项目设计",
  6023. "forms": _formdiv,
  6024. "click": function() {
  6025. U.MD.D.I.openApplication(str, obj, info);
  6026. }
  6027. }
  6028. break;
  6029. }
  6030. const script1 = document.createElement("script");
  6031. script1.type = "text/javascript";
  6032. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6033. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6034. const script2 = document.createElement("script");
  6035. script2.type = "text/javascript";
  6036. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6037. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6038. const script3 = document.createElement("script");
  6039. script3.type = "text/javascript";
  6040. script3.charset = "UTF-8";
  6041. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6042. const script4 = document.createElement("script");
  6043. script4.type = "text/javascript";
  6044. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6045. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  6046. if (_iframe) {
  6047. if (str == 'doc') {
  6048. _iframe = _formdiv.querySelector('iframe')
  6049. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6050. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6051. _iframe.contentWindow.document.body.appendChild(script1);
  6052. _iframe.contentWindow.document.body.appendChild(script2);
  6053. // _iframe.contentWindow.document.body.appendChild(script3);
  6054. _iframe.contentWindow.document.body.appendChild(script4);
  6055. })
  6056. if (onloadListener) {
  6057. _iframe.contentDocument.location.reload()
  6058. } else {
  6059. _iframe.contentDocument.location.reload()
  6060. }
  6061. } else if (str == 'courseDesign') {
  6062. U.UF.DL.iframeLoad(_iframe, function() {
  6063. // _iframe.contentWindow.U.MD.O.W.load();
  6064. // _iframe.contentWindow.document.body.appendChild(script1);
  6065. _iframe.contentWindow.document.body.appendChild(script2);
  6066. _iframe.contentWindow.document.body.appendChild(script4);
  6067. })
  6068. } else if (str == 'mind') {
  6069. _iframe = _formdiv.querySelector('iframe')
  6070. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6071. //
  6072. _iframe.contentWindow.document.body.appendChild(script1);
  6073. _iframe.contentWindow.document.body.appendChild(script2);
  6074. _iframe.contentWindow.document.body.appendChild(script4);
  6075. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6076. })
  6077. if (onloadListener) {
  6078. _iframe.contentDocument.location.reload()
  6079. } else {
  6080. _iframe.contentDocument.location.reload()
  6081. }
  6082. } else if (str == 'whiteboard') {
  6083. _iframe = _formdiv.querySelector('iframe')
  6084. let onloadListener = _iframe.onload = () => {
  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, '3', _iframe)
  6089. };
  6090. if (onloadListener) {
  6091. _iframe.contentDocument.location.reload()
  6092. } else {
  6093. _iframe.contentDocument.location.reload()
  6094. }
  6095. } else {
  6096. _iframe.onload = () => {
  6097. _iframe.contentWindow.document.body.appendChild(script1);
  6098. _iframe.contentWindow.document.body.appendChild(script2);
  6099. // _iframe.contentWindow.document.body.appendChild(script3);
  6100. _iframe.contentWindow.document.body.appendChild(script4);
  6101. };
  6102. }
  6103. _jie.onclick = async() => {
  6104. let text = ''
  6105. if (aTool == 1) {
  6106. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6107. } else if (aTool == 6) {
  6108. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6109. } else if (aTool == 3) {
  6110. text = await U.MD.D.I.getEditorContent(_iframe);
  6111. }
  6112. _loading.style.display = 'flex'
  6113. console.log(_loading);
  6114. var _ajs = _iframe.contentWindow.document.createElement("script");
  6115. _ajs.type = "text/javascript";
  6116. _ajs.innerHTML =
  6117. // 'console.log(' + _loading + ');\n' +
  6118. 'var _js = document.createElement("script");\n' +
  6119. '_js.type="text/javascript";\n' +
  6120. '_js.charset="UTF-8";\n' +
  6121. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6122. "_js.onload = function(){\n" +
  6123. ' var a = document.getElementsByTagName("img")\n' +
  6124. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6125. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6126. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6127. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6128. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6129. "beforeUpload_shishi(file," +
  6130. "'" +
  6131. _userid +
  6132. "'" +
  6133. ", " +
  6134. "'" +
  6135. _cid +
  6136. "'" +
  6137. ", " +
  6138. "'" +
  6139. _stage +
  6140. "'" +
  6141. ", " +
  6142. "'" +
  6143. _task +
  6144. "'" +
  6145. ", " +
  6146. "'" +
  6147. _tool +
  6148. "'" +
  6149. ", " +
  6150. "'" +
  6151. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6152. "'" +
  6153. ", " +
  6154. "'" +
  6155. aTool +
  6156. "'" +
  6157. ", " +
  6158. "`" +
  6159. text +
  6160. "`" +
  6161. ")\n" +
  6162. " });\n" +
  6163. "}\n" +
  6164. "document.head.appendChild(_js);\n";
  6165. _iframe.contentWindow.document.head.appendChild(_ajs);
  6166. }
  6167. }
  6168. }
  6169. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  6170. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6171. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6172. _userid = student.userid, //登录用户id
  6173. _username = student.student //用户名字
  6174. let _iframe;
  6175. let _cid = cid,
  6176. _stage = stage,
  6177. _task = task,
  6178. _tool = tool;
  6179. var _jie = $$("div", {
  6180. "style": {
  6181. "position": "absolute",
  6182. "bottom": "50px",
  6183. "right": "50px",
  6184. "zIndex": "9999",
  6185. "backgroundColor": "#2268bc",
  6186. "color": "#fff",
  6187. "padding": "12px 20px",
  6188. "cursor": "pointer",
  6189. "borderRadius": "4px",
  6190. },
  6191. "innerHTML": "提交作业"
  6192. })
  6193. let aTool = ''
  6194. let _loading = document.createElement('div')
  6195. _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;"
  6196. // _loading.id = "";
  6197. let _lchild = document.createElement('div')
  6198. let _limg = document.createElement('img')
  6199. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6200. _limg.style = "width: 26px;margin-right: 10px;"
  6201. _lchild.appendChild(_limg)
  6202. let _lspan = document.createElement('span')
  6203. _lspan.innerHTML = "上传中..."
  6204. _lchild.appendChild(_lspan)
  6205. _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%);"
  6206. _loading.appendChild(_lchild)
  6207. var _box = $$('div', {
  6208. "style": {
  6209. "position": "relative",
  6210. "width": "100%",
  6211. "height": "100%",
  6212. },
  6213. })
  6214. _box.appendChild(_loading)
  6215. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6216. switch (str) {
  6217. case "whiteboard":
  6218. aTool = 1;
  6219. _iframe = $$("iframe", {
  6220. "frameborder": "no",
  6221. "border": "0",
  6222. "scrolling ": "no",
  6223. "style": {
  6224. "cssText": "border:0;width:100%;height:100%"
  6225. },
  6226. "src": "https://iwb.cocorobo.cn/"
  6227. })
  6228. _box.appendChild(_iframe);
  6229. _box.appendChild(_jie);
  6230. _formdiv = new U.UF.UI.form(
  6231. "电子白板-" + _username,
  6232. _box, {
  6233. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6234. "style": {
  6235. "width": "90%",
  6236. "height": "90%",
  6237. "overflow": 'hidden'
  6238. },
  6239. "onresize": function() {}
  6240. }, {
  6241. closecallback: function() {}
  6242. }, {
  6243. "style": {
  6244. "height": "36px"
  6245. }
  6246. }).form; //创建窗体
  6247. _taskbar = {
  6248. "id": str + _formdiv.id,
  6249. "style": {
  6250. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6251. },
  6252. "name": "电子白板",
  6253. "forms": _formdiv,
  6254. "click": function() {
  6255. U.MD.D.I.openApplication(str, obj, info);
  6256. }
  6257. }
  6258. break;
  6259. case "mind":
  6260. aTool = 3;
  6261. _iframe = $$("iframe", {
  6262. "frameborder": "no",
  6263. "border": "0",
  6264. "scrolling ": "no",
  6265. "style": {
  6266. "cssText": "border:0;width:100%;height:100%"
  6267. },
  6268. "src": "/kityminder-editor/dist/index.html"
  6269. })
  6270. _box.appendChild(_iframe);
  6271. _box.appendChild(_jie);
  6272. _formdiv = new U.UF.UI.form(
  6273. "思维导图-" + _username,
  6274. _box, { //"/jsmind/example/demo.html"
  6275. "id": "mind" + cid + stage + task + tool + _userid,
  6276. "style": {
  6277. "width": "90%",
  6278. "height": "90%",
  6279. "overflow": 'hidden'
  6280. },
  6281. "onresize": function() {}
  6282. }, {
  6283. closecallback: function() {}
  6284. }, {
  6285. "style": {
  6286. "height": "36px"
  6287. }
  6288. }).form; //创建窗体
  6289. _taskbar = {
  6290. "id": str + _formdiv.id,
  6291. "style": {
  6292. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6293. },
  6294. "name": "思维导图",
  6295. "forms": _formdiv,
  6296. "click": function() {
  6297. U.MD.D.I.openApplication(str, obj, info);
  6298. }
  6299. }
  6300. break;
  6301. case "MindMap":
  6302. aTool = 3;
  6303. _iframe = $$("iframe", {
  6304. "frameborder": "no",
  6305. "border": "0",
  6306. "scrolling ": "no",
  6307. "style": {
  6308. "cssText": "border:0;width:100%;height:100%"
  6309. },
  6310. "src": "//cloud.cocorobo.cn/mind/"
  6311. })
  6312. _box.appendChild(_iframe);
  6313. _box.appendChild(_jie);
  6314. _formdiv = new U.UF.UI.form(
  6315. "思维导图-" + _username,
  6316. _box, { //"/jsmind/example/demo.html"
  6317. "id": "mind" + cid + stage + task + tool + _userid,
  6318. "style": {
  6319. "width": "90%",
  6320. "height": "90%",
  6321. "overflow": 'hidden'
  6322. },
  6323. "onresize": function() {}
  6324. }, {
  6325. closecallback: function() {}
  6326. }, {
  6327. "style": {
  6328. "height": "36px"
  6329. }
  6330. }).form; //创建窗体
  6331. _taskbar = {
  6332. "id": str + _formdiv.id,
  6333. "style": {
  6334. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6335. },
  6336. "name": "思维导图",
  6337. "forms": _formdiv,
  6338. "click": function() {
  6339. U.MD.D.I.openApplication(str, obj, info);
  6340. }
  6341. }
  6342. break;
  6343. case "doc":
  6344. aTool = 6;
  6345. _iframe = $$("iframe", {
  6346. "frameborder": "no",
  6347. "border": "0",
  6348. "scrolling ": "no",
  6349. "style": {
  6350. "cssText": "border:0;width:100%;height:100%"
  6351. },
  6352. "src": "/Office/Word/WordEditArea.htm"
  6353. })
  6354. _box.appendChild(_iframe);
  6355. _box.appendChild(_jie);
  6356. _formdiv = new U.UF.UI.form(
  6357. "协同文档-" + _username,
  6358. _box, {
  6359. "id": "doc" + cid + stage + task + tool + _userid,
  6360. "style": {
  6361. "width": "90%",
  6362. "height": "90%",
  6363. "overflow": 'hidden'
  6364. },
  6365. "onresize": function() {}
  6366. }, {
  6367. closecallback: function() {}
  6368. }, {
  6369. "style": {
  6370. "height": "36px"
  6371. }
  6372. }).form; //创建窗体
  6373. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6374. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6375. })
  6376. _taskbar = {
  6377. "id": str + _formdiv.id,
  6378. "style": {
  6379. "backgroundImage": "url(/img/icon/doc.png)"
  6380. },
  6381. "name": "协同文档",
  6382. "forms": _formdiv,
  6383. "click": function() {
  6384. U.MD.D.I.openApplication(str, obj, info);
  6385. }
  6386. }
  6387. break;
  6388. case "mindNetwork": //好友打开
  6389. aTool = 7;
  6390. _iframe = $$("iframe", {
  6391. "webkitallowfullscreen": "",
  6392. "mozallowfullscreen": "",
  6393. "allowfullscreen": "",
  6394. "frameborder": "no",
  6395. "border": "0",
  6396. "scrolling ": "no",
  6397. "style": {
  6398. "cssText": "border:0; width:100%; height:100%;"
  6399. },
  6400. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6401. })
  6402. _box.appendChild(_iframe);
  6403. _box.appendChild(_jie);
  6404. _formdiv = new U.UF.UI.form(
  6405. "思维网格-" + _username,
  6406. _box, {
  6407. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6408. "style": {
  6409. "width": "90%",
  6410. "height": "90%",
  6411. "overflow": 'hidden'
  6412. },
  6413. "onresize": function() {}
  6414. }, {
  6415. closecallback: function() {}
  6416. }, {
  6417. "style": {
  6418. "height": "36px"
  6419. }
  6420. }).form; //创建窗体
  6421. _taskbar = {
  6422. "id": str + _formdiv.id,
  6423. "style": {
  6424. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6425. },
  6426. "name": "思维网格",
  6427. "forms": _formdiv,
  6428. "click": function() {
  6429. U.MD.D.I.openApplication(str, obj, info);
  6430. }
  6431. }
  6432. break;
  6433. case "courseDesign":
  6434. _iframe = $$("iframe", {
  6435. "webkitallowfullscreen": "",
  6436. "mozallowfullscreen": "",
  6437. "allowfullscreen": "",
  6438. "frameborder": "no",
  6439. "border": "0",
  6440. "scrolling ": "no",
  6441. "style": {
  6442. "cssText": "border:0; width:100%; height:100%;"
  6443. },
  6444. "src": "/course-design-vue"
  6445. })
  6446. _box.appendChild(_iframe);
  6447. _box.appendChild(_jie);
  6448. _formdiv = new U.UF.UI.form(
  6449. "项目设计-" + _username,
  6450. _box, {
  6451. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6452. "style": {
  6453. "width": "90%",
  6454. "height": "90%",
  6455. "overflow": 'hidden'
  6456. },
  6457. "onresize": function() {}
  6458. }, {
  6459. closecallback: function() {}
  6460. }, {
  6461. "style": {
  6462. "height": "36px"
  6463. }
  6464. }).form; //创建窗体
  6465. _taskbar = {
  6466. "id": str + _formdiv.id,
  6467. "style": {
  6468. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6469. },
  6470. "name": "项目设计",
  6471. "forms": _formdiv,
  6472. "click": function() {
  6473. U.MD.D.I.openApplication(str, obj, info);
  6474. }
  6475. }
  6476. break;
  6477. }
  6478. const script1 = document.createElement("script");
  6479. script1.type = "text/javascript";
  6480. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6481. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6482. const script2 = document.createElement("script");
  6483. script2.type = "text/javascript";
  6484. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6485. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6486. const script3 = document.createElement("script");
  6487. script3.type = "text/javascript";
  6488. script3.charset = "UTF-8";
  6489. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6490. const script4 = document.createElement("script");
  6491. script4.type = "text/javascript";
  6492. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6493. script4.src = window.origin + "/js/Common/jietu2E.js";
  6494. if (_iframe) {
  6495. if (str == 'doc') {
  6496. _iframe = _formdiv.querySelector('iframe')
  6497. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6498. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6499. _iframe.contentWindow.document.body.appendChild(script1);
  6500. _iframe.contentWindow.document.body.appendChild(script2);
  6501. // _iframe.contentWindow.document.body.appendChild(script3);
  6502. _iframe.contentWindow.document.body.appendChild(script4);
  6503. })
  6504. if (onloadListener) {
  6505. _iframe.contentDocument.location.reload()
  6506. } else {
  6507. _iframe.contentDocument.location.reload()
  6508. }
  6509. } else if (str == 'courseDesign') {
  6510. U.UF.DL.iframeLoad(_iframe, function() {
  6511. // _iframe.contentWindow.U.MD.O.W.load();
  6512. // _iframe.contentWindow.document.body.appendChild(script1);
  6513. _iframe.contentWindow.document.body.appendChild(script2);
  6514. _iframe.contentWindow.document.body.appendChild(script4);
  6515. })
  6516. } else if (str == 'mind') {
  6517. _iframe = _formdiv.querySelector('iframe')
  6518. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6519. //
  6520. _iframe.contentWindow.document.body.appendChild(script1);
  6521. _iframe.contentWindow.document.body.appendChild(script2);
  6522. _iframe.contentWindow.document.body.appendChild(script4);
  6523. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6524. })
  6525. if (onloadListener) {
  6526. _iframe.contentDocument.location.reload()
  6527. } else {
  6528. _iframe.contentDocument.location.reload()
  6529. }
  6530. } else if (str == 'whiteboard') {
  6531. _iframe = _formdiv.querySelector('iframe')
  6532. let onloadListener = _iframe.onload = () => {
  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, '3', _iframe)
  6537. };
  6538. if (onloadListener) {
  6539. _iframe.contentDocument.location.reload()
  6540. } else {
  6541. _iframe.contentDocument.location.reload()
  6542. }
  6543. } else {
  6544. _iframe.onload = () => {
  6545. _iframe.contentWindow.document.body.appendChild(script1);
  6546. _iframe.contentWindow.document.body.appendChild(script2);
  6547. // _iframe.contentWindow.document.body.appendChild(script3);
  6548. _iframe.contentWindow.document.body.appendChild(script4);
  6549. };
  6550. }
  6551. _jie.onclick = async() => {
  6552. let text = ''
  6553. if (aTool == 1) {
  6554. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6555. } else if (aTool == 6) {
  6556. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6557. } else if (aTool == 3) {
  6558. text = await U.MD.D.I.getEditorContent(_iframe);
  6559. }
  6560. _loading.style.display = 'flex'
  6561. console.log(_loading);
  6562. var _ajs = _iframe.contentWindow.document.createElement("script");
  6563. _ajs.type = "text/javascript";
  6564. _ajs.innerHTML =
  6565. // 'console.log(' + _loading + ');\n' +
  6566. 'var _js = document.createElement("script");\n' +
  6567. '_js.type="text/javascript";\n' +
  6568. '_js.charset="UTF-8";\n' +
  6569. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6570. "_js.onload = function(){\n" +
  6571. ' var a = document.getElementsByTagName("img")\n' +
  6572. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6573. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6574. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6575. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6576. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6577. "beforeUpload_shishi(file," +
  6578. "'" +
  6579. _userid +
  6580. "'" +
  6581. ", " +
  6582. "'" +
  6583. _cid +
  6584. "'" +
  6585. ", " +
  6586. "'" +
  6587. _stage +
  6588. "'" +
  6589. ", " +
  6590. "'" +
  6591. _task +
  6592. "'" +
  6593. ", " +
  6594. "'" +
  6595. _tool +
  6596. "'" +
  6597. ", " +
  6598. "'" +
  6599. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6600. "'" +
  6601. ", " +
  6602. "'" +
  6603. aTool +
  6604. "'" +
  6605. ", " +
  6606. "`" +
  6607. text +
  6608. "`" +
  6609. ")\n" +
  6610. " });\n" +
  6611. "}\n" +
  6612. "document.head.appendChild(_js);\n";
  6613. _iframe.contentWindow.document.head.appendChild(_ajs);
  6614. }
  6615. }
  6616. }
  6617. U.MD.D.I.getEditorContent = function(iframe) {
  6618. return new Promise((resolve, reject) => {
  6619. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6620. console.log(content);
  6621. resolve(content)
  6622. });
  6623. });
  6624. }
  6625. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6626. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6627. // if (res.value[0].length > 0) {
  6628. // // resolve(res.value[0][0].text);
  6629. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6630. // $(fileInput).val('');
  6631. // });
  6632. // }
  6633. // }, [], { "type": "GET", "withCredentials": true });
  6634. var xmlhttp;
  6635. var Mac, Sn, DeviceId
  6636. if (window.XMLHttpRequest) {
  6637. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6638. xmlhttp = new XMLHttpRequest();
  6639. } else {
  6640. // IE6, IE5 浏览器执行代码
  6641. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6642. }
  6643. xmlhttp.onreadystatechange = function() {
  6644. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6645. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6646. // resolve(res.value[0][0].text);
  6647. if (type == '2') {
  6648. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6649. } else if (type == '3') {
  6650. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6651. }
  6652. } else {
  6653. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6654. }
  6655. }
  6656. }
  6657. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6658. xmlhttp.send();
  6659. }
  6660. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6661. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6662. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6663. _userinfo = US.userInfo, //登录用户信息
  6664. _userid = US.userInfo.userid //登录用户id
  6665. let _iframe;
  6666. let _cid = cid,
  6667. _stage = stage,
  6668. _task = task,
  6669. _tool = tool;
  6670. var _jie = $$("div", {
  6671. "style": {
  6672. "position": "absolute",
  6673. "bottom": "50px",
  6674. "right": "50px",
  6675. "zIndex": "9999",
  6676. "backgroundColor": "#2268bc",
  6677. "color": "#fff",
  6678. "padding": "12px 20px",
  6679. "cursor": "pointer",
  6680. "borderRadius": "4px",
  6681. },
  6682. "innerHTML": "确认并提交"
  6683. })
  6684. let aTool = ''
  6685. let _loading = document.createElement('div')
  6686. _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;"
  6687. // _loading.id = "";
  6688. let _lchild = document.createElement('div')
  6689. let _limg = document.createElement('img')
  6690. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6691. _limg.style = "width: 26px;margin-right: 10px;"
  6692. _lchild.appendChild(_limg)
  6693. let _lspan = document.createElement('span')
  6694. _lspan.innerHTML = "上传中..."
  6695. _lchild.appendChild(_lspan)
  6696. _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%);"
  6697. _loading.appendChild(_lchild)
  6698. var _box = $$('div', {
  6699. "style": {
  6700. "position": "relative",
  6701. "width": "100%",
  6702. "height": "100%",
  6703. },
  6704. })
  6705. _box.appendChild(_loading)
  6706. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6707. switch (str) {
  6708. case "whiteboard":
  6709. aTool = 1;
  6710. _iframe = $$("iframe", {
  6711. "frameborder": "no",
  6712. "border": "0",
  6713. "scrolling ": "no",
  6714. "style": {
  6715. "cssText": "border:0;width:100%;height:100%"
  6716. },
  6717. "src": "https://iwb.cocorobo.cn/"
  6718. })
  6719. _box.appendChild(_iframe);
  6720. _box.appendChild(_jie);
  6721. _formdiv = new U.UF.UI.form(
  6722. "电子白板",
  6723. _box, {
  6724. "id": "whiteboards" + cid + stage + task + tool,
  6725. "style": {
  6726. "width": "90%",
  6727. "height": "90%",
  6728. "overflow": 'hidden'
  6729. },
  6730. "onresize": function() {}
  6731. }, {
  6732. closecallback: function() {}
  6733. }, {
  6734. "style": {
  6735. "height": "36px"
  6736. }
  6737. }).form; //创建窗体
  6738. _taskbar = {
  6739. "id": str + _formdiv.id,
  6740. "style": {
  6741. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6742. },
  6743. "name": "电子白板",
  6744. "forms": _formdiv,
  6745. "click": function() {
  6746. U.MD.D.I.openApplication(str, obj, info);
  6747. }
  6748. }
  6749. break;
  6750. case "mind":
  6751. aTool = 3;
  6752. _iframe = $$("iframe", {
  6753. "frameborder": "no",
  6754. "border": "0",
  6755. "scrolling ": "no",
  6756. "style": {
  6757. "cssText": "border:0;width:100%;height:100%"
  6758. },
  6759. "src": "/kityminder-editor/dist/index.html"
  6760. });
  6761. _box.appendChild(_iframe);
  6762. _box.appendChild(_jie);
  6763. _formdiv = new U.UF.UI.form(
  6764. "思维导图",
  6765. _box, { //"/jsmind/example/demo.html"
  6766. "id": "minds" + cid + stage + task + tool,
  6767. "style": {
  6768. "width": "90%",
  6769. "height": "90%",
  6770. "overflow": 'hidden'
  6771. },
  6772. "onresize": function() {}
  6773. }, {
  6774. closecallback: function() {}
  6775. }, {
  6776. "style": {
  6777. "height": "36px"
  6778. }
  6779. }).form; //创建窗体
  6780. _taskbar = {
  6781. "id": str + _formdiv.id,
  6782. "style": {
  6783. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6784. },
  6785. "name": "思维导图",
  6786. "forms": _formdiv,
  6787. "click": function() {
  6788. U.MD.D.I.openApplication(str, obj, info);
  6789. }
  6790. }
  6791. break;
  6792. case "doc":
  6793. aTool = 6;
  6794. _iframe = $$("iframe", {
  6795. "frameborder": "no",
  6796. "border": "0",
  6797. "scrolling ": "no",
  6798. "style": {
  6799. "cssText": "border:0;width:100%;height:100%"
  6800. },
  6801. "src": "/Office/Word/WordEditArea.htm"
  6802. })
  6803. _box.appendChild(_iframe);
  6804. _box.appendChild(_jie);
  6805. _formdiv = new U.UF.UI.form(
  6806. "协同文档",
  6807. _box, {
  6808. "id": "docs" + cid + stage + task + tool,
  6809. "style": {
  6810. "width": "90%",
  6811. "height": "90%",
  6812. "overflow": 'hidden'
  6813. },
  6814. "onresize": function() {}
  6815. }, {
  6816. closecallback: function() {}
  6817. }, {
  6818. "style": {
  6819. "height": "36px"
  6820. }
  6821. }).form; //创建窗体
  6822. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6823. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6824. })
  6825. _taskbar = {
  6826. "id": str + _formdiv.id,
  6827. "style": {
  6828. "backgroundImage": "url(/img/icon/doc.png)"
  6829. },
  6830. "name": "协同文档",
  6831. "forms": _formdiv,
  6832. "click": function() {
  6833. U.MD.D.I.openApplication(str, obj, info);
  6834. }
  6835. }
  6836. break;
  6837. }
  6838. const script1 = document.createElement("script");
  6839. script1.type = "text/javascript";
  6840. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6841. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6842. const script2 = document.createElement("script");
  6843. script2.type = "text/javascript";
  6844. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6845. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6846. const script3 = document.createElement("script");
  6847. script3.type = "text/javascript";
  6848. script3.charset = "UTF-8";
  6849. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6850. const script4 = document.createElement("script");
  6851. script4.type = "text/javascript";
  6852. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6853. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6854. if (_iframe) {
  6855. if (str == 'doc') {
  6856. _iframe = _formdiv.querySelector('iframe')
  6857. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6858. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6859. _iframe.contentWindow.document.body.appendChild(script1);
  6860. _iframe.contentWindow.document.body.appendChild(script2);
  6861. // _iframe.contentWindow.document.body.appendChild(script3);
  6862. _iframe.contentWindow.document.body.appendChild(script4);
  6863. })
  6864. if (onloadListener) {
  6865. _iframe.contentDocument.location.reload()
  6866. } else {
  6867. _iframe.contentDocument.location.reload()
  6868. }
  6869. } else if (str == 'mind') {
  6870. _iframe = _formdiv.querySelector('iframe')
  6871. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6872. _iframe.contentWindow.document.body.appendChild(script1);
  6873. _iframe.contentWindow.document.body.appendChild(script2);
  6874. _iframe.contentWindow.document.body.appendChild(script4);
  6875. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6876. })
  6877. if (onloadListener) {
  6878. _iframe.contentDocument.location.reload()
  6879. } else {
  6880. _iframe.contentDocument.location.reload()
  6881. }
  6882. } else {
  6883. _iframe.onload = () => {
  6884. _iframe.contentWindow.document.body.appendChild(script1);
  6885. _iframe.contentWindow.document.body.appendChild(script2);
  6886. // _iframe.contentWindow.document.body.appendChild(script3);
  6887. _iframe.contentWindow.document.body.appendChild(script4);
  6888. };
  6889. }
  6890. _jie.onclick = async() => {
  6891. let text = ''
  6892. if (aTool == 6) {
  6893. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6894. } else if (aTool == 3) {
  6895. text = await U.MD.D.I.getEditorContent(_iframe);
  6896. }
  6897. _loading.style.display = 'flex'
  6898. console.log(_loading);
  6899. var _ajs = _iframe.contentWindow.document.createElement("script");
  6900. _ajs.type = "text/javascript";
  6901. _ajs.innerHTML =
  6902. // 'console.log(' + _loading + ');\n' +
  6903. 'var _js = document.createElement("script");\n' +
  6904. '_js.type="text/javascript";\n' +
  6905. '_js.charset="UTF-8";\n' +
  6906. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6907. "_js.onload = function(){\n" +
  6908. ' var a = document.getElementsByTagName("img")\n' +
  6909. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6910. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6911. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6912. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6913. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6914. "beforeUpload_shishi(file," +
  6915. "'" +
  6916. _userid +
  6917. "'" +
  6918. ", " +
  6919. "'" +
  6920. _cid +
  6921. "'" +
  6922. ", " +
  6923. "'" +
  6924. _stage +
  6925. "'" +
  6926. ", " +
  6927. "'" +
  6928. _task +
  6929. "'" +
  6930. ", " +
  6931. "'" +
  6932. _tool +
  6933. "'" +
  6934. ", " +
  6935. "'" +
  6936. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6937. "'" +
  6938. ", " +
  6939. "'" +
  6940. aTool +
  6941. "'" +
  6942. ", " +
  6943. "`" +
  6944. text +
  6945. "`" +
  6946. ")\n" +
  6947. " });\n" +
  6948. "}\n" +
  6949. "document.head.appendChild(_js);\n";
  6950. _iframe.contentWindow.document.head.appendChild(_ajs);
  6951. }
  6952. }
  6953. //U.MD.D.I.openClick(str);
  6954. //如果有任务栏信息
  6955. // if (_taskbar) {
  6956. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6957. // }
  6958. }
  6959. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6960. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6961. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6962. _userinfo = US.userInfo, //登录用户信息
  6963. _userid = US.userInfo.userid //登录用户id
  6964. let _iframe;
  6965. let _cid = cid,
  6966. _stage = stage,
  6967. _task = task,
  6968. _tool = tool;
  6969. var _jie = $$("div", {
  6970. "style": {
  6971. "position": "absolute",
  6972. "bottom": "50px",
  6973. "right": "50px",
  6974. "zIndex": "9999",
  6975. "backgroundColor": "#2268bc",
  6976. "color": "#fff",
  6977. "padding": "12px 20px",
  6978. "cursor": "pointer",
  6979. "borderRadius": "4px",
  6980. },
  6981. "innerHTML": "确认并提交"
  6982. })
  6983. let aTool = ''
  6984. let _loading = document.createElement('div')
  6985. _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;"
  6986. // _loading.id = "";
  6987. let _lchild = document.createElement('div')
  6988. let _limg = document.createElement('img')
  6989. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6990. _limg.style = "width: 26px;margin-right: 10px;"
  6991. _lchild.appendChild(_limg)
  6992. let _lspan = document.createElement('span')
  6993. _lspan.innerHTML = "上传中..."
  6994. _lchild.appendChild(_lspan)
  6995. _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%);"
  6996. _loading.appendChild(_lchild)
  6997. var _box = $$('div', {
  6998. "style": {
  6999. "position": "relative",
  7000. "width": "100%",
  7001. "height": "100%",
  7002. },
  7003. })
  7004. _box.appendChild(_loading)
  7005. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7006. switch (str) {
  7007. case "whiteboard":
  7008. aTool = 1;
  7009. _iframe = $$("iframe", {
  7010. "frameborder": "no",
  7011. "border": "0",
  7012. "scrolling ": "no",
  7013. "style": {
  7014. "cssText": "border:0;width:100%;height:100%"
  7015. },
  7016. "src": "https://iwb.cocorobo.cn/"
  7017. })
  7018. _box.appendChild(_iframe);
  7019. _box.appendChild(_jie);
  7020. _formdiv = new U.UF.UI.form(
  7021. "电子白板",
  7022. _box, {
  7023. "id": "whiteboards" + cid + stage + task + tool,
  7024. "style": {
  7025. "width": "90%",
  7026. "height": "90%",
  7027. "overflow": 'hidden'
  7028. },
  7029. "onresize": function() {}
  7030. }, {
  7031. closecallback: function() {}
  7032. }, {
  7033. "style": {
  7034. "height": "36px"
  7035. }
  7036. }).form; //创建窗体
  7037. _taskbar = {
  7038. "id": str + _formdiv.id,
  7039. "style": {
  7040. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7041. },
  7042. "name": "电子白板",
  7043. "forms": _formdiv,
  7044. "click": function() {
  7045. U.MD.D.I.openApplication(str, obj, info);
  7046. }
  7047. }
  7048. break;
  7049. case "mind":
  7050. aTool = 3;
  7051. _iframe = $$("iframe", {
  7052. "frameborder": "no",
  7053. "border": "0",
  7054. "scrolling ": "no",
  7055. "style": {
  7056. "cssText": "border:0;width:100%;height:100%"
  7057. },
  7058. "src": "/kityminder-editor/dist/index.html"
  7059. });
  7060. _box.appendChild(_iframe);
  7061. _box.appendChild(_jie);
  7062. _formdiv = new U.UF.UI.form(
  7063. "思维导图",
  7064. _box, { //"/jsmind/example/demo.html"
  7065. "id": "minds" + cid + stage + task + tool,
  7066. "style": {
  7067. "width": "90%",
  7068. "height": "90%",
  7069. "overflow": 'hidden'
  7070. },
  7071. "onresize": function() {}
  7072. }, {
  7073. closecallback: function() {}
  7074. }, {
  7075. "style": {
  7076. "height": "36px"
  7077. }
  7078. }).form; //创建窗体
  7079. _taskbar = {
  7080. "id": str + _formdiv.id,
  7081. "style": {
  7082. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7083. },
  7084. "name": "思维导图",
  7085. "forms": _formdiv,
  7086. "click": function() {
  7087. U.MD.D.I.openApplication(str, obj, info);
  7088. }
  7089. }
  7090. break;
  7091. case "doc":
  7092. aTool = 6;
  7093. _iframe = $$("iframe", {
  7094. "frameborder": "no",
  7095. "border": "0",
  7096. "scrolling ": "no",
  7097. "style": {
  7098. "cssText": "border:0;width:100%;height:100%"
  7099. },
  7100. "src": "/Office/Word/WordEditArea.htm"
  7101. })
  7102. _box.appendChild(_iframe);
  7103. _box.appendChild(_jie);
  7104. _formdiv = new U.UF.UI.form(
  7105. "协同文档",
  7106. _box, {
  7107. "id": "docs" + cid + stage + task + tool,
  7108. "style": {
  7109. "width": "90%",
  7110. "height": "90%",
  7111. "overflow": 'hidden'
  7112. },
  7113. "onresize": function() {}
  7114. }, {
  7115. closecallback: function() {}
  7116. }, {
  7117. "style": {
  7118. "height": "36px"
  7119. }
  7120. }).form; //创建窗体
  7121. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7122. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7123. })
  7124. _taskbar = {
  7125. "id": str + _formdiv.id,
  7126. "style": {
  7127. "backgroundImage": "url(/img/icon/doc.png)"
  7128. },
  7129. "name": "协同文档",
  7130. "forms": _formdiv,
  7131. "click": function() {
  7132. U.MD.D.I.openApplication(str, obj, info);
  7133. }
  7134. }
  7135. break;
  7136. }
  7137. const script1 = document.createElement("script");
  7138. script1.type = "text/javascript";
  7139. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7140. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7141. const script2 = document.createElement("script");
  7142. script2.type = "text/javascript";
  7143. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7144. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7145. const script3 = document.createElement("script");
  7146. script3.type = "text/javascript";
  7147. script3.charset = "UTF-8";
  7148. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7149. const script4 = document.createElement("script");
  7150. script4.type = "text/javascript";
  7151. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7152. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7153. if (_iframe) {
  7154. if (str == 'doc') {
  7155. _iframe = _formdiv.querySelector('iframe')
  7156. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7157. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7158. _iframe.contentWindow.document.body.appendChild(script1);
  7159. _iframe.contentWindow.document.body.appendChild(script2);
  7160. // _iframe.contentWindow.document.body.appendChild(script3);
  7161. _iframe.contentWindow.document.body.appendChild(script4);
  7162. })
  7163. if (onloadListener) {
  7164. _iframe.contentDocument.location.reload()
  7165. } else {
  7166. _iframe.contentDocument.location.reload()
  7167. }
  7168. } else if (str == 'mind') {
  7169. _iframe = _formdiv.querySelector('iframe')
  7170. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7171. _iframe.contentWindow.document.body.appendChild(script1);
  7172. _iframe.contentWindow.document.body.appendChild(script2);
  7173. _iframe.contentWindow.document.body.appendChild(script4);
  7174. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7175. })
  7176. if (onloadListener) {
  7177. _iframe.contentDocument.location.reload()
  7178. } else {
  7179. _iframe.contentDocument.location.reload()
  7180. }
  7181. } else {
  7182. _iframe.onload = () => {
  7183. _iframe.contentWindow.document.body.appendChild(script1);
  7184. _iframe.contentWindow.document.body.appendChild(script2);
  7185. // _iframe.contentWindow.document.body.appendChild(script3);
  7186. _iframe.contentWindow.document.body.appendChild(script4);
  7187. };
  7188. }
  7189. _jie.onclick = async() => {
  7190. let text = ''
  7191. if (aTool == 6) {
  7192. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7193. } else if (aTool == 3) {
  7194. text = await U.MD.D.I.getEditorContent(_iframe);
  7195. }
  7196. _loading.style.display = 'flex'
  7197. console.log(_loading);
  7198. var _ajs = _iframe.contentWindow.document.createElement("script");
  7199. _ajs.type = "text/javascript";
  7200. _ajs.innerHTML =
  7201. // 'console.log(' + _loading + ');\n' +
  7202. 'var _js = document.createElement("script");\n' +
  7203. '_js.type="text/javascript";\n' +
  7204. '_js.charset="UTF-8";\n' +
  7205. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7206. "_js.onload = function(){\n" +
  7207. ' var a = document.getElementsByTagName("img")\n' +
  7208. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7209. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7210. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7211. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7212. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7213. "beforeUpload_shishi(file," +
  7214. "'" +
  7215. _userid +
  7216. "'" +
  7217. ", " +
  7218. "'" +
  7219. _cid +
  7220. "'" +
  7221. ", " +
  7222. "'" +
  7223. _stage +
  7224. "'" +
  7225. ", " +
  7226. "'" +
  7227. _task +
  7228. "'" +
  7229. ", " +
  7230. "'" +
  7231. _tool +
  7232. "'" +
  7233. ", " +
  7234. "'" +
  7235. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7236. "'" +
  7237. ", " +
  7238. "'" +
  7239. aTool +
  7240. "'" +
  7241. ", " +
  7242. "`" +
  7243. text +
  7244. "`" +
  7245. ")\n" +
  7246. " });\n" +
  7247. "}\n" +
  7248. "document.head.appendChild(_js);\n";
  7249. _iframe.contentWindow.document.head.appendChild(_ajs);
  7250. }
  7251. }
  7252. //U.MD.D.I.openClick(str);
  7253. //如果有任务栏信息
  7254. // if (_taskbar) {
  7255. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7256. // }
  7257. }
  7258. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  7259. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7260. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7261. _userinfo = US.userInfo, //登录用户信息
  7262. _userid = US.userInfo.userid //登录用户id
  7263. let _iframe;
  7264. let _cid = cid,
  7265. _stage = stage,
  7266. _task = task,
  7267. _tool = tool;
  7268. var _jie = $$("div", {
  7269. "style": {
  7270. "position": "absolute",
  7271. "bottom": "50px",
  7272. "right": "50px",
  7273. "zIndex": "9999",
  7274. "backgroundColor": "#2268bc",
  7275. "color": "#fff",
  7276. "padding": "12px 20px",
  7277. "cursor": "pointer",
  7278. "borderRadius": "4px",
  7279. },
  7280. "innerHTML": "上传模板"
  7281. })
  7282. let aTool = ''
  7283. let _loading = document.createElement('div')
  7284. _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;"
  7285. // _loading.id = "";
  7286. let _lchild = document.createElement('div')
  7287. let _limg = document.createElement('img')
  7288. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7289. _limg.style = "width: 26px;margin-right: 10px;"
  7290. _lchild.appendChild(_limg)
  7291. let _lspan = document.createElement('span')
  7292. _lspan.innerHTML = "上传中..."
  7293. _lchild.appendChild(_lspan)
  7294. _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%);"
  7295. _loading.appendChild(_lchild)
  7296. var _box = $$('div', {
  7297. "style": {
  7298. "position": "relative",
  7299. "width": "100%",
  7300. "height": "100%",
  7301. },
  7302. })
  7303. _box.appendChild(_loading)
  7304. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7305. switch (str) {
  7306. case "whiteboard":
  7307. aTool = 1;
  7308. _iframe = $$("iframe", {
  7309. "frameborder": "no",
  7310. "border": "0",
  7311. "scrolling ": "no",
  7312. "style": {
  7313. "cssText": "border:0;width:100%;height:100%"
  7314. },
  7315. "src": "https://iwb.cocorobo.cn/"
  7316. })
  7317. _box.appendChild(_iframe);
  7318. _box.appendChild(_jie);
  7319. _formdiv = new U.UF.UI.form(
  7320. "电子白板",
  7321. _box, {
  7322. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7323. "style": {
  7324. "width": "90%",
  7325. "height": "90%",
  7326. "overflow": 'hidden'
  7327. },
  7328. "onresize": function() {}
  7329. }, {
  7330. closecallback: function() {}
  7331. }, {
  7332. "style": {
  7333. "height": "36px"
  7334. }
  7335. }).form; //创建窗体
  7336. _taskbar = {
  7337. "id": str + _formdiv.id,
  7338. "style": {
  7339. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7340. },
  7341. "name": "电子白板",
  7342. "forms": _formdiv,
  7343. "click": function() {
  7344. U.MD.D.I.openApplication(str, obj, info);
  7345. }
  7346. }
  7347. break;
  7348. case "mind":
  7349. aTool = 3;
  7350. _iframe = $$("iframe", {
  7351. "frameborder": "no",
  7352. "border": "0",
  7353. "scrolling ": "no",
  7354. "style": {
  7355. "cssText": "border:0;width:100%;height:100%"
  7356. },
  7357. "src": "/kityminder-editor/dist/index.html"
  7358. });
  7359. _box.appendChild(_iframe);
  7360. _box.appendChild(_jie);
  7361. _formdiv = new U.UF.UI.form(
  7362. "思维导图",
  7363. _box, { //"/jsmind/example/demo.html"
  7364. "id": "minds_Yu" + cid + stage + task + tool,
  7365. "style": {
  7366. "width": "90%",
  7367. "height": "90%",
  7368. "overflow": 'hidden'
  7369. },
  7370. "onresize": function() {}
  7371. }, {
  7372. closecallback: function() {}
  7373. }, {
  7374. "style": {
  7375. "height": "36px"
  7376. }
  7377. }).form; //创建窗体
  7378. _taskbar = {
  7379. "id": str + _formdiv.id,
  7380. "style": {
  7381. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7382. },
  7383. "name": "思维导图",
  7384. "forms": _formdiv,
  7385. "click": function() {
  7386. U.MD.D.I.openApplication(str, obj, info);
  7387. }
  7388. }
  7389. break;
  7390. case "doc":
  7391. aTool = 6;
  7392. _iframe = $$("iframe", {
  7393. "frameborder": "no",
  7394. "border": "0",
  7395. "scrolling ": "no",
  7396. "style": {
  7397. "cssText": "border:0;width:100%;height:100%"
  7398. },
  7399. "src": "/Office/Word/WordEditArea.htm"
  7400. })
  7401. _box.appendChild(_iframe);
  7402. _box.appendChild(_jie);
  7403. _formdiv = new U.UF.UI.form(
  7404. "协同文档",
  7405. _box, {
  7406. "id": "docs_Yu" + cid + stage + task + tool,
  7407. "style": {
  7408. "width": "90%",
  7409. "height": "90%",
  7410. "overflow": 'hidden'
  7411. },
  7412. "onresize": function() {}
  7413. }, {
  7414. closecallback: function() {}
  7415. }, {
  7416. "style": {
  7417. "height": "36px"
  7418. }
  7419. }).form; //创建窗体
  7420. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  7421. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7422. })
  7423. _taskbar = {
  7424. "id": str + _formdiv.id,
  7425. "style": {
  7426. "backgroundImage": "url(/img/icon/doc.png)"
  7427. },
  7428. "name": "协同文档",
  7429. "forms": _formdiv,
  7430. "click": function() {
  7431. U.MD.D.I.openApplication(str, obj, info);
  7432. }
  7433. }
  7434. break;
  7435. case "CocoPi":
  7436. aTool = 57;
  7437. _iframe = $$("iframe", {
  7438. "allowpaymentrequest": "allowpaymentrequest",
  7439. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7440. "webkitallowfullscreen": "",
  7441. "mozallowfullscreen": "",
  7442. "frameborder": "no",
  7443. "border": "0",
  7444. "scrolling ": "no",
  7445. "style": {
  7446. "cssText": "border:0;width:100%;height:100%"
  7447. },
  7448. "src": "https://pi.cocorobo.cn/"
  7449. })
  7450. _box.appendChild(_iframe);
  7451. _box.appendChild(_jie);
  7452. _formdiv = new U.UF.UI.form(
  7453. "CocoPi",
  7454. _box, {
  7455. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7456. "style": {
  7457. "width": "90%",
  7458. "height": "90%",
  7459. "overflow": 'hidden'
  7460. },
  7461. "onresize": function() {}
  7462. }, {
  7463. closecallback: function() {}
  7464. }, {
  7465. "style": {
  7466. "height": "36px"
  7467. }
  7468. }).form; //创建窗体
  7469. _taskbar = {
  7470. "id": str + _formdiv.id,
  7471. "style": {
  7472. "backgroundImage": "url(/img/icon/cocopi.png)"
  7473. },
  7474. "name": "CocoPi",
  7475. "forms": _formdiv,
  7476. "click": function() {
  7477. U.MD.D.I.openApplication(str, obj, info);
  7478. }
  7479. }
  7480. break;
  7481. }
  7482. if (_iframe) {
  7483. if (str == 'doc') {
  7484. _iframe = _formdiv.querySelector('iframe')
  7485. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7486. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7487. })
  7488. if (onloadListener) {
  7489. _iframe.contentDocument.location.reload()
  7490. } else {
  7491. _iframe.contentDocument.location.reload()
  7492. }
  7493. } else if (str == 'mind') {
  7494. _iframe = _formdiv.querySelector('iframe')
  7495. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7496. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7497. })
  7498. if (onloadListener) {
  7499. _iframe.contentDocument.location.reload()
  7500. } else {
  7501. _iframe.contentDocument.location.reload()
  7502. }
  7503. } else if (str == 'whiteboard') {
  7504. _iframe = _formdiv.querySelector('iframe')
  7505. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7506. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7507. })
  7508. if (onloadListener) {
  7509. _iframe.contentDocument.location.reload()
  7510. } else {
  7511. _iframe.contentDocument.location.reload()
  7512. }
  7513. } else if (str == 'CocoPi') {
  7514. _iframe = _formdiv.querySelector('iframe')
  7515. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7516. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7517. })
  7518. if (onloadListener) {
  7519. _iframe.contentDocument.location.reload()
  7520. } else {
  7521. _iframe.contentDocument.location.reload()
  7522. }
  7523. } else {
  7524. _iframe.onload = () => {};
  7525. }
  7526. _jie.onclick = async() => {
  7527. let text = ''
  7528. let type = '2'
  7529. if (aTool == 1) {
  7530. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7531. type = '3'
  7532. } else if (aTool == 6) {
  7533. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7534. type = '1'
  7535. } else if (aTool == 3) {
  7536. text = await U.MD.D.I.getEditorContent(_iframe);
  7537. type = '2'
  7538. } else if (aTool == 57) {
  7539. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7540. type = '4'
  7541. }
  7542. _loading.style.display = 'flex'
  7543. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7544. }
  7545. }
  7546. //U.MD.D.I.openClick(str);
  7547. //如果有任务栏信息
  7548. // if (_taskbar) {
  7549. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7550. // }
  7551. }
  7552. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  7553. var xmlhttp;
  7554. var Mac, Sn, DeviceId
  7555. if (window.XMLHttpRequest) {
  7556. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7557. xmlhttp = new XMLHttpRequest();
  7558. } else {
  7559. // IE6, IE5 浏览器执行代码
  7560. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7561. }
  7562. xmlhttp.onreadystatechange = function() {
  7563. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7564. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7565. // resolve(res.value[0][0].text);
  7566. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7567. }
  7568. }
  7569. }
  7570. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7571. xmlhttp.send();
  7572. }
  7573. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7574. var xmlhttp;
  7575. var Mac, Sn, DeviceId
  7576. if (window.XMLHttpRequest) {
  7577. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7578. xmlhttp = new XMLHttpRequest();
  7579. } else {
  7580. // IE6, IE5 浏览器执行代码
  7581. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7582. }
  7583. xmlhttp.onreadystatechange = function() {
  7584. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7585. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7586. // resolve(res.value[0][0].text);
  7587. if (type == '2') {
  7588. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7589. } else if (type == '3') {
  7590. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7591. } else if (type == '4') {
  7592. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7593. }
  7594. } else {
  7595. if (type == '2') {
  7596. iframe.contentWindow.editor.minder.importData('json', '')
  7597. } else if (type == '3') {
  7598. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7599. } else if (type == '4') {
  7600. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7601. }
  7602. }
  7603. }
  7604. }
  7605. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7606. xmlhttp.send();
  7607. }
  7608. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7609. var xmlhttp;
  7610. var Mac, Sn, DeviceId
  7611. if (window.XMLHttpRequest) {
  7612. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7613. xmlhttp = new XMLHttpRequest();
  7614. } else {
  7615. // IE6, IE5 浏览器执行代码
  7616. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7617. }
  7618. xmlhttp.onreadystatechange = function() {
  7619. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7620. if (xmlhttp.response) {
  7621. // resolve(res.value[0][0].text);
  7622. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7623. // $(fileInput).val('');
  7624. // });
  7625. span.innerHTML = '上传成功'
  7626. setTimeout(() => {
  7627. loading.style.display = 'none'
  7628. }, 1000);
  7629. }
  7630. }
  7631. }
  7632. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7633. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7634. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7635. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7636. // 设置请求头,表示请求体的编码格式
  7637. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7638. // 设置请求体,使用url-encoded格式的数据
  7639. }
  7640. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7641. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7642. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7643. _userinfo = US.userInfo, //登录用户信息
  7644. _userid = US.userInfo.userid //登录用户id
  7645. let _iframe;
  7646. let _cid = cid,
  7647. _stage = stage,
  7648. _task = task,
  7649. _tool = tool;
  7650. var _jie = $$("div", {
  7651. "style": {
  7652. "position": "absolute",
  7653. "bottom": "50px",
  7654. "right": "50px",
  7655. "zIndex": "9999",
  7656. "backgroundColor": "#2268bc",
  7657. "color": "#fff",
  7658. "padding": "12px 20px",
  7659. "cursor": "pointer",
  7660. "borderRadius": "4px",
  7661. },
  7662. "innerHTML": "提交作业"
  7663. })
  7664. let aTool = ''
  7665. let _loading = document.createElement('div')
  7666. _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;"
  7667. // _loading.id = "";
  7668. let _lchild = document.createElement('div')
  7669. let _limg = document.createElement('img')
  7670. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7671. _limg.style = "width: 26px;margin-right: 10px;"
  7672. _lchild.appendChild(_limg)
  7673. let _lspan = document.createElement('span')
  7674. _lspan.innerHTML = "上传中..."
  7675. _lchild.appendChild(_lspan)
  7676. _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%);"
  7677. _loading.appendChild(_lchild)
  7678. var _box = $$('div', {
  7679. "style": {
  7680. "position": "relative",
  7681. "width": "100%",
  7682. "height": "100%",
  7683. },
  7684. })
  7685. _box.appendChild(_loading)
  7686. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7687. switch (str) {
  7688. case "CocoPi":
  7689. aTool = 57;
  7690. _iframe = $$("iframe", {
  7691. "allowpaymentrequest": "allowpaymentrequest",
  7692. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7693. "webkitallowfullscreen": "",
  7694. "mozallowfullscreen": "",
  7695. "frameborder": "no",
  7696. "border": "0",
  7697. "scrolling ": "no",
  7698. "style": {
  7699. "cssText": "border:0;width:100%;height:100%"
  7700. },
  7701. "src": "https://pi.cocorobo.cn/"
  7702. })
  7703. _box.appendChild(_iframe);
  7704. _box.appendChild(_jie);
  7705. _formdiv = new U.UF.UI.form(
  7706. "CocoPi",
  7707. _box, {
  7708. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7709. "style": {
  7710. "width": "90%",
  7711. "height": "90%",
  7712. "overflow": 'hidden'
  7713. },
  7714. "onresize": function() {}
  7715. }, {
  7716. closecallback: function() {}
  7717. }, {
  7718. "style": {
  7719. "height": "36px"
  7720. }
  7721. }).form; //创建窗体
  7722. _taskbar = {
  7723. "id": str + _formdiv.id,
  7724. "style": {
  7725. "backgroundImage": "url(/img/icon/cocopi.png)"
  7726. },
  7727. "name": "CocoPi",
  7728. "forms": _formdiv,
  7729. "click": function() {
  7730. U.MD.D.I.openApplication(str, obj, info);
  7731. }
  7732. }
  7733. break;
  7734. }
  7735. if (_iframe) {
  7736. if (str == 'CocoPi') {
  7737. _iframe = _formdiv.querySelector('iframe')
  7738. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7739. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7740. })
  7741. if (onloadListener) {
  7742. _iframe.contentDocument.location.reload()
  7743. } else {
  7744. _iframe.contentDocument.location.reload()
  7745. }
  7746. }
  7747. _jie.onclick = async() => {
  7748. let text = ''
  7749. if (aTool == 57) {
  7750. text = _iframe.contentWindow.getLoadXmlStr()
  7751. }
  7752. _loading.style.display = 'flex'
  7753. console.log(_loading);
  7754. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7755. _loading.style.display = 'none'
  7756. let _div = document.createElement('div')
  7757. _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;"
  7758. let _inner = document.createElement('div')
  7759. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7760. _inner.innerHTML = "上传成功"
  7761. _div.appendChild(_inner)
  7762. _iframe.contentWindow.window.document.body.appendChild(_div)
  7763. _div.onclick = () => {
  7764. _iframe.contentWindow.window.document.body.removeChild(_div)
  7765. }
  7766. setTimeout(() => {
  7767. _iframe.contentWindow.window.document.body.removeChild(_div)
  7768. }, 1000);
  7769. }, [], { "type": "POST", "withCredentials": true });
  7770. }
  7771. }
  7772. }
  7773. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7774. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7775. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7776. _userid = student.userid, //登录用户id
  7777. _username = student.student //用户名字
  7778. let _iframe;
  7779. let _cid = cid,
  7780. _stage = stage,
  7781. _task = task,
  7782. _tool = tool;
  7783. var _jie = $$("div", {
  7784. "style": {
  7785. "position": "absolute",
  7786. "bottom": "50px",
  7787. "right": "50px",
  7788. "zIndex": "9999",
  7789. "backgroundColor": "#2268bc",
  7790. "color": "#fff",
  7791. "padding": "12px 20px",
  7792. "cursor": "pointer",
  7793. "borderRadius": "4px",
  7794. },
  7795. "innerHTML": "提交作业"
  7796. })
  7797. let aTool = ''
  7798. let _loading = document.createElement('div')
  7799. _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;"
  7800. // _loading.id = "";
  7801. let _lchild = document.createElement('div')
  7802. let _limg = document.createElement('img')
  7803. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7804. _limg.style = "width: 26px;margin-right: 10px;"
  7805. _lchild.appendChild(_limg)
  7806. let _lspan = document.createElement('span')
  7807. _lspan.innerHTML = "上传中..."
  7808. _lchild.appendChild(_lspan)
  7809. _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%);"
  7810. _loading.appendChild(_lchild)
  7811. var _box = $$('div', {
  7812. "style": {
  7813. "position": "relative",
  7814. "width": "100%",
  7815. "height": "100%",
  7816. },
  7817. })
  7818. _box.appendChild(_loading)
  7819. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7820. switch (str) {
  7821. case "CocoPi":
  7822. aTool = 57;
  7823. _iframe = $$("iframe", {
  7824. "allowpaymentrequest": "allowpaymentrequest",
  7825. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7826. "webkitallowfullscreen": "",
  7827. "mozallowfullscreen": "",
  7828. "frameborder": "no",
  7829. "border": "0",
  7830. "scrolling ": "no",
  7831. "style": {
  7832. "cssText": "border:0;width:100%;height:100%"
  7833. },
  7834. "src": "https://pi.cocorobo.cn/"
  7835. })
  7836. _box.appendChild(_iframe);
  7837. _box.appendChild(_jie);
  7838. _formdiv = new U.UF.UI.form(
  7839. "CocoPi-" + _username,
  7840. _box, {
  7841. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7842. "style": {
  7843. "width": "90%",
  7844. "height": "90%",
  7845. "overflow": 'hidden'
  7846. },
  7847. "onresize": function() {}
  7848. }, {
  7849. closecallback: function() {}
  7850. }, {
  7851. "style": {
  7852. "height": "36px"
  7853. }
  7854. }).form; //创建窗体
  7855. _taskbar = {
  7856. "id": str + _formdiv.id,
  7857. "style": {
  7858. "backgroundImage": "url(/img/icon/cocopi.png)"
  7859. },
  7860. "name": "CocoPi",
  7861. "forms": _formdiv,
  7862. "click": function() {
  7863. U.MD.D.I.openApplication(str, obj, info);
  7864. }
  7865. }
  7866. break;
  7867. }
  7868. if (_iframe) {
  7869. if (str == 'CocoPi') {
  7870. _iframe = _formdiv.querySelector('iframe')
  7871. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7872. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7873. })
  7874. if (onloadListener) {
  7875. _iframe.contentDocument.location.reload()
  7876. } else {
  7877. _iframe.contentDocument.location.reload()
  7878. }
  7879. }
  7880. _jie.onclick = async() => {
  7881. let text = ''
  7882. if (aTool == 57) {
  7883. text = _iframe.contentWindow.getLoadXmlStr()
  7884. }
  7885. _loading.style.display = 'flex'
  7886. console.log(_loading);
  7887. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7888. _loading.style.display = 'none'
  7889. let _div = document.createElement('div')
  7890. _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;"
  7891. let _inner = document.createElement('div')
  7892. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7893. _inner.innerHTML = "上传成功"
  7894. _div.appendChild(_inner)
  7895. _iframe.contentWindow.window.document.body.appendChild(_div)
  7896. _div.onclick = () => {
  7897. _iframe.contentWindow.window.document.body.removeChild(_div)
  7898. }
  7899. setTimeout(() => {
  7900. _iframe.contentWindow.window.document.body.removeChild(_div)
  7901. }, 1000);
  7902. }, [], { "type": "POST", "withCredentials": true });
  7903. }
  7904. }
  7905. }
  7906. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7907. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7908. if (res.value[0].length > 0) {
  7909. if (atool == 57) {
  7910. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7911. }
  7912. } else {
  7913. if (atool == 57) {
  7914. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7915. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7916. }
  7917. }
  7918. }, [], { "type": "POST", "withCredentials": true });
  7919. }